Skip to content

Commit 0eeba41

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 4509a60 commit 0eeba41

10 files changed

+685
-60
lines changed

codegen/sdk-codegen/aws-models/api-gateway.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -6478,7 +6478,20 @@
64786478
"outputToken": "position",
64796479
"items": "items",
64806480
"pageSize": "limit"
6481-
}
6481+
},
6482+
"smithy.test#smokeTests": [
6483+
{
6484+
"id": "GetDomainNamesSuccess",
6485+
"params": {},
6486+
"vendorParams": {
6487+
"region": "us-west-2"
6488+
},
6489+
"vendorParamsShape": "aws.test#AwsVendorParams",
6490+
"expect": {
6491+
"success": {}
6492+
}
6493+
}
6494+
]
64826495
}
64836496
},
64846497
"com.amazonaws.apigateway#GetDomainNamesRequest": {

codegen/sdk-codegen/aws-models/cognito-identity.json

+17-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"sdkId": "Cognito Identity",
118118
"arnNamespace": "cognito-identity",
119119
"cloudFormationName": "Cognito",
120-
"cloudTrailEventSource": "cognitoidentity.amazonaws.com",
120+
"cloudTrailEventSource": "cognito-identity.amazonaws.com",
121121
"endpointPrefix": "cognito-identity"
122122
},
123123
"aws.auth#sigv4": {
@@ -2484,7 +2484,22 @@
24842484
"outputToken": "NextToken",
24852485
"items": "IdentityPools",
24862486
"pageSize": "MaxResults"
2487-
}
2487+
},
2488+
"smithy.test#smokeTests": [
2489+
{
2490+
"id": "ListIdentityPoolsSuccess",
2491+
"params": {
2492+
"MaxResults": 10
2493+
},
2494+
"vendorParams": {
2495+
"region": "us-west-2"
2496+
},
2497+
"vendorParamsShape": "aws.test#AwsVendorParams",
2498+
"expect": {
2499+
"success": {}
2500+
}
2501+
}
2502+
]
24882503
}
24892504
},
24902505
"com.amazonaws.cognitoidentity#ListIdentityPoolsInput": {

codegen/sdk-codegen/aws-models/connect.json

+460-8
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/docdb.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -4675,7 +4675,20 @@
46754675
"outputToken": "Marker",
46764676
"items": "DBEngineVersions",
46774677
"pageSize": "MaxRecords"
4678-
}
4678+
},
4679+
"smithy.test#smokeTests": [
4680+
{
4681+
"id": "DescribeDBEngineVersionsSuccess",
4682+
"params": {},
4683+
"vendorParams": {
4684+
"region": "us-west-2"
4685+
},
4686+
"vendorParamsShape": "aws.test#AwsVendorParams",
4687+
"expect": {
4688+
"success": {}
4689+
}
4690+
}
4691+
]
46794692
}
46804693
},
46814694
"com.amazonaws.docdb#DescribeDBEngineVersionsMessage": {

codegen/sdk-codegen/aws-models/eks.json

+6
Original file line numberDiff line numberDiff line change
@@ -2312,6 +2312,12 @@
23122312
"traits": {
23132313
"smithy.api#enumValue": "SPOT"
23142314
}
2315+
},
2316+
"CAPACITY_BLOCK": {
2317+
"target": "smithy.api#Unit",
2318+
"traits": {
2319+
"smithy.api#enumValue": "CAPACITY_BLOCK"
2320+
}
23152321
}
23162322
}
23172323
},

codegen/sdk-codegen/aws-models/payment-cryptography-data.json

+127-30
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/payment-cryptography.json

+14-13
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,16 @@
456456
"smithy.api#output": {}
457457
}
458458
},
459+
"com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32": {
460+
"type": "string",
461+
"traits": {
462+
"smithy.api#length": {
463+
"min": 16,
464+
"max": 32
465+
},
466+
"smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$"
467+
}
468+
},
459469
"com.amazonaws.paymentcryptography#ExportAttributes": {
460470
"type": "structure",
461471
"members": {
@@ -682,7 +692,7 @@
682692
}
683693
},
684694
"RandomNonce": {
685-
"target": "com.amazonaws.paymentcryptography#HexLength16",
695+
"target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32",
686696
"traits": {
687697
"smithy.api#documentation": "<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
688698
}
@@ -1113,16 +1123,6 @@
11131123
"smithy.api#output": {}
11141124
}
11151125
},
1116-
"com.amazonaws.paymentcryptography#HexLength16": {
1117-
"type": "string",
1118-
"traits": {
1119-
"smithy.api#length": {
1120-
"min": 16,
1121-
"max": 16
1122-
},
1123-
"smithy.api#pattern": "^[0-9A-F]+$"
1124-
}
1125-
},
11261126
"com.amazonaws.paymentcryptography#HexLength20Or24": {
11271127
"type": "string",
11281128
"traits": {
@@ -1366,7 +1366,7 @@
13661366
}
13671367
},
13681368
"RandomNonce": {
1369-
"target": "com.amazonaws.paymentcryptography#HexLength16",
1369+
"target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32",
13701370
"traits": {
13711371
"smithy.api#documentation": "<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
13721372
}
@@ -3552,7 +3552,8 @@
35523552
"min": 56,
35533553
"max": 9984
35543554
},
3555-
"smithy.api#pattern": "^[0-9A-Z]+$"
3555+
"smithy.api#pattern": "^[0-9A-Z]+$",
3556+
"smithy.api#sensitive": {}
35563557
}
35573558
},
35583559
"com.amazonaws.paymentcryptography#Tr34KeyBlockFormat": {

codegen/sdk-codegen/aws-models/sfn.json

+15-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"sdkId": "SFN",
151151
"arnNamespace": "states",
152152
"cloudFormationName": "StepFunctions",
153-
"cloudTrailEventSource": "sfn.amazonaws.com",
153+
"cloudTrailEventSource": "states.amazonaws.com",
154154
"docId": "states-2016-11-23",
155155
"endpointPrefix": "states"
156156
},
@@ -4222,7 +4222,20 @@
42224222
"outputToken": "nextToken",
42234223
"items": "activities",
42244224
"pageSize": "maxResults"
4225-
}
4225+
},
4226+
"smithy.test#smokeTests": [
4227+
{
4228+
"id": "ListActivitiesSuccess",
4229+
"params": {},
4230+
"vendorParams": {
4231+
"region": "us-west-2"
4232+
},
4233+
"vendorParamsShape": "aws.test#AwsVendorParams",
4234+
"expect": {
4235+
"success": {}
4236+
}
4237+
}
4238+
]
42264239
}
42274240
},
42284241
"com.amazonaws.sfn#ListActivitiesInput": {

codegen/sdk-codegen/aws-models/swf.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -3761,7 +3761,22 @@
37613761
"outputToken": "nextPageToken",
37623762
"items": "domainInfos",
37633763
"pageSize": "maximumPageSize"
3764-
}
3764+
},
3765+
"smithy.test#smokeTests": [
3766+
{
3767+
"id": "ListDomainsSuccess",
3768+
"params": {
3769+
"registrationStatus": "REGISTERED"
3770+
},
3771+
"vendorParams": {
3772+
"region": "us-west-2"
3773+
},
3774+
"vendorParamsShape": "aws.test#AwsVendorParams",
3775+
"expect": {
3776+
"success": {}
3777+
}
3778+
}
3779+
]
37653780
}
37663781
},
37673782
"com.amazonaws.swf#ListDomainsInput": {

codegen/sdk-codegen/aws-models/wafv2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7153,7 +7153,7 @@
71537153
"InvalidFallbackBehavior": {
71547154
"target": "com.amazonaws.wafv2#BodyParsingFallbackBehavior",
71557155
"traits": {
7156-
"smithy.api#documentation": "<p>What WAF should do if it fails to completely parse the JSON body. The options are\n the following:</p>\n <ul>\n <li>\n <p>\n <code>EVALUATE_AS_STRING</code> - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.</p>\n </li>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule\n statement.</p>\n </li>\n </ul>\n <p>If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters. </p>\n <p>WAF does its best to parse the entire JSON body, but might be forced to stop for\n reasons such as invalid characters, duplicate keys, truncation, and any content whose root\n node isn't an object or an array. </p>\n <p>WAF parses the JSON in the following examples as two valid key, value pairs: </p>\n <ul>\n <li>\n <p>Missing comma: <code>{\"key1\":\"value1\"\"key2\":\"value2\"}</code>\n </p>\n </li>\n <li>\n <p>Missing colon: <code>{\"key1\":\"value1\",\"key2\"\"value2\"}</code>\n </p>\n </li>\n <li>\n <p>Extra colons: <code>{\"key1\"::\"value1\",\"key2\"\"value2\"}</code>\n </p>\n </li>\n </ul>"
7156+
"smithy.api#documentation": "<p>What WAF should do if it fails to completely parse the JSON body. The options are\n the following:</p>\n <ul>\n <li>\n <p>\n <code>EVALUATE_AS_STRING</code> - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.</p>\n </li>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule\n statement.</p>\n </li>\n </ul>\n <p>If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters. </p>\n <note>\n <p>WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When \n parsing succeeds, WAF doesn't apply the fallback behavior. For more information, \n see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body\">JSON body</a> \n in the <i>WAF Developer Guide</i>.</p>\n </note>"
71577157
}
71587158
},
71597159
"OversizeHandling": {
@@ -7164,7 +7164,7 @@
71647164
}
71657165
},
71667166
"traits": {
7167-
"smithy.api#documentation": "<p>Inspect the body of the web request as JSON. The body immediately follows the request\n headers. </p>\n <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>\n <p>Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate.\n </p>\n <p>Example JSON: <code>\"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }</code>\n </p>"
7167+
"smithy.api#documentation": "<p>Inspect the body of the web request as JSON. The body immediately follows the request\n headers. </p>\n <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>\n <p>Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate. </p>\n <p>Example JSON: <code>\"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }</code>\n </p>\n <p>For additional information about this request component option, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body\">JSON body</a> \n in the <i>WAF Developer Guide</i>.</p>"
71687168
}
71697169
},
71707170
"com.amazonaws.wafv2#JsonMatchPattern": {

0 commit comments

Comments
 (0)