Skip to content

Commit f7d6c3f

Browse files
author
awstools
committed
feat(client-pcs): Fixed regex patterns for ARN fields.
1 parent 5bc9810 commit f7d6c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@
820820
"min": 1,
821821
"max": 1011
822822
},
823-
"smithy.api#pattern": "^arn:aws*:pcs:.*:[0-9]{12}:.*/[a-z0-9_\\-]+$"
823+
"smithy.api#pattern": "^arn:aws.*:pcs:.*:[0-9]{12}:.*/[a-z0-9_\\-]+$"
824824
}
825825
},
826826
"com.amazonaws.pcs#BootstrapId": {
@@ -2460,7 +2460,7 @@
24602460
"com.amazonaws.pcs#InstanceProfileArn": {
24612461
"type": "string",
24622462
"traits": {
2463-
"smithy.api#pattern": "^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/.{1,128}$"
2463+
"smithy.api#pattern": "^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/[\\w+=,.@-]{1,128}$"
24642464
}
24652465
},
24662466
"com.amazonaws.pcs#InternalServerException": {

0 commit comments

Comments
 (0)