|
507 | 507 | ],
|
508 | 508 | "documentation":"<p>Lists details about all member accounts for the current GuardDuty master account.</p>"
|
509 | 509 | },
|
| 510 | + "ListTagsForResource":{ |
| 511 | + "name":"ListTagsForResource", |
| 512 | + "http":{ |
| 513 | + "method":"GET", |
| 514 | + "requestUri":"/tags/{resourceArn}", |
| 515 | + "responseCode":200 |
| 516 | + }, |
| 517 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 518 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 519 | + "errors":[ |
| 520 | + {"shape":"BadRequestException"}, |
| 521 | + {"shape":"InternalServerErrorException"} |
| 522 | + ], |
| 523 | + "documentation":"<p>Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource..</p>" |
| 524 | + }, |
510 | 525 | "ListThreatIntelSets":{
|
511 | 526 | "name":"ListThreatIntelSets",
|
512 | 527 | "http":{
|
|
552 | 567 | ],
|
553 | 568 | "documentation":"<p>Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members’ findings.</p>"
|
554 | 569 | },
|
| 570 | + "TagResource":{ |
| 571 | + "name":"TagResource", |
| 572 | + "http":{ |
| 573 | + "method":"POST", |
| 574 | + "requestUri":"/tags/{resourceArn}", |
| 575 | + "responseCode":204 |
| 576 | + }, |
| 577 | + "input":{"shape":"TagResourceRequest"}, |
| 578 | + "output":{"shape":"TagResourceResponse"}, |
| 579 | + "errors":[ |
| 580 | + {"shape":"BadRequestException"}, |
| 581 | + {"shape":"InternalServerErrorException"} |
| 582 | + ], |
| 583 | + "documentation":"<p>Adds tags to a resource.</p>" |
| 584 | + }, |
555 | 585 | "UnarchiveFindings":{
|
556 | 586 | "name":"UnarchiveFindings",
|
557 | 587 | "http":{
|
|
567 | 597 | ],
|
568 | 598 | "documentation":"<p>Unarchives Amazon GuardDuty findings specified by the list of finding IDs.</p>"
|
569 | 599 | },
|
| 600 | + "UntagResource":{ |
| 601 | + "name":"UntagResource", |
| 602 | + "http":{ |
| 603 | + "method":"DELETE", |
| 604 | + "requestUri":"/tags/{resourceArn}", |
| 605 | + "responseCode":204 |
| 606 | + }, |
| 607 | + "input":{"shape":"UntagResourceRequest"}, |
| 608 | + "output":{"shape":"UntagResourceResponse"}, |
| 609 | + "errors":[ |
| 610 | + {"shape":"BadRequestException"}, |
| 611 | + {"shape":"InternalServerErrorException"} |
| 612 | + ], |
| 613 | + "documentation":"<p>Removes tags from a resource.</p>" |
| 614 | + }, |
570 | 615 | "UpdateDetector":{
|
571 | 616 | "name":"UpdateDetector",
|
572 | 617 | "http":{
|
|
963 | 1008 | "shape":"FindingPublishingFrequency",
|
964 | 1009 | "documentation":"<p>A enum value that specifies how frequently customer got Finding updates published.</p>",
|
965 | 1010 | "locationName":"findingPublishingFrequency"
|
| 1011 | + }, |
| 1012 | + "Tags":{ |
| 1013 | + "shape":"TagMap", |
| 1014 | + "documentation":"<p>The tags to be added to a new detector resource.</p>", |
| 1015 | + "locationName":"tags" |
966 | 1016 | }
|
967 | 1017 | }
|
968 | 1018 | },
|
|
1020 | 1070 | "documentation":"<p>The idempotency token for the create request.</p>",
|
1021 | 1071 | "idempotencyToken":true,
|
1022 | 1072 | "locationName":"clientToken"
|
| 1073 | + }, |
| 1074 | + "Tags":{ |
| 1075 | + "shape":"TagMap", |
| 1076 | + "documentation":"<p>The tags to be added to a new filter resource.</p>", |
| 1077 | + "locationName":"tags" |
1023 | 1078 | }
|
1024 | 1079 | }
|
1025 | 1080 | },
|
|
1075 | 1130 | "documentation":"<p>The idempotency token for the create request.</p>",
|
1076 | 1131 | "idempotencyToken":true,
|
1077 | 1132 | "locationName":"clientToken"
|
| 1133 | + }, |
| 1134 | + "Tags":{ |
| 1135 | + "shape":"TagMap", |
| 1136 | + "documentation":"<p>The tags to be added to a new IP set resource.</p>", |
| 1137 | + "locationName":"tags" |
1078 | 1138 | }
|
1079 | 1139 | }
|
1080 | 1140 | },
|
|
1183 | 1243 | "documentation":"<p>The idempotency token for the create request.</p>",
|
1184 | 1244 | "idempotencyToken":true,
|
1185 | 1245 | "locationName":"clientToken"
|
| 1246 | + }, |
| 1247 | + "Tags":{ |
| 1248 | + "shape":"TagMap", |
| 1249 | + "documentation":"<p>The tags to be added to a new Threat List resource.</p>", |
| 1250 | + "locationName":"tags" |
1186 | 1251 | }
|
1187 | 1252 | }
|
1188 | 1253 | },
|
|
1727 | 1792 | "shape":"String",
|
1728 | 1793 | "documentation":"<p>Detector last update timestamp.</p>",
|
1729 | 1794 | "locationName":"updatedAt"
|
| 1795 | + }, |
| 1796 | + "Tags":{ |
| 1797 | + "shape":"TagMap", |
| 1798 | + "documentation":"<p>The tags of the detector resource.</p>", |
| 1799 | + "locationName":"tags" |
1730 | 1800 | }
|
1731 | 1801 | }
|
1732 | 1802 | },
|
|
1783 | 1853 | "shape":"FindingCriteria",
|
1784 | 1854 | "documentation":"<p>Represents the criteria to be used in the filter for querying findings.</p>",
|
1785 | 1855 | "locationName":"findingCriteria"
|
| 1856 | + }, |
| 1857 | + "Tags":{ |
| 1858 | + "shape":"TagMap", |
| 1859 | + "documentation":"<p>The tags of the filter resource.</p>", |
| 1860 | + "locationName":"tags" |
1786 | 1861 | }
|
1787 | 1862 | }
|
1788 | 1863 | },
|
|
1907 | 1982 | "shape":"IpSetStatus",
|
1908 | 1983 | "documentation":"<p>The status of ipSet file uploaded.</p>",
|
1909 | 1984 | "locationName":"status"
|
| 1985 | + }, |
| 1986 | + "Tags":{ |
| 1987 | + "shape":"TagMap", |
| 1988 | + "documentation":"<p>The tags of the IP set resource.</p>", |
| 1989 | + "locationName":"tags" |
1910 | 1990 | }
|
1911 | 1991 | }
|
1912 | 1992 | },
|
|
2036 | 2116 | "shape":"ThreatIntelSetStatus",
|
2037 | 2117 | "documentation":"<p>The status of threatIntelSet file uploaded.</p>",
|
2038 | 2118 | "locationName":"status"
|
| 2119 | + }, |
| 2120 | + "Tags":{ |
| 2121 | + "shape":"TagMap", |
| 2122 | + "documentation":"<p>The tags of the Threat List resource.</p>", |
| 2123 | + "locationName":"tags" |
2039 | 2124 | }
|
2040 | 2125 | }
|
2041 | 2126 | },
|
| 2127 | + "GuardDutyArn":{ |
| 2128 | + "type":"string", |
| 2129 | + "pattern":"^arn:[A-Za-z_.-]{1,20}:guardduty:[A-Za-z0-9_/.-]{0,63}:\\d+:detector/[A-Za-z0-9_/.-]{32,264}$" |
| 2130 | + }, |
2042 | 2131 | "IamInstanceProfile":{
|
2043 | 2132 | "type":"structure",
|
2044 | 2133 | "members":{
|
|
2485 | 2574 | }
|
2486 | 2575 | }
|
2487 | 2576 | },
|
| 2577 | + "ListTagsForResourceRequest":{ |
| 2578 | + "type":"structure", |
| 2579 | + "required":["ResourceArn"], |
| 2580 | + "members":{ |
| 2581 | + "ResourceArn":{ |
| 2582 | + "shape":"GuardDutyArn", |
| 2583 | + "documentation":"<p>The Amazon Resource Name (ARN) for the given GuardDuty resource </p>", |
| 2584 | + "location":"uri", |
| 2585 | + "locationName":"resourceArn" |
| 2586 | + } |
| 2587 | + } |
| 2588 | + }, |
| 2589 | + "ListTagsForResourceResponse":{ |
| 2590 | + "type":"structure", |
| 2591 | + "members":{ |
| 2592 | + "Tags":{ |
| 2593 | + "shape":"TagMap", |
| 2594 | + "locationName":"tags" |
| 2595 | + } |
| 2596 | + } |
| 2597 | + }, |
2488 | 2598 | "ListThreatIntelSetsRequest":{
|
2489 | 2599 | "type":"structure",
|
2490 | 2600 | "required":["DetectorId"],
|
|
3067 | 3177 | }
|
3068 | 3178 | }
|
3069 | 3179 | },
|
| 3180 | + "TagKey":{ |
| 3181 | + "type":"string", |
| 3182 | + "max":128, |
| 3183 | + "min":1, |
| 3184 | + "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" |
| 3185 | + }, |
| 3186 | + "TagKeyList":{ |
| 3187 | + "type":"list", |
| 3188 | + "member":{"shape":"TagKey"}, |
| 3189 | + "max":200, |
| 3190 | + "min":1 |
| 3191 | + }, |
| 3192 | + "TagMap":{ |
| 3193 | + "type":"map", |
| 3194 | + "key":{"shape":"TagKey"}, |
| 3195 | + "value":{"shape":"TagValue"}, |
| 3196 | + "max":200, |
| 3197 | + "min":1 |
| 3198 | + }, |
| 3199 | + "TagResourceRequest":{ |
| 3200 | + "type":"structure", |
| 3201 | + "required":[ |
| 3202 | + "ResourceArn", |
| 3203 | + "Tags" |
| 3204 | + ], |
| 3205 | + "members":{ |
| 3206 | + "ResourceArn":{ |
| 3207 | + "shape":"GuardDutyArn", |
| 3208 | + "documentation":"<p>The Amazon Resource Name (ARN) for the given GuardDuty resource </p>", |
| 3209 | + "location":"uri", |
| 3210 | + "locationName":"resourceArn" |
| 3211 | + }, |
| 3212 | + "Tags":{ |
| 3213 | + "shape":"TagMap", |
| 3214 | + "documentation":"<p>The tags to be added to a resource.</p>", |
| 3215 | + "locationName":"tags" |
| 3216 | + } |
| 3217 | + } |
| 3218 | + }, |
| 3219 | + "TagResourceResponse":{ |
| 3220 | + "type":"structure", |
| 3221 | + "members":{ |
| 3222 | + } |
| 3223 | + }, |
| 3224 | + "TagValue":{ |
| 3225 | + "type":"string", |
| 3226 | + "max":256 |
| 3227 | + }, |
3070 | 3228 | "Tags":{
|
3071 | 3229 | "type":"list",
|
3072 | 3230 | "member":{"shape":"Tag"}
|
|
3154 | 3312 | "max":50,
|
3155 | 3313 | "min":0
|
3156 | 3314 | },
|
| 3315 | + "UntagResourceRequest":{ |
| 3316 | + "type":"structure", |
| 3317 | + "required":[ |
| 3318 | + "ResourceArn", |
| 3319 | + "TagKeys" |
| 3320 | + ], |
| 3321 | + "members":{ |
| 3322 | + "ResourceArn":{ |
| 3323 | + "shape":"GuardDutyArn", |
| 3324 | + "documentation":"<p>The Amazon Resource Name (ARN) for the given GuardDuty resource </p>", |
| 3325 | + "location":"uri", |
| 3326 | + "locationName":"resourceArn" |
| 3327 | + }, |
| 3328 | + "TagKeys":{ |
| 3329 | + "shape":"TagKeyList", |
| 3330 | + "documentation":"<p>The tag keys to remove from a resource.</p>", |
| 3331 | + "location":"querystring", |
| 3332 | + "locationName":"tagKeys" |
| 3333 | + } |
| 3334 | + } |
| 3335 | + }, |
| 3336 | + "UntagResourceResponse":{ |
| 3337 | + "type":"structure", |
| 3338 | + "members":{ |
| 3339 | + } |
| 3340 | + }, |
3157 | 3341 | "UpdateDetectorRequest":{
|
3158 | 3342 | "type":"structure",
|
3159 | 3343 | "required":["DetectorId"],
|
|
0 commit comments