Skip to content

Commit 29d8ac9

Browse files
Update SDK models
1 parent 2ce52f6 commit 29d8ac9

File tree

62 files changed

+1477
-147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1477
-147
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
resolver = "2"
33
exclude = [
44
"examples/cross_service",
5-
"examples/webassembly",
5+
"examples/test-utils",
66
"examples/examples",
77
"examples/lambda",
8-
"examples/test-utils",
8+
"examples/webassembly",
99
"tests/no-default-features",
1010
"tests/webassembly"
1111
]

aws-models/application-discovery-service.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,20 @@
23732373
"outputToken": "nextToken",
23742374
"items": "agentsInfo",
23752375
"pageSize": "maxResults"
2376-
}
2376+
},
2377+
"smithy.test#smokeTests": [
2378+
{
2379+
"id": "DescribeAgentsSuccess",
2380+
"params": {},
2381+
"vendorParams": {
2382+
"region": "us-west-2"
2383+
},
2384+
"vendorParamsShape": "aws.test#AwsVendorParams",
2385+
"expect": {
2386+
"success": {}
2387+
}
2388+
}
2389+
]
23772390
}
23782391
},
23792392
"com.amazonaws.applicationdiscoveryservice#DescribeAgentsRequest": {

aws-models/greengrassv2.json

+54-5
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,8 @@
657657
"componentVersion": {
658658
"target": "com.amazonaws.greengrassv2#ComponentVersionString",
659659
"traits": {
660-
"smithy.api#documentation": "<p>The version of the component.</p>"
660+
"smithy.api#documentation": "<p>The version of the component.</p>",
661+
"smithy.api#required": {}
661662
}
662663
},
663664
"configurationUpdate": {
@@ -1045,7 +1046,7 @@
10451046
}
10461047
],
10471048
"traits": {
1048-
"smithy.api#documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.</p>\n <p>You can use this operation to do the following:</p>\n <ul>\n <li>\n <p>\n <b>Create components from recipes</b>\n </p>\n <p>Create a component from a recipe, which is a file that defines the component's\n metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For\n more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe\n reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>\n <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call\n this operation.</p>\n </li>\n <li>\n <p>\n <b>Create components from Lambda functions</b>\n </p>\n <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe\n and artifacts from the Lambda function's deployment package. You can use this operation to\n migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p>\n <p>This function only accepts Lambda functions that use the following runtimes:</p>\n <ul>\n <li>\n <p>Python 2.7 – <code>python2.7</code>\n </p>\n </li>\n <li>\n <p>Python 3.7 – <code>python3.7</code>\n </p>\n </li>\n <li>\n <p>Python 3.8 – <code>python3.8</code>\n </p>\n </li>\n <li>\n <p>Python 3.9 – <code>python3.9</code>\n </p>\n </li>\n <li>\n <p>Java 8 – <code>java8</code>\n </p>\n </li>\n <li>\n <p>Java 11 – <code>java11</code>\n </p>\n </li>\n <li>\n <p>Node.js 10 – <code>nodejs10.x</code>\n </p>\n </li>\n <li>\n <p>Node.js 12 – <code>nodejs12.x</code>\n </p>\n </li>\n <li>\n <p>Node.js 14 – <code>nodejs14.x</code>\n </p>\n </li>\n </ul>\n <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when\n you call this operation.</p>\n <note>\n <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p>\n </note>\n </li>\n </ul>",
1049+
"smithy.api#documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.</p>\n <p>You can use this operation to do the following:</p>\n <ul>\n <li>\n <p>\n <b>Create components from recipes</b>\n </p>\n <p>Create a component from a recipe, which is a file that defines the component's\n metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For\n more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe\n reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>\n <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call\n this operation.</p>\n </li>\n <li>\n <p>\n <b>Create components from Lambda functions</b>\n </p>\n <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe\n and artifacts from the Lambda function's deployment package. You can use this operation to\n migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p>\n <p>This function accepts Lambda functions in all supported versions of Python, Node.js,\n and Java runtimes. IoT Greengrass doesn't apply any additional restrictions on deprecated Lambda\n runtime versions.</p>\n <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when\n you call this operation.</p>\n <note>\n <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p>\n </note>\n </li>\n </ul>",
10491050
"smithy.api#http": {
10501051
"method": "POST",
10511052
"uri": "/greengrass/v2/createComponentVersion",
@@ -2249,6 +2250,20 @@
22492250
"smithy.api#httpLabel": {},
22502251
"smithy.api#required": {}
22512252
}
2253+
},
2254+
"s3EndpointType": {
2255+
"target": "com.amazonaws.greengrassv2#S3EndpointType",
2256+
"traits": {
2257+
"smithy.api#documentation": "<p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p>\n <p>All Amazon Web Services Regions except US East (N. Virginia) use <code>REGIONAL</code> in all cases.\n In the US East (N. Virginia) Region the default is <code>GLOBAL</code>, but you can change it\n to <code>REGIONAL</code> with this parameter.</p>",
2258+
"smithy.api#httpQuery": "s3EndpointType"
2259+
}
2260+
},
2261+
"iotEndpointType": {
2262+
"target": "com.amazonaws.greengrassv2#IotEndpointType",
2263+
"traits": {
2264+
"smithy.api#documentation": "<p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. \n Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to point to \n an Amazon S3 FIPS endpoint. If you don't specify a value, the default is <code>standard</code>.</p>",
2265+
"smithy.api#httpHeader": "x-amz-iot-endpoint-type"
2266+
}
22522267
}
22532268
},
22542269
"traits": {
@@ -2724,7 +2739,7 @@
27242739
"sdkId": "GreengrassV2",
27252740
"arnNamespace": "greengrass",
27262741
"cloudFormationName": "GreengrassV2",
2727-
"cloudTrailEventSource": "greengrassv2.amazonaws.com",
2742+
"cloudTrailEventSource": "greengrass.amazonaws.com",
27282743
"endpointPrefix": "greengrass"
27292744
},
27302745
"aws.auth#sigv4": {
@@ -3717,7 +3732,7 @@
37173732
"lastInstallationSource": {
37183733
"target": "com.amazonaws.greengrassv2#NonEmptyString",
37193734
"traits": {
3720-
"smithy.api#documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For\n a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for\n local deployments it will be <code>LOCAL</code>.</p>\n <note>\n <p>Any deployment will attempt to reinstall currently broken components on the device,\n which will update the last installation source.</p>\n </note>"
3735+
"smithy.api#documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For\n a thing group deployment or thing deployment, the source will be the ID of the last deployment\n that contained the component. For local deployments it will be <code>LOCAL</code>.</p>\n <note>\n <p>Any deployment will attempt to reinstall currently broken components on the device,\n which will update the last installation source.</p>\n </note>"
37213736
}
37223737
},
37233738
"lifecycleStatusCodes": {
@@ -4115,6 +4130,23 @@
41154130
}
41164131
}
41174132
},
4133+
"com.amazonaws.greengrassv2#IotEndpointType": {
4134+
"type": "enum",
4135+
"members": {
4136+
"fips": {
4137+
"target": "smithy.api#Unit",
4138+
"traits": {
4139+
"smithy.api#enumValue": "fips"
4140+
}
4141+
},
4142+
"standard": {
4143+
"target": "smithy.api#Unit",
4144+
"traits": {
4145+
"smithy.api#enumValue": "standard"
4146+
}
4147+
}
4148+
}
4149+
},
41184150
"com.amazonaws.greengrassv2#IsLatestForTarget": {
41194151
"type": "boolean",
41204152
"traits": {
@@ -4930,7 +4962,7 @@
49304962
"maxResults": {
49314963
"target": "com.amazonaws.greengrassv2#DefaultMaxResults",
49324964
"traits": {
4933-
"smithy.api#documentation": "<p>The maximum number of results to be returned per paginated request.</p>",
4965+
"smithy.api#documentation": "<p>The maximum number of results to be returned per paginated request.</p>\n <p>Default: <code>50</code>\n </p>",
49344966
"smithy.api#httpQuery": "maxResults"
49354967
}
49364968
},
@@ -5465,6 +5497,23 @@
54655497
"smithy.api#default": 0
54665498
}
54675499
},
5500+
"com.amazonaws.greengrassv2#S3EndpointType": {
5501+
"type": "enum",
5502+
"members": {
5503+
"REGIONAL": {
5504+
"target": "smithy.api#Unit",
5505+
"traits": {
5506+
"smithy.api#enumValue": "REGIONAL"
5507+
}
5508+
},
5509+
"GLOBAL": {
5510+
"target": "smithy.api#Unit",
5511+
"traits": {
5512+
"smithy.api#enumValue": "GLOBAL"
5513+
}
5514+
}
5515+
}
5516+
},
54685517
"com.amazonaws.greengrassv2#ServiceQuotaExceededException": {
54695518
"type": "structure",
54705519
"members": {

aws-models/sagemaker.json

+96
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,54 @@
13741374
"smithy.api#enumValue": "ml.g5.48xlarge"
13751375
}
13761376
},
1377+
"ML_G6_XLARGE": {
1378+
"target": "smithy.api#Unit",
1379+
"traits": {
1380+
"smithy.api#enumValue": "ml.g6.xlarge"
1381+
}
1382+
},
1383+
"ML_G6_2XLARGE": {
1384+
"target": "smithy.api#Unit",
1385+
"traits": {
1386+
"smithy.api#enumValue": "ml.g6.2xlarge"
1387+
}
1388+
},
1389+
"ML_G6_4XLARGE": {
1390+
"target": "smithy.api#Unit",
1391+
"traits": {
1392+
"smithy.api#enumValue": "ml.g6.4xlarge"
1393+
}
1394+
},
1395+
"ML_G6_8XLARGE": {
1396+
"target": "smithy.api#Unit",
1397+
"traits": {
1398+
"smithy.api#enumValue": "ml.g6.8xlarge"
1399+
}
1400+
},
1401+
"ML_G6_12XLARGE": {
1402+
"target": "smithy.api#Unit",
1403+
"traits": {
1404+
"smithy.api#enumValue": "ml.g6.12xlarge"
1405+
}
1406+
},
1407+
"ML_G6_16XLARGE": {
1408+
"target": "smithy.api#Unit",
1409+
"traits": {
1410+
"smithy.api#enumValue": "ml.g6.16xlarge"
1411+
}
1412+
},
1413+
"ML_G6_24XLARGE": {
1414+
"target": "smithy.api#Unit",
1415+
"traits": {
1416+
"smithy.api#enumValue": "ml.g6.24xlarge"
1417+
}
1418+
},
1419+
"ML_G6_48XLARGE": {
1420+
"target": "smithy.api#Unit",
1421+
"traits": {
1422+
"smithy.api#enumValue": "ml.g6.48xlarge"
1423+
}
1424+
},
13771425
"ML_GEOSPATIAL_INTERACTIVE": {
13781426
"target": "smithy.api#Unit",
13791427
"traits": {
@@ -33510,6 +33558,54 @@
3351033558
"traits": {
3351133559
"smithy.api#enumValue": "ml.r6id.32xlarge"
3351233560
}
33561+
},
33562+
"ML_G6_XLARGE": {
33563+
"target": "smithy.api#Unit",
33564+
"traits": {
33565+
"smithy.api#enumValue": "ml.g6.xlarge"
33566+
}
33567+
},
33568+
"ML_G6_2XLARGE": {
33569+
"target": "smithy.api#Unit",
33570+
"traits": {
33571+
"smithy.api#enumValue": "ml.g6.2xlarge"
33572+
}
33573+
},
33574+
"ML_G6_4XLARGE": {
33575+
"target": "smithy.api#Unit",
33576+
"traits": {
33577+
"smithy.api#enumValue": "ml.g6.4xlarge"
33578+
}
33579+
},
33580+
"ML_G6_8XLARGE": {
33581+
"target": "smithy.api#Unit",
33582+
"traits": {
33583+
"smithy.api#enumValue": "ml.g6.8xlarge"
33584+
}
33585+
},
33586+
"ML_G6_12XLARGE": {
33587+
"target": "smithy.api#Unit",
33588+
"traits": {
33589+
"smithy.api#enumValue": "ml.g6.12xlarge"
33590+
}
33591+
},
33592+
"ML_G6_16XLARGE": {
33593+
"target": "smithy.api#Unit",
33594+
"traits": {
33595+
"smithy.api#enumValue": "ml.g6.16xlarge"
33596+
}
33597+
},
33598+
"ML_G6_24XLARGE": {
33599+
"target": "smithy.api#Unit",
33600+
"traits": {
33601+
"smithy.api#enumValue": "ml.g6.24xlarge"
33602+
}
33603+
},
33604+
"ML_G6_48XLARGE": {
33605+
"target": "smithy.api#Unit",
33606+
"traits": {
33607+
"smithy.api#enumValue": "ml.g6.48xlarge"
33608+
}
3351333609
}
3351433610
}
3351533611
},

aws-models/sdk-endpoints.json

+1
Original file line numberDiff line numberDiff line change
@@ -11327,6 +11327,7 @@
1132711327
"ap-southeast-3" : { },
1132811328
"ap-southeast-4" : { },
1132911329
"ca-central-1" : { },
11330+
"ca-west-1" : { },
1133011331
"eu-central-1" : { },
1133111332
"eu-central-2" : { },
1133211333
"eu-north-1" : { },

0 commit comments

Comments
 (0)