@aws-sdk/client-trustedadvisor 3.454.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +285 -0
  3. package/dist-cjs/TrustedAdvisor.js +31 -0
  4. package/dist-cjs/TrustedAdvisorClient.js +43 -0
  5. package/dist-cjs/commands/GetOrganizationRecommendationCommand.js +52 -0
  6. package/dist-cjs/commands/GetRecommendationCommand.js +52 -0
  7. package/dist-cjs/commands/ListChecksCommand.js +51 -0
  8. package/dist-cjs/commands/ListOrganizationRecommendationAccountsCommand.js +52 -0
  9. package/dist-cjs/commands/ListOrganizationRecommendationResourcesCommand.js +51 -0
  10. package/dist-cjs/commands/ListOrganizationRecommendationsCommand.js +51 -0
  11. package/dist-cjs/commands/ListRecommendationResourcesCommand.js +51 -0
  12. package/dist-cjs/commands/ListRecommendationsCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateOrganizationRecommendationLifecycleCommand.js +52 -0
  14. package/dist-cjs/commands/UpdateRecommendationLifecycleCommand.js +52 -0
  15. package/dist-cjs/commands/index.js +13 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  18. package/dist-cjs/endpoint/ruleset.js +7 -0
  19. package/dist-cjs/extensionConfiguration.js +2 -0
  20. package/dist-cjs/index.js +12 -0
  21. package/dist-cjs/models/TrustedAdvisorServiceException.js +12 -0
  22. package/dist-cjs/models/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +202 -0
  24. package/dist-cjs/pagination/Interfaces.js +2 -0
  25. package/dist-cjs/pagination/ListChecksPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListOrganizationRecommendationAccountsPaginator.js +29 -0
  27. package/dist-cjs/pagination/ListOrganizationRecommendationResourcesPaginator.js +29 -0
  28. package/dist-cjs/pagination/ListOrganizationRecommendationsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListRecommendationResourcesPaginator.js +29 -0
  30. package/dist-cjs/pagination/ListRecommendationsPaginator.js +29 -0
  31. package/dist-cjs/pagination/index.js +10 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +1023 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +50 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +24 -0
  37. package/dist-cjs/runtimeExtensions.js +22 -0
  38. package/dist-es/TrustedAdvisor.js +27 -0
  39. package/dist-es/TrustedAdvisorClient.js +39 -0
  40. package/dist-es/commands/GetOrganizationRecommendationCommand.js +48 -0
  41. package/dist-es/commands/GetRecommendationCommand.js +48 -0
  42. package/dist-es/commands/ListChecksCommand.js +47 -0
  43. package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +48 -0
  44. package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +47 -0
  45. package/dist-es/commands/ListOrganizationRecommendationsCommand.js +47 -0
  46. package/dist-es/commands/ListRecommendationResourcesCommand.js +47 -0
  47. package/dist-es/commands/ListRecommendationsCommand.js +47 -0
  48. package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +48 -0
  49. package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +48 -0
  50. package/dist-es/commands/index.js +10 -0
  51. package/dist-es/endpoint/EndpointParameters.js +8 -0
  52. package/dist-es/endpoint/endpointResolver.js +8 -0
  53. package/dist-es/endpoint/ruleset.js +4 -0
  54. package/dist-es/extensionConfiguration.js +1 -0
  55. package/dist-es/index.js +7 -0
  56. package/dist-es/models/TrustedAdvisorServiceException.js +8 -0
  57. package/dist-es/models/index.js +1 -0
  58. package/dist-es/models/models_0.js +185 -0
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/dist-es/pagination/ListChecksPaginator.js +25 -0
  61. package/dist-es/pagination/ListOrganizationRecommendationAccountsPaginator.js +25 -0
  62. package/dist-es/pagination/ListOrganizationRecommendationResourcesPaginator.js +25 -0
  63. package/dist-es/pagination/ListOrganizationRecommendationsPaginator.js +25 -0
  64. package/dist-es/pagination/ListRecommendationResourcesPaginator.js +25 -0
  65. package/dist-es/pagination/ListRecommendationsPaginator.js +25 -0
  66. package/dist-es/pagination/index.js +7 -0
  67. package/dist-es/protocols/Aws_restJson1.js +1000 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +45 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +20 -0
  72. package/dist-es/runtimeExtensions.js +18 -0
  73. package/dist-types/TrustedAdvisor.d.ts +80 -0
  74. package/dist-types/TrustedAdvisorClient.d.ts +179 -0
  75. package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +125 -0
  76. package/dist-types/commands/GetRecommendationCommand.d.ts +123 -0
  77. package/dist-types/commands/ListChecksCommand.d.ts +108 -0
  78. package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +105 -0
  79. package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +110 -0
  80. package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +127 -0
  81. package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +106 -0
  82. package/dist-types/commands/ListRecommendationsCommand.d.ts +125 -0
  83. package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +94 -0
  84. package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +92 -0
  85. package/dist-types/commands/index.d.ts +10 -0
  86. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  87. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  88. package/dist-types/endpoint/ruleset.d.ts +2 -0
  89. package/dist-types/extensionConfiguration.d.ts +8 -0
  90. package/dist-types/index.d.ts +15 -0
  91. package/dist-types/models/TrustedAdvisorServiceException.d.ts +13 -0
  92. package/dist-types/models/index.d.ts +1 -0
  93. package/dist-types/models/models_0.d.ts +1322 -0
  94. package/dist-types/pagination/Interfaces.d.ts +8 -0
  95. package/dist-types/pagination/ListChecksPaginator.d.ts +7 -0
  96. package/dist-types/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListOrganizationRecommendationsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/ListRecommendationResourcesPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +7 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  104. package/dist-types/runtimeConfig.d.ts +46 -0
  105. package/dist-types/runtimeConfig.native.d.ts +45 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/TrustedAdvisor.d.ts +195 -0
  109. package/dist-types/ts3.4/TrustedAdvisorClient.d.ts +179 -0
  110. package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +39 -0
  112. package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +35 -0
  113. package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +42 -0
  114. package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +42 -0
  117. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  125. package/dist-types/ts3.4/index.d.ts +10 -0
  126. package/dist-types/ts3.4/models/TrustedAdvisorServiceException.d.ts +8 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +397 -0
  129. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  130. package/dist-types/ts3.4/pagination/ListChecksPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListOrganizationRecommendationsPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListRecommendationResourcesPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  137. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  143. package/package.json +102 -0
@@ -0,0 +1,108 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListChecksRequest, ListChecksResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListChecksCommand}.
14
+ */
15
+ export interface ListChecksCommandInput extends ListChecksRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListChecksCommand}.
21
+ */
22
+ export interface ListChecksCommandOutput extends ListChecksResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List a filterable set of Checks</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { TrustedAdvisorClient, ListChecksCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
31
+ * // const { TrustedAdvisorClient, ListChecksCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
32
+ * const client = new TrustedAdvisorClient(config);
33
+ * const input = { // ListChecksRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
37
+ * awsService: "STRING_VALUE",
38
+ * source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
39
+ * language: "en" || "ja" || "zh" || "fr" || "de" || "ko" || "zh_TW" || "it" || "es" || "pt_BR" || "id",
40
+ * };
41
+ * const command = new ListChecksCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListChecksResponse
44
+ * // nextToken: "STRING_VALUE",
45
+ * // checkSummaries: [ // CheckSummaryList // required
46
+ * // { // CheckSummary
47
+ * // id: "STRING_VALUE", // required
48
+ * // arn: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE", // required
51
+ * // pillars: [ // RecommendationPillarList // required
52
+ * // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
53
+ * // ],
54
+ * // awsServices: [ // RecommendationAwsServiceList // required
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
58
+ * // metadata: { // StringMap // required
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListChecksCommandInput - {@link ListChecksCommandInput}
68
+ * @returns {@link ListChecksCommandOutput}
69
+ * @see {@link ListChecksCommandInput} for command's `input` shape.
70
+ * @see {@link ListChecksCommandOutput} for command's `response` shape.
71
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>Exception that access has been denied due to insufficient access</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>Exception to notify that requests are being throttled</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>Exception that the request failed to satisfy service constraints</p>
84
+ *
85
+ * @throws {@link TrustedAdvisorServiceException}
86
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
87
+ *
88
+ */
89
+ export declare class ListChecksCommand extends $Command<ListChecksCommandInput, ListChecksCommandOutput, TrustedAdvisorClientResolvedConfig> {
90
+ readonly input: ListChecksCommandInput;
91
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
+ /**
93
+ * @public
94
+ */
95
+ constructor(input: ListChecksCommandInput);
96
+ /**
97
+ * @internal
98
+ */
99
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChecksCommandInput, ListChecksCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
103
+ private serialize;
104
+ /**
105
+ * @internal
106
+ */
107
+ private deserialize;
108
+ }
@@ -0,0 +1,105 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListOrganizationRecommendationAccountsRequest, ListOrganizationRecommendationAccountsResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListOrganizationRecommendationAccountsCommand}.
14
+ */
15
+ export interface ListOrganizationRecommendationAccountsCommandInput extends ListOrganizationRecommendationAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListOrganizationRecommendationAccountsCommand}.
21
+ */
22
+ export interface ListOrganizationRecommendationAccountsCommandOutput extends ListOrganizationRecommendationAccountsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the accounts that own the resources for an organization aggregate recommendation. This API only
27
+ * supports prioritized recommendations.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { TrustedAdvisorClient, ListOrganizationRecommendationAccountsCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
33
+ * // const { TrustedAdvisorClient, ListOrganizationRecommendationAccountsCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
34
+ * const client = new TrustedAdvisorClient(config);
35
+ * const input = { // ListOrganizationRecommendationAccountsRequest
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * organizationRecommendationIdentifier: "STRING_VALUE", // required
39
+ * affectedAccountId: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListOrganizationRecommendationAccountsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListOrganizationRecommendationAccountsResponse
44
+ * // nextToken: "STRING_VALUE",
45
+ * // accountRecommendationLifecycleSummaries: [ // AccountRecommendationLifecycleSummaryList // required
46
+ * // { // AccountRecommendationLifecycleSummary
47
+ * // accountId: "STRING_VALUE",
48
+ * // accountRecommendationArn: "STRING_VALUE",
49
+ * // lifecycleStage: "in_progress" || "pending_response" || "dismissed" || "resolved",
50
+ * // updatedOnBehalfOf: "STRING_VALUE",
51
+ * // updatedOnBehalfOfJobTitle: "STRING_VALUE",
52
+ * // updateReason: "STRING_VALUE",
53
+ * // updateReasonCode: "non_critical_account" || "temporary_account" || "valid_business_case" || "other_methods_available" || "low_priority" || "not_applicable" || "other",
54
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListOrganizationRecommendationAccountsCommandInput - {@link ListOrganizationRecommendationAccountsCommandInput}
62
+ * @returns {@link ListOrganizationRecommendationAccountsCommandOutput}
63
+ * @see {@link ListOrganizationRecommendationAccountsCommandInput} for command's `input` shape.
64
+ * @see {@link ListOrganizationRecommendationAccountsCommandOutput} for command's `response` shape.
65
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>Exception that access has been denied due to insufficient access</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>Exception that the requested resource has not been found</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>Exception to notify that requests are being throttled</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Exception that the request failed to satisfy service constraints</p>
81
+ *
82
+ * @throws {@link TrustedAdvisorServiceException}
83
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
84
+ *
85
+ */
86
+ export declare class ListOrganizationRecommendationAccountsCommand extends $Command<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput, TrustedAdvisorClientResolvedConfig> {
87
+ readonly input: ListOrganizationRecommendationAccountsCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: ListOrganizationRecommendationAccountsCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -0,0 +1,110 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListOrganizationRecommendationResourcesRequest, ListOrganizationRecommendationResourcesResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListOrganizationRecommendationResourcesCommand}.
14
+ */
15
+ export interface ListOrganizationRecommendationResourcesCommandInput extends ListOrganizationRecommendationResourcesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListOrganizationRecommendationResourcesCommand}.
21
+ */
22
+ export interface ListOrganizationRecommendationResourcesCommandOutput extends ListOrganizationRecommendationResourcesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List Resources of a Recommendation within an Organization. This API only supports prioritized
27
+ * recommendations.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { TrustedAdvisorClient, ListOrganizationRecommendationResourcesCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
33
+ * // const { TrustedAdvisorClient, ListOrganizationRecommendationResourcesCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
34
+ * const client = new TrustedAdvisorClient(config);
35
+ * const input = { // ListOrganizationRecommendationResourcesRequest
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * status: "ok" || "warning" || "error",
39
+ * regionCode: "STRING_VALUE",
40
+ * organizationRecommendationIdentifier: "STRING_VALUE", // required
41
+ * affectedAccountId: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListOrganizationRecommendationResourcesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListOrganizationRecommendationResourcesResponse
46
+ * // nextToken: "STRING_VALUE",
47
+ * // organizationRecommendationResourceSummaries: [ // OrganizationRecommendationResourceSummaryList // required
48
+ * // { // OrganizationRecommendationResourceSummary
49
+ * // id: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE", // required
51
+ * // awsResourceId: "STRING_VALUE", // required
52
+ * // regionCode: "STRING_VALUE", // required
53
+ * // status: "ok" || "warning" || "error", // required
54
+ * // metadata: { // StringMap // required
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // lastUpdatedAt: new Date("TIMESTAMP"), // required
58
+ * // accountId: "STRING_VALUE",
59
+ * // recommendationArn: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListOrganizationRecommendationResourcesCommandInput - {@link ListOrganizationRecommendationResourcesCommandInput}
67
+ * @returns {@link ListOrganizationRecommendationResourcesCommandOutput}
68
+ * @see {@link ListOrganizationRecommendationResourcesCommandInput} for command's `input` shape.
69
+ * @see {@link ListOrganizationRecommendationResourcesCommandOutput} for command's `response` shape.
70
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>Exception that access has been denied due to insufficient access</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>Exception that the requested resource has not been found</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>Exception to notify that requests are being throttled</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>Exception that the request failed to satisfy service constraints</p>
86
+ *
87
+ * @throws {@link TrustedAdvisorServiceException}
88
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
89
+ *
90
+ */
91
+ export declare class ListOrganizationRecommendationResourcesCommand extends $Command<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput, TrustedAdvisorClientResolvedConfig> {
92
+ readonly input: ListOrganizationRecommendationResourcesCommandInput;
93
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: ListOrganizationRecommendationResourcesCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -0,0 +1,127 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListOrganizationRecommendationsRequest, ListOrganizationRecommendationsResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListOrganizationRecommendationsCommand}.
14
+ */
15
+ export interface ListOrganizationRecommendationsCommandInput extends ListOrganizationRecommendationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListOrganizationRecommendationsCommand}.
21
+ */
22
+ export interface ListOrganizationRecommendationsCommandOutput extends ListOrganizationRecommendationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List a filterable set of Recommendations within an Organization. This API only supports prioritized
27
+ * recommendations.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { TrustedAdvisorClient, ListOrganizationRecommendationsCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
33
+ * // const { TrustedAdvisorClient, ListOrganizationRecommendationsCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
34
+ * const client = new TrustedAdvisorClient(config);
35
+ * const input = { // ListOrganizationRecommendationsRequest
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * type: "standard" || "priority",
39
+ * status: "ok" || "warning" || "error",
40
+ * pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
41
+ * awsService: "STRING_VALUE",
42
+ * source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
43
+ * checkIdentifier: "STRING_VALUE",
44
+ * afterLastUpdatedAt: new Date("TIMESTAMP"),
45
+ * beforeLastUpdatedAt: new Date("TIMESTAMP"),
46
+ * };
47
+ * const command = new ListOrganizationRecommendationsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListOrganizationRecommendationsResponse
50
+ * // nextToken: "STRING_VALUE",
51
+ * // organizationRecommendationSummaries: [ // OrganizationRecommendationSummaryList // required
52
+ * // { // OrganizationRecommendationSummary
53
+ * // id: "STRING_VALUE", // required
54
+ * // type: "standard" || "priority", // required
55
+ * // checkArn: "STRING_VALUE",
56
+ * // status: "ok" || "warning" || "error", // required
57
+ * // lifecycleStage: "in_progress" || "pending_response" || "dismissed" || "resolved",
58
+ * // pillars: [ // RecommendationPillarList // required
59
+ * // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
60
+ * // ],
61
+ * // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
62
+ * // awsServices: [ // RecommendationAwsServiceList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // name: "STRING_VALUE", // required
66
+ * // resourcesAggregates: { // RecommendationResourcesAggregates
67
+ * // okCount: Number("long"), // required
68
+ * // warningCount: Number("long"), // required
69
+ * // errorCount: Number("long"), // required
70
+ * // },
71
+ * // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
72
+ * // costOptimizing: { // RecommendationCostOptimizingAggregates
73
+ * // estimatedMonthlySavings: Number("double"), // required
74
+ * // estimatedPercentMonthlySavings: Number("double"), // required
75
+ * // },
76
+ * // },
77
+ * // createdAt: new Date("TIMESTAMP"),
78
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
79
+ * // arn: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param ListOrganizationRecommendationsCommandInput - {@link ListOrganizationRecommendationsCommandInput}
87
+ * @returns {@link ListOrganizationRecommendationsCommandOutput}
88
+ * @see {@link ListOrganizationRecommendationsCommandInput} for command's `input` shape.
89
+ * @see {@link ListOrganizationRecommendationsCommandOutput} for command's `response` shape.
90
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>Exception that access has been denied due to insufficient access</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>Exception to notify that requests are being throttled</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>Exception that the request failed to satisfy service constraints</p>
103
+ *
104
+ * @throws {@link TrustedAdvisorServiceException}
105
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
106
+ *
107
+ */
108
+ export declare class ListOrganizationRecommendationsCommand extends $Command<ListOrganizationRecommendationsCommandInput, ListOrganizationRecommendationsCommandOutput, TrustedAdvisorClientResolvedConfig> {
109
+ readonly input: ListOrganizationRecommendationsCommandInput;
110
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
111
+ /**
112
+ * @public
113
+ */
114
+ constructor(input: ListOrganizationRecommendationsCommandInput);
115
+ /**
116
+ * @internal
117
+ */
118
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOrganizationRecommendationsCommandInput, ListOrganizationRecommendationsCommandOutput>;
119
+ /**
120
+ * @internal
121
+ */
122
+ private serialize;
123
+ /**
124
+ * @internal
125
+ */
126
+ private deserialize;
127
+ }
@@ -0,0 +1,106 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListRecommendationResourcesRequest, ListRecommendationResourcesResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRecommendationResourcesCommand}.
14
+ */
15
+ export interface ListRecommendationResourcesCommandInput extends ListRecommendationResourcesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRecommendationResourcesCommand}.
21
+ */
22
+ export interface ListRecommendationResourcesCommandOutput extends ListRecommendationResourcesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List Resources of a Recommendation</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { TrustedAdvisorClient, ListRecommendationResourcesCommand } from "@aws-sdk/client-trustedadvisor"; // ES Modules import
31
+ * // const { TrustedAdvisorClient, ListRecommendationResourcesCommand } = require("@aws-sdk/client-trustedadvisor"); // CommonJS import
32
+ * const client = new TrustedAdvisorClient(config);
33
+ * const input = { // ListRecommendationResourcesRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * status: "ok" || "warning" || "error",
37
+ * regionCode: "STRING_VALUE",
38
+ * recommendationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListRecommendationResourcesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListRecommendationResourcesResponse
43
+ * // nextToken: "STRING_VALUE",
44
+ * // recommendationResourceSummaries: [ // RecommendationResourceSummaryList // required
45
+ * // { // RecommendationResourceSummary
46
+ * // id: "STRING_VALUE", // required
47
+ * // arn: "STRING_VALUE", // required
48
+ * // awsResourceId: "STRING_VALUE", // required
49
+ * // regionCode: "STRING_VALUE", // required
50
+ * // status: "ok" || "warning" || "error", // required
51
+ * // metadata: { // StringMap // required
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // lastUpdatedAt: new Date("TIMESTAMP"), // required
55
+ * // recommendationArn: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListRecommendationResourcesCommandInput - {@link ListRecommendationResourcesCommandInput}
63
+ * @returns {@link ListRecommendationResourcesCommandOutput}
64
+ * @see {@link ListRecommendationResourcesCommandInput} for command's `input` shape.
65
+ * @see {@link ListRecommendationResourcesCommandOutput} for command's `response` shape.
66
+ * @see {@link TrustedAdvisorClientResolvedConfig | config} for TrustedAdvisorClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>Exception that access has been denied due to insufficient access</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Exception that the requested resource has not been found</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>Exception to notify that requests are being throttled</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>Exception that the request failed to satisfy service constraints</p>
82
+ *
83
+ * @throws {@link TrustedAdvisorServiceException}
84
+ * <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
85
+ *
86
+ */
87
+ export declare class ListRecommendationResourcesCommand extends $Command<ListRecommendationResourcesCommandInput, ListRecommendationResourcesCommandOutput, TrustedAdvisorClientResolvedConfig> {
88
+ readonly input: ListRecommendationResourcesCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: ListRecommendationResourcesCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendationResourcesCommandInput, ListRecommendationResourcesCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }