Skip to content

Commit 7771ef7

Browse files
feat: update AWS API models
1 parent 5a5fc1f commit 7771ef7

File tree

7 files changed

+621
-393
lines changed

7 files changed

+621
-393
lines changed

codegen/sdk/aws-models/amp.json

Lines changed: 341 additions & 337 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/batch.json

Lines changed: 178 additions & 30 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/braket.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,9 @@
10221022
{
10231023
"target": "com.amazonaws.braket#ConflictException"
10241024
},
1025+
{
1026+
"target": "com.amazonaws.braket#DeviceOfflineException"
1027+
},
10251028
{
10261029
"target": "com.amazonaws.braket#DeviceRetiredException"
10271030
},
@@ -2285,7 +2288,7 @@
22852288
"service": "com.amazonaws.braket#Braket",
22862289
"resource": "com.amazonaws.braket#JobResource"
22872290
},
2288-
"smithy.api#pattern": "^arn:aws[a-z\\-]*:braket:[a-z0-9\\-]*:[0-9]{12}:job/.*$"
2291+
"smithy.api#pattern": "^arn:aws[a-z\\-]*:braket:[a-z0-9\\-]+:[0-9]{12}:job/.*$"
22892292
}
22902293
},
22912294
"com.amazonaws.braket#JobCheckpointConfig": {

codegen/sdk/aws-models/cost-optimization-hub.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@
18971897
"accountId": {
18981898
"target": "com.amazonaws.costoptimizationhub#AccountId",
18991899
"traits": {
1900-
"smithy.api#documentation": "<p>The enrollment status of a specific account ID in the organization.</p>"
1900+
"smithy.api#documentation": "<p>The account ID of a member account in the organization.</p>"
19011901
}
19021902
},
19031903
"nextToken": {
@@ -1923,7 +1923,13 @@
19231923
"items": {
19241924
"target": "com.amazonaws.costoptimizationhub#AccountEnrollmentStatuses",
19251925
"traits": {
1926-
"smithy.api#documentation": "<p>The account enrollment statuses.</p>"
1926+
"smithy.api#documentation": "<p>The enrollment status of a specific account ID, including creation and last updated\n timestamps.</p>"
1927+
}
1928+
},
1929+
"includeMemberAccounts": {
1930+
"target": "smithy.api#Boolean",
1931+
"traits": {
1932+
"smithy.api#documentation": "<p>The enrollment status of all member accounts in the organization if the account is the\n management account.</p>"
19271933
}
19281934
},
19291935
"nextToken": {

codegen/sdk/aws-models/ecs.json

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/iot.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7003,6 +7003,12 @@
70037003
"traits": {
70047004
"smithy.api#documentation": "<p>An object that specifies the TLS configuration for a domain.</p>"
70057005
}
7006+
},
7007+
"serverCertificateConfig": {
7008+
"target": "com.amazonaws.iot#ServerCertificateConfig",
7009+
"traits": {
7010+
"smithy.api#documentation": "<p>The server certificate configuration.</p>"
7011+
}
70067012
}
70077013
},
70087014
"traits": {
@@ -13144,6 +13150,12 @@
1314413150
"traits": {
1314513151
"smithy.api#documentation": "<p>An object that specifies the TLS configuration for a domain.</p>"
1314613152
}
13153+
},
13154+
"serverCertificateConfig": {
13155+
"target": "com.amazonaws.iot#ServerCertificateConfig",
13156+
"traits": {
13157+
"smithy.api#documentation": "<p>The server certificate configuration.</p>"
13158+
}
1314713159
}
1314813160
},
1314913161
"traits": {
@@ -13173,7 +13185,7 @@
1317313185
}
1317413186
],
1317513187
"traits": {
13176-
"smithy.api#documentation": "<p>Returns a unique endpoint specific to the Amazon Web Services account making the call.</p>\n <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DescribeEndpoint</a> action.</p>",
13188+
"smithy.api#documentation": "<p>Returns or creates a unique endpoint specific to the Amazon Web Services account making the\n call.</p>\n <note>\n <p>The first time <code>DescribeEndpoint</code> is called, an endpoint is created. All subsequent calls to <code>DescribeEndpoint</code> return the same endpoint.</p>\n </note>\n <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DescribeEndpoint</a> action.</p>",
1317713189
"smithy.api#http": {
1317813190
"method": "GET",
1317913191
"uri": "/endpoint",
@@ -16123,6 +16135,9 @@
1612316135
"smithy.api#documentation": "<p>Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.</p>"
1612416136
}
1612516137
},
16138+
"com.amazonaws.iot#EnableOCSPCheck": {
16139+
"type": "boolean"
16140+
},
1612616141
"com.amazonaws.iot#EnableTopicRule": {
1612716142
"type": "operation",
1612816143
"input": {
@@ -18075,7 +18090,7 @@
1807518090
}
1807618091
],
1807718092
"traits": {
18078-
"smithy.api#documentation": "<p>Gets a registration code used to register a CA certificate with IoT.</p>\n <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">GetRegistrationCode</a> action.</p>",
18093+
"smithy.api#documentation": "<p>Gets a registration code used to register a CA certificate with IoT.</p>\n <p>IoT will create a registration code as part of this API call if the registration\n code doesn't exist or has been deleted. If you already have a registration code, this API\n call will return the same registration code.</p>\n <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">GetRegistrationCode</a> action.</p>",
1807918094
"smithy.api#http": {
1808018095
"method": "GET",
1808118096
"uri": "/registrationcode",
@@ -29757,6 +29772,20 @@
2975729772
}
2975829773
}
2975929774
},
29775+
"com.amazonaws.iot#ServerCertificateConfig": {
29776+
"type": "structure",
29777+
"members": {
29778+
"enableOCSPCheck": {
29779+
"target": "com.amazonaws.iot#EnableOCSPCheck",
29780+
"traits": {
29781+
"smithy.api#documentation": "<p>A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server\n certificate check is enabled or not.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-domain-ocsp-config.html\">Configuring OCSP server-certificate stapling in domain\n configuration</a> from Amazon Web Services IoT Core Developer Guide.</p>"
29782+
}
29783+
}
29784+
},
29785+
"traits": {
29786+
"smithy.api#documentation": "<p>The server certificate configuration.</p>"
29787+
}
29788+
},
2976029789
"com.amazonaws.iot#ServerCertificateStatus": {
2976129790
"type": "enum",
2976229791
"members": {
@@ -34005,6 +34034,12 @@
3400534034
"traits": {
3400634035
"smithy.api#documentation": "<p>An object that specifies the TLS configuration for a domain.</p>"
3400734036
}
34037+
},
34038+
"serverCertificateConfig": {
34039+
"target": "com.amazonaws.iot#ServerCertificateConfig",
34040+
"traits": {
34041+
"smithy.api#documentation": "<p>The server certificate configuration.</p>"
34042+
}
3400834043
}
3400934044
},
3401034045
"traits": {

codegen/sdk/aws-models/pricing.json

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"name": "pricing"
3434
},
3535
"aws.protocols#awsJson1_1": {},
36-
"smithy.api#documentation": "<p>The Amazon Web Services Price List API is a centralized and convenient way to programmatically\n query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List uses standardized product attributes such as <code>Location</code>,\n <code>Storage Class</code>, and <code>Operating System</code>, and provides prices at\n the SKU level. You can use the Amazon Web Services Price List to do the following:</p>\n <ul>\n <li>\n <p>Build cost control and scenario planning tools</p>\n </li>\n <li>\n <p>Reconcile billing data</p>\n </li>\n <li>\n <p>Forecast future spend for budgeting purposes</p>\n </li>\n <li>\n <p>Provide cost benefit analysis that compare your internal workloads with Amazon Web Services</p>\n </li>\n </ul>\n <p>Use <code>GetServices</code> without a service code to retrieve the service codes for\n all Amazon Web Services, then <code>GetServices</code> with a service code to\n retrieve the attribute names for that service. After you have the service code and\n attribute names, you can use <code>GetAttributeValues</code> to see what values are\n available for an attribute. With the service code and an attribute name and value, you can\n use <code>GetProducts</code> to find specific products that you're interested in, such as\n an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>\n <code>volumeType</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html\">Using the\n Amazon Web Services Price List API</a> in the <i>Billing User\n Guide</i>.</p>",
36+
"smithy.api#documentation": "<p>The Amazon Web Services Price List API is a centralized and convenient way to programmatically\n query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List uses standardized product attributes such as <code>Location</code>,\n <code>Storage Class</code>, and <code>Operating System</code>, and provides prices at\n the SKU level. You can use the Amazon Web Services Price List to do the following:</p>\n <ul>\n <li>\n <p>Build cost control and scenario planning tools</p>\n </li>\n <li>\n <p>Reconcile billing data</p>\n </li>\n <li>\n <p>Forecast future spend for budgeting purposes</p>\n </li>\n <li>\n <p>Provide cost benefit analysis that compare your internal workloads with Amazon Web Services</p>\n </li>\n </ul>\n <p>Use <code>GetServices</code> without a service code to retrieve the service codes for\n all Amazon Web Services, then <code>GetServices</code> with a service code to\n retrieve the attribute names for that service. After you have the service code and\n attribute names, you can use <code>GetAttributeValues</code> to see what values are\n available for an attribute. With the service code and an attribute name and value, you can\n use <code>GetProducts</code> to find specific products that you're interested in, such as\n an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>\n <code>volumeType</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html\">Using the\n Amazon Web Services Price List API</a> in the <i>Billing User\n Guide</i>.</p>",
3737
"smithy.api#title": "AWS Price List Service",
3838
"smithy.rules#endpointRuleSet": {
3939
"version": "1.0",
@@ -781,6 +781,9 @@
781781
},
782782
{
783783
"target": "com.amazonaws.pricing#NotFoundException"
784+
},
785+
{
786+
"target": "com.amazonaws.pricing#ThrottlingException"
784787
}
785788
],
786789
"traits": {
@@ -952,6 +955,9 @@
952955
},
953956
{
954957
"target": "com.amazonaws.pricing#NotFoundException"
958+
},
959+
{
960+
"target": "com.amazonaws.pricing#ThrottlingException"
955961
}
956962
],
957963
"traits": {
@@ -1039,6 +1045,9 @@
10391045
},
10401046
{
10411047
"target": "com.amazonaws.pricing#NotFoundException"
1048+
},
1049+
{
1050+
"target": "com.amazonaws.pricing#ThrottlingException"
10421051
}
10431052
],
10441053
"traits": {
@@ -1104,6 +1113,9 @@
11041113
},
11051114
{
11061115
"target": "com.amazonaws.pricing#NotFoundException"
1116+
},
1117+
{
1118+
"target": "com.amazonaws.pricing#ThrottlingException"
11071119
}
11081120
],
11091121
"traits": {
@@ -1192,7 +1204,8 @@
11921204
"traits": {
11931205
"smithy.api#documentation": "<p>An error on the server occurred during the processing of your request. Try again later.</p>",
11941206
"smithy.api#error": "server",
1195-
"smithy.api#httpError": 500
1207+
"smithy.api#httpError": 500,
1208+
"smithy.api#retryable": {}
11961209
}
11971210
},
11981211
"com.amazonaws.pricing#InvalidNextTokenException": {
@@ -1247,6 +1260,9 @@
12471260
},
12481261
{
12491262
"target": "com.amazonaws.pricing#NotFoundException"
1263+
},
1264+
{
1265+
"target": "com.amazonaws.pricing#ThrottlingException"
12501266
}
12511267
],
12521268
"traits": {
@@ -1389,7 +1405,7 @@
13891405
"min": 18,
13901406
"max": 2048
13911407
},
1392-
"smithy.api#pattern": "^arn:[A-Za-z0-9][-.A-Za-z0-9]{0,62}:pricing:::price-list/[A-Za-z0-9_/.-]{1,1023}$"
1408+
"smithy.api#pattern": "^arn:[A-Za-z0-9][-.A-Za-z0-9]{0,62}:pricing:::price-list/[A-Za-z0-9+_/.-]{1,1023}$"
13931409
}
13941410
},
13951411
"com.amazonaws.pricing#PriceListJsonItems": {
@@ -1458,6 +1474,22 @@
14581474
"smithy.api#mediaType": "application/json"
14591475
}
14601476
},
1477+
"com.amazonaws.pricing#ThrottlingException": {
1478+
"type": "structure",
1479+
"members": {
1480+
"Message": {
1481+
"target": "com.amazonaws.pricing#errorMessage"
1482+
}
1483+
},
1484+
"traits": {
1485+
"smithy.api#documentation": "<p>You've made too many requests exceeding service quotas.\n </p>",
1486+
"smithy.api#error": "client",
1487+
"smithy.api#httpError": 429,
1488+
"smithy.api#retryable": {
1489+
"throttling": true
1490+
}
1491+
}
1492+
},
14611493
"com.amazonaws.pricing#errorMessage": {
14621494
"type": "string"
14631495
}

0 commit comments

Comments
 (0)