@aws-sdk/client-trustedadvisor 3.934.0 → 3.936.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.
@@ -0,0 +1,78 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
3
+ /**
4
+ * <p>Exception that access has been denied due to insufficient access</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Exception that the request was denied due to conflictions in state</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
29
+ * @public
30
+ */
31
+ export declare class InternalServerException extends __BaseException {
32
+ readonly name: "InternalServerException";
33
+ readonly $fault: "server";
34
+ $retryable: {};
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>Exception to notify that requests are being throttled</p>
42
+ * @public
43
+ */
44
+ export declare class ThrottlingException extends __BaseException {
45
+ readonly name: "ThrottlingException";
46
+ readonly $fault: "client";
47
+ $retryable: {
48
+ throttling: boolean;
49
+ };
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
54
+ }
55
+ /**
56
+ * <p>Exception that the request failed to satisfy service constraints</p>
57
+ * @public
58
+ */
59
+ export declare class ValidationException extends __BaseException {
60
+ readonly name: "ValidationException";
61
+ readonly $fault: "client";
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>Exception that the requested resource has not been found</p>
69
+ * @public
70
+ */
71
+ export declare class ResourceNotFoundException extends __BaseException {
72
+ readonly name: "ResourceNotFoundException";
73
+ readonly $fault: "client";
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
78
+ }
@@ -1,48 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
3
- /**
4
- * <p>Exception that access has been denied due to insufficient access</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
- /**
16
- * @public
17
- * @enum
18
- */
19
- export declare const RecommendationLifecycleStage: {
20
- readonly DISMISSED: "dismissed";
21
- readonly IN_PROGRESS: "in_progress";
22
- readonly PENDING_RESPONSE: "pending_response";
23
- readonly RESOLVED: "resolved";
24
- };
25
- /**
26
- * @public
27
- */
28
- export type RecommendationLifecycleStage = (typeof RecommendationLifecycleStage)[keyof typeof RecommendationLifecycleStage];
29
- /**
30
- * @public
31
- * @enum
32
- */
33
- export declare const UpdateRecommendationLifecycleStageReasonCode: {
34
- readonly LOW_PRIORITY: "low_priority";
35
- readonly NON_CRITICAL_ACCOUNT: "non_critical_account";
36
- readonly NOT_APPLICABLE: "not_applicable";
37
- readonly OTHER: "other";
38
- readonly OTHER_METHODS_AVAILABLE: "other_methods_available";
39
- readonly TEMPORARY_ACCOUNT: "temporary_account";
40
- readonly VALID_BUSINESS_CASE: "valid_business_case";
41
- };
42
- /**
43
- * @public
44
- */
45
- export type UpdateRecommendationLifecycleStageReasonCode = (typeof UpdateRecommendationLifecycleStageReasonCode)[keyof typeof UpdateRecommendationLifecycleStageReasonCode];
1
+ import { ExclusionStatus, RecommendationLanguage, RecommendationLifecycleStage, RecommendationPillar, RecommendationSource, RecommendationStatus, RecommendationType, ResourceStatus, UpdateRecommendationLifecycleStage, UpdateRecommendationLifecycleStageReasonCode } from "./enums";
46
2
  /**
47
3
  * <p>Summary of an AccountRecommendationLifecycle for an Organization Recommendation</p>
48
4
  * @public
@@ -152,97 +108,6 @@ export interface BatchUpdateRecommendationResourceExclusionResponse {
152
108
  */
153
109
  batchUpdateRecommendationResourceExclusionErrors: UpdateRecommendationResourceExclusionError[] | undefined;
154
110
  }
155
- /**
156
- * <p>Exception that the request was denied due to conflictions in state</p>
157
- * @public
158
- */
159
- export declare class ConflictException extends __BaseException {
160
- readonly name: "ConflictException";
161
- readonly $fault: "client";
162
- /**
163
- * @internal
164
- */
165
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
166
- }
167
- /**
168
- * <p>Exception to notify that an unexpected internal error occurred during processing of the request</p>
169
- * @public
170
- */
171
- export declare class InternalServerException extends __BaseException {
172
- readonly name: "InternalServerException";
173
- readonly $fault: "server";
174
- $retryable: {};
175
- /**
176
- * @internal
177
- */
178
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
179
- }
180
- /**
181
- * <p>Exception to notify that requests are being throttled</p>
182
- * @public
183
- */
184
- export declare class ThrottlingException extends __BaseException {
185
- readonly name: "ThrottlingException";
186
- readonly $fault: "client";
187
- $retryable: {
188
- throttling: boolean;
189
- };
190
- /**
191
- * @internal
192
- */
193
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
194
- }
195
- /**
196
- * <p>Exception that the request failed to satisfy service constraints</p>
197
- * @public
198
- */
199
- export declare class ValidationException extends __BaseException {
200
- readonly name: "ValidationException";
201
- readonly $fault: "client";
202
- /**
203
- * @internal
204
- */
205
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
206
- }
207
- /**
208
- * @public
209
- * @enum
210
- */
211
- export declare const RecommendationPillar: {
212
- readonly COST_OPTIMIZING: "cost_optimizing";
213
- readonly FAULT_TOLERANCE: "fault_tolerance";
214
- readonly OPERATIONAL_EXCELLENCE: "operational_excellence";
215
- readonly PERFORMANCE: "performance";
216
- readonly SECURITY: "security";
217
- readonly SERVICE_LIMITS: "service_limits";
218
- };
219
- /**
220
- * @public
221
- */
222
- export type RecommendationPillar = (typeof RecommendationPillar)[keyof typeof RecommendationPillar];
223
- /**
224
- * @public
225
- * @enum
226
- */
227
- export declare const RecommendationSource: {
228
- readonly AWS_CONFIG: "aws_config";
229
- readonly COMPUTE_OPTIMIZER: "compute_optimizer";
230
- readonly COST_EXPLORER: "cost_explorer";
231
- readonly LSE: "lse";
232
- readonly MANUAL: "manual";
233
- readonly PSE: "pse";
234
- readonly RDS: "rds";
235
- readonly RESILIENCE: "resilience";
236
- readonly RESILIENCE_HUB: "resilience_hub";
237
- readonly SECURITY_HUB: "security_hub";
238
- readonly STIR: "stir";
239
- readonly TA_CHECK: "ta_check";
240
- readonly WELL_ARCHITECTED: "well_architected";
241
- };
242
- /**
243
- * @public
244
- */
245
- export type RecommendationSource = (typeof RecommendationSource)[keyof typeof RecommendationSource];
246
111
  /**
247
112
  * <p>A summary of an AWS Trusted Advisor Check</p>
248
113
  * @public
@@ -289,18 +154,6 @@ export interface CheckSummary {
289
154
  */
290
155
  metadata: Record<string, string> | undefined;
291
156
  }
292
- /**
293
- * @public
294
- * @enum
295
- */
296
- export declare const ExclusionStatus: {
297
- readonly EXCLUDED: "excluded";
298
- readonly INCLUDED: "included";
299
- };
300
- /**
301
- * @public
302
- */
303
- export type ExclusionStatus = (typeof ExclusionStatus)[keyof typeof ExclusionStatus];
304
157
  /**
305
158
  * @public
306
159
  */
@@ -360,31 +213,6 @@ export interface RecommendationResourcesAggregates {
360
213
  */
361
214
  errorCount: number | undefined;
362
215
  }
363
- /**
364
- * @public
365
- * @enum
366
- */
367
- export declare const RecommendationStatus: {
368
- readonly ERROR: "error";
369
- readonly OK: "ok";
370
- readonly WARNING: "warning";
371
- };
372
- /**
373
- * @public
374
- */
375
- export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
376
- /**
377
- * @public
378
- * @enum
379
- */
380
- export declare const RecommendationType: {
381
- readonly PRIORITY: "priority";
382
- readonly STANDARD: "standard";
383
- };
384
- /**
385
- * @public
386
- */
387
- export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
388
216
  /**
389
217
  * <p>A Recommendation for accounts within an Organization</p>
390
218
  * @public
@@ -512,18 +340,6 @@ export interface GetOrganizationRecommendationResponse {
512
340
  */
513
341
  organizationRecommendation?: OrganizationRecommendation | undefined;
514
342
  }
515
- /**
516
- * <p>Exception that the requested resource has not been found</p>
517
- * @public
518
- */
519
- export declare class ResourceNotFoundException extends __BaseException {
520
- readonly name: "ResourceNotFoundException";
521
- readonly $fault: "client";
522
- /**
523
- * @internal
524
- */
525
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
526
- }
527
343
  /**
528
344
  * @public
529
345
  */
@@ -661,27 +477,6 @@ export interface GetRecommendationResponse {
661
477
  */
662
478
  recommendation?: Recommendation | undefined;
663
479
  }
664
- /**
665
- * @public
666
- * @enum
667
- */
668
- export declare const RecommendationLanguage: {
669
- readonly BAHASA_INDONESIA: "id";
670
- readonly BRAZILIAN_PORTUGUESE: "pt_BR";
671
- readonly CHINESE: "zh";
672
- readonly ENGLISH: "en";
673
- readonly FRENCH: "fr";
674
- readonly GERMAN: "de";
675
- readonly ITALIAN: "it";
676
- readonly JAPANESE: "ja";
677
- readonly KOREAN: "ko";
678
- readonly SPANISH: "es";
679
- readonly TRADITIONAL_CHINESE: "zh_TW";
680
- };
681
- /**
682
- * @public
683
- */
684
- export type RecommendationLanguage = (typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
685
480
  /**
686
481
  * @public
687
482
  */
@@ -780,19 +575,6 @@ export interface ListOrganizationRecommendationAccountsResponse {
780
575
  */
781
576
  accountRecommendationLifecycleSummaries: AccountRecommendationLifecycleSummary[] | undefined;
782
577
  }
783
- /**
784
- * @public
785
- * @enum
786
- */
787
- export declare const ResourceStatus: {
788
- readonly ERROR: "error";
789
- readonly OK: "ok";
790
- readonly WARNING: "warning";
791
- };
792
- /**
793
- * @public
794
- */
795
- export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
796
578
  /**
797
579
  * @public
798
580
  */
@@ -1313,20 +1095,6 @@ export interface ListRecommendationsResponse {
1313
1095
  */
1314
1096
  recommendationSummaries: RecommendationSummary[] | undefined;
1315
1097
  }
1316
- /**
1317
- * @public
1318
- * @enum
1319
- */
1320
- export declare const UpdateRecommendationLifecycleStage: {
1321
- readonly DISMISSED: "dismissed";
1322
- readonly IN_PROGRESS: "in_progress";
1323
- readonly PENDING_RESPONSE: "pending_response";
1324
- readonly RESOLVED: "resolved";
1325
- };
1326
- /**
1327
- * @public
1328
- */
1329
- export type UpdateRecommendationLifecycleStage = (typeof UpdateRecommendationLifecycleStage)[keyof typeof UpdateRecommendationLifecycleStage];
1330
1098
  /**
1331
1099
  * @public
1332
1100
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { TrustedAdvisorExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { TrustedAdvisorServiceException } from "./models/TrustedAdvisorServiceException";
@@ -0,0 +1,95 @@
1
+ export declare const RecommendationLifecycleStage: {
2
+ readonly DISMISSED: "dismissed";
3
+ readonly IN_PROGRESS: "in_progress";
4
+ readonly PENDING_RESPONSE: "pending_response";
5
+ readonly RESOLVED: "resolved";
6
+ };
7
+ export type RecommendationLifecycleStage =
8
+ (typeof RecommendationLifecycleStage)[keyof typeof RecommendationLifecycleStage];
9
+ export declare const UpdateRecommendationLifecycleStageReasonCode: {
10
+ readonly LOW_PRIORITY: "low_priority";
11
+ readonly NON_CRITICAL_ACCOUNT: "non_critical_account";
12
+ readonly NOT_APPLICABLE: "not_applicable";
13
+ readonly OTHER: "other";
14
+ readonly OTHER_METHODS_AVAILABLE: "other_methods_available";
15
+ readonly TEMPORARY_ACCOUNT: "temporary_account";
16
+ readonly VALID_BUSINESS_CASE: "valid_business_case";
17
+ };
18
+ export type UpdateRecommendationLifecycleStageReasonCode =
19
+ (typeof UpdateRecommendationLifecycleStageReasonCode)[keyof typeof UpdateRecommendationLifecycleStageReasonCode];
20
+ export declare const RecommendationPillar: {
21
+ readonly COST_OPTIMIZING: "cost_optimizing";
22
+ readonly FAULT_TOLERANCE: "fault_tolerance";
23
+ readonly OPERATIONAL_EXCELLENCE: "operational_excellence";
24
+ readonly PERFORMANCE: "performance";
25
+ readonly SECURITY: "security";
26
+ readonly SERVICE_LIMITS: "service_limits";
27
+ };
28
+ export type RecommendationPillar =
29
+ (typeof RecommendationPillar)[keyof typeof RecommendationPillar];
30
+ export declare const RecommendationSource: {
31
+ readonly AWS_CONFIG: "aws_config";
32
+ readonly COMPUTE_OPTIMIZER: "compute_optimizer";
33
+ readonly COST_EXPLORER: "cost_explorer";
34
+ readonly LSE: "lse";
35
+ readonly MANUAL: "manual";
36
+ readonly PSE: "pse";
37
+ readonly RDS: "rds";
38
+ readonly RESILIENCE: "resilience";
39
+ readonly RESILIENCE_HUB: "resilience_hub";
40
+ readonly SECURITY_HUB: "security_hub";
41
+ readonly STIR: "stir";
42
+ readonly TA_CHECK: "ta_check";
43
+ readonly WELL_ARCHITECTED: "well_architected";
44
+ };
45
+ export type RecommendationSource =
46
+ (typeof RecommendationSource)[keyof typeof RecommendationSource];
47
+ export declare const ExclusionStatus: {
48
+ readonly EXCLUDED: "excluded";
49
+ readonly INCLUDED: "included";
50
+ };
51
+ export type ExclusionStatus =
52
+ (typeof ExclusionStatus)[keyof typeof ExclusionStatus];
53
+ export declare const RecommendationStatus: {
54
+ readonly ERROR: "error";
55
+ readonly OK: "ok";
56
+ readonly WARNING: "warning";
57
+ };
58
+ export type RecommendationStatus =
59
+ (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
60
+ export declare const RecommendationType: {
61
+ readonly PRIORITY: "priority";
62
+ readonly STANDARD: "standard";
63
+ };
64
+ export type RecommendationType =
65
+ (typeof RecommendationType)[keyof typeof RecommendationType];
66
+ export declare const RecommendationLanguage: {
67
+ readonly BAHASA_INDONESIA: "id";
68
+ readonly BRAZILIAN_PORTUGUESE: "pt_BR";
69
+ readonly CHINESE: "zh";
70
+ readonly ENGLISH: "en";
71
+ readonly FRENCH: "fr";
72
+ readonly GERMAN: "de";
73
+ readonly ITALIAN: "it";
74
+ readonly JAPANESE: "ja";
75
+ readonly KOREAN: "ko";
76
+ readonly SPANISH: "es";
77
+ readonly TRADITIONAL_CHINESE: "zh_TW";
78
+ };
79
+ export type RecommendationLanguage =
80
+ (typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
81
+ export declare const ResourceStatus: {
82
+ readonly ERROR: "error";
83
+ readonly OK: "ok";
84
+ readonly WARNING: "warning";
85
+ };
86
+ export type ResourceStatus =
87
+ (typeof ResourceStatus)[keyof typeof ResourceStatus];
88
+ export declare const UpdateRecommendationLifecycleStage: {
89
+ readonly DISMISSED: "dismissed";
90
+ readonly IN_PROGRESS: "in_progress";
91
+ readonly PENDING_RESPONSE: "pending_response";
92
+ readonly RESOLVED: "resolved";
93
+ };
94
+ export type UpdateRecommendationLifecycleStage =
95
+ (typeof UpdateRecommendationLifecycleStage)[keyof typeof UpdateRecommendationLifecycleStage];
@@ -0,0 +1,46 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare class InternalServerException extends __BaseException {
16
+ readonly name: "InternalServerException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ constructor(
20
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
21
+ );
22
+ }
23
+ export declare class ThrottlingException extends __BaseException {
24
+ readonly name: "ThrottlingException";
25
+ readonly $fault: "client";
26
+ $retryable: {
27
+ throttling: boolean;
28
+ };
29
+ constructor(
30
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ValidationException extends __BaseException {
34
+ readonly name: "ValidationException";
35
+ readonly $fault: "client";
36
+ constructor(
37
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
38
+ );
39
+ }
40
+ export declare class ResourceNotFoundException extends __BaseException {
41
+ readonly name: "ResourceNotFoundException";
42
+ readonly $fault: "client";
43
+ constructor(
44
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
45
+ );
46
+ }