@aws-sdk/client-trustedadvisor 3.986.0 → 3.988.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.
@@ -113,9 +113,9 @@ const _rI = "recommendationIdentifier";
113
113
  const _rRE = "recommendationResourceExclusions";
114
114
  const _rRS = "recommendationResourceSummaries";
115
115
  const _rS = "recommendationSummaries";
116
- const _s = "source";
116
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.trustedadvisor";
117
117
  const _se = "server";
118
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.trustedadvisor";
118
+ const _so = "source";
119
119
  const _st = "status";
120
120
  const _t = "type";
121
121
  const _uOBO = "updatedOnBehalfOf";
@@ -127,13 +127,51 @@ const n0 = "com.amazonaws.trustedadvisor";
127
127
  import { TypeRegistry } from "@smithy/core/schema";
128
128
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
129
129
  import { TrustedAdvisorServiceException } from "../models/TrustedAdvisorServiceException";
130
- var RecommendationUpdateReason = [0, n0, _RUR, 8, 0];
130
+ const _s_registry = TypeRegistry.for(_s);
131
+ export var TrustedAdvisorServiceException$ = [-3, _s, "TrustedAdvisorServiceException", 0, [], []];
132
+ _s_registry.registerError(TrustedAdvisorServiceException$, TrustedAdvisorServiceException);
133
+ const n0_registry = TypeRegistry.for(n0);
131
134
  export var AccessDeniedException$ = [-3, n0, _ADE,
132
135
  { [_e]: _c, [_hE]: 403 },
133
136
  [_m],
134
137
  [0], 1
135
138
  ];
136
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
139
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
140
+ export var ConflictException$ = [-3, n0, _CE,
141
+ { [_e]: _c, [_hE]: 409 },
142
+ [_m],
143
+ [0], 1
144
+ ];
145
+ n0_registry.registerError(ConflictException$, ConflictException);
146
+ export var InternalServerException$ = [-3, n0, _ISE,
147
+ { [_e]: _se, [_hE]: 500 },
148
+ [_m],
149
+ [0], 1
150
+ ];
151
+ n0_registry.registerError(InternalServerException$, InternalServerException);
152
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
153
+ { [_e]: _c, [_hE]: 404 },
154
+ [_m],
155
+ [0], 1
156
+ ];
157
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
158
+ export var ThrottlingException$ = [-3, n0, _TE,
159
+ { [_e]: _c, [_hE]: 429 },
160
+ [_m],
161
+ [0], 1
162
+ ];
163
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
164
+ export var ValidationException$ = [-3, n0, _VE,
165
+ { [_e]: _c, [_hE]: 400 },
166
+ [_m],
167
+ [0], 1
168
+ ];
169
+ n0_registry.registerError(ValidationException$, ValidationException);
170
+ export const errorTypeRegistries = [
171
+ _s_registry,
172
+ n0_registry,
173
+ ];
174
+ var RecommendationUpdateReason = [0, n0, _RUR, 8, 0];
137
175
  export var AccountRecommendationLifecycleSummary$ = [3, n0, _ARLS,
138
176
  0,
139
177
  [_aI, _aRA, _lS, _uOBO, _uOBOJT, _uR, _uRC, _lUA],
@@ -151,15 +189,9 @@ export var BatchUpdateRecommendationResourceExclusionResponse$ = [3, n0, _BURRER
151
189
  ];
152
190
  export var CheckSummary$ = [3, n0, _CS,
153
191
  0,
154
- [_i, _a, _n, _d, _p, _aS, _s, _me],
192
+ [_i, _a, _n, _d, _p, _aS, _so, _me],
155
193
  [0, 0, 0, 0, 64 | 0, 64 | 0, 0, 128 | 0], 8
156
194
  ];
157
- export var ConflictException$ = [-3, n0, _CE,
158
- { [_e]: _c, [_hE]: 409 },
159
- [_m],
160
- [0], 1
161
- ];
162
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
163
195
  export var GetOrganizationRecommendationRequest$ = [3, n0, _GORR,
164
196
  0,
165
197
  [_oRI],
@@ -180,16 +212,10 @@ export var GetRecommendationResponse$ = [3, n0, _GRRe,
180
212
  [_r],
181
213
  [[() => Recommendation$, 0]]
182
214
  ];
183
- export var InternalServerException$ = [-3, n0, _ISE,
184
- { [_e]: _se, [_hE]: 500 },
185
- [_m],
186
- [0], 1
187
- ];
188
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
189
215
  export var ListChecksRequest$ = [3, n0, _LCR,
190
216
  0,
191
- [_nT, _mR, _pi, _aSw, _s, _l],
192
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _s }], [0, { [_hQ]: _l }]]
217
+ [_nT, _mR, _pi, _aSw, _so, _l],
218
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _so }], [0, { [_hQ]: _l }]]
193
219
  ];
194
220
  export var ListChecksResponse$ = [3, n0, _LCRi,
195
221
  0,
@@ -218,8 +244,8 @@ export var ListOrganizationRecommendationResourcesResponse$ = [3, n0, _LORRRi,
218
244
  ];
219
245
  export var ListOrganizationRecommendationsRequest$ = [3, n0, _LORR,
220
246
  0,
221
- [_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
222
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _s }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }]]
247
+ [_nT, _mR, _t, _st, _pi, _aSw, _so, _cI, _aLUA, _bLUA],
248
+ [[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 }]]
223
249
  ];
224
250
  export var ListOrganizationRecommendationsResponse$ = [3, n0, _LORRi,
225
251
  0,
@@ -238,8 +264,8 @@ export var ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
238
264
  ];
239
265
  export var ListRecommendationsRequest$ = [3, n0, _LRR,
240
266
  0,
241
- [_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
242
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _t }], [0, { [_hQ]: _st }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _s }], [0, { [_hQ]: _cI }], [4, { [_hQ]: _aLUA }], [4, { [_hQ]: _bLUA }]]
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 }]]
243
269
  ];
244
270
  export var ListRecommendationsResponse$ = [3, n0, _LRRi,
245
271
  0,
@@ -248,7 +274,7 @@ export var ListRecommendationsResponse$ = [3, n0, _LRRi,
248
274
  ];
249
275
  export var OrganizationRecommendation$ = [3, n0, _OR,
250
276
  0,
251
- [_i, _t, _st, _p, _s, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
277
+ [_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
252
278
  [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
253
279
  ];
254
280
  export var OrganizationRecommendationResourceSummary$ = [3, n0, _ORRS,
@@ -258,12 +284,12 @@ export var OrganizationRecommendationResourceSummary$ = [3, n0, _ORRS,
258
284
  ];
259
285
  export var OrganizationRecommendationSummary$ = [3, n0, _ORS,
260
286
  0,
261
- [_i, _t, _st, _p, _s, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
287
+ [_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
262
288
  [0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5], 8
263
289
  ];
264
290
  export var Recommendation$ = [3, n0, _R,
265
291
  0,
266
- [_i, _t, _st, _p, _s, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
292
+ [_i, _t, _st, _p, _so, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
267
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
268
294
  ];
269
295
  export var RecommendationCostOptimizingAggregates$ = [3, n0, _RCOA,
@@ -293,21 +319,9 @@ export var RecommendationResourceSummary$ = [3, n0, _RRS,
293
319
  ];
294
320
  export var RecommendationSummary$ = [3, n0, _RS,
295
321
  0,
296
- [_i, _t, _st, _p, _s, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
322
+ [_i, _t, _st, _p, _so, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
297
323
  [0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5], 8
298
324
  ];
299
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
300
- { [_e]: _c, [_hE]: 404 },
301
- [_m],
302
- [0], 1
303
- ];
304
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
305
- export var ThrottlingException$ = [-3, n0, _TE,
306
- { [_e]: _c, [_hE]: 429 },
307
- [_m],
308
- [0], 1
309
- ];
310
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
311
325
  export var UpdateOrganizationRecommendationLifecycleRequest$ = [3, n0, _UORLR,
312
326
  0,
313
327
  [_lS, _oRI, _uR, _uRC],
@@ -323,15 +337,7 @@ export var UpdateRecommendationResourceExclusionError$ = [3, n0, _URREE,
323
337
  [_a, _eCr, _eM],
324
338
  [0, 0, 0]
325
339
  ];
326
- export var ValidationException$ = [-3, n0, _VE,
327
- { [_e]: _c, [_hE]: 400 },
328
- [_m],
329
- [0], 1
330
- ];
331
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
332
340
  var __Unit = "unit";
333
- export var TrustedAdvisorServiceException$ = [-3, _sm, "TrustedAdvisorServiceException", 0, [], []];
334
- TypeRegistry.for(_sm).registerError(TrustedAdvisorServiceException$, TrustedAdvisorServiceException);
335
341
  var AccountRecommendationLifecycleSummaryList = [1, n0, _ARLSL,
336
342
  0, [() => AccountRecommendationLifecycleSummary$,
337
343
  0]
@@ -1,15 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var TrustedAdvisorServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ThrottlingException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AccountRecommendationLifecycleSummary$: StaticStructureSchema;
4
17
  export declare var BatchUpdateRecommendationResourceExclusionRequest$: StaticStructureSchema;
5
18
  export declare var BatchUpdateRecommendationResourceExclusionResponse$: StaticStructureSchema;
6
19
  export declare var CheckSummary$: StaticStructureSchema;
7
- export declare var ConflictException$: StaticErrorSchema;
8
20
  export declare var GetOrganizationRecommendationRequest$: StaticStructureSchema;
9
21
  export declare var GetOrganizationRecommendationResponse$: StaticStructureSchema;
10
22
  export declare var GetRecommendationRequest$: StaticStructureSchema;
11
23
  export declare var GetRecommendationResponse$: StaticStructureSchema;
12
- export declare var InternalServerException$: StaticErrorSchema;
13
24
  export declare var ListChecksRequest$: StaticStructureSchema;
14
25
  export declare var ListChecksResponse$: StaticStructureSchema;
15
26
  export declare var ListOrganizationRecommendationAccountsRequest$: StaticStructureSchema;
@@ -32,13 +43,9 @@ export declare var RecommendationResourceExclusion$: StaticStructureSchema;
32
43
  export declare var RecommendationResourcesAggregates$: StaticStructureSchema;
33
44
  export declare var RecommendationResourceSummary$: StaticStructureSchema;
34
45
  export declare var RecommendationSummary$: StaticStructureSchema;
35
- export declare var ResourceNotFoundException$: StaticErrorSchema;
36
- export declare var ThrottlingException$: StaticErrorSchema;
37
46
  export declare var UpdateOrganizationRecommendationLifecycleRequest$: StaticStructureSchema;
38
47
  export declare var UpdateRecommendationLifecycleRequest$: StaticStructureSchema;
39
48
  export declare var UpdateRecommendationResourceExclusionError$: StaticStructureSchema;
40
- export declare var ValidationException$: StaticErrorSchema;
41
- export declare var TrustedAdvisorServiceException$: StaticErrorSchema;
42
49
  export declare var BatchUpdateRecommendationResourceExclusion$: StaticOperationSchema;
43
50
  export declare var GetOrganizationRecommendation$: StaticOperationSchema;
44
51
  export declare var GetRecommendation$: StaticOperationSchema;
@@ -1,19 +1,25 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var TrustedAdvisorServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
7
15
  export declare var AccountRecommendationLifecycleSummary$: StaticStructureSchema;
8
16
  export declare var BatchUpdateRecommendationResourceExclusionRequest$: StaticStructureSchema;
9
17
  export declare var BatchUpdateRecommendationResourceExclusionResponse$: StaticStructureSchema;
10
18
  export declare var CheckSummary$: StaticStructureSchema;
11
- export declare var ConflictException$: StaticErrorSchema;
12
19
  export declare var GetOrganizationRecommendationRequest$: StaticStructureSchema;
13
20
  export declare var GetOrganizationRecommendationResponse$: StaticStructureSchema;
14
21
  export declare var GetRecommendationRequest$: StaticStructureSchema;
15
22
  export declare var GetRecommendationResponse$: StaticStructureSchema;
16
- export declare var InternalServerException$: StaticErrorSchema;
17
23
  export declare var ListChecksRequest$: StaticStructureSchema;
18
24
  export declare var ListChecksResponse$: StaticStructureSchema;
19
25
  export declare var ListOrganizationRecommendationAccountsRequest$: StaticStructureSchema;
@@ -36,13 +42,9 @@ export declare var RecommendationResourceExclusion$: StaticStructureSchema;
36
42
  export declare var RecommendationResourcesAggregates$: StaticStructureSchema;
37
43
  export declare var RecommendationResourceSummary$: StaticStructureSchema;
38
44
  export declare var RecommendationSummary$: StaticStructureSchema;
39
- export declare var ResourceNotFoundException$: StaticErrorSchema;
40
- export declare var ThrottlingException$: StaticErrorSchema;
41
45
  export declare var UpdateOrganizationRecommendationLifecycleRequest$: StaticStructureSchema;
42
46
  export declare var UpdateRecommendationLifecycleRequest$: StaticStructureSchema;
43
47
  export declare var UpdateRecommendationResourceExclusionError$: StaticStructureSchema;
44
- export declare var ValidationException$: StaticErrorSchema;
45
- export declare var TrustedAdvisorServiceException$: StaticErrorSchema;
46
48
  export declare var BatchUpdateRecommendationResourceExclusion$: StaticOperationSchema;
47
49
  export declare var GetOrganizationRecommendation$: StaticOperationSchema;
48
50
  export declare var GetRecommendation$: StaticOperationSchema;
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.986.0",
4
+ "version": "3.988.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",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",