Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed May 10, 2024
1 parent ce92c12 commit 7f6e1cf
Show file tree
Hide file tree
Showing 44 changed files with 597 additions and 212 deletions.
1 change: 1 addition & 0 deletions apis/discovery/2015-11-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"endpointPrefix":"discovery",
"jsonVersion":"1.1",
"protocol":"json",
"protocols":["json"],
"serviceFullName":"AWS Application Discovery Service",
"serviceId":"Application Discovery Service",
"signatureVersion":"v4",
Expand Down
16 changes: 16 additions & 0 deletions apis/discovery/2015-11-01/smoke-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 2,
"testCases": [
{
"id": "DescribeAgentsSuccess",
"operationName": "DescribeAgents",
"input": {},
"expectation": {
"success": {}
},
"config": {
"region": "us-west-2"
}
}
]
}
26 changes: 26 additions & 0 deletions apis/greengrassv2/2020-11-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"apiVersion":"2020-11-30",
"endpointPrefix":"greengrass",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceAbbreviation":"AWS GreengrassV2",
"serviceFullName":"AWS IoT Greengrass V2",
"serviceId":"GreengrassV2",
Expand Down Expand Up @@ -687,6 +688,7 @@
},
"ComponentDeploymentSpecification":{
"type":"structure",
"required":["componentVersion"],
"members":{
"componentVersion":{"shape":"ComponentVersionString"},
"configurationUpdate":{"shape":"ComponentConfigurationUpdate"},
Expand Down Expand Up @@ -1212,6 +1214,16 @@
"shape":"NonEmptyString",
"location":"uri",
"locationName":"artifactName"
},
"s3EndpointType":{
"shape":"S3EndpointType",
"location":"querystring",
"locationName":"s3EndpointType"
},
"iotEndpointType":{
"shape":"IotEndpointType",
"location":"header",
"locationName":"x-amz-iot-endpoint-type"
}
}
},
Expand Down Expand Up @@ -1506,6 +1518,13 @@
"max":128,
"min":1
},
"IotEndpointType":{
"type":"string",
"enum":[
"fips",
"standard"
]
},
"IsLatestForTarget":{"type":"boolean"},
"IsRoot":{"type":"boolean"},
"LambdaContainerParams":{
Expand Down Expand Up @@ -2004,6 +2023,13 @@
"exception":true
},
"RetryAfterSeconds":{"type":"integer"},
"S3EndpointType":{
"type":"string",
"enum":[
"REGIONAL",
"GLOBAL"
]
},
"ServiceQuotaExceededException":{
"type":"structure",
"required":[
Expand Down
18 changes: 15 additions & 3 deletions apis/greengrassv2/2020-11-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"BatchAssociateClientDeviceWithCoreDevice": "<p>Associates a list of client devices with a core device. Use this API operation to specify which client devices can discover a core device through cloud discovery. With cloud discovery, client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information and certificates. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html\">Configure cloud discovery</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> <note> <p>Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core device over MQTT. You can connect client devices to a core device to sync MQTT messages and data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/interact-with-local-iot-devices.html\">Interact with local IoT devices</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> </note>",
"BatchDisassociateClientDeviceFromCoreDevice": "<p>Disassociates a list of client devices from a core device. After you disassociate a client device from a core device, the client device won't be able to use cloud discovery to retrieve the core device's connectivity information and certificates.</p>",
"CancelDeployment": "<p>Cancels a deployment. This operation cancels the deployment for devices that haven't yet received it. If a device already received the deployment, this operation doesn't change anything for that device.</p>",
"CreateComponentVersion": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</p> <p>You can use this operation to do the following:</p> <ul> <li> <p> <b>Create components from recipes</b> </p> <p>Create a component from a recipe, which is a file that defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call this operation.</p> </li> <li> <p> <b>Create components from Lambda functions</b> </p> <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe and artifacts from the Lambda function's deployment package. You can use this operation to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p> <p>This function only accepts Lambda functions that use the following runtimes:</p> <ul> <li> <p>Python 2.7 – <code>python2.7</code> </p> </li> <li> <p>Python 3.7 – <code>python3.7</code> </p> </li> <li> <p>Python 3.8 – <code>python3.8</code> </p> </li> <li> <p>Python 3.9 – <code>python3.9</code> </p> </li> <li> <p>Java 8 – <code>java8</code> </p> </li> <li> <p>Java 11 – <code>java11</code> </p> </li> <li> <p>Node.js 10 – <code>nodejs10.x</code> </p> </li> <li> <p>Node.js 12 – <code>nodejs12.x</code> </p> </li> <li> <p>Node.js 14 – <code>nodejs14.x</code> </p> </li> </ul> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>",
"CreateComponentVersion": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</p> <p>You can use this operation to do the following:</p> <ul> <li> <p> <b>Create components from recipes</b> </p> <p>Create a component from a recipe, which is a file that defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call this operation.</p> </li> <li> <p> <b>Create components from Lambda functions</b> </p> <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe and artifacts from the Lambda function's deployment package. You can use this operation to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p> <p>This function accepts Lambda functions in all supported versions of Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply any additional restrictions on deprecated Lambda runtime versions.</p> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>",
"CreateDeployment": "<p>Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device.</p> <p>You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices.</p> <p>Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment.</p> <p>For more information, see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html\">Create deployments</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>",
"DeleteComponent": "<p>Deletes a version of a component from IoT Greengrass.</p> <note> <p>This operation deletes the component's recipe and artifacts. As a result, deployments that refer to this component version will fail. If you have deployments that use this component version, you can remove the component from the deployment or update the deployment to use a valid version.</p> </note>",
"DeleteCoreDevice": "<p>Deletes a Greengrass core device, which is an IoT thing. This operation removes the core device from the list of core devices. This operation doesn't delete the IoT thing. For more information about how to delete the IoT thing, see <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteThing.html\">DeleteThing</a> in the <i>IoT API Reference</i>.</p>",
Expand Down Expand Up @@ -400,7 +400,7 @@
"ListComponentVersionsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>",
"ListComponentsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>",
"ListCoreDevicesRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>",
"ListDeploymentsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>",
"ListDeploymentsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p> <p>Default: <code>50</code> </p>",
"ListEffectiveDeploymentsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>",
"ListInstalledComponentsRequest$maxResults": "<p>The maximum number of results to be returned per paginated request.</p>"
}
Expand Down Expand Up @@ -852,6 +852,12 @@
"ListClientDevicesAssociatedWithCoreDeviceRequest$coreDeviceThingName": "<p>The name of the core device. This is also the name of the IoT thing.</p>"
}
},
"IotEndpointType": {
"base": null,
"refs": {
"GetComponentVersionArtifactRequest$iotEndpointType": "<p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is <code>standard</code>.</p>"
}
},
"IsLatestForTarget": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1112,7 +1118,7 @@
"GetDeploymentRequest$deploymentId": "<p>The ID of the deployment.</p>",
"GetDeploymentResponse$revisionId": "<p>The revision number of the deployment.</p>",
"GetDeploymentResponse$deploymentId": "<p>The ID of the deployment.</p>",
"InstalledComponent$lastInstallationSource": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>",
"InstalledComponent$lastInstallationSource": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>",
"LambdaEnvironmentVariables$key": null,
"LambdaFunctionRecipeSource$lambdaArn": "<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like <code>$LATEST</code>.</p>",
"PlatformAttributesMap$key": null,
Expand Down Expand Up @@ -1229,6 +1235,12 @@
"ThrottlingException$retryAfterSeconds": "<p>The amount of time to wait before you retry the request.</p>"
}
},
"S3EndpointType": {
"base": null,
"refs": {
"GetComponentVersionArtifactRequest$s3EndpointType": "<p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p> <p>All Amazon Web Services Regions except US East (N. Virginia) use <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code> with this parameter.</p>"
}
},
"ServiceQuotaExceededException": {
"base": "<p>Your request exceeds a service quota. For example, you might have the maximum number of components that you can create.</p>",
"refs": {
Expand Down
40 changes: 20 additions & 20 deletions apis/greengrassv2/2020-11-30/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -83,7 +82,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -96,7 +96,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -133,7 +131,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -168,7 +165,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -179,14 +175,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -200,14 +198,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -216,11 +212,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -269,14 +265,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -290,7 +288,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -310,7 +307,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -321,14 +317,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand Down Expand Up @@ -393,9 +391,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down

0 comments on commit 7f6e1cf

Please sign in to comment.