Skip to content

Commit 594c0fc

Browse files
author
awstools
committed
feat(client-inspector2): Update the correct format of key and values for resource tags
1 parent 271136d commit 594c0fc

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

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

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13979,7 +13979,7 @@
1397913979
"com.amazonaws.inspector2#TagValueList": {
1398013980
"type": "list",
1398113981
"member": {
13982-
"target": "smithy.api#String"
13982+
"target": "com.amazonaws.inspector2#TargetResourceTagsValue"
1398313983
},
1398413984
"traits": {
1398513985
"smithy.api#length": {
@@ -14019,7 +14019,7 @@
1401914019
"com.amazonaws.inspector2#TargetResourceTags": {
1402014020
"type": "map",
1402114021
"key": {
14022-
"target": "com.amazonaws.inspector2#NonEmptyString"
14022+
"target": "com.amazonaws.inspector2#TargetResourceTagsKey"
1402314023
},
1402414024
"value": {
1402514025
"target": "com.amazonaws.inspector2#TagValueList"
@@ -14031,6 +14031,25 @@
1403114031
}
1403214032
}
1403314033
},
14034+
"com.amazonaws.inspector2#TargetResourceTagsKey": {
14035+
"type": "string",
14036+
"traits": {
14037+
"smithy.api#length": {
14038+
"min": 1,
14039+
"max": 128
14040+
},
14041+
"smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$"
14042+
}
14043+
},
14044+
"com.amazonaws.inspector2#TargetResourceTagsValue": {
14045+
"type": "string",
14046+
"traits": {
14047+
"smithy.api#length": {
14048+
"min": 1,
14049+
"max": 256
14050+
}
14051+
}
14052+
},
1403414053
"com.amazonaws.inspector2#TargetStatusFilterList": {
1403514054
"type": "list",
1403614055
"member": {

0 commit comments

Comments
 (0)