Skip to content

Commit

Permalink
Update the correct format of key and values for resource tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-dotnet-automation committed Aug 16, 2024
1 parent 8690d58 commit b773915
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 6 deletions.
15 changes: 13 additions & 2 deletions generator/ServiceModels/inspector2/inspector2-2020-06-08.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -5229,7 +5229,7 @@
},
"TagValueList":{
"type":"list",
"member":{"shape":"String"},
"member":{"shape":"TargetResourceTagsValue"},
"max":5,
"min":1
},
Expand All @@ -5250,11 +5250,22 @@
},
"TargetResourceTags":{
"type":"map",
"key":{"shape":"NonEmptyString"},
"key":{"shape":"TargetResourceTagsKey"},
"value":{"shape":"TagValueList"},
"max":5,
"min":1
},
"TargetResourceTagsKey":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$"
},
"TargetResourceTagsValue":{
"type":"string",
"max":256,
"min":1
},
"TargetStatusFilterList":{
"type":"list",
"member":{"shape":"CisTargetStatusFilter"},
Expand Down
14 changes: 12 additions & 2 deletions generator/ServiceModels/inspector2/inspector2-2020-06-08.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,6 @@
"StringList$member": null,
"TagFilter$key": "<p>The tag filter key.</p>",
"TagFilter$value": "<p>The tag filter value.</p>",
"TargetResourceTags$key": null,
"TitleAggregationResponse$title": "<p>The title that the findings were aggregated on.</p>",
"UpdateEc2DeepInspectionConfigurationResponse$errorMessage": "<p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>",
"Vulnerability$id": "<p>The ID for the specific vulnerability.</p>"
Expand Down Expand Up @@ -3462,7 +3461,6 @@
"ServiceQuotaExceededException$message": null,
"ServiceQuotaExceededException$resourceId": "<p>The ID of the resource that exceeds a service quota.</p>",
"TagList$member": null,
"TagValueList$member": null,
"ThrottlingException$message": null,
"TitleAggregationResponse$vulnerabilityId": "<p>The vulnerability ID of the finding.</p>",
"ValidationException$message": null,
Expand Down Expand Up @@ -3684,6 +3682,18 @@
"UpdateCisTargets$targetResourceTags": "<p>The target resource tags.</p>"
}
},
"TargetResourceTagsKey": {
"base": null,
"refs": {
"TargetResourceTags$key": null
}
},
"TargetResourceTagsValue": {
"base": null,
"refs": {
"TagValueList$member": null
}
},
"TargetStatusFilterList": {
"base": null,
"refs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7849,7 +7849,7 @@
},
"TagValueList":{
"type":"list",
"member":{"shape":"String"},
"member":{"shape":"TargetResourceTagsValue"},
"max":5,
"min":1
},
Expand All @@ -7870,11 +7870,22 @@
},
"TargetResourceTags":{
"type":"map",
"key":{"shape":"NonEmptyString"},
"key":{"shape":"TargetResourceTagsKey"},
"value":{"shape":"TagValueList"},
"max":5,
"min":1
},
"TargetResourceTagsKey":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$"
},
"TargetResourceTagsValue":{
"type":"string",
"max":256,
"min":1
},
"TargetStatusFilterList":{
"type":"list",
"member":{"shape":"CisTargetStatusFilter"},
Expand Down

0 comments on commit b773915

Please sign in to comment.