@aws-sdk/client-trustedadvisor 3.775.0 → 3.782.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.
- package/dist-types/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +27 -0
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +37 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +43 -0
- package/dist-types/commands/ListChecksCommand.d.ts +128 -0
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +26 -0
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +78 -0
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +136 -0
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +78 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +160 -0
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +17 -0
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +17 -0
- package/package.json +5 -5
|
@@ -80,6 +80,33 @@ declare const BatchUpdateRecommendationResourceExclusionCommand_base: {
|
|
|
80
80
|
* @throws {@link TrustedAdvisorServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
84
|
+
* @example Batch updates the exclusion status for a list of recommendation resources
|
|
85
|
+
* ```javascript
|
|
86
|
+
* //
|
|
87
|
+
* const input = {
|
|
88
|
+
* recommendationResourceExclusions: [
|
|
89
|
+
* {
|
|
90
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/55fa4d2e-bbb7-491a-833b-5773e9589578/18959a1f1973cff8e706e9d9bde28bba36cd602a6b2cb86c8b61252835236010",
|
|
91
|
+
* isExcluded: true
|
|
92
|
+
* }
|
|
93
|
+
* ]
|
|
94
|
+
* };
|
|
95
|
+
* const command = new BatchUpdateRecommendationResourceExclusionCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* {
|
|
99
|
+
* batchUpdateRecommendationResourceExclusionErrors: [
|
|
100
|
+
* {
|
|
101
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/55fa4d2e-bbb7-491a-833b-5773e9589578/18959a1f1973cff8e706e9d9bde28bba36cd602a6b2cb86c8b61252835236010",
|
|
102
|
+
* errorCode: "404",
|
|
103
|
+
* errorMessage: "Exception that the requested resource has not been found"
|
|
104
|
+
* }
|
|
105
|
+
* ]
|
|
106
|
+
* }
|
|
107
|
+
* *\/
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
83
110
|
* @public
|
|
84
111
|
*/
|
|
85
112
|
export declare class BatchUpdateRecommendationResourceExclusionCommand extends BatchUpdateRecommendationResourceExclusionCommand_base {
|
|
@@ -106,6 +106,43 @@ declare const GetOrganizationRecommendationCommand_base: {
|
|
|
106
106
|
* @throws {@link TrustedAdvisorServiceException}
|
|
107
107
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
108
108
|
*
|
|
109
|
+
*
|
|
110
|
+
* @example Get an AWS Organization's Recommendation by ARN
|
|
111
|
+
* ```javascript
|
|
112
|
+
* //
|
|
113
|
+
* const input = {
|
|
114
|
+
* organizationRecommendationIdentifier: "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5"
|
|
115
|
+
* };
|
|
116
|
+
* const command = new GetOrganizationRecommendationCommand(input);
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response is
|
|
119
|
+
* {
|
|
120
|
+
* organizationRecommendation: {
|
|
121
|
+
* arn: "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
122
|
+
* awsServices: [
|
|
123
|
+
* "lambda"
|
|
124
|
+
* ],
|
|
125
|
+
* checkArn: "arn:aws:trustedadvisor:::check/L4dfs2Q4C5",
|
|
126
|
+
* description: "One or more lambdas are using a deprecated runtime",
|
|
127
|
+
* id: "9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
128
|
+
* lifecycleStage: "resolved",
|
|
129
|
+
* name: "Lambda Runtime Deprecation Warning",
|
|
130
|
+
* pillars: [
|
|
131
|
+
* "security"
|
|
132
|
+
* ],
|
|
133
|
+
* resourcesAggregates: {
|
|
134
|
+
* errorCount: 0,
|
|
135
|
+
* okCount: 0,
|
|
136
|
+
* warningCount: 0
|
|
137
|
+
* },
|
|
138
|
+
* source: "ta_check",
|
|
139
|
+
* status: "warning",
|
|
140
|
+
* type: "priority"
|
|
141
|
+
* }
|
|
142
|
+
* }
|
|
143
|
+
* *\/
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
109
146
|
* @public
|
|
110
147
|
*/
|
|
111
148
|
export declare class GetOrganizationRecommendationCommand extends GetOrganizationRecommendationCommand_base {
|
|
@@ -104,6 +104,49 @@ declare const GetRecommendationCommand_base: {
|
|
|
104
104
|
* @throws {@link TrustedAdvisorServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
108
|
+
* @example Get a Recommendation by ARN
|
|
109
|
+
* ```javascript
|
|
110
|
+
* //
|
|
111
|
+
* const input = {
|
|
112
|
+
* recommendationIdentifier: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578"
|
|
113
|
+
* };
|
|
114
|
+
* const command = new GetRecommendationCommand(input);
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* /* response is
|
|
117
|
+
* {
|
|
118
|
+
* recommendation: {
|
|
119
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
120
|
+
* awsServices: [
|
|
121
|
+
* "iam"
|
|
122
|
+
* ],
|
|
123
|
+
* checkArn: "arn:aws:trustedadvisor:::check/7DAFEmoDos",
|
|
124
|
+
* description: "Enable multi-factor authentication",
|
|
125
|
+
* id: "55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
126
|
+
* lastUpdatedAt: "2023-11-01T15:57:58.673Z",
|
|
127
|
+
* name: "MFA Recommendation",
|
|
128
|
+
* pillarSpecificAggregates: {
|
|
129
|
+
* costOptimizing: {
|
|
130
|
+
* estimatedMonthlySavings: 0.0,
|
|
131
|
+
* estimatedPercentMonthlySavings: 0.0
|
|
132
|
+
* }
|
|
133
|
+
* },
|
|
134
|
+
* pillars: [
|
|
135
|
+
* "security"
|
|
136
|
+
* ],
|
|
137
|
+
* resourcesAggregates: {
|
|
138
|
+
* errorCount: 1,
|
|
139
|
+
* okCount: 0,
|
|
140
|
+
* warningCount: 0
|
|
141
|
+
* },
|
|
142
|
+
* source: "ta_check",
|
|
143
|
+
* status: "error",
|
|
144
|
+
* type: "standard"
|
|
145
|
+
* }
|
|
146
|
+
* }
|
|
147
|
+
* *\/
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
107
150
|
* @public
|
|
108
151
|
*/
|
|
109
152
|
export declare class GetRecommendationCommand extends GetRecommendationCommand_base {
|
|
@@ -89,6 +89,134 @@ declare const ListChecksCommand_base: {
|
|
|
89
89
|
* @throws {@link TrustedAdvisorServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
93
|
+
* @example List all AWS Trusted Advisor Checks
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = { /* empty *\/ };
|
|
97
|
+
* const command = new ListChecksCommand(input);
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response is
|
|
100
|
+
* {
|
|
101
|
+
* checkSummaries: [
|
|
102
|
+
* {
|
|
103
|
+
* arn: "arn:aws:trustedadvisor:::check/1iG5NDGVre",
|
|
104
|
+
* awsServices: [
|
|
105
|
+
* "EC2"
|
|
106
|
+
* ],
|
|
107
|
+
* description: `Checks security groups for rules that allow unrestricted access to a resource. Unrestricted access increases opportunities for malicious activity (hacking, denial-of-service attacks, loss of data).
|
|
108
|
+
* <br>
|
|
109
|
+
* <br>Note: This check only evaluates security groups that you create and their inbound rules for IPv4 addresses. Security groups created by AWS Directory Services are flagged as red or yellow, but they don’t pose a security risk and can be safely ignored or excluded. For more information, see the <a href="https://aws.amazon.com/premiumsupport/faqs/#AWS_Trusted_Advisor" target="_blank">Trusted Advisor FAQ</a>.
|
|
110
|
+
* <br>
|
|
111
|
+
* <br>
|
|
112
|
+
* <h4 class='headerBodyStyle'>Alert Criteria</h4>
|
|
113
|
+
* <br>
|
|
114
|
+
* Red: A security group rule has a source IP address with a /0 suffix for ports other than 25, 80, or 443.
|
|
115
|
+
* <br>
|
|
116
|
+
* <br>
|
|
117
|
+
* <h4 class='headerBodyStyle'>Recommended Action</h4>
|
|
118
|
+
* <br>
|
|
119
|
+
* Restrict access to only those IP addresses that require it. To restrict access to a specific IP address, set the suffix to /32 (for example, 192.0.2.10/32). Be sure to delete overly permissive rules after creating rules that are more restrictive.
|
|
120
|
+
* <br>
|
|
121
|
+
* <br>
|
|
122
|
+
* <h4 class='headerBodyStyle'>Additional Resources</h4>
|
|
123
|
+
* <br><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">Amazon EC2 Security Groups</a><br>
|
|
124
|
+
* <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing" target="_blank">Classless Inter-Domain Routing</a> (Wikipedia)`,
|
|
125
|
+
* id: "1iG5NDGVre",
|
|
126
|
+
* metadata: {
|
|
127
|
+
* 0: "Region",
|
|
128
|
+
* 1: "Security Group Name",
|
|
129
|
+
* 2: "Security Group ID",
|
|
130
|
+
* 3: "Protocol",
|
|
131
|
+
* 4: "Port",
|
|
132
|
+
* 5: "Status",
|
|
133
|
+
* 6: "IP Range"
|
|
134
|
+
* },
|
|
135
|
+
* name: "Security Groups - Unrestricted Access",
|
|
136
|
+
* pillars: [
|
|
137
|
+
* "security"
|
|
138
|
+
* ],
|
|
139
|
+
* source: "ta_check"
|
|
140
|
+
* },
|
|
141
|
+
* {
|
|
142
|
+
* arn: "arn:aws:trustedadvisor:::check/1qazXsw23e",
|
|
143
|
+
* awsServices: [
|
|
144
|
+
* "RDS"
|
|
145
|
+
* ],
|
|
146
|
+
* description: `Checks your usage of RDS and provides recommendations on purchase of Reserved Instances to help reduce costs incurred from using RDS On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Instance to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br/><br/>
|
|
147
|
+
* <h4 class='headerBodyStyle'>Alert Criteria</h4><br/>
|
|
148
|
+
* Yellow: Optimizing the purchase of RDS Reserved Instances can help reduce costs.<br/><br/>
|
|
149
|
+
* <h4 class='headerBodyStyle'>Recommended Action</h4><br/>
|
|
150
|
+
* See the <a href="http://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer" target="_blank">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase RDS Reserved Instances.
|
|
151
|
+
* <br/>
|
|
152
|
+
* <br/>
|
|
153
|
+
* <h4 class='headerBodyStyle'>Additional Resources</h4><br/>
|
|
154
|
+
* Information on RDS Reserved Instances and how they can save you money can be found <a href="http://aws.amazon.com/rds/reserved-instances/" target="_blank">here</a>.<br>
|
|
155
|
+
* For more information on this recommendation, see <a href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br>
|
|
156
|
+
* For more detailed description of fields, see <a href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization" target="_blank">Cost Explorer documentation</a>`,
|
|
157
|
+
* id: "1qazXsw23e",
|
|
158
|
+
* metadata: {
|
|
159
|
+
* 0: "Region",
|
|
160
|
+
* 1: "Family",
|
|
161
|
+
* 10: "Upfront Cost of Reserved Instances",
|
|
162
|
+
* 11: "Estimated cost of Reserved Instances (monthly)",
|
|
163
|
+
* 12: "Estimated On-Demand Cost Post Recommended Reserved Instance Purchase (monthly)",
|
|
164
|
+
* 13: "Estimated Break Even (months)",
|
|
165
|
+
* 14: "Lookback Period (days)",
|
|
166
|
+
* 15: "Term (years)",
|
|
167
|
+
* 2: "Instance Type",
|
|
168
|
+
* 3: "License Model",
|
|
169
|
+
* 4: "Database Edition",
|
|
170
|
+
* 5: "Database Engine",
|
|
171
|
+
* 6: "Deployment Option",
|
|
172
|
+
* 7: "Recommended number of Reserved Instances to purchase",
|
|
173
|
+
* 8: "Expected Average Reserved Instance Utilization",
|
|
174
|
+
* 9: "Estimated Savings with Recommendation (monthly)"
|
|
175
|
+
* },
|
|
176
|
+
* name: "Amazon Relational Database Service (RDS) Reserved Instance Optimization",
|
|
177
|
+
* pillars: [
|
|
178
|
+
* "cost_optimizing"
|
|
179
|
+
* ],
|
|
180
|
+
* source: "ta_check"
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* arn: "arn:aws:trustedadvisor:::check/1qw23er45t",
|
|
184
|
+
* awsServices: [
|
|
185
|
+
* "Redshift"
|
|
186
|
+
* ],
|
|
187
|
+
* description: `Checks your usage of Redshift and provides recommendations on purchase of Reserved Nodes to help reduce costs incurred from using Redshift On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Nodes to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br/><br/>
|
|
188
|
+
* <h4 class='headerBodyStyle'>Alert Criteria</h4><br/>Yellow: Optimizing the purchase of Redshift Reserved Nodes can help reduce costs.<br/><br/>
|
|
189
|
+
* <h4 class='headerBodyStyle'>Recommended Action</h4><br/>See the <a href="https://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer" target="_blank">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase Redshift Reserved Nodes.<br/><br/>
|
|
190
|
+
* <h4 class='headerBodyStyle'>Additional Resources</h4><br/>Information on Redshift Reserved Nodes and how they can save you money can be found <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html" target="_blank">here</a>.<br>
|
|
191
|
+
* For more information on this recommendation, see <a href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br/>
|
|
192
|
+
* For more detailed description of fields, see <a href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization" target="_blank">Cost Explorer documentation</a>`,
|
|
193
|
+
* id: "1qw23er45t",
|
|
194
|
+
* metadata: {
|
|
195
|
+
* 0: "Region",
|
|
196
|
+
* 1: "Family",
|
|
197
|
+
* 10: "Lookback Period (days)",
|
|
198
|
+
* 11: "Term (years)",
|
|
199
|
+
* 2: "Node Type",
|
|
200
|
+
* 3: "Recommended number of Reserved Nodes to purchase",
|
|
201
|
+
* 4: "Expected Average Reserved Node Utilization",
|
|
202
|
+
* 5: "Estimated Savings with Recommendation (monthly)",
|
|
203
|
+
* 6: "Upfront Cost of Reserved Nodes",
|
|
204
|
+
* 7: "Estimated cost of Reserved Nodes (monthly)",
|
|
205
|
+
* 8: "Estimated On-Demand Cost Post Recommended Reserved Nodes Purchase (monthly)",
|
|
206
|
+
* 9: "Estimated Break Even (months)"
|
|
207
|
+
* },
|
|
208
|
+
* name: "Amazon Redshift Reserved Node Optimization",
|
|
209
|
+
* pillars: [
|
|
210
|
+
* "cost_optimizing"
|
|
211
|
+
* ],
|
|
212
|
+
* source: "ta_check"
|
|
213
|
+
* }
|
|
214
|
+
* ],
|
|
215
|
+
* nextToken: "<REDACTED>"
|
|
216
|
+
* }
|
|
217
|
+
* *\/
|
|
218
|
+
* ```
|
|
219
|
+
*
|
|
92
220
|
* @public
|
|
93
221
|
*/
|
|
94
222
|
export declare class ListChecksCommand extends ListChecksCommand_base {
|
|
@@ -86,6 +86,32 @@ declare const ListOrganizationRecommendationAccountsCommand_base: {
|
|
|
86
86
|
* @throws {@link TrustedAdvisorServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
88
88
|
*
|
|
89
|
+
*
|
|
90
|
+
* @example List all Accounts for an AWS Organization's Recommendation
|
|
91
|
+
* ```javascript
|
|
92
|
+
* //
|
|
93
|
+
* const input = {
|
|
94
|
+
* organizationRecommendationIdentifier: "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new ListOrganizationRecommendationAccountsCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* accountRecommendationLifecycleSummaries: [
|
|
101
|
+
* {
|
|
102
|
+
* accountId: "000000000000",
|
|
103
|
+
* accountRecommendationArn: "arn:aws:trustedadvisor::000000000000:recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
104
|
+
* lastUpdatedAt: "2023-01-17T18:25:44.552Z",
|
|
105
|
+
* lifecycleStage: "resolved",
|
|
106
|
+
* updateReason: "Resolved issue",
|
|
107
|
+
* updateReasonCode: "valid_business_case"
|
|
108
|
+
* }
|
|
109
|
+
* ],
|
|
110
|
+
* nextToken: "<REDACTED>"
|
|
111
|
+
* }
|
|
112
|
+
* *\/
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
89
115
|
* @public
|
|
90
116
|
*/
|
|
91
117
|
export declare class ListOrganizationRecommendationAccountsCommand extends ListOrganizationRecommendationAccountsCommand_base {
|
|
@@ -93,6 +93,84 @@ declare const ListOrganizationRecommendationResourcesCommand_base: {
|
|
|
93
93
|
* @throws {@link TrustedAdvisorServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
95
95
|
*
|
|
96
|
+
*
|
|
97
|
+
* @example List all Resources for an AWS Organization's Recommendation
|
|
98
|
+
* ```javascript
|
|
99
|
+
* //
|
|
100
|
+
* const input = {
|
|
101
|
+
* organizationRecommendationIdentifier: "arn:aws:trustedadvisor:::organization-recommendation/5a694939-2e54-45a2-ae72-730598fa89d0"
|
|
102
|
+
* };
|
|
103
|
+
* const command = new ListOrganizationRecommendationResourcesCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* {
|
|
107
|
+
* nextToken: "<REDACTED>",
|
|
108
|
+
* organizationRecommendationResourceSummaries: [
|
|
109
|
+
* {
|
|
110
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/5a694939-2e54-45a2-ae72-730598fa89d0/bb38affc0ce0681d9a6cd13f30238ba03a8f63dfe7a379dc403c619119d86af",
|
|
111
|
+
* awsResourceId: "database-1-instance-1",
|
|
112
|
+
* exclusionStatus: "excluded",
|
|
113
|
+
* id: "bb38affc0ce0681d9a6cd13f302383ba03a8f63dfe7a379dc403c619119d86af",
|
|
114
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
115
|
+
* metadata: {
|
|
116
|
+
* 0: "14",
|
|
117
|
+
* 1: "208.79999999999998",
|
|
118
|
+
* 2: "database-1-instance-1",
|
|
119
|
+
* 3: "db.r5.large",
|
|
120
|
+
* 4: "false",
|
|
121
|
+
* 5: "us-west-2",
|
|
122
|
+
* 6: "arn:aws:rds:us-west-2:000000000000:db:database-1-instance-1",
|
|
123
|
+
* 7: "1"
|
|
124
|
+
* },
|
|
125
|
+
* recommendationArn: "arn:aws:trustedadvisor:::organization-recommendation/5a694939-2e54-45a2-ae72-730598fa89d0",
|
|
126
|
+
* regionCode: "us-west-2",
|
|
127
|
+
* status: "warning"
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/5a694939-2e54-45a2-ae72-730598fa89d0/51fded4d7a3278818df9cfe344ff5762cec46c095a6763d1ba1ba53bd0e1b0e6",
|
|
131
|
+
* awsResourceId: "database-1",
|
|
132
|
+
* exclusionStatus: "excluded",
|
|
133
|
+
* id: "51fded4d7a3278818df9cfe344ff5762cec46c095a6763d1ba1ba53bd0e1b0e6",
|
|
134
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
135
|
+
* metadata: {
|
|
136
|
+
* 0: "14",
|
|
137
|
+
* 1: "31.679999999999996",
|
|
138
|
+
* 2: "database-1",
|
|
139
|
+
* 3: "db.t3.small",
|
|
140
|
+
* 4: "false",
|
|
141
|
+
* 5: "us-west-2",
|
|
142
|
+
* 6: "arn:aws:rds:us-west-2:000000000000:db:database-1",
|
|
143
|
+
* 7: "20"
|
|
144
|
+
* },
|
|
145
|
+
* recommendationArn: "arn:aws:trustedadvisor:::organization-recommendation/5a694939-2e54-45a2-ae72-730598fa89d0",
|
|
146
|
+
* regionCode: "us-west-2",
|
|
147
|
+
* status: "warning"
|
|
148
|
+
* },
|
|
149
|
+
* {
|
|
150
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/5a694939-2e54-45a2-ae72-730598fa89d0/f4d01bd20f4cd5372062aafc8786c489e48f0ead7cdab121463bf9f89e40a36b",
|
|
151
|
+
* awsResourceId: "database-2-instance-1-us-west-2a",
|
|
152
|
+
* exclusionStatus: "included",
|
|
153
|
+
* id: "f4d01bd20f4cd5372062aafc8786c489e48f0ead7cdab121463bf9f89e40a36b",
|
|
154
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
155
|
+
* metadata: {
|
|
156
|
+
* 0: "14",
|
|
157
|
+
* 1: "187.20000000000002",
|
|
158
|
+
* 2: "database-2-instance-1-us-west-2a",
|
|
159
|
+
* 3: "db.r6g.large",
|
|
160
|
+
* 4: "true",
|
|
161
|
+
* 5: "us-west-2",
|
|
162
|
+
* 6: "arn:aws:rds:us-west-2:000000000000:db:database-2-instance-1-us-west-2a",
|
|
163
|
+
* 7: "1"
|
|
164
|
+
* },
|
|
165
|
+
* recommendationArn: "arn:aws:trustedadvisor:::organization-recommendation/5a694939-2e54-45a2-ae72-730598fa89d0",
|
|
166
|
+
* regionCode: "us-west-2",
|
|
167
|
+
* status: "warning"
|
|
168
|
+
* }
|
|
169
|
+
* ]
|
|
170
|
+
* }
|
|
171
|
+
* *\/
|
|
172
|
+
* ```
|
|
173
|
+
*
|
|
96
174
|
* @public
|
|
97
175
|
*/
|
|
98
176
|
export declare class ListOrganizationRecommendationResourcesCommand extends ListOrganizationRecommendationResourcesCommand_base {
|
|
@@ -108,6 +108,142 @@ declare const ListOrganizationRecommendationsCommand_base: {
|
|
|
108
108
|
* @throws {@link TrustedAdvisorServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
110
110
|
*
|
|
111
|
+
*
|
|
112
|
+
* @example List all of an AWS Organization's Recommendations
|
|
113
|
+
* ```javascript
|
|
114
|
+
* //
|
|
115
|
+
* const input = { /* empty *\/ };
|
|
116
|
+
* const command = new ListOrganizationRecommendationsCommand(input);
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response is
|
|
119
|
+
* {
|
|
120
|
+
* nextToken: "<REDACTED>",
|
|
121
|
+
* organizationRecommendationSummaries: [
|
|
122
|
+
* {
|
|
123
|
+
* arn: "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
124
|
+
* awsServices: [
|
|
125
|
+
* "lambda"
|
|
126
|
+
* ],
|
|
127
|
+
* checkArn: "arn:aws:trustedadvisor:::check/L4dfs2Q4C5",
|
|
128
|
+
* id: "9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
129
|
+
* lifecycleStage: "resolved",
|
|
130
|
+
* name: "Lambda Runtime Deprecation Warning",
|
|
131
|
+
* pillars: [
|
|
132
|
+
* "security"
|
|
133
|
+
* ],
|
|
134
|
+
* resourcesAggregates: {
|
|
135
|
+
* errorCount: 0,
|
|
136
|
+
* okCount: 0,
|
|
137
|
+
* warningCount: 0
|
|
138
|
+
* },
|
|
139
|
+
* source: "ta_check",
|
|
140
|
+
* status: "warning",
|
|
141
|
+
* type: "priority"
|
|
142
|
+
* },
|
|
143
|
+
* {
|
|
144
|
+
* arn: "arn:aws:trustedadvisor:::organization-recommendation/4ecff4d4-1bc1-4c99-a5b8-0fff9ee500d6",
|
|
145
|
+
* awsServices: [
|
|
146
|
+
* "lambda"
|
|
147
|
+
* ],
|
|
148
|
+
* checkArn: "arn:aws:trustedadvisor:::check/L4dfs2Q4C5",
|
|
149
|
+
* id: "4ecff4d4-1bc1-4c99-a5b8-0fff9ee500d6",
|
|
150
|
+
* lifecycleStage: "resolved",
|
|
151
|
+
* name: "Lambda Runtime Deprecation Warning",
|
|
152
|
+
* pillars: [
|
|
153
|
+
* "security"
|
|
154
|
+
* ],
|
|
155
|
+
* resourcesAggregates: {
|
|
156
|
+
* errorCount: 0,
|
|
157
|
+
* okCount: 0,
|
|
158
|
+
* warningCount: 0
|
|
159
|
+
* },
|
|
160
|
+
* source: "ta_check",
|
|
161
|
+
* status: "warning",
|
|
162
|
+
* type: "priority"
|
|
163
|
+
* }
|
|
164
|
+
* ]
|
|
165
|
+
* }
|
|
166
|
+
* *\/
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @example Filter and return a max of one AWS Organization Recommendation that is a part of the "security" pillar
|
|
170
|
+
* ```javascript
|
|
171
|
+
* //
|
|
172
|
+
* const input = {
|
|
173
|
+
* maxResults: 100,
|
|
174
|
+
* pillar: "security"
|
|
175
|
+
* };
|
|
176
|
+
* const command = new ListOrganizationRecommendationsCommand(input);
|
|
177
|
+
* const response = await client.send(command);
|
|
178
|
+
* /* response is
|
|
179
|
+
* {
|
|
180
|
+
* nextToken: "<REDACTED>",
|
|
181
|
+
* organizationRecommendationSummaries: [
|
|
182
|
+
* {
|
|
183
|
+
* arn: "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
184
|
+
* awsServices: [
|
|
185
|
+
* "lambda"
|
|
186
|
+
* ],
|
|
187
|
+
* checkArn: "arn:aws:trustedadvisor:::check/L4dfs2Q4C5",
|
|
188
|
+
* id: "9534ec9b-bf3a-44e8-8213-2ed68b39d9d5",
|
|
189
|
+
* lifecycleStage: "resolved",
|
|
190
|
+
* name: "Lambda Runtime Deprecation Warning",
|
|
191
|
+
* pillars: [
|
|
192
|
+
* "security"
|
|
193
|
+
* ],
|
|
194
|
+
* resourcesAggregates: {
|
|
195
|
+
* errorCount: 0,
|
|
196
|
+
* okCount: 0,
|
|
197
|
+
* warningCount: 0
|
|
198
|
+
* },
|
|
199
|
+
* source: "ta_check",
|
|
200
|
+
* status: "warning",
|
|
201
|
+
* type: "priority"
|
|
202
|
+
* }
|
|
203
|
+
* ]
|
|
204
|
+
* }
|
|
205
|
+
* *\/
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* @example Use the "nextToken" returned from a previous request to fetch the next page of filtered AWS Organization Recommendations that are a part of the "security" pillar
|
|
209
|
+
* ```javascript
|
|
210
|
+
* //
|
|
211
|
+
* const input = {
|
|
212
|
+
* maxResults: 100,
|
|
213
|
+
* nextToken: "<REDACTED>",
|
|
214
|
+
* pillar: "security"
|
|
215
|
+
* };
|
|
216
|
+
* const command = new ListOrganizationRecommendationsCommand(input);
|
|
217
|
+
* const response = await client.send(command);
|
|
218
|
+
* /* response is
|
|
219
|
+
* {
|
|
220
|
+
* organizationRecommendationSummaries: [
|
|
221
|
+
* {
|
|
222
|
+
* arn: "arn:aws:trustedadvisor:::organization-recommendation/4ecff4d4-1bc1-4c99-a5b8-0fff9ee500d6",
|
|
223
|
+
* awsServices: [
|
|
224
|
+
* "lambda"
|
|
225
|
+
* ],
|
|
226
|
+
* checkArn: "arn:aws:trustedadvisor:::check/L4dfs2Q4C5",
|
|
227
|
+
* id: "4ecff4d4-1bc1-4c99-a5b8-0fff9ee500d6",
|
|
228
|
+
* lifecycleStage: "resolved",
|
|
229
|
+
* name: "Lambda Runtime Deprecation Warning",
|
|
230
|
+
* pillars: [
|
|
231
|
+
* "security"
|
|
232
|
+
* ],
|
|
233
|
+
* resourcesAggregates: {
|
|
234
|
+
* errorCount: 0,
|
|
235
|
+
* okCount: 0,
|
|
236
|
+
* warningCount: 0
|
|
237
|
+
* },
|
|
238
|
+
* source: "ta_check",
|
|
239
|
+
* status: "warning",
|
|
240
|
+
* type: "priority"
|
|
241
|
+
* }
|
|
242
|
+
* ]
|
|
243
|
+
* }
|
|
244
|
+
* *\/
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
111
247
|
* @public
|
|
112
248
|
*/
|
|
113
249
|
export declare class ListOrganizationRecommendationsCommand extends ListOrganizationRecommendationsCommand_base {
|
|
@@ -89,6 +89,84 @@ declare const ListRecommendationResourcesCommand_base: {
|
|
|
89
89
|
* @throws {@link TrustedAdvisorServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
93
|
+
* @example List all Resources for a Recommendation
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* recommendationIdentifier: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578"
|
|
98
|
+
* };
|
|
99
|
+
* const command = new ListRecommendationResourcesCommand(input);
|
|
100
|
+
* const response = await client.send(command);
|
|
101
|
+
* /* response is
|
|
102
|
+
* {
|
|
103
|
+
* nextToken: "<REDACTED>",
|
|
104
|
+
* recommendationResourceSummaries: [
|
|
105
|
+
* {
|
|
106
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/55fa4d2e-bbb7-491a-833b-5773e9589578/18959a1f1973cff8e706e9d9bde28bba36cd602a6b2cb86c8b61252835236010",
|
|
107
|
+
* awsResourceId: "webcms-dev-01",
|
|
108
|
+
* exclusionStatus: "excluded",
|
|
109
|
+
* id: "18959a1f1973cff8e706e9d9bde28bba36cd602a6b2cb86c8b61252835236010",
|
|
110
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
111
|
+
* metadata: {
|
|
112
|
+
* 0: "14",
|
|
113
|
+
* 1: "123.12000000000002",
|
|
114
|
+
* 2: "webcms-dev-01",
|
|
115
|
+
* 3: "db.m6i.large",
|
|
116
|
+
* 4: "false",
|
|
117
|
+
* 5: "us-east-1",
|
|
118
|
+
* 6: "arn:aws:rds:us-east-1:000000000000:db:webcms-dev-01",
|
|
119
|
+
* 7: "20"
|
|
120
|
+
* },
|
|
121
|
+
* recommendationArn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
122
|
+
* regionCode: "us-east-1",
|
|
123
|
+
* status: "warning"
|
|
124
|
+
* },
|
|
125
|
+
* {
|
|
126
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/55fa4d2e-bbb7-491a-833b-5773e9589578/e6367ff500ac90db8e4adeb4892e39ee9c36bbf812dcbce4b9e4fefcec9eb63e",
|
|
127
|
+
* awsResourceId: "aws-dev-db-stack-instance-1",
|
|
128
|
+
* exclusionStatus: "included",
|
|
129
|
+
* id: "e6367ff500ac90db8e4adeb4892e39ee9c36bbf812dcbce4b9e4fefcec9eb63e",
|
|
130
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
131
|
+
* metadata: {
|
|
132
|
+
* 0: "14",
|
|
133
|
+
* 1: "29.52",
|
|
134
|
+
* 2: "aws-dev-db-stack-instance-1",
|
|
135
|
+
* 3: "db.t2.small",
|
|
136
|
+
* 4: "false",
|
|
137
|
+
* 5: "us-east-1",
|
|
138
|
+
* 6: "arn:aws:rds:us-east-1:000000000000:db:aws-dev-db-stack-instance-1",
|
|
139
|
+
* 7: "1"
|
|
140
|
+
* },
|
|
141
|
+
* recommendationArn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
142
|
+
* regionCode: "us-east-1",
|
|
143
|
+
* status: "warning"
|
|
144
|
+
* },
|
|
145
|
+
* {
|
|
146
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation-resource/55fa4d2e-bbb7-491a-833b-5773e9589578/31aa78ba050a5015d2d38cca7f5f1ce88f70857c4e1c3ad03f8f9fd95dad7459",
|
|
147
|
+
* awsResourceId: "aws-awesome-apps-stack-db",
|
|
148
|
+
* exclusionStatus: "excluded",
|
|
149
|
+
* id: "31aa78ba050a5015d2d38cca7f5f1ce88f70857c4e1c3ad03f8f9fd95dad7459",
|
|
150
|
+
* lastUpdatedAt: "2023-11-01T15:09:51.891Z",
|
|
151
|
+
* metadata: {
|
|
152
|
+
* 0: "14",
|
|
153
|
+
* 1: "114.48000000000002",
|
|
154
|
+
* 2: "aws-awesome-apps-stack-db",
|
|
155
|
+
* 3: "db.m6g.large",
|
|
156
|
+
* 4: "false",
|
|
157
|
+
* 5: "us-east-1",
|
|
158
|
+
* 6: "arn:aws:rds:us-east-1:000000000000:db:aws-awesome-apps-stack-db",
|
|
159
|
+
* 7: "100"
|
|
160
|
+
* },
|
|
161
|
+
* recommendationArn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
162
|
+
* regionCode: "us-east-1",
|
|
163
|
+
* status: "warning"
|
|
164
|
+
* }
|
|
165
|
+
* ]
|
|
166
|
+
* }
|
|
167
|
+
* *\/
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
92
170
|
* @public
|
|
93
171
|
*/
|
|
94
172
|
export declare class ListRecommendationResourcesCommand extends ListRecommendationResourcesCommand_base {
|
|
@@ -106,6 +106,166 @@ declare const ListRecommendationsCommand_base: {
|
|
|
106
106
|
* @throws {@link TrustedAdvisorServiceException}
|
|
107
107
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
108
108
|
*
|
|
109
|
+
*
|
|
110
|
+
* @example List all Recommendations
|
|
111
|
+
* ```javascript
|
|
112
|
+
* //
|
|
113
|
+
* const input = { /* empty *\/ };
|
|
114
|
+
* const command = new ListRecommendationsCommand(input);
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* /* response is
|
|
117
|
+
* {
|
|
118
|
+
* nextToken: "<REDACTED>",
|
|
119
|
+
* recommendationSummaries: [
|
|
120
|
+
* {
|
|
121
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
122
|
+
* awsServices: [
|
|
123
|
+
* "iam"
|
|
124
|
+
* ],
|
|
125
|
+
* checkArn: "arn:aws:trustedadvisor:::check/7DAFEmoDos",
|
|
126
|
+
* id: "55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
127
|
+
* lastUpdatedAt: "2023-11-01T15:57:58.673Z",
|
|
128
|
+
* name: "MFA Recommendation",
|
|
129
|
+
* pillarSpecificAggregates: {
|
|
130
|
+
* costOptimizing: {
|
|
131
|
+
* estimatedMonthlySavings: 0.0,
|
|
132
|
+
* estimatedPercentMonthlySavings: 0.0
|
|
133
|
+
* }
|
|
134
|
+
* },
|
|
135
|
+
* pillars: [
|
|
136
|
+
* "security"
|
|
137
|
+
* ],
|
|
138
|
+
* resourcesAggregates: {
|
|
139
|
+
* errorCount: 1,
|
|
140
|
+
* okCount: 0,
|
|
141
|
+
* warningCount: 0
|
|
142
|
+
* },
|
|
143
|
+
* source: "ta_check",
|
|
144
|
+
* status: "error",
|
|
145
|
+
* type: "standard"
|
|
146
|
+
* },
|
|
147
|
+
* {
|
|
148
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation/8b602b6f-452d-4cb2-8a9e-c7650955d9cd",
|
|
149
|
+
* awsServices: [
|
|
150
|
+
* "rds"
|
|
151
|
+
* ],
|
|
152
|
+
* checkArn: "arn:aws:trustedadvisor:::check/gjqMBn6pjz",
|
|
153
|
+
* id: "8b602b6f-452d-4cb2-8a9e-c7650955d9cd",
|
|
154
|
+
* lastUpdatedAt: "2023-11-01T15:58:17.397Z",
|
|
155
|
+
* name: "RDS clusters quota warning",
|
|
156
|
+
* pillarSpecificAggregates: {
|
|
157
|
+
* costOptimizing: {
|
|
158
|
+
* estimatedMonthlySavings: 0.0,
|
|
159
|
+
* estimatedPercentMonthlySavings: 0.0
|
|
160
|
+
* }
|
|
161
|
+
* },
|
|
162
|
+
* pillars: [
|
|
163
|
+
* "service_limits"
|
|
164
|
+
* ],
|
|
165
|
+
* resourcesAggregates: {
|
|
166
|
+
* errorCount: 0,
|
|
167
|
+
* okCount: 3,
|
|
168
|
+
* warningCount: 6
|
|
169
|
+
* },
|
|
170
|
+
* source: "ta_check",
|
|
171
|
+
* status: "warning",
|
|
172
|
+
* type: "standard"
|
|
173
|
+
* }
|
|
174
|
+
* ]
|
|
175
|
+
* }
|
|
176
|
+
* *\/
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* @example Filter and return a max of one Recommendation that is a part of AWS IAM
|
|
180
|
+
* ```javascript
|
|
181
|
+
* //
|
|
182
|
+
* const input = {
|
|
183
|
+
* awsService: "iam",
|
|
184
|
+
* maxResults: 100
|
|
185
|
+
* };
|
|
186
|
+
* const command = new ListRecommendationsCommand(input);
|
|
187
|
+
* const response = await client.send(command);
|
|
188
|
+
* /* response is
|
|
189
|
+
* {
|
|
190
|
+
* nextToken: "<REDACTED>",
|
|
191
|
+
* recommendationSummaries: [
|
|
192
|
+
* {
|
|
193
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation/55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
194
|
+
* awsServices: [
|
|
195
|
+
* "iam"
|
|
196
|
+
* ],
|
|
197
|
+
* checkArn: "arn:aws:trustedadvisor:::check/7DAFEmoDos",
|
|
198
|
+
* id: "55fa4d2e-bbb7-491a-833b-5773e9589578",
|
|
199
|
+
* lastUpdatedAt: "2023-11-01T15:57:58.673Z",
|
|
200
|
+
* name: "MFA Recommendation",
|
|
201
|
+
* pillarSpecificAggregates: {
|
|
202
|
+
* costOptimizing: {
|
|
203
|
+
* estimatedMonthlySavings: 0.0,
|
|
204
|
+
* estimatedPercentMonthlySavings: 0.0
|
|
205
|
+
* }
|
|
206
|
+
* },
|
|
207
|
+
* pillars: [
|
|
208
|
+
* "security"
|
|
209
|
+
* ],
|
|
210
|
+
* resourcesAggregates: {
|
|
211
|
+
* errorCount: 1,
|
|
212
|
+
* okCount: 0,
|
|
213
|
+
* warningCount: 0
|
|
214
|
+
* },
|
|
215
|
+
* source: "ta_check",
|
|
216
|
+
* status: "error",
|
|
217
|
+
* type: "standard"
|
|
218
|
+
* }
|
|
219
|
+
* ]
|
|
220
|
+
* }
|
|
221
|
+
* *\/
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
224
|
+
* @example Use the "nextToken" returned from a previous request to fetch the next page of filtered Recommendations
|
|
225
|
+
* ```javascript
|
|
226
|
+
* //
|
|
227
|
+
* const input = {
|
|
228
|
+
* awsService: "rds",
|
|
229
|
+
* maxResults: 100,
|
|
230
|
+
* nextToken: "<REDACTED>"
|
|
231
|
+
* };
|
|
232
|
+
* const command = new ListRecommendationsCommand(input);
|
|
233
|
+
* const response = await client.send(command);
|
|
234
|
+
* /* response is
|
|
235
|
+
* {
|
|
236
|
+
* recommendationSummaries: [
|
|
237
|
+
* {
|
|
238
|
+
* arn: "arn:aws:trustedadvisor::000000000000:recommendation/8b602b6f-452d-4cb2-8a9e-c7650955d9cd",
|
|
239
|
+
* awsServices: [
|
|
240
|
+
* "rds"
|
|
241
|
+
* ],
|
|
242
|
+
* checkArn: "arn:aws:trustedadvisor:::check/gjqMBn6pjz",
|
|
243
|
+
* id: "8b602b6f-452d-4cb2-8a9e-c7650955d9cd",
|
|
244
|
+
* lastUpdatedAt: "2023-11-01T15:58:17.397Z",
|
|
245
|
+
* name: "RDS clusters quota warning",
|
|
246
|
+
* pillarSpecificAggregates: {
|
|
247
|
+
* costOptimizing: {
|
|
248
|
+
* estimatedMonthlySavings: 0.0,
|
|
249
|
+
* estimatedPercentMonthlySavings: 0.0
|
|
250
|
+
* }
|
|
251
|
+
* },
|
|
252
|
+
* pillars: [
|
|
253
|
+
* "service_limits"
|
|
254
|
+
* ],
|
|
255
|
+
* resourcesAggregates: {
|
|
256
|
+
* errorCount: 0,
|
|
257
|
+
* okCount: 3,
|
|
258
|
+
* warningCount: 6
|
|
259
|
+
* },
|
|
260
|
+
* source: "ta_check",
|
|
261
|
+
* status: "warning",
|
|
262
|
+
* type: "standard"
|
|
263
|
+
* }
|
|
264
|
+
* ]
|
|
265
|
+
* }
|
|
266
|
+
* *\/
|
|
267
|
+
* ```
|
|
268
|
+
*
|
|
109
269
|
* @public
|
|
110
270
|
*/
|
|
111
271
|
export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {
|
|
@@ -75,6 +75,23 @@ declare const UpdateOrganizationRecommendationLifecycleCommand_base: {
|
|
|
75
75
|
* @throws {@link TrustedAdvisorServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
79
|
+
* @example Update the lifecycle stage of an AWS Organization's Recommendation that is managed by AWS Trusted Advisor Priority
|
|
80
|
+
* ```javascript
|
|
81
|
+
* //
|
|
82
|
+
* const input = {
|
|
83
|
+
* lifecycleStage: "dismissed",
|
|
84
|
+
* organizationRecommendationIdentifier: "arn:aws:trustedadvisor:::organization-recommendation/96b5e5ca-7930-444c-90c6-06d386128100",
|
|
85
|
+
* updateReason: "Does not apply to this resource",
|
|
86
|
+
* updateReasonCode: "not_applicable"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new UpdateOrganizationRecommendationLifecycleCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* empty *\/ }
|
|
92
|
+
* *\/
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
78
95
|
* @public
|
|
79
96
|
*/
|
|
80
97
|
export declare class UpdateOrganizationRecommendationLifecycleCommand extends UpdateOrganizationRecommendationLifecycleCommand_base {
|
|
@@ -73,6 +73,23 @@ declare const UpdateRecommendationLifecycleCommand_base: {
|
|
|
73
73
|
* @throws {@link TrustedAdvisorServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
77
|
+
* @example Update the lifecycle stage of a Recommendation managed by AWS Trusted Advisor Priority
|
|
78
|
+
* ```javascript
|
|
79
|
+
* //
|
|
80
|
+
* const input = {
|
|
81
|
+
* lifecycleStage: "resolved",
|
|
82
|
+
* recommendationIdentifier: "arn:aws:trustedadvisor::000000000000:recommendation/861c9c6e-f169-405a-8b59-537a8caccd7a",
|
|
83
|
+
* updateReason: "Resolved the recommendation",
|
|
84
|
+
* updateReasonCode: "valid_business_case"
|
|
85
|
+
* };
|
|
86
|
+
* const command = new UpdateRecommendationLifecycleCommand(input);
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* /* response is
|
|
89
|
+
* { /* empty *\/ }
|
|
90
|
+
* *\/
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
76
93
|
* @public
|
|
77
94
|
*/
|
|
78
95
|
export declare class UpdateRecommendationLifecycleCommand extends UpdateRecommendationLifecycleCommand_base {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-trustedadvisor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Trustedadvisor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-trustedadvisor",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|