@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.
- package/dist-cjs/index.js +76 -75
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +75 -0
- package/dist-es/models/errors.js +77 -0
- package/dist-es/models/models_0.js +1 -152
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +155 -0
- package/dist-types/models/errors.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +1 -233
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +95 -0
- package/dist-types/ts3.4/models/errors.d.ts +46 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -141
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly PENDING_RESPONSE: "pending_response";
|
|
14
|
-
readonly RESOLVED: "resolved";
|
|
15
|
-
};
|
|
16
|
-
export type RecommendationLifecycleStage =
|
|
17
|
-
(typeof RecommendationLifecycleStage)[keyof typeof RecommendationLifecycleStage];
|
|
18
|
-
export declare const UpdateRecommendationLifecycleStageReasonCode: {
|
|
19
|
-
readonly LOW_PRIORITY: "low_priority";
|
|
20
|
-
readonly NON_CRITICAL_ACCOUNT: "non_critical_account";
|
|
21
|
-
readonly NOT_APPLICABLE: "not_applicable";
|
|
22
|
-
readonly OTHER: "other";
|
|
23
|
-
readonly OTHER_METHODS_AVAILABLE: "other_methods_available";
|
|
24
|
-
readonly TEMPORARY_ACCOUNT: "temporary_account";
|
|
25
|
-
readonly VALID_BUSINESS_CASE: "valid_business_case";
|
|
26
|
-
};
|
|
27
|
-
export type UpdateRecommendationLifecycleStageReasonCode =
|
|
28
|
-
(typeof UpdateRecommendationLifecycleStageReasonCode)[keyof typeof UpdateRecommendationLifecycleStageReasonCode];
|
|
1
|
+
import {
|
|
2
|
+
ExclusionStatus,
|
|
3
|
+
RecommendationLanguage,
|
|
4
|
+
RecommendationLifecycleStage,
|
|
5
|
+
RecommendationPillar,
|
|
6
|
+
RecommendationSource,
|
|
7
|
+
RecommendationStatus,
|
|
8
|
+
RecommendationType,
|
|
9
|
+
ResourceStatus,
|
|
10
|
+
UpdateRecommendationLifecycleStage,
|
|
11
|
+
UpdateRecommendationLifecycleStageReasonCode,
|
|
12
|
+
} from "./enums";
|
|
29
13
|
export interface AccountRecommendationLifecycleSummary {
|
|
30
14
|
accountId?: string | undefined;
|
|
31
15
|
accountRecommendationArn?: string | undefined;
|
|
@@ -55,63 +39,6 @@ export interface BatchUpdateRecommendationResourceExclusionResponse {
|
|
|
55
39
|
| UpdateRecommendationResourceExclusionError[]
|
|
56
40
|
| undefined;
|
|
57
41
|
}
|
|
58
|
-
export declare class ConflictException extends __BaseException {
|
|
59
|
-
readonly name: "ConflictException";
|
|
60
|
-
readonly $fault: "client";
|
|
61
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
62
|
-
}
|
|
63
|
-
export declare class InternalServerException extends __BaseException {
|
|
64
|
-
readonly name: "InternalServerException";
|
|
65
|
-
readonly $fault: "server";
|
|
66
|
-
$retryable: {};
|
|
67
|
-
constructor(
|
|
68
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
export declare class ThrottlingException extends __BaseException {
|
|
72
|
-
readonly name: "ThrottlingException";
|
|
73
|
-
readonly $fault: "client";
|
|
74
|
-
$retryable: {
|
|
75
|
-
throttling: boolean;
|
|
76
|
-
};
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
export declare class ValidationException extends __BaseException {
|
|
82
|
-
readonly name: "ValidationException";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
constructor(
|
|
85
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
export declare const RecommendationPillar: {
|
|
89
|
-
readonly COST_OPTIMIZING: "cost_optimizing";
|
|
90
|
-
readonly FAULT_TOLERANCE: "fault_tolerance";
|
|
91
|
-
readonly OPERATIONAL_EXCELLENCE: "operational_excellence";
|
|
92
|
-
readonly PERFORMANCE: "performance";
|
|
93
|
-
readonly SECURITY: "security";
|
|
94
|
-
readonly SERVICE_LIMITS: "service_limits";
|
|
95
|
-
};
|
|
96
|
-
export type RecommendationPillar =
|
|
97
|
-
(typeof RecommendationPillar)[keyof typeof RecommendationPillar];
|
|
98
|
-
export declare const RecommendationSource: {
|
|
99
|
-
readonly AWS_CONFIG: "aws_config";
|
|
100
|
-
readonly COMPUTE_OPTIMIZER: "compute_optimizer";
|
|
101
|
-
readonly COST_EXPLORER: "cost_explorer";
|
|
102
|
-
readonly LSE: "lse";
|
|
103
|
-
readonly MANUAL: "manual";
|
|
104
|
-
readonly PSE: "pse";
|
|
105
|
-
readonly RDS: "rds";
|
|
106
|
-
readonly RESILIENCE: "resilience";
|
|
107
|
-
readonly RESILIENCE_HUB: "resilience_hub";
|
|
108
|
-
readonly SECURITY_HUB: "security_hub";
|
|
109
|
-
readonly STIR: "stir";
|
|
110
|
-
readonly TA_CHECK: "ta_check";
|
|
111
|
-
readonly WELL_ARCHITECTED: "well_architected";
|
|
112
|
-
};
|
|
113
|
-
export type RecommendationSource =
|
|
114
|
-
(typeof RecommendationSource)[keyof typeof RecommendationSource];
|
|
115
42
|
export interface CheckSummary {
|
|
116
43
|
id: string | undefined;
|
|
117
44
|
arn: string | undefined;
|
|
@@ -122,12 +49,6 @@ export interface CheckSummary {
|
|
|
122
49
|
source: RecommendationSource | undefined;
|
|
123
50
|
metadata: Record<string, string> | undefined;
|
|
124
51
|
}
|
|
125
|
-
export declare const ExclusionStatus: {
|
|
126
|
-
readonly EXCLUDED: "excluded";
|
|
127
|
-
readonly INCLUDED: "included";
|
|
128
|
-
};
|
|
129
|
-
export type ExclusionStatus =
|
|
130
|
-
(typeof ExclusionStatus)[keyof typeof ExclusionStatus];
|
|
131
52
|
export interface GetOrganizationRecommendationRequest {
|
|
132
53
|
organizationRecommendationIdentifier: string | undefined;
|
|
133
54
|
}
|
|
@@ -143,19 +64,6 @@ export interface RecommendationResourcesAggregates {
|
|
|
143
64
|
warningCount: number | undefined;
|
|
144
65
|
errorCount: number | undefined;
|
|
145
66
|
}
|
|
146
|
-
export declare const RecommendationStatus: {
|
|
147
|
-
readonly ERROR: "error";
|
|
148
|
-
readonly OK: "ok";
|
|
149
|
-
readonly WARNING: "warning";
|
|
150
|
-
};
|
|
151
|
-
export type RecommendationStatus =
|
|
152
|
-
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
153
|
-
export declare const RecommendationType: {
|
|
154
|
-
readonly PRIORITY: "priority";
|
|
155
|
-
readonly STANDARD: "standard";
|
|
156
|
-
};
|
|
157
|
-
export type RecommendationType =
|
|
158
|
-
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
159
67
|
export interface OrganizationRecommendation {
|
|
160
68
|
id: string | undefined;
|
|
161
69
|
type: RecommendationType | undefined;
|
|
@@ -182,13 +90,6 @@ export interface OrganizationRecommendation {
|
|
|
182
90
|
export interface GetOrganizationRecommendationResponse {
|
|
183
91
|
organizationRecommendation?: OrganizationRecommendation | undefined;
|
|
184
92
|
}
|
|
185
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
186
|
-
readonly name: "ResourceNotFoundException";
|
|
187
|
-
readonly $fault: "client";
|
|
188
|
-
constructor(
|
|
189
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
93
|
export interface GetRecommendationRequest {
|
|
193
94
|
recommendationIdentifier: string | undefined;
|
|
194
95
|
}
|
|
@@ -218,21 +119,6 @@ export interface Recommendation {
|
|
|
218
119
|
export interface GetRecommendationResponse {
|
|
219
120
|
recommendation?: Recommendation | undefined;
|
|
220
121
|
}
|
|
221
|
-
export declare const RecommendationLanguage: {
|
|
222
|
-
readonly BAHASA_INDONESIA: "id";
|
|
223
|
-
readonly BRAZILIAN_PORTUGUESE: "pt_BR";
|
|
224
|
-
readonly CHINESE: "zh";
|
|
225
|
-
readonly ENGLISH: "en";
|
|
226
|
-
readonly FRENCH: "fr";
|
|
227
|
-
readonly GERMAN: "de";
|
|
228
|
-
readonly ITALIAN: "it";
|
|
229
|
-
readonly JAPANESE: "ja";
|
|
230
|
-
readonly KOREAN: "ko";
|
|
231
|
-
readonly SPANISH: "es";
|
|
232
|
-
readonly TRADITIONAL_CHINESE: "zh_TW";
|
|
233
|
-
};
|
|
234
|
-
export type RecommendationLanguage =
|
|
235
|
-
(typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
|
|
236
122
|
export interface ListChecksRequest {
|
|
237
123
|
nextToken?: string | undefined;
|
|
238
124
|
maxResults?: number | undefined;
|
|
@@ -257,13 +143,6 @@ export interface ListOrganizationRecommendationAccountsResponse {
|
|
|
257
143
|
| AccountRecommendationLifecycleSummary[]
|
|
258
144
|
| undefined;
|
|
259
145
|
}
|
|
260
|
-
export declare const ResourceStatus: {
|
|
261
|
-
readonly ERROR: "error";
|
|
262
|
-
readonly OK: "ok";
|
|
263
|
-
readonly WARNING: "warning";
|
|
264
|
-
};
|
|
265
|
-
export type ResourceStatus =
|
|
266
|
-
(typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
267
146
|
export interface ListOrganizationRecommendationResourcesRequest {
|
|
268
147
|
nextToken?: string | undefined;
|
|
269
148
|
maxResults?: number | undefined;
|
|
@@ -380,14 +259,6 @@ export interface ListRecommendationsResponse {
|
|
|
380
259
|
nextToken?: string | undefined;
|
|
381
260
|
recommendationSummaries: RecommendationSummary[] | undefined;
|
|
382
261
|
}
|
|
383
|
-
export declare const UpdateRecommendationLifecycleStage: {
|
|
384
|
-
readonly DISMISSED: "dismissed";
|
|
385
|
-
readonly IN_PROGRESS: "in_progress";
|
|
386
|
-
readonly PENDING_RESPONSE: "pending_response";
|
|
387
|
-
readonly RESOLVED: "resolved";
|
|
388
|
-
};
|
|
389
|
-
export type UpdateRecommendationLifecycleStage =
|
|
390
|
-
(typeof UpdateRecommendationLifecycleStage)[keyof typeof UpdateRecommendationLifecycleStage];
|
|
391
262
|
export interface UpdateOrganizationRecommendationLifecycleRequest {
|
|
392
263
|
lifecycleStage: UpdateRecommendationLifecycleStage | undefined;
|
|
393
264
|
updateReason?: string | undefined;
|
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.936.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",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|