cdk-lambda-subminute 2.0.301 → 2.0.302

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 (74) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +30 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +6 -0
  6. package/node_modules/aws-sdk/apis/cloud9-2017-09-23.examples.json +1 -0
  7. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +90 -81
  8. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +16 -0
  9. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
  10. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1853 -1396
  12. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +100 -40
  13. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +91 -78
  14. package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +172 -0
  15. package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.paginators.json +5 -0
  16. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +16 -4
  17. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +379 -301
  18. package/node_modules/aws-sdk/apis/metadata.json +3 -3
  19. package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +66 -12
  20. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +233 -217
  21. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +250 -91
  22. package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
  23. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +39 -38
  24. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +126 -126
  25. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +21 -13
  26. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +228 -0
  27. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +94 -8
  28. package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +794 -0
  29. package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.paginators.json +40 -0
  30. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +269 -199
  31. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +790 -27
  32. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.paginators.json +18 -0
  33. package/node_modules/aws-sdk/clients/all.d.ts +1 -1
  34. package/node_modules/aws-sdk/clients/all.js +2 -2
  35. package/node_modules/aws-sdk/clients/appmesh.d.ts +2 -2
  36. package/node_modules/aws-sdk/clients/athena.d.ts +27 -19
  37. package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
  38. package/node_modules/aws-sdk/clients/cloudformation.d.ts +14 -1
  39. package/node_modules/aws-sdk/clients/codepipeline.d.ts +22 -2
  40. package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
  41. package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
  42. package/node_modules/aws-sdk/clients/dlm.d.ts +2 -2
  43. package/node_modules/aws-sdk/clients/ec2.d.ts +563 -22
  44. package/node_modules/aws-sdk/clients/ecr.d.ts +128 -7
  45. package/node_modules/aws-sdk/clients/emr.d.ts +80 -43
  46. package/node_modules/aws-sdk/clients/eventbridge.d.ts +40 -37
  47. package/node_modules/aws-sdk/clients/internetmonitor.d.ts +157 -4
  48. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +8 -8
  49. package/node_modules/aws-sdk/clients/medialive.d.ts +121 -47
  50. package/node_modules/aws-sdk/clients/osis.d.ts +55 -0
  51. package/node_modules/aws-sdk/clients/rds.d.ts +31 -4
  52. package/node_modules/aws-sdk/clients/redshift.d.ts +207 -0
  53. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +5 -0
  54. package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
  55. package/node_modules/aws-sdk/clients/ssoadmin.d.ts +18 -6
  56. package/node_modules/aws-sdk/clients/ssooidc.d.ts +99 -16
  57. package/node_modules/aws-sdk/clients/sts.d.ts +3 -3
  58. package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +918 -0
  59. package/node_modules/aws-sdk/clients/trustedadvisor.js +18 -0
  60. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +67 -1
  61. package/node_modules/aws-sdk/clients/wisdom.d.ts +849 -25
  62. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  63. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1420 -1420
  64. package/node_modules/aws-sdk/dist/aws-sdk.js +2651 -1909
  65. package/node_modules/aws-sdk/dist/aws-sdk.min.js +101 -101
  66. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -2
  67. package/node_modules/aws-sdk/lib/core.js +1 -1
  68. package/node_modules/aws-sdk/package.json +1 -1
  69. package/package.json +3 -3
  70. package/node_modules/aws-sdk/apis/macie-2017-12-19.min.json +0 -222
  71. package/node_modules/aws-sdk/apis/macie-2017-12-19.paginators.json +0 -14
  72. package/node_modules/aws-sdk/clients/macie.d.ts +0 -284
  73. package/node_modules/aws-sdk/clients/macie.js +0 -18
  74. /package/node_modules/aws-sdk/apis/{macie-2017-12-19.examples.json → trustedadvisor-2022-09-15.examples.json} +0 -0
@@ -0,0 +1,918 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class TrustedAdvisor extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: TrustedAdvisor.Types.ClientConfiguration)
13
+ config: Config & TrustedAdvisor.Types.ClientConfiguration;
14
+ /**
15
+ * Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.
16
+ */
17
+ getOrganizationRecommendation(params: TrustedAdvisor.Types.GetOrganizationRecommendationRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.GetOrganizationRecommendationResponse) => void): Request<TrustedAdvisor.Types.GetOrganizationRecommendationResponse, AWSError>;
18
+ /**
19
+ * Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.
20
+ */
21
+ getOrganizationRecommendation(callback?: (err: AWSError, data: TrustedAdvisor.Types.GetOrganizationRecommendationResponse) => void): Request<TrustedAdvisor.Types.GetOrganizationRecommendationResponse, AWSError>;
22
+ /**
23
+ * Get a specific Recommendation
24
+ */
25
+ getRecommendation(params: TrustedAdvisor.Types.GetRecommendationRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.GetRecommendationResponse) => void): Request<TrustedAdvisor.Types.GetRecommendationResponse, AWSError>;
26
+ /**
27
+ * Get a specific Recommendation
28
+ */
29
+ getRecommendation(callback?: (err: AWSError, data: TrustedAdvisor.Types.GetRecommendationResponse) => void): Request<TrustedAdvisor.Types.GetRecommendationResponse, AWSError>;
30
+ /**
31
+ * List a filterable set of Checks
32
+ */
33
+ listChecks(params: TrustedAdvisor.Types.ListChecksRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListChecksResponse) => void): Request<TrustedAdvisor.Types.ListChecksResponse, AWSError>;
34
+ /**
35
+ * List a filterable set of Checks
36
+ */
37
+ listChecks(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListChecksResponse) => void): Request<TrustedAdvisor.Types.ListChecksResponse, AWSError>;
38
+ /**
39
+ * Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
40
+ */
41
+ listOrganizationRecommendationAccounts(params: TrustedAdvisor.Types.ListOrganizationRecommendationAccountsRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationAccountsResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationAccountsResponse, AWSError>;
42
+ /**
43
+ * Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
44
+ */
45
+ listOrganizationRecommendationAccounts(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationAccountsResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationAccountsResponse, AWSError>;
46
+ /**
47
+ * List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
48
+ */
49
+ listOrganizationRecommendationResources(params: TrustedAdvisor.Types.ListOrganizationRecommendationResourcesRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationResourcesResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationResourcesResponse, AWSError>;
50
+ /**
51
+ * List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
52
+ */
53
+ listOrganizationRecommendationResources(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationResourcesResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationResourcesResponse, AWSError>;
54
+ /**
55
+ * List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.
56
+ */
57
+ listOrganizationRecommendations(params: TrustedAdvisor.Types.ListOrganizationRecommendationsRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationsResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationsResponse, AWSError>;
58
+ /**
59
+ * List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.
60
+ */
61
+ listOrganizationRecommendations(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListOrganizationRecommendationsResponse) => void): Request<TrustedAdvisor.Types.ListOrganizationRecommendationsResponse, AWSError>;
62
+ /**
63
+ * List Resources of a Recommendation
64
+ */
65
+ listRecommendationResources(params: TrustedAdvisor.Types.ListRecommendationResourcesRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListRecommendationResourcesResponse) => void): Request<TrustedAdvisor.Types.ListRecommendationResourcesResponse, AWSError>;
66
+ /**
67
+ * List Resources of a Recommendation
68
+ */
69
+ listRecommendationResources(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListRecommendationResourcesResponse) => void): Request<TrustedAdvisor.Types.ListRecommendationResourcesResponse, AWSError>;
70
+ /**
71
+ * List a filterable set of Recommendations
72
+ */
73
+ listRecommendations(params: TrustedAdvisor.Types.ListRecommendationsRequest, callback?: (err: AWSError, data: TrustedAdvisor.Types.ListRecommendationsResponse) => void): Request<TrustedAdvisor.Types.ListRecommendationsResponse, AWSError>;
74
+ /**
75
+ * List a filterable set of Recommendations
76
+ */
77
+ listRecommendations(callback?: (err: AWSError, data: TrustedAdvisor.Types.ListRecommendationsResponse) => void): Request<TrustedAdvisor.Types.ListRecommendationsResponse, AWSError>;
78
+ /**
79
+ * Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized recommendations.
80
+ */
81
+ updateOrganizationRecommendationLifecycle(params: TrustedAdvisor.Types.UpdateOrganizationRecommendationLifecycleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82
+ /**
83
+ * Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized recommendations.
84
+ */
85
+ updateOrganizationRecommendationLifecycle(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86
+ /**
87
+ * Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
88
+ */
89
+ updateRecommendationLifecycle(params: TrustedAdvisor.Types.UpdateRecommendationLifecycleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90
+ /**
91
+ * Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
92
+ */
93
+ updateRecommendationLifecycle(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94
+ }
95
+ declare namespace TrustedAdvisor {
96
+ export type AccountId = string;
97
+ export type AccountRecommendationArn = string;
98
+ export type AccountRecommendationIdentifier = string;
99
+ export interface AccountRecommendationLifecycleSummary {
100
+ /**
101
+ * The AWS account ID
102
+ */
103
+ accountId?: AccountId;
104
+ /**
105
+ * The Recommendation ARN
106
+ */
107
+ accountRecommendationArn?: AccountRecommendationArn;
108
+ /**
109
+ * When the Recommendation was last updated
110
+ */
111
+ lastUpdatedAt?: SyntheticTimestamp_date_time;
112
+ /**
113
+ * The lifecycle stage from AWS Trusted Advisor Priority
114
+ */
115
+ lifecycleStage?: RecommendationLifecycleStage;
116
+ /**
117
+ * Reason for the lifecycle stage change
118
+ */
119
+ updateReason?: RecommendationUpdateReason;
120
+ /**
121
+ * Reason code for the lifecycle state change
122
+ */
123
+ updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
124
+ /**
125
+ * The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
126
+ */
127
+ updatedOnBehalfOf?: String;
128
+ /**
129
+ * The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
130
+ */
131
+ updatedOnBehalfOfJobTitle?: String;
132
+ }
133
+ export type AccountRecommendationLifecycleSummaryList = AccountRecommendationLifecycleSummary[];
134
+ export type CheckArn = string;
135
+ export type CheckIdentifier = string;
136
+ export interface CheckSummary {
137
+ /**
138
+ * The ARN of the AWS Trusted Advisor Check
139
+ */
140
+ arn: CheckArn;
141
+ /**
142
+ * The AWS Services that the Check applies to
143
+ */
144
+ awsServices: RecommendationAwsServiceList;
145
+ /**
146
+ * A description of what the AWS Trusted Advisor Check is monitoring
147
+ */
148
+ description: String;
149
+ /**
150
+ * The unique identifier of the AWS Trusted Advisor Check
151
+ */
152
+ id: String;
153
+ /**
154
+ * The column headings for the metadata returned in the resource
155
+ */
156
+ metadata: StringMap;
157
+ /**
158
+ * The name of the AWS Trusted Advisor Check
159
+ */
160
+ name: String;
161
+ /**
162
+ * The Recommendation pillars that the AWS Trusted Advisor Check falls under
163
+ */
164
+ pillars: RecommendationPillarList;
165
+ /**
166
+ * The source of the Recommendation
167
+ */
168
+ source: RecommendationSource;
169
+ }
170
+ export type CheckSummaryList = CheckSummary[];
171
+ export type Double = number;
172
+ export interface GetOrganizationRecommendationRequest {
173
+ /**
174
+ * The Recommendation identifier
175
+ */
176
+ organizationRecommendationIdentifier: OrganizationRecommendationIdentifier;
177
+ }
178
+ export interface GetOrganizationRecommendationResponse {
179
+ /**
180
+ * The Recommendation
181
+ */
182
+ organizationRecommendation?: OrganizationRecommendation;
183
+ }
184
+ export interface GetRecommendationRequest {
185
+ /**
186
+ * The Recommendation identifier
187
+ */
188
+ recommendationIdentifier: AccountRecommendationIdentifier;
189
+ }
190
+ export interface GetRecommendationResponse {
191
+ /**
192
+ * The Recommendation
193
+ */
194
+ recommendation?: Recommendation;
195
+ }
196
+ export interface ListChecksRequest {
197
+ /**
198
+ * The aws service associated with the check
199
+ */
200
+ awsService?: RecommendationAwsService;
201
+ /**
202
+ * The ISO 639-1 code for the language that you want your checks to appear in.
203
+ */
204
+ language?: RecommendationLanguage;
205
+ /**
206
+ * The maximum number of results to return per page.
207
+ */
208
+ maxResults?: ListChecksRequestMaxResultsInteger;
209
+ /**
210
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
211
+ */
212
+ nextToken?: ListChecksRequestNextTokenString;
213
+ /**
214
+ * The pillar of the check
215
+ */
216
+ pillar?: RecommendationPillar;
217
+ /**
218
+ * The source of the check
219
+ */
220
+ source?: RecommendationSource;
221
+ }
222
+ export type ListChecksRequestMaxResultsInteger = number;
223
+ export type ListChecksRequestNextTokenString = string;
224
+ export interface ListChecksResponse {
225
+ /**
226
+ * The list of Checks
227
+ */
228
+ checkSummaries: CheckSummaryList;
229
+ /**
230
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
231
+ */
232
+ nextToken?: ListChecksResponseNextTokenString;
233
+ }
234
+ export type ListChecksResponseNextTokenString = string;
235
+ export interface ListOrganizationRecommendationAccountsRequest {
236
+ /**
237
+ * An account affected by this organization recommendation
238
+ */
239
+ affectedAccountId?: AccountId;
240
+ /**
241
+ * The maximum number of results to return per page.
242
+ */
243
+ maxResults?: ListOrganizationRecommendationAccountsRequestMaxResultsInteger;
244
+ /**
245
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
246
+ */
247
+ nextToken?: ListOrganizationRecommendationAccountsRequestNextTokenString;
248
+ /**
249
+ * The Recommendation identifier
250
+ */
251
+ organizationRecommendationIdentifier: OrganizationRecommendationIdentifier;
252
+ }
253
+ export type ListOrganizationRecommendationAccountsRequestMaxResultsInteger = number;
254
+ export type ListOrganizationRecommendationAccountsRequestNextTokenString = string;
255
+ export interface ListOrganizationRecommendationAccountsResponse {
256
+ /**
257
+ * The account recommendations lifecycles that are applicable to the Recommendation
258
+ */
259
+ accountRecommendationLifecycleSummaries: AccountRecommendationLifecycleSummaryList;
260
+ /**
261
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
262
+ */
263
+ nextToken?: ListOrganizationRecommendationAccountsResponseNextTokenString;
264
+ }
265
+ export type ListOrganizationRecommendationAccountsResponseNextTokenString = string;
266
+ export interface ListOrganizationRecommendationResourcesRequest {
267
+ /**
268
+ * An account affected by this organization recommendation
269
+ */
270
+ affectedAccountId?: AccountId;
271
+ /**
272
+ * The maximum number of results to return per page.
273
+ */
274
+ maxResults?: ListOrganizationRecommendationResourcesRequestMaxResultsInteger;
275
+ /**
276
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
277
+ */
278
+ nextToken?: ListOrganizationRecommendationResourcesRequestNextTokenString;
279
+ /**
280
+ * The AWS Organization organization's Recommendation identifier
281
+ */
282
+ organizationRecommendationIdentifier: OrganizationRecommendationIdentifier;
283
+ /**
284
+ * The AWS Region code of the resource
285
+ */
286
+ regionCode?: String;
287
+ /**
288
+ * The status of the resource
289
+ */
290
+ status?: ResourceStatus;
291
+ }
292
+ export type ListOrganizationRecommendationResourcesRequestMaxResultsInteger = number;
293
+ export type ListOrganizationRecommendationResourcesRequestNextTokenString = string;
294
+ export interface ListOrganizationRecommendationResourcesResponse {
295
+ /**
296
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
297
+ */
298
+ nextToken?: ListOrganizationRecommendationResourcesResponseNextTokenString;
299
+ /**
300
+ * A list of Recommendation Resources
301
+ */
302
+ organizationRecommendationResourceSummaries: OrganizationRecommendationResourceSummaryList;
303
+ }
304
+ export type ListOrganizationRecommendationResourcesResponseNextTokenString = string;
305
+ export interface ListOrganizationRecommendationsRequest {
306
+ /**
307
+ * After the last update of the Recommendation
308
+ */
309
+ afterLastUpdatedAt?: Timestamp;
310
+ /**
311
+ * The aws service associated with the Recommendation
312
+ */
313
+ awsService?: RecommendationAwsService;
314
+ /**
315
+ * Before the last update of the Recommendation
316
+ */
317
+ beforeLastUpdatedAt?: Timestamp;
318
+ /**
319
+ * The check identifier of the Recommendation
320
+ */
321
+ checkIdentifier?: CheckIdentifier;
322
+ /**
323
+ * The maximum number of results to return per page.
324
+ */
325
+ maxResults?: ListOrganizationRecommendationsRequestMaxResultsInteger;
326
+ /**
327
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
328
+ */
329
+ nextToken?: ListOrganizationRecommendationsRequestNextTokenString;
330
+ /**
331
+ * The pillar of the Recommendation
332
+ */
333
+ pillar?: RecommendationPillar;
334
+ /**
335
+ * The source of the Recommendation
336
+ */
337
+ source?: RecommendationSource;
338
+ /**
339
+ * The status of the Recommendation
340
+ */
341
+ status?: RecommendationStatus;
342
+ /**
343
+ * The type of the Recommendation
344
+ */
345
+ type?: RecommendationType;
346
+ }
347
+ export type ListOrganizationRecommendationsRequestMaxResultsInteger = number;
348
+ export type ListOrganizationRecommendationsRequestNextTokenString = string;
349
+ export interface ListOrganizationRecommendationsResponse {
350
+ /**
351
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
352
+ */
353
+ nextToken?: ListOrganizationRecommendationsResponseNextTokenString;
354
+ /**
355
+ * The list of Recommendations
356
+ */
357
+ organizationRecommendationSummaries: OrganizationRecommendationSummaryList;
358
+ }
359
+ export type ListOrganizationRecommendationsResponseNextTokenString = string;
360
+ export interface ListRecommendationResourcesRequest {
361
+ /**
362
+ * The maximum number of results to return per page.
363
+ */
364
+ maxResults?: ListRecommendationResourcesRequestMaxResultsInteger;
365
+ /**
366
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
367
+ */
368
+ nextToken?: ListRecommendationResourcesRequestNextTokenString;
369
+ /**
370
+ * The Recommendation identifier
371
+ */
372
+ recommendationIdentifier: AccountRecommendationIdentifier;
373
+ /**
374
+ * The AWS Region code of the resource
375
+ */
376
+ regionCode?: String;
377
+ /**
378
+ * The status of the resource
379
+ */
380
+ status?: ResourceStatus;
381
+ }
382
+ export type ListRecommendationResourcesRequestMaxResultsInteger = number;
383
+ export type ListRecommendationResourcesRequestNextTokenString = string;
384
+ export interface ListRecommendationResourcesResponse {
385
+ /**
386
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
387
+ */
388
+ nextToken?: ListRecommendationResourcesResponseNextTokenString;
389
+ /**
390
+ * A list of Recommendation Resources
391
+ */
392
+ recommendationResourceSummaries: RecommendationResourceSummaryList;
393
+ }
394
+ export type ListRecommendationResourcesResponseNextTokenString = string;
395
+ export interface ListRecommendationsRequest {
396
+ /**
397
+ * After the last update of the Recommendation
398
+ */
399
+ afterLastUpdatedAt?: Timestamp;
400
+ /**
401
+ * The aws service associated with the Recommendation
402
+ */
403
+ awsService?: RecommendationAwsService;
404
+ /**
405
+ * Before the last update of the Recommendation
406
+ */
407
+ beforeLastUpdatedAt?: Timestamp;
408
+ /**
409
+ * The check identifier of the Recommendation
410
+ */
411
+ checkIdentifier?: CheckIdentifier;
412
+ /**
413
+ * The maximum number of results to return per page.
414
+ */
415
+ maxResults?: ListRecommendationsRequestMaxResultsInteger;
416
+ /**
417
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
418
+ */
419
+ nextToken?: ListRecommendationsRequestNextTokenString;
420
+ /**
421
+ * The pillar of the Recommendation
422
+ */
423
+ pillar?: RecommendationPillar;
424
+ /**
425
+ * The source of the Recommendation
426
+ */
427
+ source?: RecommendationSource;
428
+ /**
429
+ * The status of the Recommendation
430
+ */
431
+ status?: RecommendationStatus;
432
+ /**
433
+ * The type of the Recommendation
434
+ */
435
+ type?: RecommendationType;
436
+ }
437
+ export type ListRecommendationsRequestMaxResultsInteger = number;
438
+ export type ListRecommendationsRequestNextTokenString = string;
439
+ export interface ListRecommendationsResponse {
440
+ /**
441
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
442
+ */
443
+ nextToken?: ListRecommendationsResponseNextTokenString;
444
+ /**
445
+ * The list of Recommendations
446
+ */
447
+ recommendationSummaries: RecommendationSummaryList;
448
+ }
449
+ export type ListRecommendationsResponseNextTokenString = string;
450
+ export type Long = number;
451
+ export interface OrganizationRecommendation {
452
+ /**
453
+ * The ARN of the Recommendation
454
+ */
455
+ arn: OrganizationRecommendationArn;
456
+ /**
457
+ * The AWS Services that the Recommendation applies to
458
+ */
459
+ awsServices?: RecommendationAwsServiceList;
460
+ /**
461
+ * The AWS Trusted Advisor Check ARN that relates to the Recommendation
462
+ */
463
+ checkArn?: String;
464
+ /**
465
+ * When the Recommendation was created, if created by AWS Trusted Advisor Priority
466
+ */
467
+ createdAt?: SyntheticTimestamp_date_time;
468
+ /**
469
+ * The creator, if created by AWS Trusted Advisor Priority
470
+ */
471
+ createdBy?: String;
472
+ /**
473
+ * A description for AWS Trusted Advisor recommendations
474
+ */
475
+ description: String;
476
+ /**
477
+ * The ID which identifies where the Recommendation was produced
478
+ */
479
+ id: String;
480
+ /**
481
+ * When the Recommendation was last updated
482
+ */
483
+ lastUpdatedAt?: SyntheticTimestamp_date_time;
484
+ /**
485
+ * The lifecycle stage from AWS Trusted Advisor Priority
486
+ */
487
+ lifecycleStage?: RecommendationLifecycleStage;
488
+ /**
489
+ * The name of the AWS Trusted Advisor Recommendation
490
+ */
491
+ name: String;
492
+ /**
493
+ * The pillar aggregations for cost savings
494
+ */
495
+ pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
496
+ /**
497
+ * The Pillars that the Recommendation is optimizing
498
+ */
499
+ pillars: RecommendationPillarList;
500
+ /**
501
+ * When the Recommendation was resolved
502
+ */
503
+ resolvedAt?: SyntheticTimestamp_date_time;
504
+ /**
505
+ * An aggregation of all resources
506
+ */
507
+ resourcesAggregates: RecommendationResourcesAggregates;
508
+ /**
509
+ * The source of the Recommendation
510
+ */
511
+ source: RecommendationSource;
512
+ /**
513
+ * The status of the Recommendation
514
+ */
515
+ status: RecommendationStatus;
516
+ /**
517
+ * Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
518
+ */
519
+ type: RecommendationType;
520
+ /**
521
+ * Reason for the lifecycle stage change
522
+ */
523
+ updateReason?: RecommendationUpdateReason;
524
+ /**
525
+ * Reason code for the lifecycle state change
526
+ */
527
+ updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
528
+ /**
529
+ * The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
530
+ */
531
+ updatedOnBehalfOf?: String;
532
+ /**
533
+ * The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
534
+ */
535
+ updatedOnBehalfOfJobTitle?: String;
536
+ }
537
+ export type OrganizationRecommendationArn = string;
538
+ export type OrganizationRecommendationIdentifier = string;
539
+ export interface OrganizationRecommendationResourceSummary {
540
+ /**
541
+ * The AWS account ID
542
+ */
543
+ accountId?: AccountId;
544
+ /**
545
+ * The ARN of the Recommendation Resource
546
+ */
547
+ arn: RecommendationResourceArn;
548
+ /**
549
+ * The AWS resource identifier
550
+ */
551
+ awsResourceId: String;
552
+ /**
553
+ * The ID of the Recommendation Resource
554
+ */
555
+ id: String;
556
+ /**
557
+ * When the Recommendation Resource was last updated
558
+ */
559
+ lastUpdatedAt: SyntheticTimestamp_date_time;
560
+ /**
561
+ * Metadata associated with the Recommendation Resource
562
+ */
563
+ metadata: StringMap;
564
+ /**
565
+ * The Recommendation ARN
566
+ */
567
+ recommendationArn: OrganizationRecommendationArn;
568
+ /**
569
+ * The AWS Region code that the Recommendation Resource is in
570
+ */
571
+ regionCode: RecommendationRegionCode;
572
+ /**
573
+ * The current status of the Recommendation Resource
574
+ */
575
+ status: ResourceStatus;
576
+ }
577
+ export type OrganizationRecommendationResourceSummaryList = OrganizationRecommendationResourceSummary[];
578
+ export interface OrganizationRecommendationSummary {
579
+ /**
580
+ * The ARN of the Recommendation
581
+ */
582
+ arn: OrganizationRecommendationArn;
583
+ /**
584
+ * The AWS Services that the Recommendation applies to
585
+ */
586
+ awsServices?: RecommendationAwsServiceList;
587
+ /**
588
+ * The AWS Trusted Advisor Check ARN that relates to the Recommendation
589
+ */
590
+ checkArn?: String;
591
+ /**
592
+ * When the Recommendation was created, if created by AWS Trusted Advisor Priority
593
+ */
594
+ createdAt?: SyntheticTimestamp_date_time;
595
+ /**
596
+ * The ID which identifies where the Recommendation was produced
597
+ */
598
+ id: String;
599
+ /**
600
+ * When the Recommendation was last updated
601
+ */
602
+ lastUpdatedAt?: SyntheticTimestamp_date_time;
603
+ /**
604
+ * The lifecycle stage from AWS Trusted Advisor Priority
605
+ */
606
+ lifecycleStage?: RecommendationLifecycleStage;
607
+ /**
608
+ * The name of the AWS Trusted Advisor Recommendation
609
+ */
610
+ name: String;
611
+ /**
612
+ * The pillar aggregations for cost savings
613
+ */
614
+ pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
615
+ /**
616
+ * The Pillars that the Recommendation is optimizing
617
+ */
618
+ pillars: RecommendationPillarList;
619
+ /**
620
+ * An aggregation of all resources
621
+ */
622
+ resourcesAggregates: RecommendationResourcesAggregates;
623
+ /**
624
+ * The source of the Recommendation
625
+ */
626
+ source: RecommendationSource;
627
+ /**
628
+ * The status of the Recommendation
629
+ */
630
+ status: RecommendationStatus;
631
+ /**
632
+ * Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
633
+ */
634
+ type: RecommendationType;
635
+ }
636
+ export type OrganizationRecommendationSummaryList = OrganizationRecommendationSummary[];
637
+ export interface Recommendation {
638
+ /**
639
+ * The ARN of the Recommendation
640
+ */
641
+ arn: AccountRecommendationArn;
642
+ /**
643
+ * The AWS Services that the Recommendation applies to
644
+ */
645
+ awsServices?: RecommendationAwsServiceList;
646
+ /**
647
+ * The AWS Trusted Advisor Check ARN that relates to the Recommendation
648
+ */
649
+ checkArn?: String;
650
+ /**
651
+ * When the Recommendation was created, if created by AWS Trusted Advisor Priority
652
+ */
653
+ createdAt?: SyntheticTimestamp_date_time;
654
+ /**
655
+ * The creator, if created by AWS Trusted Advisor Priority
656
+ */
657
+ createdBy?: String;
658
+ /**
659
+ * A description for AWS Trusted Advisor recommendations
660
+ */
661
+ description: String;
662
+ /**
663
+ * The ID which identifies where the Recommendation was produced
664
+ */
665
+ id: String;
666
+ /**
667
+ * When the Recommendation was last updated
668
+ */
669
+ lastUpdatedAt?: SyntheticTimestamp_date_time;
670
+ /**
671
+ * The lifecycle stage from AWS Trusted Advisor Priority
672
+ */
673
+ lifecycleStage?: RecommendationLifecycleStage;
674
+ /**
675
+ * The name of the AWS Trusted Advisor Recommendation
676
+ */
677
+ name: String;
678
+ /**
679
+ * The pillar aggregations for cost savings
680
+ */
681
+ pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
682
+ /**
683
+ * The Pillars that the Recommendation is optimizing
684
+ */
685
+ pillars: RecommendationPillarList;
686
+ /**
687
+ * When the Recommendation was resolved
688
+ */
689
+ resolvedAt?: SyntheticTimestamp_date_time;
690
+ /**
691
+ * An aggregation of all resources
692
+ */
693
+ resourcesAggregates: RecommendationResourcesAggregates;
694
+ /**
695
+ * The source of the Recommendation
696
+ */
697
+ source: RecommendationSource;
698
+ /**
699
+ * The status of the Recommendation
700
+ */
701
+ status: RecommendationStatus;
702
+ /**
703
+ * Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
704
+ */
705
+ type: RecommendationType;
706
+ /**
707
+ * Reason for the lifecycle stage change
708
+ */
709
+ updateReason?: RecommendationUpdateReason;
710
+ /**
711
+ * Reason code for the lifecycle state change
712
+ */
713
+ updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
714
+ /**
715
+ * The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
716
+ */
717
+ updatedOnBehalfOf?: String;
718
+ /**
719
+ * The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority
720
+ */
721
+ updatedOnBehalfOfJobTitle?: String;
722
+ }
723
+ export type RecommendationAwsService = string;
724
+ export type RecommendationAwsServiceList = RecommendationAwsService[];
725
+ export interface RecommendationCostOptimizingAggregates {
726
+ /**
727
+ * The estimated monthly savings
728
+ */
729
+ estimatedMonthlySavings: Double;
730
+ /**
731
+ * The estimated percently monthly savings
732
+ */
733
+ estimatedPercentMonthlySavings: Double;
734
+ }
735
+ export type RecommendationLanguage = "en"|"ja"|"zh"|"fr"|"de"|"ko"|"zh_TW"|"it"|"es"|"pt_BR"|"id"|string;
736
+ export type RecommendationLifecycleStage = "in_progress"|"pending_response"|"dismissed"|"resolved"|string;
737
+ export type RecommendationPillar = "cost_optimizing"|"performance"|"security"|"service_limits"|"fault_tolerance"|"operational_excellence"|string;
738
+ export type RecommendationPillarList = RecommendationPillar[];
739
+ export interface RecommendationPillarSpecificAggregates {
740
+ /**
741
+ * Cost optimizing aggregates
742
+ */
743
+ costOptimizing?: RecommendationCostOptimizingAggregates;
744
+ }
745
+ export type RecommendationRegionCode = string;
746
+ export type RecommendationResourceArn = string;
747
+ export interface RecommendationResourceSummary {
748
+ /**
749
+ * The ARN of the Recommendation Resource
750
+ */
751
+ arn: RecommendationResourceArn;
752
+ /**
753
+ * The AWS resource identifier
754
+ */
755
+ awsResourceId: String;
756
+ /**
757
+ * The ID of the Recommendation Resource
758
+ */
759
+ id: String;
760
+ /**
761
+ * When the Recommendation Resource was last updated
762
+ */
763
+ lastUpdatedAt: SyntheticTimestamp_date_time;
764
+ /**
765
+ * Metadata associated with the Recommendation Resource
766
+ */
767
+ metadata: StringMap;
768
+ /**
769
+ * The Recommendation ARN
770
+ */
771
+ recommendationArn: AccountRecommendationArn;
772
+ /**
773
+ * The AWS Region code that the Recommendation Resource is in
774
+ */
775
+ regionCode: RecommendationRegionCode;
776
+ /**
777
+ * The current status of the Recommendation Resource
778
+ */
779
+ status: ResourceStatus;
780
+ }
781
+ export type RecommendationResourceSummaryList = RecommendationResourceSummary[];
782
+ export interface RecommendationResourcesAggregates {
783
+ /**
784
+ * The number of AWS resources that were flagged to have errors according to the Trusted Advisor check
785
+ */
786
+ errorCount: Long;
787
+ /**
788
+ * The number of AWS resources that were flagged to be OK according to the Trusted Advisor check
789
+ */
790
+ okCount: Long;
791
+ /**
792
+ * The number of AWS resources that were flagged to have warning according to the Trusted Advisor check
793
+ */
794
+ warningCount: Long;
795
+ }
796
+ export type RecommendationSource = "aws_config"|"compute_optimizer"|"cost_explorer"|"lse"|"manual"|"pse"|"rds"|"resilience"|"resilience_hub"|"security_hub"|"stir"|"ta_check"|"well_architected"|string;
797
+ export type RecommendationStatus = "ok"|"warning"|"error"|string;
798
+ export interface RecommendationSummary {
799
+ /**
800
+ * The ARN of the Recommendation
801
+ */
802
+ arn: AccountRecommendationArn;
803
+ /**
804
+ * The AWS Services that the Recommendation applies to
805
+ */
806
+ awsServices?: RecommendationAwsServiceList;
807
+ /**
808
+ * The AWS Trusted Advisor Check ARN that relates to the Recommendation
809
+ */
810
+ checkArn?: String;
811
+ /**
812
+ * When the Recommendation was created, if created by AWS Trusted Advisor Priority
813
+ */
814
+ createdAt?: SyntheticTimestamp_date_time;
815
+ /**
816
+ * The ID which identifies where the Recommendation was produced
817
+ */
818
+ id: String;
819
+ /**
820
+ * When the Recommendation was last updated
821
+ */
822
+ lastUpdatedAt?: SyntheticTimestamp_date_time;
823
+ /**
824
+ * The lifecycle stage from AWS Trusted Advisor Priority
825
+ */
826
+ lifecycleStage?: RecommendationLifecycleStage;
827
+ /**
828
+ * The name of the AWS Trusted Advisor Recommendation
829
+ */
830
+ name: String;
831
+ /**
832
+ * The pillar aggregations for cost savings
833
+ */
834
+ pillarSpecificAggregates?: RecommendationPillarSpecificAggregates;
835
+ /**
836
+ * The Pillars that the Recommendation is optimizing
837
+ */
838
+ pillars: RecommendationPillarList;
839
+ /**
840
+ * An aggregation of all resources
841
+ */
842
+ resourcesAggregates: RecommendationResourcesAggregates;
843
+ /**
844
+ * The source of the Recommendation
845
+ */
846
+ source: RecommendationSource;
847
+ /**
848
+ * The status of the Recommendation
849
+ */
850
+ status: RecommendationStatus;
851
+ /**
852
+ * Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
853
+ */
854
+ type: RecommendationType;
855
+ }
856
+ export type RecommendationSummaryList = RecommendationSummary[];
857
+ export type RecommendationType = "standard"|"priority"|string;
858
+ export type RecommendationUpdateReason = string;
859
+ export type ResourceStatus = "ok"|"warning"|"error"|string;
860
+ export type String = string;
861
+ export type StringMap = {[key: string]: String};
862
+ export type SyntheticTimestamp_date_time = Date;
863
+ export type Timestamp = Date;
864
+ export interface UpdateOrganizationRecommendationLifecycleRequest {
865
+ /**
866
+ * The new lifecycle stage
867
+ */
868
+ lifecycleStage: UpdateRecommendationLifecycleStage;
869
+ /**
870
+ * The Recommendation identifier for AWS Trusted Advisor Priority recommendations
871
+ */
872
+ organizationRecommendationIdentifier: OrganizationRecommendationIdentifier;
873
+ /**
874
+ * Reason for the lifecycle stage change
875
+ */
876
+ updateReason?: RecommendationUpdateReason;
877
+ /**
878
+ * Reason code for the lifecycle state change
879
+ */
880
+ updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
881
+ }
882
+ export interface UpdateRecommendationLifecycleRequest {
883
+ /**
884
+ * The new lifecycle stage
885
+ */
886
+ lifecycleStage: UpdateRecommendationLifecycleStage;
887
+ /**
888
+ * The Recommendation identifier for AWS Trusted Advisor Priority recommendations
889
+ */
890
+ recommendationIdentifier: AccountRecommendationIdentifier;
891
+ /**
892
+ * Reason for the lifecycle stage change
893
+ */
894
+ updateReason?: RecommendationUpdateReason;
895
+ /**
896
+ * Reason code for the lifecycle state change
897
+ */
898
+ updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode;
899
+ }
900
+ export type UpdateRecommendationLifecycleStage = "pending_response"|"in_progress"|"dismissed"|"resolved"|string;
901
+ export type UpdateRecommendationLifecycleStageReasonCode = "non_critical_account"|"temporary_account"|"valid_business_case"|"other_methods_available"|"low_priority"|"not_applicable"|"other"|string;
902
+ /**
903
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
904
+ */
905
+ export type apiVersion = "2022-09-15"|"latest"|string;
906
+ export interface ClientApiVersions {
907
+ /**
908
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
909
+ */
910
+ apiVersion?: apiVersion;
911
+ }
912
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
913
+ /**
914
+ * Contains interfaces for use with the TrustedAdvisor client.
915
+ */
916
+ export import Types = TrustedAdvisor;
917
+ }
918
+ export = TrustedAdvisor;