@aws-sdk/client-trustedadvisor 3.993.0 → 3.995.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +14 -12
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +14 -12
- package/dist-types/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +3 -4
- package/dist-types/commands/GetRecommendationCommand.d.ts +5 -2
- package/dist-types/commands/ListChecksCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +1 -3
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +1 -3
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +4 -5
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +2 -1
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -3
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +1 -3
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +52 -65
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -309,6 +309,7 @@ const RecommendationSource = {
|
|
|
309
309
|
AWS_CONFIG: "aws_config",
|
|
310
310
|
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
311
311
|
COST_EXPLORER: "cost_explorer",
|
|
312
|
+
COST_OPTIMIZATION_HUB: "cost_optimization_hub",
|
|
312
313
|
LSE: "lse",
|
|
313
314
|
MANUAL: "manual",
|
|
314
315
|
PSE: "pse",
|
|
@@ -346,6 +347,9 @@ const RecommendationLanguage = {
|
|
|
346
347
|
SPANISH: "es",
|
|
347
348
|
TRADITIONAL_CHINESE: "zh_TW",
|
|
348
349
|
};
|
|
350
|
+
const StatusReason = {
|
|
351
|
+
NO_DATA_OK: "no_data_ok",
|
|
352
|
+
};
|
|
349
353
|
const ResourceStatus = {
|
|
350
354
|
ERROR: "error",
|
|
351
355
|
OK: "ok",
|
|
@@ -387,6 +391,7 @@ exports.RecommendationSource = RecommendationSource;
|
|
|
387
391
|
exports.RecommendationStatus = RecommendationStatus;
|
|
388
392
|
exports.RecommendationType = RecommendationType;
|
|
389
393
|
exports.ResourceStatus = ResourceStatus;
|
|
394
|
+
exports.StatusReason = StatusReason;
|
|
390
395
|
exports.TrustedAdvisor = TrustedAdvisor;
|
|
391
396
|
exports.TrustedAdvisorClient = TrustedAdvisorClient;
|
|
392
397
|
exports.UpdateOrganizationRecommendationLifecycleCommand = UpdateOrganizationRecommendationLifecycleCommand;
|
|
@@ -83,6 +83,7 @@ const _d = "description";
|
|
|
83
83
|
const _e = "error";
|
|
84
84
|
const _eC = "errorCount";
|
|
85
85
|
const _eCr = "errorCode";
|
|
86
|
+
const _eCx = "excludedCount";
|
|
86
87
|
const _eM = "errorMessage";
|
|
87
88
|
const _eMS = "estimatedMonthlySavings";
|
|
88
89
|
const _ePMS = "estimatedPercentMonthlySavings";
|
|
@@ -118,6 +119,7 @@ const _rRE = "recommendationResourceExclusions";
|
|
|
118
119
|
const _rRS = "recommendationResourceSummaries";
|
|
119
120
|
const _rS = "recommendationSummaries";
|
|
120
121
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.trustedadvisor";
|
|
122
|
+
const _sR = "statusReason";
|
|
121
123
|
const _se = "server";
|
|
122
124
|
const _so = "source";
|
|
123
125
|
const _st = "status";
|
|
@@ -208,8 +210,8 @@ exports.GetOrganizationRecommendationResponse$ = [3, n0, _GORRe,
|
|
|
208
210
|
];
|
|
209
211
|
exports.GetRecommendationRequest$ = [3, n0, _GRR,
|
|
210
212
|
0,
|
|
211
|
-
[_rI],
|
|
212
|
-
[[0, 1]], 1
|
|
213
|
+
[_rI, _l],
|
|
214
|
+
[[0, 1], [0, { [_hQ]: _l }]], 1
|
|
213
215
|
];
|
|
214
216
|
exports.GetRecommendationResponse$ = [3, n0, _GRRe,
|
|
215
217
|
0,
|
|
@@ -258,8 +260,8 @@ exports.ListOrganizationRecommendationsResponse$ = [3, n0, _LORRi,
|
|
|
258
260
|
];
|
|
259
261
|
exports.ListRecommendationResourcesRequest$ = [3, n0, _LRRR,
|
|
260
262
|
0,
|
|
261
|
-
[_rI, _nT, _mR, _st, _eS, _rC],
|
|
262
|
-
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }]], 1
|
|
263
|
+
[_rI, _nT, _mR, _st, _eS, _rC, _l],
|
|
264
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }], [0, { [_hQ]: _l }]], 1
|
|
263
265
|
];
|
|
264
266
|
exports.ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
|
|
265
267
|
0,
|
|
@@ -268,8 +270,8 @@ exports.ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
|
|
|
268
270
|
];
|
|
269
271
|
exports.ListRecommendationsRequest$ = [3, n0, _LRR,
|
|
270
272
|
0,
|
|
271
|
-
[_nT, _mR, _t, _st, _pi, _aSw, _so, _cI, _aLUA, _bLUA],
|
|
272
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _so }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }]]
|
|
273
|
+
[_nT, _mR, _t, _st, _pi, _aSw, _so, _cI, _aLUA, _bLUA, _l],
|
|
274
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _so }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }], [0, { [_hQ]: _l }]]
|
|
273
275
|
];
|
|
274
276
|
exports.ListRecommendationsResponse$ = [3, n0, _LRRi,
|
|
275
277
|
0,
|
|
@@ -293,8 +295,8 @@ exports.OrganizationRecommendationSummary$ = [3, n0, _ORS,
|
|
|
293
295
|
];
|
|
294
296
|
exports.Recommendation$ = [3, n0, _R,
|
|
295
297
|
0,
|
|
296
|
-
[_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
|
|
297
|
-
[0, 0, 0, 64 | 0, 0, 0, () => exports.RecommendationResourcesAggregates$, 0, 0, 0, 0, 64 | 0, () => exports.RecommendationPillarSpecificAggregates$, 5, 5, 0, 0, 0, [() => RecommendationUpdateReason, 0], 0, 5], 9
|
|
298
|
+
[_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _sR, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
|
|
299
|
+
[0, 0, 0, 64 | 0, 0, 0, () => exports.RecommendationResourcesAggregates$, 0, 0, 0, 0, 64 | 0, () => exports.RecommendationPillarSpecificAggregates$, 5, 5, 0, 0, 0, 0, [() => RecommendationUpdateReason, 0], 0, 5], 9
|
|
298
300
|
];
|
|
299
301
|
exports.RecommendationCostOptimizingAggregates$ = [3, n0, _RCOA,
|
|
300
302
|
0,
|
|
@@ -313,8 +315,8 @@ exports.RecommendationResourceExclusion$ = [3, n0, _RRE,
|
|
|
313
315
|
];
|
|
314
316
|
exports.RecommendationResourcesAggregates$ = [3, n0, _RRA,
|
|
315
317
|
0,
|
|
316
|
-
[_oC, _wC, _eC],
|
|
317
|
-
[1, 1, 1], 3
|
|
318
|
+
[_oC, _wC, _eC, _eCx],
|
|
319
|
+
[1, 1, 1, 1], 3
|
|
318
320
|
];
|
|
319
321
|
exports.RecommendationResourceSummary$ = [3, n0, _RRS,
|
|
320
322
|
0,
|
|
@@ -323,8 +325,8 @@ exports.RecommendationResourceSummary$ = [3, n0, _RRS,
|
|
|
323
325
|
];
|
|
324
326
|
exports.RecommendationSummary$ = [3, n0, _RS,
|
|
325
327
|
0,
|
|
326
|
-
[_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
|
|
327
|
-
[0, 0, 0, 64 | 0, 0, 0, () => exports.RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => exports.RecommendationPillarSpecificAggregates$, 5, 5], 8
|
|
328
|
+
[_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA, _sR],
|
|
329
|
+
[0, 0, 0, 64 | 0, 0, 0, () => exports.RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => exports.RecommendationPillarSpecificAggregates$, 5, 5, 0], 8
|
|
328
330
|
];
|
|
329
331
|
exports.UpdateOrganizationRecommendationLifecycleRequest$ = [3, n0, _UORLR,
|
|
330
332
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -25,6 +25,7 @@ export const RecommendationSource = {
|
|
|
25
25
|
AWS_CONFIG: "aws_config",
|
|
26
26
|
COMPUTE_OPTIMIZER: "compute_optimizer",
|
|
27
27
|
COST_EXPLORER: "cost_explorer",
|
|
28
|
+
COST_OPTIMIZATION_HUB: "cost_optimization_hub",
|
|
28
29
|
LSE: "lse",
|
|
29
30
|
MANUAL: "manual",
|
|
30
31
|
PSE: "pse",
|
|
@@ -62,6 +63,9 @@ export const RecommendationLanguage = {
|
|
|
62
63
|
SPANISH: "es",
|
|
63
64
|
TRADITIONAL_CHINESE: "zh_TW",
|
|
64
65
|
};
|
|
66
|
+
export const StatusReason = {
|
|
67
|
+
NO_DATA_OK: "no_data_ok",
|
|
68
|
+
};
|
|
65
69
|
export const ResourceStatus = {
|
|
66
70
|
ERROR: "error",
|
|
67
71
|
OK: "ok",
|
|
@@ -79,6 +79,7 @@ const _d = "description";
|
|
|
79
79
|
const _e = "error";
|
|
80
80
|
const _eC = "errorCount";
|
|
81
81
|
const _eCr = "errorCode";
|
|
82
|
+
const _eCx = "excludedCount";
|
|
82
83
|
const _eM = "errorMessage";
|
|
83
84
|
const _eMS = "estimatedMonthlySavings";
|
|
84
85
|
const _ePMS = "estimatedPercentMonthlySavings";
|
|
@@ -114,6 +115,7 @@ const _rRE = "recommendationResourceExclusions";
|
|
|
114
115
|
const _rRS = "recommendationResourceSummaries";
|
|
115
116
|
const _rS = "recommendationSummaries";
|
|
116
117
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.trustedadvisor";
|
|
118
|
+
const _sR = "statusReason";
|
|
117
119
|
const _se = "server";
|
|
118
120
|
const _so = "source";
|
|
119
121
|
const _st = "status";
|
|
@@ -204,8 +206,8 @@ export var GetOrganizationRecommendationResponse$ = [3, n0, _GORRe,
|
|
|
204
206
|
];
|
|
205
207
|
export var GetRecommendationRequest$ = [3, n0, _GRR,
|
|
206
208
|
0,
|
|
207
|
-
[_rI],
|
|
208
|
-
[[0, 1]], 1
|
|
209
|
+
[_rI, _l],
|
|
210
|
+
[[0, 1], [0, { [_hQ]: _l }]], 1
|
|
209
211
|
];
|
|
210
212
|
export var GetRecommendationResponse$ = [3, n0, _GRRe,
|
|
211
213
|
0,
|
|
@@ -254,8 +256,8 @@ export var ListOrganizationRecommendationsResponse$ = [3, n0, _LORRi,
|
|
|
254
256
|
];
|
|
255
257
|
export var ListRecommendationResourcesRequest$ = [3, n0, _LRRR,
|
|
256
258
|
0,
|
|
257
|
-
[_rI, _nT, _mR, _st, _eS, _rC],
|
|
258
|
-
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }]], 1
|
|
259
|
+
[_rI, _nT, _mR, _st, _eS, _rC, _l],
|
|
260
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }], [0, { [_hQ]: _l }]], 1
|
|
259
261
|
];
|
|
260
262
|
export var ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
|
|
261
263
|
0,
|
|
@@ -264,8 +266,8 @@ export var ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
|
|
|
264
266
|
];
|
|
265
267
|
export var ListRecommendationsRequest$ = [3, n0, _LRR,
|
|
266
268
|
0,
|
|
267
|
-
[_nT, _mR, _t, _st, _pi, _aSw, _so, _cI, _aLUA, _bLUA],
|
|
268
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _so }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }]]
|
|
269
|
+
[_nT, _mR, _t, _st, _pi, _aSw, _so, _cI, _aLUA, _bLUA, _l],
|
|
270
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _so }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }], [0, { [_hQ]: _l }]]
|
|
269
271
|
];
|
|
270
272
|
export var ListRecommendationsResponse$ = [3, n0, _LRRi,
|
|
271
273
|
0,
|
|
@@ -289,8 +291,8 @@ export var OrganizationRecommendationSummary$ = [3, n0, _ORS,
|
|
|
289
291
|
];
|
|
290
292
|
export var Recommendation$ = [3, n0, _R,
|
|
291
293
|
0,
|
|
292
|
-
[_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
|
|
293
|
-
[0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5, 0, 0, 0, [() => RecommendationUpdateReason, 0], 0, 5], 9
|
|
294
|
+
[_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _sR, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
|
|
295
|
+
[0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5, 0, 0, 0, 0, [() => RecommendationUpdateReason, 0], 0, 5], 9
|
|
294
296
|
];
|
|
295
297
|
export var RecommendationCostOptimizingAggregates$ = [3, n0, _RCOA,
|
|
296
298
|
0,
|
|
@@ -309,8 +311,8 @@ export var RecommendationResourceExclusion$ = [3, n0, _RRE,
|
|
|
309
311
|
];
|
|
310
312
|
export var RecommendationResourcesAggregates$ = [3, n0, _RRA,
|
|
311
313
|
0,
|
|
312
|
-
[_oC, _wC, _eC],
|
|
313
|
-
[1, 1, 1], 3
|
|
314
|
+
[_oC, _wC, _eC, _eCx],
|
|
315
|
+
[1, 1, 1, 1], 3
|
|
314
316
|
];
|
|
315
317
|
export var RecommendationResourceSummary$ = [3, n0, _RRS,
|
|
316
318
|
0,
|
|
@@ -319,8 +321,8 @@ export var RecommendationResourceSummary$ = [3, n0, _RRS,
|
|
|
319
321
|
];
|
|
320
322
|
export var RecommendationSummary$ = [3, n0, _RS,
|
|
321
323
|
0,
|
|
322
|
-
[_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
|
|
323
|
-
[0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5], 8
|
|
324
|
+
[_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA, _sR],
|
|
325
|
+
[0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5, 0], 8
|
|
324
326
|
];
|
|
325
327
|
export var UpdateOrganizationRecommendationLifecycleRequest$ = [3, n0, _UORLR,
|
|
326
328
|
0,
|
|
@@ -27,7 +27,7 @@ declare const BatchUpdateRecommendationResourceExclusionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Update one or more exclusion
|
|
30
|
+
* <p>Update one or more exclusion statuses for a list of recommendation resources. This API supports up to 25 unique recommendation resource ARNs per request. This API currently doesn't support prioritized recommendation resources. This API updates global recommendations, eliminating the need to call the API in each AWS Region. After submitting an exclusion update, note that it might take a few minutes for the changes to be reflected in the system.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const GetOrganizationRecommendationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized
|
|
31
|
-
* recommendations.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -53,7 +51,7 @@ declare const GetOrganizationRecommendationCommand_base: {
|
|
|
53
51
|
* // pillars: [ // RecommendationPillarList // required
|
|
54
52
|
* // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
55
53
|
* // ],
|
|
56
|
-
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
|
|
54
|
+
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub", // required
|
|
57
55
|
* // awsServices: [ // RecommendationAwsServiceList
|
|
58
56
|
* // "STRING_VALUE",
|
|
59
57
|
* // ],
|
|
@@ -62,6 +60,7 @@ declare const GetOrganizationRecommendationCommand_base: {
|
|
|
62
60
|
* // okCount: Number("long"), // required
|
|
63
61
|
* // warningCount: Number("long"), // required
|
|
64
62
|
* // errorCount: Number("long"), // required
|
|
63
|
+
* // excludedCount: Number("long"),
|
|
65
64
|
* // },
|
|
66
65
|
* // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
|
|
67
66
|
* // costOptimizing: { // RecommendationCostOptimizingAggregates
|
|
@@ -27,7 +27,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get a specific Recommendation
|
|
30
|
+
* <p>Get a specific Recommendation. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -38,6 +38,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
38
38
|
* const client = new TrustedAdvisorClient(config);
|
|
39
39
|
* const input = { // GetRecommendationRequest
|
|
40
40
|
* recommendationIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* language: "en" || "ja" || "zh" || "fr" || "de" || "ko" || "zh_TW" || "it" || "es" || "pt_BR" || "id",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new GetRecommendationCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -51,7 +52,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
51
52
|
* // pillars: [ // RecommendationPillarList // required
|
|
52
53
|
* // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
53
54
|
* // ],
|
|
54
|
-
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
|
|
55
|
+
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub", // required
|
|
55
56
|
* // awsServices: [ // RecommendationAwsServiceList
|
|
56
57
|
* // "STRING_VALUE",
|
|
57
58
|
* // ],
|
|
@@ -60,6 +61,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
60
61
|
* // okCount: Number("long"), // required
|
|
61
62
|
* // warningCount: Number("long"), // required
|
|
62
63
|
* // errorCount: Number("long"), // required
|
|
64
|
+
* // excludedCount: Number("long"),
|
|
63
65
|
* // },
|
|
64
66
|
* // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
|
|
65
67
|
* // costOptimizing: { // RecommendationCostOptimizingAggregates
|
|
@@ -70,6 +72,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
70
72
|
* // createdAt: new Date("TIMESTAMP"),
|
|
71
73
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
72
74
|
* // arn: "STRING_VALUE", // required
|
|
75
|
+
* // statusReason: "no_data_ok",
|
|
73
76
|
* // description: "STRING_VALUE", // required
|
|
74
77
|
* // createdBy: "STRING_VALUE",
|
|
75
78
|
* // updatedOnBehalfOf: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ declare const ListChecksCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List a filterable set of Checks
|
|
30
|
+
* <p>List a filterable set of Checks. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -41,7 +41,7 @@ declare const ListChecksCommand_base: {
|
|
|
41
41
|
* maxResults: Number("int"),
|
|
42
42
|
* pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
43
43
|
* awsService: "STRING_VALUE",
|
|
44
|
-
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
|
|
44
|
+
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub",
|
|
45
45
|
* language: "en" || "ja" || "zh" || "fr" || "de" || "ko" || "zh_TW" || "it" || "es" || "pt_BR" || "id",
|
|
46
46
|
* };
|
|
47
47
|
* const command = new ListChecksCommand(input);
|
|
@@ -60,7 +60,7 @@ declare const ListChecksCommand_base: {
|
|
|
60
60
|
* // awsServices: [ // RecommendationAwsServiceList // required
|
|
61
61
|
* // "STRING_VALUE",
|
|
62
62
|
* // ],
|
|
63
|
-
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
|
|
63
|
+
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub", // required
|
|
64
64
|
* // metadata: { // StringMap // required
|
|
65
65
|
* // "<keys>": "STRING_VALUE",
|
|
66
66
|
* // },
|
|
@@ -27,9 +27,7 @@ declare const ListOrganizationRecommendationAccountsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the accounts that own the resources for an organization aggregate recommendation. This API only
|
|
31
|
-
* supports prioritized recommendations.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const ListOrganizationRecommendationResourcesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List Resources of a Recommendation within an Organization. This API only supports prioritized
|
|
31
|
-
* recommendations.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const ListOrganizationRecommendationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List a filterable set of Recommendations within an Organization. This API only supports prioritized
|
|
31
|
-
* recommendations.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -45,7 +43,7 @@ declare const ListOrganizationRecommendationsCommand_base: {
|
|
|
45
43
|
* status: "ok" || "warning" || "error",
|
|
46
44
|
* pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
47
45
|
* awsService: "STRING_VALUE",
|
|
48
|
-
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
|
|
46
|
+
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub",
|
|
49
47
|
* checkIdentifier: "STRING_VALUE",
|
|
50
48
|
* afterLastUpdatedAt: new Date("TIMESTAMP"),
|
|
51
49
|
* beforeLastUpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -64,7 +62,7 @@ declare const ListOrganizationRecommendationsCommand_base: {
|
|
|
64
62
|
* // pillars: [ // RecommendationPillarList // required
|
|
65
63
|
* // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
66
64
|
* // ],
|
|
67
|
-
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
|
|
65
|
+
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub", // required
|
|
68
66
|
* // awsServices: [ // RecommendationAwsServiceList
|
|
69
67
|
* // "STRING_VALUE",
|
|
70
68
|
* // ],
|
|
@@ -73,6 +71,7 @@ declare const ListOrganizationRecommendationsCommand_base: {
|
|
|
73
71
|
* // okCount: Number("long"), // required
|
|
74
72
|
* // warningCount: Number("long"), // required
|
|
75
73
|
* // errorCount: Number("long"), // required
|
|
74
|
+
* // excludedCount: Number("long"),
|
|
76
75
|
* // },
|
|
77
76
|
* // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
|
|
78
77
|
* // costOptimizing: { // RecommendationCostOptimizingAggregates
|
|
@@ -27,7 +27,7 @@ declare const ListRecommendationResourcesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List Resources of a Recommendation
|
|
30
|
+
* <p>List Resources of a Recommendation. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -43,6 +43,7 @@ declare const ListRecommendationResourcesCommand_base: {
|
|
|
43
43
|
* exclusionStatus: "excluded" || "included",
|
|
44
44
|
* regionCode: "STRING_VALUE",
|
|
45
45
|
* recommendationIdentifier: "STRING_VALUE", // required
|
|
46
|
+
* language: "en" || "ja" || "zh" || "fr" || "de" || "ko" || "zh_TW" || "it" || "es" || "pt_BR" || "id",
|
|
46
47
|
* };
|
|
47
48
|
* const command = new ListRecommendationResourcesCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List a filterable set of Recommendations
|
|
30
|
+
* <p>List a filterable set of Recommendations. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -43,10 +43,11 @@ declare const ListRecommendationsCommand_base: {
|
|
|
43
43
|
* status: "ok" || "warning" || "error",
|
|
44
44
|
* pillar: "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
45
45
|
* awsService: "STRING_VALUE",
|
|
46
|
-
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected",
|
|
46
|
+
* source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub",
|
|
47
47
|
* checkIdentifier: "STRING_VALUE",
|
|
48
48
|
* afterLastUpdatedAt: new Date("TIMESTAMP"),
|
|
49
49
|
* beforeLastUpdatedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* language: "en" || "ja" || "zh" || "fr" || "de" || "ko" || "zh_TW" || "it" || "es" || "pt_BR" || "id",
|
|
50
51
|
* };
|
|
51
52
|
* const command = new ListRecommendationsCommand(input);
|
|
52
53
|
* const response = await client.send(command);
|
|
@@ -62,7 +63,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
62
63
|
* // pillars: [ // RecommendationPillarList // required
|
|
63
64
|
* // "cost_optimizing" || "performance" || "security" || "service_limits" || "fault_tolerance" || "operational_excellence",
|
|
64
65
|
* // ],
|
|
65
|
-
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected", // required
|
|
66
|
+
* // source: "aws_config" || "compute_optimizer" || "cost_explorer" || "lse" || "manual" || "pse" || "rds" || "resilience" || "resilience_hub" || "security_hub" || "stir" || "ta_check" || "well_architected" || "cost_optimization_hub", // required
|
|
66
67
|
* // awsServices: [ // RecommendationAwsServiceList
|
|
67
68
|
* // "STRING_VALUE",
|
|
68
69
|
* // ],
|
|
@@ -71,6 +72,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
71
72
|
* // okCount: Number("long"), // required
|
|
72
73
|
* // warningCount: Number("long"), // required
|
|
73
74
|
* // errorCount: Number("long"), // required
|
|
75
|
+
* // excludedCount: Number("long"),
|
|
74
76
|
* // },
|
|
75
77
|
* // pillarSpecificAggregates: { // RecommendationPillarSpecificAggregates
|
|
76
78
|
* // costOptimizing: { // RecommendationCostOptimizingAggregates
|
|
@@ -81,6 +83,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
81
83
|
* // createdAt: new Date("TIMESTAMP"),
|
|
82
84
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
83
85
|
* // arn: "STRING_VALUE", // required
|
|
86
|
+
* // statusReason: "no_data_ok",
|
|
84
87
|
* // },
|
|
85
88
|
* // ],
|
|
86
89
|
* // };
|
|
@@ -27,9 +27,7 @@ declare const UpdateOrganizationRecommendationLifecycleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized
|
|
31
|
-
* recommendations.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized recommendations and updates global priority recommendations, eliminating the need to call the API in each AWS Region. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UpdateRecommendationLifecycleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.</p>
|
|
30
|
+
* <p>Update the lifecyle of a Recommendation. This API only supports prioritized recommendations and updates global priority recommendations, eliminating the need to call the API in each AWS Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -53,6 +53,7 @@ export declare const RecommendationSource: {
|
|
|
53
53
|
readonly AWS_CONFIG: "aws_config";
|
|
54
54
|
readonly COMPUTE_OPTIMIZER: "compute_optimizer";
|
|
55
55
|
readonly COST_EXPLORER: "cost_explorer";
|
|
56
|
+
readonly COST_OPTIMIZATION_HUB: "cost_optimization_hub";
|
|
56
57
|
readonly LSE: "lse";
|
|
57
58
|
readonly MANUAL: "manual";
|
|
58
59
|
readonly PSE: "pse";
|
|
@@ -126,6 +127,17 @@ export declare const RecommendationLanguage: {
|
|
|
126
127
|
* @public
|
|
127
128
|
*/
|
|
128
129
|
export type RecommendationLanguage = (typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* @enum
|
|
133
|
+
*/
|
|
134
|
+
export declare const StatusReason: {
|
|
135
|
+
readonly NO_DATA_OK: "no_data_ok";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type StatusReason = (typeof StatusReason)[keyof typeof StatusReason];
|
|
129
141
|
/**
|
|
130
142
|
* @public
|
|
131
143
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExclusionStatus, RecommendationLanguage, RecommendationLifecycleStage, RecommendationPillar, RecommendationSource, RecommendationStatus, RecommendationType, ResourceStatus, UpdateRecommendationLifecycleStage, UpdateRecommendationLifecycleStageReasonCode } from "./enums";
|
|
1
|
+
import { ExclusionStatus, RecommendationLanguage, RecommendationLifecycleStage, RecommendationPillar, RecommendationSource, RecommendationStatus, RecommendationType, ResourceStatus, StatusReason, UpdateRecommendationLifecycleStage, UpdateRecommendationLifecycleStageReasonCode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Summary of an AccountRecommendationLifecycle for an Organization Recommendation</p>
|
|
4
4
|
* @public
|
|
@@ -20,18 +20,12 @@ export interface AccountRecommendationLifecycleSummary {
|
|
|
20
20
|
*/
|
|
21
21
|
lifecycleStage?: RecommendationLifecycleStage | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* <p>The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information
|
|
24
|
-
* is only available when a Technical Account Manager takes an action on a recommendation managed by AWS
|
|
25
|
-
* Trusted Advisor Priority
|
|
26
|
-
* </p>
|
|
23
|
+
* <p>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 </p>
|
|
27
24
|
* @public
|
|
28
25
|
*/
|
|
29
26
|
updatedOnBehalfOf?: string | undefined;
|
|
30
27
|
/**
|
|
31
|
-
* <p>The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
|
32
|
-
* This information is only available when a Technical Account Manager takes an action on a recommendation
|
|
33
|
-
* managed by AWS Trusted Advisor Priority
|
|
34
|
-
* </p>
|
|
28
|
+
* <p>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 </p>
|
|
35
29
|
* @public
|
|
36
30
|
*/
|
|
37
31
|
updatedOnBehalfOfJobTitle?: string | undefined;
|
|
@@ -202,8 +196,7 @@ export interface RecommendationResourcesAggregates {
|
|
|
202
196
|
*/
|
|
203
197
|
okCount: number | undefined;
|
|
204
198
|
/**
|
|
205
|
-
* <p>The number of AWS resources that were flagged to have warning according to the Trusted Advisor check
|
|
206
|
-
* </p>
|
|
199
|
+
* <p>The number of AWS resources that were flagged to have warning according to the Trusted Advisor check </p>
|
|
207
200
|
* @public
|
|
208
201
|
*/
|
|
209
202
|
warningCount: number | undefined;
|
|
@@ -212,6 +205,11 @@ export interface RecommendationResourcesAggregates {
|
|
|
212
205
|
* @public
|
|
213
206
|
*/
|
|
214
207
|
errorCount: number | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>The number of AWS resources belonging to this Trusted Advisor check that were excluded by the customer</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
excludedCount?: number | undefined;
|
|
215
213
|
}
|
|
216
214
|
/**
|
|
217
215
|
* <p>A Recommendation for accounts within an Organization</p>
|
|
@@ -299,18 +297,12 @@ export interface OrganizationRecommendation {
|
|
|
299
297
|
*/
|
|
300
298
|
createdBy?: string | undefined;
|
|
301
299
|
/**
|
|
302
|
-
* <p>The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information
|
|
303
|
-
* is only available when a Technical Account Manager takes an action on a recommendation managed by AWS
|
|
304
|
-
* Trusted Advisor Priority
|
|
305
|
-
* </p>
|
|
300
|
+
* <p>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 </p>
|
|
306
301
|
* @public
|
|
307
302
|
*/
|
|
308
303
|
updatedOnBehalfOf?: string | undefined;
|
|
309
304
|
/**
|
|
310
|
-
* <p>The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
|
311
|
-
* This information is only available when a Technical Account Manager takes an action on a recommendation
|
|
312
|
-
* managed by AWS Trusted Advisor Priority
|
|
313
|
-
* </p>
|
|
305
|
+
* <p>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 </p>
|
|
314
306
|
* @public
|
|
315
307
|
*/
|
|
316
308
|
updatedOnBehalfOfJobTitle?: string | undefined;
|
|
@@ -349,6 +341,11 @@ export interface GetRecommendationRequest {
|
|
|
349
341
|
* @public
|
|
350
342
|
*/
|
|
351
343
|
recommendationIdentifier: string | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* <p>The ISO 639-1 code for the language that you want your recommendations to appear in.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
language?: RecommendationLanguage | undefined;
|
|
352
349
|
}
|
|
353
350
|
/**
|
|
354
351
|
* <p>A Recommendation for an Account</p>
|
|
@@ -425,6 +422,11 @@ export interface Recommendation {
|
|
|
425
422
|
* @public
|
|
426
423
|
*/
|
|
427
424
|
arn: string | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* <p>This attribute provides additional details about potential discrepancies in check status determination.</p>
|
|
427
|
+
* @public
|
|
428
|
+
*/
|
|
429
|
+
statusReason?: StatusReason | undefined;
|
|
428
430
|
/**
|
|
429
431
|
* <p>A description for AWS Trusted Advisor recommendations</p>
|
|
430
432
|
* @public
|
|
@@ -436,18 +438,12 @@ export interface Recommendation {
|
|
|
436
438
|
*/
|
|
437
439
|
createdBy?: string | undefined;
|
|
438
440
|
/**
|
|
439
|
-
* <p>The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information
|
|
440
|
-
* is only available when a Technical Account Manager takes an action on a recommendation managed by AWS
|
|
441
|
-
* Trusted Advisor Priority
|
|
442
|
-
* </p>
|
|
441
|
+
* <p>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 </p>
|
|
443
442
|
* @public
|
|
444
443
|
*/
|
|
445
444
|
updatedOnBehalfOf?: string | undefined;
|
|
446
445
|
/**
|
|
447
|
-
* <p>The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation.
|
|
448
|
-
* This information is only available when a Technical Account Manager takes an action on a recommendation
|
|
449
|
-
* managed by AWS Trusted Advisor Priority
|
|
450
|
-
* </p>
|
|
446
|
+
* <p>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 </p>
|
|
451
447
|
* @public
|
|
452
448
|
*/
|
|
453
449
|
updatedOnBehalfOfJobTitle?: string | undefined;
|
|
@@ -482,9 +478,7 @@ export interface GetRecommendationResponse {
|
|
|
482
478
|
*/
|
|
483
479
|
export interface ListChecksRequest {
|
|
484
480
|
/**
|
|
485
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
486
|
-
* to retrieve the next set of results.
|
|
487
|
-
* </p>
|
|
481
|
+
* <p>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. </p>
|
|
488
482
|
* @public
|
|
489
483
|
*/
|
|
490
484
|
nextToken?: string | undefined;
|
|
@@ -519,9 +513,7 @@ export interface ListChecksRequest {
|
|
|
519
513
|
*/
|
|
520
514
|
export interface ListChecksResponse {
|
|
521
515
|
/**
|
|
522
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
523
|
-
* to retrieve the next set of results.
|
|
524
|
-
* </p>
|
|
516
|
+
* <p>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. </p>
|
|
525
517
|
* @public
|
|
526
518
|
*/
|
|
527
519
|
nextToken?: string | undefined;
|
|
@@ -536,9 +528,7 @@ export interface ListChecksResponse {
|
|
|
536
528
|
*/
|
|
537
529
|
export interface ListOrganizationRecommendationAccountsRequest {
|
|
538
530
|
/**
|
|
539
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
540
|
-
* to retrieve the next set of results.
|
|
541
|
-
* </p>
|
|
531
|
+
* <p>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. </p>
|
|
542
532
|
* @public
|
|
543
533
|
*/
|
|
544
534
|
nextToken?: string | undefined;
|
|
@@ -563,9 +553,7 @@ export interface ListOrganizationRecommendationAccountsRequest {
|
|
|
563
553
|
*/
|
|
564
554
|
export interface ListOrganizationRecommendationAccountsResponse {
|
|
565
555
|
/**
|
|
566
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
567
|
-
* to retrieve the next set of results.
|
|
568
|
-
* </p>
|
|
556
|
+
* <p>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. </p>
|
|
569
557
|
* @public
|
|
570
558
|
*/
|
|
571
559
|
nextToken?: string | undefined;
|
|
@@ -580,9 +568,7 @@ export interface ListOrganizationRecommendationAccountsResponse {
|
|
|
580
568
|
*/
|
|
581
569
|
export interface ListOrganizationRecommendationResourcesRequest {
|
|
582
570
|
/**
|
|
583
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
584
|
-
* to retrieve the next set of results.
|
|
585
|
-
* </p>
|
|
571
|
+
* <p>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. </p>
|
|
586
572
|
* @public
|
|
587
573
|
*/
|
|
588
574
|
nextToken?: string | undefined;
|
|
@@ -633,7 +619,7 @@ export interface OrganizationRecommendationResourceSummary {
|
|
|
633
619
|
*/
|
|
634
620
|
arn: string | undefined;
|
|
635
621
|
/**
|
|
636
|
-
* <p>The AWS resource identifier
|
|
622
|
+
* <p>The AWS resource identifier. There are certain checks that generate recommendation resources without an awsResourceId.</p>
|
|
637
623
|
* @public
|
|
638
624
|
*/
|
|
639
625
|
awsResourceId: string | undefined;
|
|
@@ -678,9 +664,7 @@ export interface OrganizationRecommendationResourceSummary {
|
|
|
678
664
|
*/
|
|
679
665
|
export interface ListOrganizationRecommendationResourcesResponse {
|
|
680
666
|
/**
|
|
681
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
682
|
-
* to retrieve the next set of results.
|
|
683
|
-
* </p>
|
|
667
|
+
* <p>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. </p>
|
|
684
668
|
* @public
|
|
685
669
|
*/
|
|
686
670
|
nextToken?: string | undefined;
|
|
@@ -695,9 +679,7 @@ export interface ListOrganizationRecommendationResourcesResponse {
|
|
|
695
679
|
*/
|
|
696
680
|
export interface ListOrganizationRecommendationsRequest {
|
|
697
681
|
/**
|
|
698
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
699
|
-
* to retrieve the next set of results.
|
|
700
|
-
* </p>
|
|
682
|
+
* <p>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. </p>
|
|
701
683
|
* @public
|
|
702
684
|
*/
|
|
703
685
|
nextToken?: string | undefined;
|
|
@@ -828,9 +810,7 @@ export interface OrganizationRecommendationSummary {
|
|
|
828
810
|
*/
|
|
829
811
|
export interface ListOrganizationRecommendationsResponse {
|
|
830
812
|
/**
|
|
831
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
832
|
-
* to retrieve the next set of results.
|
|
833
|
-
* </p>
|
|
813
|
+
* <p>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. </p>
|
|
834
814
|
* @public
|
|
835
815
|
*/
|
|
836
816
|
nextToken?: string | undefined;
|
|
@@ -845,9 +825,7 @@ export interface ListOrganizationRecommendationsResponse {
|
|
|
845
825
|
*/
|
|
846
826
|
export interface ListRecommendationResourcesRequest {
|
|
847
827
|
/**
|
|
848
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
849
|
-
* to retrieve the next set of results.
|
|
850
|
-
* </p>
|
|
828
|
+
* <p>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. </p>
|
|
851
829
|
* @public
|
|
852
830
|
*/
|
|
853
831
|
nextToken?: string | undefined;
|
|
@@ -876,6 +854,11 @@ export interface ListRecommendationResourcesRequest {
|
|
|
876
854
|
* @public
|
|
877
855
|
*/
|
|
878
856
|
recommendationIdentifier: string | undefined;
|
|
857
|
+
/**
|
|
858
|
+
* <p>The ISO 639-1 code for the language that you want your recommendations to appear in.</p>
|
|
859
|
+
* @public
|
|
860
|
+
*/
|
|
861
|
+
language?: RecommendationLanguage | undefined;
|
|
879
862
|
}
|
|
880
863
|
/**
|
|
881
864
|
* <p>Summary of a Recommendation Resource</p>
|
|
@@ -893,7 +876,7 @@ export interface RecommendationResourceSummary {
|
|
|
893
876
|
*/
|
|
894
877
|
arn: string | undefined;
|
|
895
878
|
/**
|
|
896
|
-
* <p>The AWS resource identifier
|
|
879
|
+
* <p>The AWS resource identifier. There are certain checks that generate recommendation resources without an awsResourceId.</p>
|
|
897
880
|
* @public
|
|
898
881
|
*/
|
|
899
882
|
awsResourceId: string | undefined;
|
|
@@ -933,9 +916,7 @@ export interface RecommendationResourceSummary {
|
|
|
933
916
|
*/
|
|
934
917
|
export interface ListRecommendationResourcesResponse {
|
|
935
918
|
/**
|
|
936
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
937
|
-
* to retrieve the next set of results.
|
|
938
|
-
* </p>
|
|
919
|
+
* <p>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. </p>
|
|
939
920
|
* @public
|
|
940
921
|
*/
|
|
941
922
|
nextToken?: string | undefined;
|
|
@@ -950,9 +931,7 @@ export interface ListRecommendationResourcesResponse {
|
|
|
950
931
|
*/
|
|
951
932
|
export interface ListRecommendationsRequest {
|
|
952
933
|
/**
|
|
953
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
954
|
-
* to retrieve the next set of results.
|
|
955
|
-
* </p>
|
|
934
|
+
* <p>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. </p>
|
|
956
935
|
* @public
|
|
957
936
|
*/
|
|
958
937
|
nextToken?: string | undefined;
|
|
@@ -1001,6 +980,11 @@ export interface ListRecommendationsRequest {
|
|
|
1001
980
|
* @public
|
|
1002
981
|
*/
|
|
1003
982
|
beforeLastUpdatedAt?: Date | undefined;
|
|
983
|
+
/**
|
|
984
|
+
* <p>The ISO 639-1 code for the language that you want your recommendations to appear in.</p>
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
language?: RecommendationLanguage | undefined;
|
|
1004
988
|
}
|
|
1005
989
|
/**
|
|
1006
990
|
* <p>Summary of Recommendation for an Account</p>
|
|
@@ -1077,15 +1061,18 @@ export interface RecommendationSummary {
|
|
|
1077
1061
|
* @public
|
|
1078
1062
|
*/
|
|
1079
1063
|
arn: string | undefined;
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>This attribute provides additional details about potential discrepancies in check status determination.</p>
|
|
1066
|
+
* @public
|
|
1067
|
+
*/
|
|
1068
|
+
statusReason?: StatusReason | undefined;
|
|
1080
1069
|
}
|
|
1081
1070
|
/**
|
|
1082
1071
|
* @public
|
|
1083
1072
|
*/
|
|
1084
1073
|
export interface ListRecommendationsResponse {
|
|
1085
1074
|
/**
|
|
1086
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request
|
|
1087
|
-
* to retrieve the next set of results.
|
|
1088
|
-
* </p>
|
|
1075
|
+
* <p>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. </p>
|
|
1089
1076
|
* @public
|
|
1090
1077
|
*/
|
|
1091
1078
|
nextToken?: string | undefined;
|
|
@@ -31,6 +31,7 @@ export declare const RecommendationSource: {
|
|
|
31
31
|
readonly AWS_CONFIG: "aws_config";
|
|
32
32
|
readonly COMPUTE_OPTIMIZER: "compute_optimizer";
|
|
33
33
|
readonly COST_EXPLORER: "cost_explorer";
|
|
34
|
+
readonly COST_OPTIMIZATION_HUB: "cost_optimization_hub";
|
|
34
35
|
readonly LSE: "lse";
|
|
35
36
|
readonly MANUAL: "manual";
|
|
36
37
|
readonly PSE: "pse";
|
|
@@ -78,6 +79,10 @@ export declare const RecommendationLanguage: {
|
|
|
78
79
|
};
|
|
79
80
|
export type RecommendationLanguage =
|
|
80
81
|
(typeof RecommendationLanguage)[keyof typeof RecommendationLanguage];
|
|
82
|
+
export declare const StatusReason: {
|
|
83
|
+
readonly NO_DATA_OK: "no_data_ok";
|
|
84
|
+
};
|
|
85
|
+
export type StatusReason = (typeof StatusReason)[keyof typeof StatusReason];
|
|
81
86
|
export declare const ResourceStatus: {
|
|
82
87
|
readonly ERROR: "error";
|
|
83
88
|
readonly OK: "ok";
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
RecommendationStatus,
|
|
8
8
|
RecommendationType,
|
|
9
9
|
ResourceStatus,
|
|
10
|
+
StatusReason,
|
|
10
11
|
UpdateRecommendationLifecycleStage,
|
|
11
12
|
UpdateRecommendationLifecycleStageReasonCode,
|
|
12
13
|
} from "./enums";
|
|
@@ -63,6 +64,7 @@ export interface RecommendationResourcesAggregates {
|
|
|
63
64
|
okCount: number | undefined;
|
|
64
65
|
warningCount: number | undefined;
|
|
65
66
|
errorCount: number | undefined;
|
|
67
|
+
excludedCount?: number | undefined;
|
|
66
68
|
}
|
|
67
69
|
export interface OrganizationRecommendation {
|
|
68
70
|
id: string | undefined;
|
|
@@ -92,6 +94,7 @@ export interface GetOrganizationRecommendationResponse {
|
|
|
92
94
|
}
|
|
93
95
|
export interface GetRecommendationRequest {
|
|
94
96
|
recommendationIdentifier: string | undefined;
|
|
97
|
+
language?: RecommendationLanguage | undefined;
|
|
95
98
|
}
|
|
96
99
|
export interface Recommendation {
|
|
97
100
|
id: string | undefined;
|
|
@@ -108,6 +111,7 @@ export interface Recommendation {
|
|
|
108
111
|
createdAt?: Date | undefined;
|
|
109
112
|
lastUpdatedAt?: Date | undefined;
|
|
110
113
|
arn: string | undefined;
|
|
114
|
+
statusReason?: StatusReason | undefined;
|
|
111
115
|
description: string | undefined;
|
|
112
116
|
createdBy?: string | undefined;
|
|
113
117
|
updatedOnBehalfOf?: string | undefined;
|
|
@@ -211,6 +215,7 @@ export interface ListRecommendationResourcesRequest {
|
|
|
211
215
|
exclusionStatus?: ExclusionStatus | undefined;
|
|
212
216
|
regionCode?: string | undefined;
|
|
213
217
|
recommendationIdentifier: string | undefined;
|
|
218
|
+
language?: RecommendationLanguage | undefined;
|
|
214
219
|
}
|
|
215
220
|
export interface RecommendationResourceSummary {
|
|
216
221
|
id: string | undefined;
|
|
@@ -238,6 +243,7 @@ export interface ListRecommendationsRequest {
|
|
|
238
243
|
checkIdentifier?: string | undefined;
|
|
239
244
|
afterLastUpdatedAt?: Date | undefined;
|
|
240
245
|
beforeLastUpdatedAt?: Date | undefined;
|
|
246
|
+
language?: RecommendationLanguage | undefined;
|
|
241
247
|
}
|
|
242
248
|
export interface RecommendationSummary {
|
|
243
249
|
id: string | undefined;
|
|
@@ -254,6 +260,7 @@ export interface RecommendationSummary {
|
|
|
254
260
|
createdAt?: Date | undefined;
|
|
255
261
|
lastUpdatedAt?: Date | undefined;
|
|
256
262
|
arn: string | undefined;
|
|
263
|
+
statusReason?: StatusReason | undefined;
|
|
257
264
|
}
|
|
258
265
|
export interface ListRecommendationsResponse {
|
|
259
266
|
nextToken?: 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.995.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-trustedadvisor",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "^3.972.11",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.995.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.10",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
36
|
"@smithy/core": "^3.23.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|