|
12 | 12 | "uid":"trustedadvisor-2022-09-15"
|
13 | 13 | },
|
14 | 14 | "operations":{
|
| 15 | + "BatchUpdateRecommendationResourceExclusion":{ |
| 16 | + "name":"BatchUpdateRecommendationResourceExclusion", |
| 17 | + "http":{ |
| 18 | + "method":"PUT", |
| 19 | + "requestUri":"/v1/batch-update-recommendation-resource-exclusion", |
| 20 | + "responseCode":200 |
| 21 | + }, |
| 22 | + "input":{"shape":"BatchUpdateRecommendationResourceExclusionRequest"}, |
| 23 | + "output":{"shape":"BatchUpdateRecommendationResourceExclusionResponse"}, |
| 24 | + "errors":[ |
| 25 | + {"shape":"AccessDeniedException"}, |
| 26 | + {"shape":"ConflictException"}, |
| 27 | + {"shape":"InternalServerException"}, |
| 28 | + {"shape":"ValidationException"}, |
| 29 | + {"shape":"ThrottlingException"} |
| 30 | + ], |
| 31 | + "documentation":"<p>Update one or more exclusion status for a list of recommendation resources</p>", |
| 32 | + "idempotent":true |
| 33 | + }, |
15 | 34 | "GetOrganizationRecommendation":{
|
16 | 35 | "name":"GetOrganizationRecommendation",
|
17 | 36 | "http":{
|
|
169 | 188 | {"shape":"ResourceNotFoundException"},
|
170 | 189 | {"shape":"ThrottlingException"}
|
171 | 190 | ],
|
172 |
| - "documentation":"<p>Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized recommendations. </p>", |
| 191 | + "documentation":"<p>Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized recommendations. </p>", |
173 | 192 | "idempotent":true
|
174 | 193 | },
|
175 | 194 | "UpdateRecommendationLifecycle":{
|
|
266 | 285 | "type":"list",
|
267 | 286 | "member":{"shape":"AccountRecommendationLifecycleSummary"}
|
268 | 287 | },
|
| 288 | + "BatchUpdateRecommendationResourceExclusionRequest":{ |
| 289 | + "type":"structure", |
| 290 | + "required":["recommendationResourceExclusions"], |
| 291 | + "members":{ |
| 292 | + "recommendationResourceExclusions":{ |
| 293 | + "shape":"RecommendationResourceExclusionList", |
| 294 | + "documentation":"<p>A list of recommendation resource ARNs and exclusion status to update</p>" |
| 295 | + } |
| 296 | + } |
| 297 | + }, |
| 298 | + "BatchUpdateRecommendationResourceExclusionResponse":{ |
| 299 | + "type":"structure", |
| 300 | + "required":["batchUpdateRecommendationResourceExclusionErrors"], |
| 301 | + "members":{ |
| 302 | + "batchUpdateRecommendationResourceExclusionErrors":{ |
| 303 | + "shape":"UpdateRecommendationResourceExclusionErrorList", |
| 304 | + "documentation":"<p>A list of recommendation resource ARNs whose exclusion status failed to update, if any</p>" |
| 305 | + } |
| 306 | + } |
| 307 | + }, |
| 308 | + "Boolean":{ |
| 309 | + "type":"boolean", |
| 310 | + "box":true |
| 311 | + }, |
269 | 312 | "CheckArn":{
|
270 | 313 | "type":"string",
|
271 | 314 | "max":2048,
|
|
347 | 390 | "type":"double",
|
348 | 391 | "box":true
|
349 | 392 | },
|
| 393 | + "ExclusionStatus":{ |
| 394 | + "type":"string", |
| 395 | + "enum":[ |
| 396 | + "excluded", |
| 397 | + "included" |
| 398 | + ] |
| 399 | + }, |
350 | 400 | "GetOrganizationRecommendationRequest":{
|
351 | 401 | "type":"structure",
|
352 | 402 | "required":["organizationRecommendationIdentifier"],
|
|
542 | 592 | "location":"querystring",
|
543 | 593 | "locationName":"affectedAccountId"
|
544 | 594 | },
|
| 595 | + "exclusionStatus":{ |
| 596 | + "shape":"ExclusionStatus", |
| 597 | + "documentation":"<p>The exclusion status of the resource</p>", |
| 598 | + "location":"querystring", |
| 599 | + "locationName":"exclusionStatus" |
| 600 | + }, |
545 | 601 | "maxResults":{
|
546 | 602 | "shape":"ListOrganizationRecommendationResourcesRequestMaxResultsInteger",
|
547 | 603 | "documentation":"<p>The maximum number of results to return per page.</p>",
|
|
703 | 759 | "type":"structure",
|
704 | 760 | "required":["recommendationIdentifier"],
|
705 | 761 | "members":{
|
| 762 | + "exclusionStatus":{ |
| 763 | + "shape":"ExclusionStatus", |
| 764 | + "documentation":"<p>The exclusion status of the resource</p>", |
| 765 | + "location":"querystring", |
| 766 | + "locationName":"exclusionStatus" |
| 767 | + }, |
706 | 768 | "maxResults":{
|
707 | 769 | "shape":"ListRecommendationResourcesRequestMaxResultsInteger",
|
708 | 770 | "documentation":"<p>The maximum number of results to return per page.</p>",
|
|
1002 | 1064 | "shape":"String",
|
1003 | 1065 | "documentation":"<p>The AWS resource identifier</p>"
|
1004 | 1066 | },
|
| 1067 | + "exclusionStatus":{ |
| 1068 | + "shape":"ExclusionStatus", |
| 1069 | + "documentation":"<p>The exclusion status of the Recommendation Resource</p>" |
| 1070 | + }, |
1005 | 1071 | "id":{
|
1006 | 1072 | "shape":"String",
|
1007 | 1073 | "documentation":"<p>The ID of the Recommendation Resource</p>"
|
|
1298 | 1364 | "min":20,
|
1299 | 1365 | "pattern":"^arn:[\\w-]+:trustedadvisor::\\d{12}:recommendation-resource\\/[\\w-]+\\/[\\w-]+$"
|
1300 | 1366 | },
|
| 1367 | + "RecommendationResourceExclusion":{ |
| 1368 | + "type":"structure", |
| 1369 | + "required":[ |
| 1370 | + "arn", |
| 1371 | + "isExcluded" |
| 1372 | + ], |
| 1373 | + "members":{ |
| 1374 | + "arn":{ |
| 1375 | + "shape":"RecommendationResourceArn", |
| 1376 | + "documentation":"<p>The ARN of the Recommendation Resource</p>" |
| 1377 | + }, |
| 1378 | + "isExcluded":{ |
| 1379 | + "shape":"Boolean", |
| 1380 | + "documentation":"<p>The exclusion status</p>" |
| 1381 | + } |
| 1382 | + }, |
| 1383 | + "documentation":"<p>The request entry for Recommendation Resource exclusion. Each entry is a combination of Recommendation Resource ARN and corresponding exclusion status</p>" |
| 1384 | + }, |
| 1385 | + "RecommendationResourceExclusionList":{ |
| 1386 | + "type":"list", |
| 1387 | + "member":{"shape":"RecommendationResourceExclusion"}, |
| 1388 | + "max":100, |
| 1389 | + "min":1 |
| 1390 | + }, |
1301 | 1391 | "RecommendationResourceSummary":{
|
1302 | 1392 | "type":"structure",
|
1303 | 1393 | "required":[
|
|
1319 | 1409 | "shape":"String",
|
1320 | 1410 | "documentation":"<p>The AWS resource identifier</p>"
|
1321 | 1411 | },
|
| 1412 | + "exclusionStatus":{ |
| 1413 | + "shape":"ExclusionStatus", |
| 1414 | + "documentation":"<p>The exclusion status of the Recommendation Resource</p>" |
| 1415 | + }, |
1322 | 1416 | "id":{
|
1323 | 1417 | "shape":"String",
|
1324 | 1418 | "documentation":"<p>The ID of the Recommendation Resource</p>"
|
|
1610 | 1704 | "other"
|
1611 | 1705 | ]
|
1612 | 1706 | },
|
| 1707 | + "UpdateRecommendationResourceExclusionError":{ |
| 1708 | + "type":"structure", |
| 1709 | + "members":{ |
| 1710 | + "arn":{ |
| 1711 | + "shape":"RecommendationResourceArn", |
| 1712 | + "documentation":"<p>The ARN of the Recommendation Resource</p>" |
| 1713 | + }, |
| 1714 | + "errorCode":{ |
| 1715 | + "shape":"String", |
| 1716 | + "documentation":"<p>The error code</p>" |
| 1717 | + }, |
| 1718 | + "errorMessage":{ |
| 1719 | + "shape":"String", |
| 1720 | + "documentation":"<p>The error message</p>" |
| 1721 | + } |
| 1722 | + }, |
| 1723 | + "documentation":"<p>The error entry for Recommendation Resource exclusion. Each entry is a combination of Recommendation Resource ARN, error code and error message</p>" |
| 1724 | + }, |
| 1725 | + "UpdateRecommendationResourceExclusionErrorList":{ |
| 1726 | + "type":"list", |
| 1727 | + "member":{"shape":"UpdateRecommendationResourceExclusionError"} |
| 1728 | + }, |
1613 | 1729 | "ValidationException":{
|
1614 | 1730 | "type":"structure",
|
1615 | 1731 | "required":["message"],
|
|
0 commit comments