@aws-sdk/client-trustedadvisor 3.934.0 → 3.935.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 +12 -12
- 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
package/dist-cjs/index.js
CHANGED
|
@@ -129,21 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends TrustedAdvisor
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const RecommendationLifecycleStage = {
|
|
133
|
-
DISMISSED: "dismissed",
|
|
134
|
-
IN_PROGRESS: "in_progress",
|
|
135
|
-
PENDING_RESPONSE: "pending_response",
|
|
136
|
-
RESOLVED: "resolved",
|
|
137
|
-
};
|
|
138
|
-
const UpdateRecommendationLifecycleStageReasonCode = {
|
|
139
|
-
LOW_PRIORITY: "low_priority",
|
|
140
|
-
NON_CRITICAL_ACCOUNT: "non_critical_account",
|
|
141
|
-
NOT_APPLICABLE: "not_applicable",
|
|
142
|
-
OTHER: "other",
|
|
143
|
-
OTHER_METHODS_AVAILABLE: "other_methods_available",
|
|
144
|
-
TEMPORARY_ACCOUNT: "temporary_account",
|
|
145
|
-
VALID_BUSINESS_CASE: "valid_business_case",
|
|
146
|
-
};
|
|
147
132
|
let ConflictException$1 = class ConflictException extends TrustedAdvisorServiceException$1 {
|
|
148
133
|
name = "ConflictException";
|
|
149
134
|
$fault = "client";
|
|
@@ -196,42 +181,6 @@ let ValidationException$1 = class ValidationException extends TrustedAdvisorServ
|
|
|
196
181
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
197
182
|
}
|
|
198
183
|
};
|
|
199
|
-
const RecommendationPillar = {
|
|
200
|
-
COST_OPTIMIZING: "cost_optimizing",
|
|
201
|
-
FAULT_TOLERANCE: "fault_tolerance",
|
|
202
|
-
OPERATIONAL_EXCELLENCE: "operational_excellence",
|
|
203
|
-
PERFORMANCE: "performance",
|
|
204
|
-
SECURITY: "security",
|
|
205
|
-
SERVICE_LIMITS: "service_limits",
|
|
206
|
-
};
|
|
207
|
-
const RecommendationSource = {
|
|
208
|
-
AWS_CONFIG: "aws_config",
|
|
209
|
-
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
210
|
-
COST_EXPLORER: "cost_explorer",
|
|
211
|
-
LSE: "lse",
|
|
212
|
-
MANUAL: "manual",
|
|
213
|
-
PSE: "pse",
|
|
214
|
-
RDS: "rds",
|
|
215
|
-
RESILIENCE: "resilience",
|
|
216
|
-
RESILIENCE_HUB: "resilience_hub",
|
|
217
|
-
SECURITY_HUB: "security_hub",
|
|
218
|
-
STIR: "stir",
|
|
219
|
-
TA_CHECK: "ta_check",
|
|
220
|
-
WELL_ARCHITECTED: "well_architected",
|
|
221
|
-
};
|
|
222
|
-
const ExclusionStatus = {
|
|
223
|
-
EXCLUDED: "excluded",
|
|
224
|
-
INCLUDED: "included",
|
|
225
|
-
};
|
|
226
|
-
const RecommendationStatus = {
|
|
227
|
-
ERROR: "error",
|
|
228
|
-
OK: "ok",
|
|
229
|
-
WARNING: "warning",
|
|
230
|
-
};
|
|
231
|
-
const RecommendationType = {
|
|
232
|
-
PRIORITY: "priority",
|
|
233
|
-
STANDARD: "standard",
|
|
234
|
-
};
|
|
235
184
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TrustedAdvisorServiceException$1 {
|
|
236
185
|
name = "ResourceNotFoundException";
|
|
237
186
|
$fault = "client";
|
|
@@ -244,30 +193,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Truste
|
|
|
244
193
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
245
194
|
}
|
|
246
195
|
};
|
|
247
|
-
const RecommendationLanguage = {
|
|
248
|
-
BAHASA_INDONESIA: "id",
|
|
249
|
-
BRAZILIAN_PORTUGUESE: "pt_BR",
|
|
250
|
-
CHINESE: "zh",
|
|
251
|
-
ENGLISH: "en",
|
|
252
|
-
FRENCH: "fr",
|
|
253
|
-
GERMAN: "de",
|
|
254
|
-
ITALIAN: "it",
|
|
255
|
-
JAPANESE: "ja",
|
|
256
|
-
KOREAN: "ko",
|
|
257
|
-
SPANISH: "es",
|
|
258
|
-
TRADITIONAL_CHINESE: "zh_TW",
|
|
259
|
-
};
|
|
260
|
-
const ResourceStatus = {
|
|
261
|
-
ERROR: "error",
|
|
262
|
-
OK: "ok",
|
|
263
|
-
WARNING: "warning",
|
|
264
|
-
};
|
|
265
|
-
const UpdateRecommendationLifecycleStage = {
|
|
266
|
-
DISMISSED: "dismissed",
|
|
267
|
-
IN_PROGRESS: "in_progress",
|
|
268
|
-
PENDING_RESPONSE: "pending_response",
|
|
269
|
-
RESOLVED: "resolved",
|
|
270
|
-
};
|
|
271
196
|
|
|
272
197
|
const _ADE = "AccessDeniedException";
|
|
273
198
|
const _ARLS = "AccountRecommendationLifecycleSummary";
|
|
@@ -1319,6 +1244,82 @@ const paginateListRecommendationResources = core.createPaginator(TrustedAdvisorC
|
|
|
1319
1244
|
|
|
1320
1245
|
const paginateListRecommendations = core.createPaginator(TrustedAdvisorClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1321
1246
|
|
|
1247
|
+
const RecommendationLifecycleStage = {
|
|
1248
|
+
DISMISSED: "dismissed",
|
|
1249
|
+
IN_PROGRESS: "in_progress",
|
|
1250
|
+
PENDING_RESPONSE: "pending_response",
|
|
1251
|
+
RESOLVED: "resolved",
|
|
1252
|
+
};
|
|
1253
|
+
const UpdateRecommendationLifecycleStageReasonCode = {
|
|
1254
|
+
LOW_PRIORITY: "low_priority",
|
|
1255
|
+
NON_CRITICAL_ACCOUNT: "non_critical_account",
|
|
1256
|
+
NOT_APPLICABLE: "not_applicable",
|
|
1257
|
+
OTHER: "other",
|
|
1258
|
+
OTHER_METHODS_AVAILABLE: "other_methods_available",
|
|
1259
|
+
TEMPORARY_ACCOUNT: "temporary_account",
|
|
1260
|
+
VALID_BUSINESS_CASE: "valid_business_case",
|
|
1261
|
+
};
|
|
1262
|
+
const RecommendationPillar = {
|
|
1263
|
+
COST_OPTIMIZING: "cost_optimizing",
|
|
1264
|
+
FAULT_TOLERANCE: "fault_tolerance",
|
|
1265
|
+
OPERATIONAL_EXCELLENCE: "operational_excellence",
|
|
1266
|
+
PERFORMANCE: "performance",
|
|
1267
|
+
SECURITY: "security",
|
|
1268
|
+
SERVICE_LIMITS: "service_limits",
|
|
1269
|
+
};
|
|
1270
|
+
const RecommendationSource = {
|
|
1271
|
+
AWS_CONFIG: "aws_config",
|
|
1272
|
+
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
1273
|
+
COST_EXPLORER: "cost_explorer",
|
|
1274
|
+
LSE: "lse",
|
|
1275
|
+
MANUAL: "manual",
|
|
1276
|
+
PSE: "pse",
|
|
1277
|
+
RDS: "rds",
|
|
1278
|
+
RESILIENCE: "resilience",
|
|
1279
|
+
RESILIENCE_HUB: "resilience_hub",
|
|
1280
|
+
SECURITY_HUB: "security_hub",
|
|
1281
|
+
STIR: "stir",
|
|
1282
|
+
TA_CHECK: "ta_check",
|
|
1283
|
+
WELL_ARCHITECTED: "well_architected",
|
|
1284
|
+
};
|
|
1285
|
+
const ExclusionStatus = {
|
|
1286
|
+
EXCLUDED: "excluded",
|
|
1287
|
+
INCLUDED: "included",
|
|
1288
|
+
};
|
|
1289
|
+
const RecommendationStatus = {
|
|
1290
|
+
ERROR: "error",
|
|
1291
|
+
OK: "ok",
|
|
1292
|
+
WARNING: "warning",
|
|
1293
|
+
};
|
|
1294
|
+
const RecommendationType = {
|
|
1295
|
+
PRIORITY: "priority",
|
|
1296
|
+
STANDARD: "standard",
|
|
1297
|
+
};
|
|
1298
|
+
const RecommendationLanguage = {
|
|
1299
|
+
BAHASA_INDONESIA: "id",
|
|
1300
|
+
BRAZILIAN_PORTUGUESE: "pt_BR",
|
|
1301
|
+
CHINESE: "zh",
|
|
1302
|
+
ENGLISH: "en",
|
|
1303
|
+
FRENCH: "fr",
|
|
1304
|
+
GERMAN: "de",
|
|
1305
|
+
ITALIAN: "it",
|
|
1306
|
+
JAPANESE: "ja",
|
|
1307
|
+
KOREAN: "ko",
|
|
1308
|
+
SPANISH: "es",
|
|
1309
|
+
TRADITIONAL_CHINESE: "zh_TW",
|
|
1310
|
+
};
|
|
1311
|
+
const ResourceStatus = {
|
|
1312
|
+
ERROR: "error",
|
|
1313
|
+
OK: "ok",
|
|
1314
|
+
WARNING: "warning",
|
|
1315
|
+
};
|
|
1316
|
+
const UpdateRecommendationLifecycleStage = {
|
|
1317
|
+
DISMISSED: "dismissed",
|
|
1318
|
+
IN_PROGRESS: "in_progress",
|
|
1319
|
+
PENDING_RESPONSE: "pending_response",
|
|
1320
|
+
RESOLVED: "resolved",
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1322
1323
|
Object.defineProperty(exports, "$Command", {
|
|
1323
1324
|
enumerable: true,
|
|
1324
1325
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./TrustedAdvisorClient";
|
|
|
2
2
|
export * from "./TrustedAdvisor";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { TrustedAdvisorServiceException } from "./models/TrustedAdvisorServiceException";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export const RecommendationLifecycleStage = {
|
|
2
|
+
DISMISSED: "dismissed",
|
|
3
|
+
IN_PROGRESS: "in_progress",
|
|
4
|
+
PENDING_RESPONSE: "pending_response",
|
|
5
|
+
RESOLVED: "resolved",
|
|
6
|
+
};
|
|
7
|
+
export const UpdateRecommendationLifecycleStageReasonCode = {
|
|
8
|
+
LOW_PRIORITY: "low_priority",
|
|
9
|
+
NON_CRITICAL_ACCOUNT: "non_critical_account",
|
|
10
|
+
NOT_APPLICABLE: "not_applicable",
|
|
11
|
+
OTHER: "other",
|
|
12
|
+
OTHER_METHODS_AVAILABLE: "other_methods_available",
|
|
13
|
+
TEMPORARY_ACCOUNT: "temporary_account",
|
|
14
|
+
VALID_BUSINESS_CASE: "valid_business_case",
|
|
15
|
+
};
|
|
16
|
+
export const RecommendationPillar = {
|
|
17
|
+
COST_OPTIMIZING: "cost_optimizing",
|
|
18
|
+
FAULT_TOLERANCE: "fault_tolerance",
|
|
19
|
+
OPERATIONAL_EXCELLENCE: "operational_excellence",
|
|
20
|
+
PERFORMANCE: "performance",
|
|
21
|
+
SECURITY: "security",
|
|
22
|
+
SERVICE_LIMITS: "service_limits",
|
|
23
|
+
};
|
|
24
|
+
export const RecommendationSource = {
|
|
25
|
+
AWS_CONFIG: "aws_config",
|
|
26
|
+
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
27
|
+
COST_EXPLORER: "cost_explorer",
|
|
28
|
+
LSE: "lse",
|
|
29
|
+
MANUAL: "manual",
|
|
30
|
+
PSE: "pse",
|
|
31
|
+
RDS: "rds",
|
|
32
|
+
RESILIENCE: "resilience",
|
|
33
|
+
RESILIENCE_HUB: "resilience_hub",
|
|
34
|
+
SECURITY_HUB: "security_hub",
|
|
35
|
+
STIR: "stir",
|
|
36
|
+
TA_CHECK: "ta_check",
|
|
37
|
+
WELL_ARCHITECTED: "well_architected",
|
|
38
|
+
};
|
|
39
|
+
export const ExclusionStatus = {
|
|
40
|
+
EXCLUDED: "excluded",
|
|
41
|
+
INCLUDED: "included",
|
|
42
|
+
};
|
|
43
|
+
export const RecommendationStatus = {
|
|
44
|
+
ERROR: "error",
|
|
45
|
+
OK: "ok",
|
|
46
|
+
WARNING: "warning",
|
|
47
|
+
};
|
|
48
|
+
export const RecommendationType = {
|
|
49
|
+
PRIORITY: "priority",
|
|
50
|
+
STANDARD: "standard",
|
|
51
|
+
};
|
|
52
|
+
export const RecommendationLanguage = {
|
|
53
|
+
BAHASA_INDONESIA: "id",
|
|
54
|
+
BRAZILIAN_PORTUGUESE: "pt_BR",
|
|
55
|
+
CHINESE: "zh",
|
|
56
|
+
ENGLISH: "en",
|
|
57
|
+
FRENCH: "fr",
|
|
58
|
+
GERMAN: "de",
|
|
59
|
+
ITALIAN: "it",
|
|
60
|
+
JAPANESE: "ja",
|
|
61
|
+
KOREAN: "ko",
|
|
62
|
+
SPANISH: "es",
|
|
63
|
+
TRADITIONAL_CHINESE: "zh_TW",
|
|
64
|
+
};
|
|
65
|
+
export const ResourceStatus = {
|
|
66
|
+
ERROR: "error",
|
|
67
|
+
OK: "ok",
|
|
68
|
+
WARNING: "warning",
|
|
69
|
+
};
|
|
70
|
+
export const UpdateRecommendationLifecycleStage = {
|
|
71
|
+
DISMISSED: "dismissed",
|
|
72
|
+
IN_PROGRESS: "in_progress",
|
|
73
|
+
PENDING_RESPONSE: "pending_response",
|
|
74
|
+
RESOLVED: "resolved",
|
|
75
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
$retryable = {};
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "InternalServerException",
|
|
33
|
+
$fault: "server",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class ThrottlingException extends __BaseException {
|
|
40
|
+
name = "ThrottlingException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
$retryable = {
|
|
43
|
+
throttling: true,
|
|
44
|
+
};
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ThrottlingException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class ValidationException extends __BaseException {
|
|
55
|
+
name = "ValidationException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ValidationException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
name = "ResourceNotFoundException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ResourceNotFoundException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1,152 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const RecommendationLifecycleStage = {
|
|
15
|
-
DISMISSED: "dismissed",
|
|
16
|
-
IN_PROGRESS: "in_progress",
|
|
17
|
-
PENDING_RESPONSE: "pending_response",
|
|
18
|
-
RESOLVED: "resolved",
|
|
19
|
-
};
|
|
20
|
-
export const UpdateRecommendationLifecycleStageReasonCode = {
|
|
21
|
-
LOW_PRIORITY: "low_priority",
|
|
22
|
-
NON_CRITICAL_ACCOUNT: "non_critical_account",
|
|
23
|
-
NOT_APPLICABLE: "not_applicable",
|
|
24
|
-
OTHER: "other",
|
|
25
|
-
OTHER_METHODS_AVAILABLE: "other_methods_available",
|
|
26
|
-
TEMPORARY_ACCOUNT: "temporary_account",
|
|
27
|
-
VALID_BUSINESS_CASE: "valid_business_case",
|
|
28
|
-
};
|
|
29
|
-
export class ConflictException extends __BaseException {
|
|
30
|
-
name = "ConflictException";
|
|
31
|
-
$fault = "client";
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "ConflictException",
|
|
35
|
-
$fault: "client",
|
|
36
|
-
...opts,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export class InternalServerException extends __BaseException {
|
|
42
|
-
name = "InternalServerException";
|
|
43
|
-
$fault = "server";
|
|
44
|
-
$retryable = {};
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "InternalServerException",
|
|
48
|
-
$fault: "server",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export class ThrottlingException extends __BaseException {
|
|
55
|
-
name = "ThrottlingException";
|
|
56
|
-
$fault = "client";
|
|
57
|
-
$retryable = {
|
|
58
|
-
throttling: true,
|
|
59
|
-
};
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "ThrottlingException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export class ValidationException extends __BaseException {
|
|
70
|
-
name = "ValidationException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ValidationException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export const RecommendationPillar = {
|
|
82
|
-
COST_OPTIMIZING: "cost_optimizing",
|
|
83
|
-
FAULT_TOLERANCE: "fault_tolerance",
|
|
84
|
-
OPERATIONAL_EXCELLENCE: "operational_excellence",
|
|
85
|
-
PERFORMANCE: "performance",
|
|
86
|
-
SECURITY: "security",
|
|
87
|
-
SERVICE_LIMITS: "service_limits",
|
|
88
|
-
};
|
|
89
|
-
export const RecommendationSource = {
|
|
90
|
-
AWS_CONFIG: "aws_config",
|
|
91
|
-
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
92
|
-
COST_EXPLORER: "cost_explorer",
|
|
93
|
-
LSE: "lse",
|
|
94
|
-
MANUAL: "manual",
|
|
95
|
-
PSE: "pse",
|
|
96
|
-
RDS: "rds",
|
|
97
|
-
RESILIENCE: "resilience",
|
|
98
|
-
RESILIENCE_HUB: "resilience_hub",
|
|
99
|
-
SECURITY_HUB: "security_hub",
|
|
100
|
-
STIR: "stir",
|
|
101
|
-
TA_CHECK: "ta_check",
|
|
102
|
-
WELL_ARCHITECTED: "well_architected",
|
|
103
|
-
};
|
|
104
|
-
export const ExclusionStatus = {
|
|
105
|
-
EXCLUDED: "excluded",
|
|
106
|
-
INCLUDED: "included",
|
|
107
|
-
};
|
|
108
|
-
export const RecommendationStatus = {
|
|
109
|
-
ERROR: "error",
|
|
110
|
-
OK: "ok",
|
|
111
|
-
WARNING: "warning",
|
|
112
|
-
};
|
|
113
|
-
export const RecommendationType = {
|
|
114
|
-
PRIORITY: "priority",
|
|
115
|
-
STANDARD: "standard",
|
|
116
|
-
};
|
|
117
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
118
|
-
name = "ResourceNotFoundException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "ResourceNotFoundException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export const RecommendationLanguage = {
|
|
130
|
-
BAHASA_INDONESIA: "id",
|
|
131
|
-
BRAZILIAN_PORTUGUESE: "pt_BR",
|
|
132
|
-
CHINESE: "zh",
|
|
133
|
-
ENGLISH: "en",
|
|
134
|
-
FRENCH: "fr",
|
|
135
|
-
GERMAN: "de",
|
|
136
|
-
ITALIAN: "it",
|
|
137
|
-
JAPANESE: "ja",
|
|
138
|
-
KOREAN: "ko",
|
|
139
|
-
SPANISH: "es",
|
|
140
|
-
TRADITIONAL_CHINESE: "zh_TW",
|
|
141
|
-
};
|
|
142
|
-
export const ResourceStatus = {
|
|
143
|
-
ERROR: "error",
|
|
144
|
-
OK: "ok",
|
|
145
|
-
WARNING: "warning",
|
|
146
|
-
};
|
|
147
|
-
export const UpdateRecommendationLifecycleStage = {
|
|
148
|
-
DISMISSED: "dismissed",
|
|
149
|
-
IN_PROGRESS: "in_progress",
|
|
150
|
-
PENDING_RESPONSE: "pending_response",
|
|
151
|
-
RESOLVED: "resolved",
|
|
152
|
-
};
|
|
1
|
+
export {};
|
|
@@ -125,7 +125,7 @@ const _uRC = "updateReasonCode";
|
|
|
125
125
|
const _wC = "warningCount";
|
|
126
126
|
const n0 = "com.amazonaws.trustedadvisor";
|
|
127
127
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
128
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
128
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
129
129
|
import { TrustedAdvisorServiceException as __TrustedAdvisorServiceException } from "../models/TrustedAdvisorServiceException";
|
|
130
130
|
export var RecommendationUpdateReason = [0, n0, _RUR, 8, 0];
|
|
131
131
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { TrustedAdvisorExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { TrustedAdvisorServiceException } from "./models/TrustedAdvisorServiceException";
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const RecommendationLifecycleStage: {
|
|
6
|
+
readonly DISMISSED: "dismissed";
|
|
7
|
+
readonly IN_PROGRESS: "in_progress";
|
|
8
|
+
readonly PENDING_RESPONSE: "pending_response";
|
|
9
|
+
readonly RESOLVED: "resolved";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type RecommendationLifecycleStage = (typeof RecommendationLifecycleStage)[keyof typeof RecommendationLifecycleStage];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const UpdateRecommendationLifecycleStageReasonCode: {
|
|
20
|
+
readonly LOW_PRIORITY: "low_priority";
|
|
21
|
+
readonly NON_CRITICAL_ACCOUNT: "non_critical_account";
|
|
22
|
+
readonly NOT_APPLICABLE: "not_applicable";
|
|
23
|
+
readonly OTHER: "other";
|
|
24
|
+
readonly OTHER_METHODS_AVAILABLE: "other_methods_available";
|
|
25
|
+
readonly TEMPORARY_ACCOUNT: "temporary_account";
|
|
26
|
+
readonly VALID_BUSINESS_CASE: "valid_business_case";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type UpdateRecommendationLifecycleStageReasonCode = (typeof UpdateRecommendationLifecycleStageReasonCode)[keyof typeof UpdateRecommendationLifecycleStageReasonCode];
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* @enum
|
|
35
|
+
*/
|
|
36
|
+
export declare const RecommendationPillar: {
|
|
37
|
+
readonly COST_OPTIMIZING: "cost_optimizing";
|
|
38
|
+
readonly FAULT_TOLERANCE: "fault_tolerance";
|
|
39
|
+
readonly OPERATIONAL_EXCELLENCE: "operational_excellence";
|
|
40
|
+
readonly PERFORMANCE: "performance";
|
|
41
|
+
readonly SECURITY: "security";
|
|
42
|
+
readonly SERVICE_LIMITS: "service_limits";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type RecommendationPillar = (typeof RecommendationPillar)[keyof typeof RecommendationPillar];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const RecommendationSource: {
|
|
53
|
+
readonly AWS_CONFIG: "aws_config";
|
|
54
|
+
readonly COMPUTE_OPTIMIZER: "compute_optimizer";
|
|
55
|
+
readonly COST_EXPLORER: "cost_explorer";
|
|
56
|
+
readonly LSE: "lse";
|
|
57
|
+
readonly MANUAL: "manual";
|
|
58
|
+
readonly PSE: "pse";
|
|
59
|
+
readonly RDS: "rds";
|
|
60
|
+
readonly RESILIENCE: "resilience";
|
|
61
|
+
readonly RESILIENCE_HUB: "resilience_hub";
|
|
62
|
+
readonly SECURITY_HUB: "security_hub";
|
|
63
|
+
readonly STIR: "stir";
|
|
64
|
+
readonly TA_CHECK: "ta_check";
|
|
65
|
+
readonly WELL_ARCHITECTED: "well_architected";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export type RecommendationSource = (typeof RecommendationSource)[keyof typeof RecommendationSource];
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* @enum
|
|
74
|
+
*/
|
|
75
|
+
export declare const ExclusionStatus: {
|
|
76
|
+
readonly EXCLUDED: "excluded";
|
|
77
|
+
readonly INCLUDED: "included";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export type ExclusionStatus = (typeof ExclusionStatus)[keyof typeof ExclusionStatus];
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @enum
|
|
86
|
+
*/
|
|
87
|
+
export declare const RecommendationStatus: {
|
|
88
|
+
readonly ERROR: "error";
|
|
89
|
+
readonly OK: "ok";
|
|
90
|
+
readonly WARNING: "warning";
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* @enum
|
|
99
|
+
*/
|
|
100
|
+
export declare const RecommendationType: {
|
|
101
|
+
readonly PRIORITY: "priority";
|
|
102
|
+
readonly STANDARD: "standard";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const RecommendationLanguage: {
|
|
113
|
+
readonly BAHASA_INDONESIA: "id";
|
|
114
|
+
readonly BRAZILIAN_PORTUGUESE: "pt_BR";
|
|
115
|
+
readonly CHINESE: "zh";
|
|
116
|
+
readonly ENGLISH: "en";
|
|
117
|
+
readonly FRENCH: "fr";
|
|
118
|
+
readonly GERMAN: "de";
|
|
119
|
+
readonly ITALIAN: "it";
|
|
120
|
+
readonly JAPANESE: "ja";
|
|
121
|
+
readonly KOREAN: "ko";
|
|
122
|
+
readonly SPANISH: "es";
|
|
123
|
+
readonly TRADITIONAL_CHINESE: "zh_TW";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export type RecommendationLanguage = (typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const ResourceStatus: {
|
|
134
|
+
readonly ERROR: "error";
|
|
135
|
+
readonly OK: "ok";
|
|
136
|
+
readonly WARNING: "warning";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @enum
|
|
145
|
+
*/
|
|
146
|
+
export declare const UpdateRecommendationLifecycleStage: {
|
|
147
|
+
readonly DISMISSED: "dismissed";
|
|
148
|
+
readonly IN_PROGRESS: "in_progress";
|
|
149
|
+
readonly PENDING_RESPONSE: "pending_response";
|
|
150
|
+
readonly RESOLVED: "resolved";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type UpdateRecommendationLifecycleStage = (typeof UpdateRecommendationLifecycleStage)[keyof typeof UpdateRecommendationLifecycleStage];
|