Skip to content

Commit 1bca5fe

Browse files
author
awstools
committed
feat(client-s3-control): Fix endpoint resolution test cases
1 parent d8884d3 commit 1bca5fe

File tree

1 file changed

+6
-41
lines changed

1 file changed

+6
-41
lines changed

codegen/sdk-codegen/aws-models/s3-control.json

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5878,17 +5878,6 @@
58785878
"expect": {
58795879
"error": "AccountId must only contain a-z, A-Z, 0-9 and `-`."
58805880
},
5881-
"operationInputs": [
5882-
{
5883-
"builtInParams": {
5884-
"AWS::Region": "us-east-1"
5885-
},
5886-
"operationName": "ListRegionalBuckets",
5887-
"operationParams": {
5888-
"AccountId": "/?invalid&not-host*label"
5889-
}
5890-
}
5891-
],
58925881
"params": {
58935882
"AccountId": "/?invalid&not-host*label",
58945883
"Region": "us-east-1",
@@ -6034,18 +6023,6 @@
60346023
"expect": {
60356024
"error": "AccountId must only contain a-z, A-Z, 0-9 and `-`."
60366025
},
6037-
"operationInputs": [
6038-
{
6039-
"builtInParams": {
6040-
"AWS::Region": "us-east-1",
6041-
"SDK::Endpoint": "https://beta.example.com"
6042-
},
6043-
"operationName": "ListRegionalBuckets",
6044-
"operationParams": {
6045-
"AccountId": "/?invalid&not-host*label"
6046-
}
6047-
}
6048-
],
60496026
"params": {
60506027
"Region": "us-east-1",
60516028
"Endpoint": "https://beta.example.com",
@@ -6182,18 +6159,6 @@
61826159
"expect": {
61836160
"error": "AccountId must only contain a-z, A-Z, 0-9 and `-`."
61846161
},
6185-
"operationInputs": [
6186-
{
6187-
"builtInParams": {
6188-
"AWS::Region": "us-east-2"
6189-
},
6190-
"operationName": "ListRegionalBuckets",
6191-
"operationParams": {
6192-
"OutpostId": "op-123",
6193-
"AccountId": "/?invalid&not-host*label"
6194-
}
6195-
}
6196-
],
61976162
"params": {
61986163
"AccountId": "/?invalid&not-host*label",
61996164
"OutpostId": "op-123",
@@ -6383,12 +6348,12 @@
63836348
"operationName": "ListRegionalBuckets",
63846349
"operationParams": {
63856350
"OutpostId": "op-123",
6386-
"AccountId": "0123456789012"
6351+
"AccountId": "012345678912"
63876352
}
63886353
}
63896354
],
63906355
"params": {
6391-
"AccountId": "0123456789012",
6356+
"AccountId": "012345678912",
63926357
"OutpostId": "op-123",
63936358
"Region": "cn-north-1",
63946359
"RequiresAccountId": true,
@@ -6409,12 +6374,12 @@
64096374
"operationName": "ListRegionalBuckets",
64106375
"operationParams": {
64116376
"OutpostId": "?outpost/invalid+",
6412-
"AccountId": "0123456789012"
6377+
"AccountId": "012345678912"
64136378
}
64146379
}
64156380
],
64166381
"params": {
6417-
"AccountId": "0123456789012",
6382+
"AccountId": "012345678912",
64186383
"OutpostId": "?outpost/invalid+",
64196384
"Region": "us-west-1",
64206385
"RequiresAccountId": true,
@@ -6425,11 +6390,11 @@
64256390
{
64266391
"documentation": "bucket ARN with mismatched accountId",
64276392
"expect": {
6428-
"error": "Invalid ARN: the accountId specified in the ARN (`999999`) does not match the parameter (`0123456789012`)"
6393+
"error": "Invalid ARN: the accountId specified in the ARN (`999999`) does not match the parameter (`012345678912`)"
64296394
},
64306395
"params": {
64316396
"Bucket": "arn:aws:s3-outposts:us-west-2:999999:outpost:op-01234567890123456:bucket:mybucket",
6432-
"AccountId": "0123456789012",
6397+
"AccountId": "012345678912",
64336398
"Region": "us-west-2",
64346399
"RequiresAccountId": true,
64356400
"UseDualStack": false,

0 commit comments

Comments
 (0)