|
189 | 189 | ],
|
190 | 190 | "documentation":"<p>Returns an array of <code>PolicySummary</code> objects in the response.</p>"
|
191 | 191 | },
|
| 192 | + "ListTagsForResource":{ |
| 193 | + "name":"ListTagsForResource", |
| 194 | + "http":{ |
| 195 | + "method":"POST", |
| 196 | + "requestUri":"/" |
| 197 | + }, |
| 198 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 199 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 200 | + "errors":[ |
| 201 | + {"shape":"ResourceNotFoundException"}, |
| 202 | + {"shape":"InvalidOperationException"}, |
| 203 | + {"shape":"InternalErrorException"}, |
| 204 | + {"shape":"InvalidInputException"} |
| 205 | + ], |
| 206 | + "documentation":"<p>Retrieves the list of tags for the specified AWS resource. </p>" |
| 207 | + }, |
192 | 208 | "PutNotificationChannel":{
|
193 | 209 | "name":"PutNotificationChannel",
|
194 | 210 | "http":{
|
|
220 | 236 | {"shape":"InvalidTypeException"}
|
221 | 237 | ],
|
222 | 238 | "documentation":"<p>Creates an AWS Firewall Manager policy.</p> <p>Firewall Manager provides the following types of policies: </p> <ul> <li> <p>A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources</p> </li> <li> <p>An AWS WAF policy, which contains a rule group and defines which resources are to be protected by that rule group</p> </li> <li> <p>A security group policy, which manages VPC security groups across your AWS organization. </p> </li> </ul> <p>Each policy is specific to one of the three types. If you want to enforce more than one policy type across accounts, you can create multiple policies. You can create multiple policies for each type.</p> <p>You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see <a href=\"https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html\">CreateSubscription</a>.</p>"
|
| 239 | + }, |
| 240 | + "TagResource":{ |
| 241 | + "name":"TagResource", |
| 242 | + "http":{ |
| 243 | + "method":"POST", |
| 244 | + "requestUri":"/" |
| 245 | + }, |
| 246 | + "input":{"shape":"TagResourceRequest"}, |
| 247 | + "output":{"shape":"TagResourceResponse"}, |
| 248 | + "errors":[ |
| 249 | + {"shape":"ResourceNotFoundException"}, |
| 250 | + {"shape":"InvalidOperationException"}, |
| 251 | + {"shape":"InternalErrorException"}, |
| 252 | + {"shape":"InvalidInputException"}, |
| 253 | + {"shape":"LimitExceededException"} |
| 254 | + ], |
| 255 | + "documentation":"<p>Adds one or more tags to an AWS resource.</p>" |
| 256 | + }, |
| 257 | + "UntagResource":{ |
| 258 | + "name":"UntagResource", |
| 259 | + "http":{ |
| 260 | + "method":"POST", |
| 261 | + "requestUri":"/" |
| 262 | + }, |
| 263 | + "input":{"shape":"UntagResourceRequest"}, |
| 264 | + "output":{"shape":"UntagResourceResponse"}, |
| 265 | + "errors":[ |
| 266 | + {"shape":"ResourceNotFoundException"}, |
| 267 | + {"shape":"InvalidOperationException"}, |
| 268 | + {"shape":"InternalErrorException"}, |
| 269 | + {"shape":"InvalidInputException"} |
| 270 | + ], |
| 271 | + "documentation":"<p>Removes one or more tags from an AWS resource.</p>" |
223 | 272 | }
|
224 | 273 | },
|
225 | 274 | "shapes":{
|
|
617 | 666 | }
|
618 | 667 | }
|
619 | 668 | },
|
| 669 | + "ListTagsForResourceRequest":{ |
| 670 | + "type":"structure", |
| 671 | + "required":["ResourceArn"], |
| 672 | + "members":{ |
| 673 | + "ResourceArn":{ |
| 674 | + "shape":"ResourceArn", |
| 675 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN..</p>" |
| 676 | + } |
| 677 | + } |
| 678 | + }, |
| 679 | + "ListTagsForResourceResponse":{ |
| 680 | + "type":"structure", |
| 681 | + "members":{ |
| 682 | + "TagList":{ |
| 683 | + "shape":"TagList", |
| 684 | + "documentation":"<p>The tags associated with the resource.</p>" |
| 685 | + } |
| 686 | + } |
| 687 | + }, |
620 | 688 | "ManagedServiceData":{
|
621 | 689 | "type":"string",
|
622 | 690 | "max":1024,
|
|
633 | 701 | },
|
634 | 702 | "PaginationToken":{
|
635 | 703 | "type":"string",
|
| 704 | + "max":4096, |
636 | 705 | "min":1,
|
637 | 706 | "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
|
638 | 707 | },
|
|
843 | 912 | "Policy":{
|
844 | 913 | "shape":"Policy",
|
845 | 914 | "documentation":"<p>The details of the AWS Firewall Manager policy to be created.</p>"
|
| 915 | + }, |
| 916 | + "TagList":{ |
| 917 | + "shape":"TagList", |
| 918 | + "documentation":"<p>The tags to add to the AWS resource.</p>" |
846 | 919 | }
|
847 | 920 | }
|
848 | 921 | },
|
|
894 | 967 | "required":["Key"],
|
895 | 968 | "members":{
|
896 | 969 | "Key":{
|
897 |
| - "shape":"TagKey", |
| 970 | + "shape":"ResourceTagKey", |
898 | 971 | "documentation":"<p>The resource tag key.</p>"
|
899 | 972 | },
|
900 | 973 | "Value":{
|
901 |
| - "shape":"TagValue", |
| 974 | + "shape":"ResourceTagValue", |
902 | 975 | "documentation":"<p>The resource tag value.</p>"
|
903 | 976 | }
|
904 | 977 | },
|
905 | 978 | "documentation":"<p>The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with \"AND\" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see <a href=\"https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html\">Working with Tag Editor</a>.</p>"
|
906 | 979 | },
|
| 980 | + "ResourceTagKey":{ |
| 981 | + "type":"string", |
| 982 | + "max":128, |
| 983 | + "min":1, |
| 984 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 985 | + }, |
| 986 | + "ResourceTagValue":{ |
| 987 | + "type":"string", |
| 988 | + "max":256, |
| 989 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 990 | + }, |
907 | 991 | "ResourceTags":{
|
908 | 992 | "type":"list",
|
909 | 993 | "member":{"shape":"ResourceTag"},
|
|
945 | 1029 | "SECURITY_GROUPS_USAGE_AUDIT"
|
946 | 1030 | ]
|
947 | 1031 | },
|
| 1032 | + "Tag":{ |
| 1033 | + "type":"structure", |
| 1034 | + "required":[ |
| 1035 | + "Key", |
| 1036 | + "Value" |
| 1037 | + ], |
| 1038 | + "members":{ |
| 1039 | + "Key":{ |
| 1040 | + "shape":"TagKey", |
| 1041 | + "documentation":"<p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive.</p>" |
| 1042 | + }, |
| 1043 | + "Value":{ |
| 1044 | + "shape":"TagValue", |
| 1045 | + "documentation":"<p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive. </p>" |
| 1046 | + } |
| 1047 | + }, |
| 1048 | + "documentation":"<p>A collection of key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each AWS resource. </p>" |
| 1049 | + }, |
948 | 1050 | "TagKey":{
|
949 | 1051 | "type":"string",
|
950 | 1052 | "max":128,
|
951 | 1053 | "min":1,
|
952 | 1054 | "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
|
953 | 1055 | },
|
| 1056 | + "TagKeyList":{ |
| 1057 | + "type":"list", |
| 1058 | + "member":{"shape":"TagKey"}, |
| 1059 | + "max":200, |
| 1060 | + "min":0 |
| 1061 | + }, |
| 1062 | + "TagList":{ |
| 1063 | + "type":"list", |
| 1064 | + "member":{"shape":"Tag"}, |
| 1065 | + "max":200, |
| 1066 | + "min":0 |
| 1067 | + }, |
| 1068 | + "TagResourceRequest":{ |
| 1069 | + "type":"structure", |
| 1070 | + "required":[ |
| 1071 | + "ResourceArn", |
| 1072 | + "TagList" |
| 1073 | + ], |
| 1074 | + "members":{ |
| 1075 | + "ResourceArn":{ |
| 1076 | + "shape":"ResourceArn", |
| 1077 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN.</p>" |
| 1078 | + }, |
| 1079 | + "TagList":{ |
| 1080 | + "shape":"TagList", |
| 1081 | + "documentation":"<p>The tags to add to the resource.</p>" |
| 1082 | + } |
| 1083 | + } |
| 1084 | + }, |
| 1085 | + "TagResourceResponse":{ |
| 1086 | + "type":"structure", |
| 1087 | + "members":{ |
| 1088 | + } |
| 1089 | + }, |
954 | 1090 | "TagValue":{
|
955 | 1091 | "type":"string",
|
956 | 1092 | "max":256,
|
| 1093 | + "min":0, |
957 | 1094 | "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
|
958 | 1095 | },
|
959 | 1096 | "TimeStamp":{"type":"timestamp"},
|
| 1097 | + "UntagResourceRequest":{ |
| 1098 | + "type":"structure", |
| 1099 | + "required":[ |
| 1100 | + "ResourceArn", |
| 1101 | + "TagKeys" |
| 1102 | + ], |
| 1103 | + "members":{ |
| 1104 | + "ResourceArn":{ |
| 1105 | + "shape":"ResourceArn", |
| 1106 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN.</p>" |
| 1107 | + }, |
| 1108 | + "TagKeys":{ |
| 1109 | + "shape":"TagKeyList", |
| 1110 | + "documentation":"<p>The keys of the tags to remove from the resource. </p>" |
| 1111 | + } |
| 1112 | + } |
| 1113 | + }, |
| 1114 | + "UntagResourceResponse":{ |
| 1115 | + "type":"structure", |
| 1116 | + "members":{ |
| 1117 | + } |
| 1118 | + }, |
960 | 1119 | "ViolationReason":{
|
961 | 1120 | "type":"string",
|
962 | 1121 | "enum":[
|
|
0 commit comments