@aws-sdk/client-trustedadvisor 3.987.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.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var TrustedAdvisorServiceException = require('./models/TrustedAdvisorServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,480 +113,6 @@ class TrustedAdvisorClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class TrustedAdvisorServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, TrustedAdvisorServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends TrustedAdvisorServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class ConflictException extends TrustedAdvisorServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "ConflictException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, ConflictException.prototype);
142
- }
143
- }
144
- class InternalServerException extends TrustedAdvisorServiceException {
145
- name = "InternalServerException";
146
- $fault = "server";
147
- $retryable = {};
148
- constructor(opts) {
149
- super({
150
- name: "InternalServerException",
151
- $fault: "server",
152
- ...opts,
153
- });
154
- Object.setPrototypeOf(this, InternalServerException.prototype);
155
- }
156
- }
157
- class ThrottlingException extends TrustedAdvisorServiceException {
158
- name = "ThrottlingException";
159
- $fault = "client";
160
- $retryable = {
161
- throttling: true,
162
- };
163
- constructor(opts) {
164
- super({
165
- name: "ThrottlingException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- Object.setPrototypeOf(this, ThrottlingException.prototype);
170
- }
171
- }
172
- class ValidationException extends TrustedAdvisorServiceException {
173
- name = "ValidationException";
174
- $fault = "client";
175
- constructor(opts) {
176
- super({
177
- name: "ValidationException",
178
- $fault: "client",
179
- ...opts,
180
- });
181
- Object.setPrototypeOf(this, ValidationException.prototype);
182
- }
183
- }
184
- class ResourceNotFoundException extends TrustedAdvisorServiceException {
185
- name = "ResourceNotFoundException";
186
- $fault = "client";
187
- constructor(opts) {
188
- super({
189
- name: "ResourceNotFoundException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
194
- }
195
- }
196
-
197
- const _ADE = "AccessDeniedException";
198
- const _ARLS = "AccountRecommendationLifecycleSummary";
199
- const _ARLSL = "AccountRecommendationLifecycleSummaryList";
200
- const _BURRE = "BatchUpdateRecommendationResourceExclusion";
201
- const _BURRER = "BatchUpdateRecommendationResourceExclusionRequest";
202
- const _BURRERa = "BatchUpdateRecommendationResourceExclusionResponse";
203
- const _CE = "ConflictException";
204
- const _CS = "CheckSummary";
205
- const _CSL = "CheckSummaryList";
206
- const _GOR = "GetOrganizationRecommendation";
207
- const _GORR = "GetOrganizationRecommendationRequest";
208
- const _GORRe = "GetOrganizationRecommendationResponse";
209
- const _GR = "GetRecommendation";
210
- const _GRR = "GetRecommendationRequest";
211
- const _GRRe = "GetRecommendationResponse";
212
- const _ISE = "InternalServerException";
213
- const _LC = "ListChecks";
214
- const _LCR = "ListChecksRequest";
215
- const _LCRi = "ListChecksResponse";
216
- const _LOR = "ListOrganizationRecommendations";
217
- const _LORA = "ListOrganizationRecommendationAccounts";
218
- const _LORAR = "ListOrganizationRecommendationAccountsRequest";
219
- const _LORARi = "ListOrganizationRecommendationAccountsResponse";
220
- const _LORR = "ListOrganizationRecommendationsRequest";
221
- const _LORRR = "ListOrganizationRecommendationResourcesRequest";
222
- const _LORRRi = "ListOrganizationRecommendationResourcesResponse";
223
- const _LORRi = "ListOrganizationRecommendationsResponse";
224
- const _LORRis = "ListOrganizationRecommendationResources";
225
- const _LR = "ListRecommendations";
226
- const _LRR = "ListRecommendationsRequest";
227
- const _LRRR = "ListRecommendationResourcesRequest";
228
- const _LRRRi = "ListRecommendationResourcesResponse";
229
- const _LRRi = "ListRecommendationsResponse";
230
- const _LRRis = "ListRecommendationResources";
231
- const _OR = "OrganizationRecommendation";
232
- const _ORRS = "OrganizationRecommendationResourceSummary";
233
- const _ORRSL = "OrganizationRecommendationResourceSummaryList";
234
- const _ORS = "OrganizationRecommendationSummary";
235
- const _ORSL = "OrganizationRecommendationSummaryList";
236
- const _R = "Recommendation";
237
- const _RCOA = "RecommendationCostOptimizingAggregates";
238
- const _RNFE = "ResourceNotFoundException";
239
- const _RPSA = "RecommendationPillarSpecificAggregates";
240
- const _RRA = "RecommendationResourcesAggregates";
241
- const _RRE = "RecommendationResourceExclusion";
242
- const _RREL = "RecommendationResourceExclusionList";
243
- const _RRS = "RecommendationResourceSummary";
244
- const _RRSL = "RecommendationResourceSummaryList";
245
- const _RS = "RecommendationSummary";
246
- const _RSL = "RecommendationSummaryList";
247
- const _RUR = "RecommendationUpdateReason";
248
- const _TE = "ThrottlingException";
249
- const _UORL = "UpdateOrganizationRecommendationLifecycle";
250
- const _UORLR = "UpdateOrganizationRecommendationLifecycleRequest";
251
- const _URL = "UpdateRecommendationLifecycle";
252
- const _URLR = "UpdateRecommendationLifecycleRequest";
253
- const _URREE = "UpdateRecommendationResourceExclusionError";
254
- const _URREEL = "UpdateRecommendationResourceExclusionErrorList";
255
- const _VE = "ValidationException";
256
- const _a = "arn";
257
- const _aAI = "affectedAccountId";
258
- const _aI = "accountId";
259
- const _aLUA = "afterLastUpdatedAt";
260
- const _aRA = "accountRecommendationArn";
261
- const _aRI = "awsResourceId";
262
- const _aRLS = "accountRecommendationLifecycleSummaries";
263
- const _aS = "awsServices";
264
- const _aSw = "awsService";
265
- const _bLUA = "beforeLastUpdatedAt";
266
- const _bURREE = "batchUpdateRecommendationResourceExclusionErrors";
267
- const _c = "client";
268
- const _cA = "checkArn";
269
- const _cAr = "createdAt";
270
- const _cB = "createdBy";
271
- const _cI = "checkIdentifier";
272
- const _cO = "costOptimizing";
273
- const _cS = "checkSummaries";
274
- const _d = "description";
275
- const _e = "error";
276
- const _eC = "errorCount";
277
- const _eCr = "errorCode";
278
- const _eM = "errorMessage";
279
- const _eMS = "estimatedMonthlySavings";
280
- const _ePMS = "estimatedPercentMonthlySavings";
281
- const _eS = "exclusionStatus";
282
- const _h = "http";
283
- const _hE = "httpError";
284
- const _hQ = "httpQuery";
285
- const _i = "id";
286
- const _iE = "isExcluded";
287
- const _l = "language";
288
- const _lS = "lifecycleStage";
289
- const _lUA = "lastUpdatedAt";
290
- const _m = "message";
291
- const _mR = "maxResults";
292
- const _me = "metadata";
293
- const _n = "name";
294
- const _nT = "nextToken";
295
- const _oC = "okCount";
296
- const _oR = "organizationRecommendation";
297
- const _oRI = "organizationRecommendationIdentifier";
298
- const _oRRS = "organizationRecommendationResourceSummaries";
299
- const _oRS = "organizationRecommendationSummaries";
300
- const _p = "pillars";
301
- const _pSA = "pillarSpecificAggregates";
302
- const _pi = "pillar";
303
- const _r = "recommendation";
304
- const _rA = "resourcesAggregates";
305
- const _rAe = "resolvedAt";
306
- const _rAec = "recommendationArn";
307
- const _rC = "regionCode";
308
- const _rI = "recommendationIdentifier";
309
- const _rRE = "recommendationResourceExclusions";
310
- const _rRS = "recommendationResourceSummaries";
311
- const _rS = "recommendationSummaries";
312
- const _s = "source";
313
- const _se = "server";
314
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.trustedadvisor";
315
- const _st = "status";
316
- const _t = "type";
317
- const _uOBO = "updatedOnBehalfOf";
318
- const _uOBOJT = "updatedOnBehalfOfJobTitle";
319
- const _uR = "updateReason";
320
- const _uRC = "updateReasonCode";
321
- const _wC = "warningCount";
322
- const n0 = "com.amazonaws.trustedadvisor";
323
- var RecommendationUpdateReason = [0, n0, _RUR, 8, 0];
324
- var AccessDeniedException$ = [-3, n0, _ADE,
325
- { [_e]: _c, [_hE]: 403 },
326
- [_m],
327
- [0], 1
328
- ];
329
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
330
- var AccountRecommendationLifecycleSummary$ = [3, n0, _ARLS,
331
- 0,
332
- [_aI, _aRA, _lS, _uOBO, _uOBOJT, _uR, _uRC, _lUA],
333
- [0, 0, 0, 0, 0, [() => RecommendationUpdateReason, 0], 0, 5]
334
- ];
335
- var BatchUpdateRecommendationResourceExclusionRequest$ = [3, n0, _BURRER,
336
- 0,
337
- [_rRE],
338
- [() => RecommendationResourceExclusionList], 1
339
- ];
340
- var BatchUpdateRecommendationResourceExclusionResponse$ = [3, n0, _BURRERa,
341
- 0,
342
- [_bURREE],
343
- [() => UpdateRecommendationResourceExclusionErrorList], 1
344
- ];
345
- var CheckSummary$ = [3, n0, _CS,
346
- 0,
347
- [_i, _a, _n, _d, _p, _aS, _s, _me],
348
- [0, 0, 0, 0, 64 | 0, 64 | 0, 0, 128 | 0], 8
349
- ];
350
- var ConflictException$ = [-3, n0, _CE,
351
- { [_e]: _c, [_hE]: 409 },
352
- [_m],
353
- [0], 1
354
- ];
355
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
356
- var GetOrganizationRecommendationRequest$ = [3, n0, _GORR,
357
- 0,
358
- [_oRI],
359
- [[0, 1]], 1
360
- ];
361
- var GetOrganizationRecommendationResponse$ = [3, n0, _GORRe,
362
- 0,
363
- [_oR],
364
- [[() => OrganizationRecommendation$, 0]]
365
- ];
366
- var GetRecommendationRequest$ = [3, n0, _GRR,
367
- 0,
368
- [_rI],
369
- [[0, 1]], 1
370
- ];
371
- var GetRecommendationResponse$ = [3, n0, _GRRe,
372
- 0,
373
- [_r],
374
- [[() => Recommendation$, 0]]
375
- ];
376
- var InternalServerException$ = [-3, n0, _ISE,
377
- { [_e]: _se, [_hE]: 500 },
378
- [_m],
379
- [0], 1
380
- ];
381
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
382
- var ListChecksRequest$ = [3, n0, _LCR,
383
- 0,
384
- [_nT, _mR, _pi, _aSw, _s, _l],
385
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _pi }], [0, { [_hQ]: _aSw }], [0, { [_hQ]: _s }], [0, { [_hQ]: _l }]]
386
- ];
387
- var ListChecksResponse$ = [3, n0, _LCRi,
388
- 0,
389
- [_cS, _nT],
390
- [() => CheckSummaryList, 0], 1
391
- ];
392
- var ListOrganizationRecommendationAccountsRequest$ = [3, n0, _LORAR,
393
- 0,
394
- [_oRI, _nT, _mR, _aAI],
395
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _aAI }]], 1
396
- ];
397
- var ListOrganizationRecommendationAccountsResponse$ = [3, n0, _LORARi,
398
- 0,
399
- [_aRLS, _nT],
400
- [[() => AccountRecommendationLifecycleSummaryList, 0], 0], 1
401
- ];
402
- var ListOrganizationRecommendationResourcesRequest$ = [3, n0, _LORRR,
403
- 0,
404
- [_oRI, _nT, _mR, _st, _eS, _rC, _aAI],
405
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }], [0, { [_hQ]: _aAI }]], 1
406
- ];
407
- var ListOrganizationRecommendationResourcesResponse$ = [3, n0, _LORRRi,
408
- 0,
409
- [_oRRS, _nT],
410
- [() => OrganizationRecommendationResourceSummaryList, 0], 1
411
- ];
412
- var ListOrganizationRecommendationsRequest$ = [3, n0, _LORR,
413
- 0,
414
- [_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
415
- [[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 }]]
416
- ];
417
- var ListOrganizationRecommendationsResponse$ = [3, n0, _LORRi,
418
- 0,
419
- [_oRS, _nT],
420
- [() => OrganizationRecommendationSummaryList, 0], 1
421
- ];
422
- var ListRecommendationResourcesRequest$ = [3, n0, _LRRR,
423
- 0,
424
- [_rI, _nT, _mR, _st, _eS, _rC],
425
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }], [0, { [_hQ]: _eS }], [0, { [_hQ]: _rC }]], 1
426
- ];
427
- var ListRecommendationResourcesResponse$ = [3, n0, _LRRRi,
428
- 0,
429
- [_rRS, _nT],
430
- [() => RecommendationResourceSummaryList, 0], 1
431
- ];
432
- var ListRecommendationsRequest$ = [3, n0, _LRR,
433
- 0,
434
- [_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
435
- [[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 }]]
436
- ];
437
- var ListRecommendationsResponse$ = [3, n0, _LRRi,
438
- 0,
439
- [_rS, _nT],
440
- [() => RecommendationSummaryList, 0], 1
441
- ];
442
- var OrganizationRecommendation$ = [3, n0, _OR,
443
- 0,
444
- [_i, _t, _st, _p, _s, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
445
- [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
446
- ];
447
- var OrganizationRecommendationResourceSummary$ = [3, n0, _ORRS,
448
- 0,
449
- [_i, _a, _aRI, _rC, _st, _me, _lUA, _rAec, _eS, _aI],
450
- [0, 0, 0, 0, 0, 128 | 0, 5, 0, 0, 0], 8
451
- ];
452
- var OrganizationRecommendationSummary$ = [3, n0, _ORS,
453
- 0,
454
- [_i, _t, _st, _p, _s, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
455
- [0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5], 8
456
- ];
457
- var Recommendation$ = [3, n0, _R,
458
- 0,
459
- [_i, _t, _st, _p, _s, _n, _rA, _a, _d, _cA, _lS, _aS, _pSA, _cAr, _lUA, _cB, _uOBO, _uOBOJT, _uR, _uRC, _rAe],
460
- [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
461
- ];
462
- var RecommendationCostOptimizingAggregates$ = [3, n0, _RCOA,
463
- 0,
464
- [_eMS, _ePMS],
465
- [1, 1], 2
466
- ];
467
- var RecommendationPillarSpecificAggregates$ = [3, n0, _RPSA,
468
- 0,
469
- [_cO],
470
- [() => RecommendationCostOptimizingAggregates$]
471
- ];
472
- var RecommendationResourceExclusion$ = [3, n0, _RRE,
473
- 0,
474
- [_a, _iE],
475
- [0, 2], 2
476
- ];
477
- var RecommendationResourcesAggregates$ = [3, n0, _RRA,
478
- 0,
479
- [_oC, _wC, _eC],
480
- [1, 1, 1], 3
481
- ];
482
- var RecommendationResourceSummary$ = [3, n0, _RRS,
483
- 0,
484
- [_i, _a, _aRI, _rC, _st, _me, _lUA, _rAec, _eS],
485
- [0, 0, 0, 0, 0, 128 | 0, 5, 0, 0], 8
486
- ];
487
- var RecommendationSummary$ = [3, n0, _RS,
488
- 0,
489
- [_i, _t, _st, _p, _s, _n, _rA, _a, _cA, _lS, _aS, _pSA, _cAr, _lUA],
490
- [0, 0, 0, 64 | 0, 0, 0, () => RecommendationResourcesAggregates$, 0, 0, 0, 64 | 0, () => RecommendationPillarSpecificAggregates$, 5, 5], 8
491
- ];
492
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
493
- { [_e]: _c, [_hE]: 404 },
494
- [_m],
495
- [0], 1
496
- ];
497
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
498
- var ThrottlingException$ = [-3, n0, _TE,
499
- { [_e]: _c, [_hE]: 429 },
500
- [_m],
501
- [0], 1
502
- ];
503
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
504
- var UpdateOrganizationRecommendationLifecycleRequest$ = [3, n0, _UORLR,
505
- 0,
506
- [_lS, _oRI, _uR, _uRC],
507
- [0, [0, 1], [() => RecommendationUpdateReason, 0], 0], 2
508
- ];
509
- var UpdateRecommendationLifecycleRequest$ = [3, n0, _URLR,
510
- 0,
511
- [_lS, _rI, _uR, _uRC],
512
- [0, [0, 1], [() => RecommendationUpdateReason, 0], 0], 2
513
- ];
514
- var UpdateRecommendationResourceExclusionError$ = [3, n0, _URREE,
515
- 0,
516
- [_a, _eCr, _eM],
517
- [0, 0, 0]
518
- ];
519
- var ValidationException$ = [-3, n0, _VE,
520
- { [_e]: _c, [_hE]: 400 },
521
- [_m],
522
- [0], 1
523
- ];
524
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
525
- var __Unit = "unit";
526
- var TrustedAdvisorServiceException$ = [-3, _sm, "TrustedAdvisorServiceException", 0, [], []];
527
- schema.TypeRegistry.for(_sm).registerError(TrustedAdvisorServiceException$, TrustedAdvisorServiceException);
528
- var AccountRecommendationLifecycleSummaryList = [1, n0, _ARLSL,
529
- 0, [() => AccountRecommendationLifecycleSummary$,
530
- 0]
531
- ];
532
- var CheckSummaryList = [1, n0, _CSL,
533
- 0, () => CheckSummary$
534
- ];
535
- var OrganizationRecommendationResourceSummaryList = [1, n0, _ORRSL,
536
- 0, () => OrganizationRecommendationResourceSummary$
537
- ];
538
- var OrganizationRecommendationSummaryList = [1, n0, _ORSL,
539
- 0, () => OrganizationRecommendationSummary$
540
- ];
541
- var RecommendationResourceExclusionList = [1, n0, _RREL,
542
- 0, () => RecommendationResourceExclusion$
543
- ];
544
- var RecommendationResourceSummaryList = [1, n0, _RRSL,
545
- 0, () => RecommendationResourceSummary$
546
- ];
547
- var RecommendationSummaryList = [1, n0, _RSL,
548
- 0, () => RecommendationSummary$
549
- ];
550
- var UpdateRecommendationResourceExclusionErrorList = [1, n0, _URREEL,
551
- 0, () => UpdateRecommendationResourceExclusionError$
552
- ];
553
- var BatchUpdateRecommendationResourceExclusion$ = [9, n0, _BURRE,
554
- { [_h]: ["PUT", "/v1/batch-update-recommendation-resource-exclusion", 200] }, () => BatchUpdateRecommendationResourceExclusionRequest$, () => BatchUpdateRecommendationResourceExclusionResponse$
555
- ];
556
- var GetOrganizationRecommendation$ = [9, n0, _GOR,
557
- { [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}", 200] }, () => GetOrganizationRecommendationRequest$, () => GetOrganizationRecommendationResponse$
558
- ];
559
- var GetRecommendation$ = [9, n0, _GR,
560
- { [_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}", 200] }, () => GetRecommendationRequest$, () => GetRecommendationResponse$
561
- ];
562
- var ListChecks$ = [9, n0, _LC,
563
- { [_h]: ["GET", "/v1/checks", 200] }, () => ListChecksRequest$, () => ListChecksResponse$
564
- ];
565
- var ListOrganizationRecommendationAccounts$ = [9, n0, _LORA,
566
- { [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts", 200] }, () => ListOrganizationRecommendationAccountsRequest$, () => ListOrganizationRecommendationAccountsResponse$
567
- ];
568
- var ListOrganizationRecommendationResources$ = [9, n0, _LORRis,
569
- { [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/resources", 200] }, () => ListOrganizationRecommendationResourcesRequest$, () => ListOrganizationRecommendationResourcesResponse$
570
- ];
571
- var ListOrganizationRecommendations$ = [9, n0, _LOR,
572
- { [_h]: ["GET", "/v1/organization-recommendations", 200] }, () => ListOrganizationRecommendationsRequest$, () => ListOrganizationRecommendationsResponse$
573
- ];
574
- var ListRecommendationResources$ = [9, n0, _LRRis,
575
- { [_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}/resources", 200] }, () => ListRecommendationResourcesRequest$, () => ListRecommendationResourcesResponse$
576
- ];
577
- var ListRecommendations$ = [9, n0, _LR,
578
- { [_h]: ["GET", "/v1/recommendations", 200] }, () => ListRecommendationsRequest$, () => ListRecommendationsResponse$
579
- ];
580
- var UpdateOrganizationRecommendationLifecycle$ = [9, n0, _UORL,
581
- { [_h]: ["PUT", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle", 200] }, () => UpdateOrganizationRecommendationLifecycleRequest$, () => __Unit
582
- ];
583
- var UpdateRecommendationLifecycle$ = [9, n0, _URL,
584
- { [_h]: ["PUT", "/v1/recommendations/{recommendationIdentifier}/lifecycle", 200] }, () => UpdateRecommendationLifecycleRequest$, () => __Unit
585
- ];
586
-
587
116
  class BatchUpdateRecommendationResourceExclusionCommand extends smithyClient.Command
588
117
  .classBuilder()
589
118
  .ep(commonParams)
@@ -592,7 +121,7 @@ class BatchUpdateRecommendationResourceExclusionCommand extends smithyClient.Com
592
121
  })
593
122
  .s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
594
123
  .n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
595
- .sc(BatchUpdateRecommendationResourceExclusion$)
124
+ .sc(schemas_0.BatchUpdateRecommendationResourceExclusion$)
596
125
  .build() {
597
126
  }
598
127
 
@@ -604,7 +133,7 @@ class GetOrganizationRecommendationCommand extends smithyClient.Command
604
133
  })
605
134
  .s("TrustedAdvisor", "GetOrganizationRecommendation", {})
606
135
  .n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
607
- .sc(GetOrganizationRecommendation$)
136
+ .sc(schemas_0.GetOrganizationRecommendation$)
608
137
  .build() {
609
138
  }
610
139
 
@@ -616,7 +145,7 @@ class GetRecommendationCommand extends smithyClient.Command
616
145
  })
617
146
  .s("TrustedAdvisor", "GetRecommendation", {})
618
147
  .n("TrustedAdvisorClient", "GetRecommendationCommand")
619
- .sc(GetRecommendation$)
148
+ .sc(schemas_0.GetRecommendation$)
620
149
  .build() {
621
150
  }
622
151
 
@@ -628,7 +157,7 @@ class ListChecksCommand extends smithyClient.Command
628
157
  })
629
158
  .s("TrustedAdvisor", "ListChecks", {})
630
159
  .n("TrustedAdvisorClient", "ListChecksCommand")
631
- .sc(ListChecks$)
160
+ .sc(schemas_0.ListChecks$)
632
161
  .build() {
633
162
  }
634
163
 
@@ -640,7 +169,7 @@ class ListOrganizationRecommendationAccountsCommand extends smithyClient.Command
640
169
  })
641
170
  .s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
642
171
  .n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
643
- .sc(ListOrganizationRecommendationAccounts$)
172
+ .sc(schemas_0.ListOrganizationRecommendationAccounts$)
644
173
  .build() {
645
174
  }
646
175
 
@@ -652,7 +181,7 @@ class ListOrganizationRecommendationResourcesCommand extends smithyClient.Comman
652
181
  })
653
182
  .s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
654
183
  .n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
655
- .sc(ListOrganizationRecommendationResources$)
184
+ .sc(schemas_0.ListOrganizationRecommendationResources$)
656
185
  .build() {
657
186
  }
658
187
 
@@ -664,7 +193,7 @@ class ListOrganizationRecommendationsCommand extends smithyClient.Command
664
193
  })
665
194
  .s("TrustedAdvisor", "ListOrganizationRecommendations", {})
666
195
  .n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
667
- .sc(ListOrganizationRecommendations$)
196
+ .sc(schemas_0.ListOrganizationRecommendations$)
668
197
  .build() {
669
198
  }
670
199
 
@@ -676,7 +205,7 @@ class ListRecommendationResourcesCommand extends smithyClient.Command
676
205
  })
677
206
  .s("TrustedAdvisor", "ListRecommendationResources", {})
678
207
  .n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
679
- .sc(ListRecommendationResources$)
208
+ .sc(schemas_0.ListRecommendationResources$)
680
209
  .build() {
681
210
  }
682
211
 
@@ -688,7 +217,7 @@ class ListRecommendationsCommand extends smithyClient.Command
688
217
  })
689
218
  .s("TrustedAdvisor", "ListRecommendations", {})
690
219
  .n("TrustedAdvisorClient", "ListRecommendationsCommand")
691
- .sc(ListRecommendations$)
220
+ .sc(schemas_0.ListRecommendations$)
692
221
  .build() {
693
222
  }
694
223
 
@@ -700,7 +229,7 @@ class UpdateOrganizationRecommendationLifecycleCommand extends smithyClient.Comm
700
229
  })
701
230
  .s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
702
231
  .n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
703
- .sc(UpdateOrganizationRecommendationLifecycle$)
232
+ .sc(schemas_0.UpdateOrganizationRecommendationLifecycle$)
704
233
  .build() {
705
234
  }
706
235
 
@@ -712,7 +241,7 @@ class UpdateRecommendationLifecycleCommand extends smithyClient.Command
712
241
  })
713
242
  .s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
714
243
  .n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
715
- .sc(UpdateRecommendationLifecycle$)
244
+ .sc(schemas_0.UpdateRecommendationLifecycle$)
716
245
  .build() {
717
246
  }
718
247
 
@@ -837,90 +366,48 @@ Object.defineProperty(exports, "__Client", {
837
366
  enumerable: true,
838
367
  get: function () { return smithyClient.Client; }
839
368
  });
840
- exports.AccessDeniedException = AccessDeniedException;
841
- exports.AccessDeniedException$ = AccessDeniedException$;
842
- exports.AccountRecommendationLifecycleSummary$ = AccountRecommendationLifecycleSummary$;
843
- exports.BatchUpdateRecommendationResourceExclusion$ = BatchUpdateRecommendationResourceExclusion$;
369
+ Object.defineProperty(exports, "TrustedAdvisorServiceException", {
370
+ enumerable: true,
371
+ get: function () { return TrustedAdvisorServiceException.TrustedAdvisorServiceException; }
372
+ });
844
373
  exports.BatchUpdateRecommendationResourceExclusionCommand = BatchUpdateRecommendationResourceExclusionCommand;
845
- exports.BatchUpdateRecommendationResourceExclusionRequest$ = BatchUpdateRecommendationResourceExclusionRequest$;
846
- exports.BatchUpdateRecommendationResourceExclusionResponse$ = BatchUpdateRecommendationResourceExclusionResponse$;
847
- exports.CheckSummary$ = CheckSummary$;
848
- exports.ConflictException = ConflictException;
849
- exports.ConflictException$ = ConflictException$;
850
374
  exports.ExclusionStatus = ExclusionStatus;
851
- exports.GetOrganizationRecommendation$ = GetOrganizationRecommendation$;
852
375
  exports.GetOrganizationRecommendationCommand = GetOrganizationRecommendationCommand;
853
- exports.GetOrganizationRecommendationRequest$ = GetOrganizationRecommendationRequest$;
854
- exports.GetOrganizationRecommendationResponse$ = GetOrganizationRecommendationResponse$;
855
- exports.GetRecommendation$ = GetRecommendation$;
856
376
  exports.GetRecommendationCommand = GetRecommendationCommand;
857
- exports.GetRecommendationRequest$ = GetRecommendationRequest$;
858
- exports.GetRecommendationResponse$ = GetRecommendationResponse$;
859
- exports.InternalServerException = InternalServerException;
860
- exports.InternalServerException$ = InternalServerException$;
861
- exports.ListChecks$ = ListChecks$;
862
377
  exports.ListChecksCommand = ListChecksCommand;
863
- exports.ListChecksRequest$ = ListChecksRequest$;
864
- exports.ListChecksResponse$ = ListChecksResponse$;
865
- exports.ListOrganizationRecommendationAccounts$ = ListOrganizationRecommendationAccounts$;
866
378
  exports.ListOrganizationRecommendationAccountsCommand = ListOrganizationRecommendationAccountsCommand;
867
- exports.ListOrganizationRecommendationAccountsRequest$ = ListOrganizationRecommendationAccountsRequest$;
868
- exports.ListOrganizationRecommendationAccountsResponse$ = ListOrganizationRecommendationAccountsResponse$;
869
- exports.ListOrganizationRecommendationResources$ = ListOrganizationRecommendationResources$;
870
379
  exports.ListOrganizationRecommendationResourcesCommand = ListOrganizationRecommendationResourcesCommand;
871
- exports.ListOrganizationRecommendationResourcesRequest$ = ListOrganizationRecommendationResourcesRequest$;
872
- exports.ListOrganizationRecommendationResourcesResponse$ = ListOrganizationRecommendationResourcesResponse$;
873
- exports.ListOrganizationRecommendations$ = ListOrganizationRecommendations$;
874
380
  exports.ListOrganizationRecommendationsCommand = ListOrganizationRecommendationsCommand;
875
- exports.ListOrganizationRecommendationsRequest$ = ListOrganizationRecommendationsRequest$;
876
- exports.ListOrganizationRecommendationsResponse$ = ListOrganizationRecommendationsResponse$;
877
- exports.ListRecommendationResources$ = ListRecommendationResources$;
878
381
  exports.ListRecommendationResourcesCommand = ListRecommendationResourcesCommand;
879
- exports.ListRecommendationResourcesRequest$ = ListRecommendationResourcesRequest$;
880
- exports.ListRecommendationResourcesResponse$ = ListRecommendationResourcesResponse$;
881
- exports.ListRecommendations$ = ListRecommendations$;
882
382
  exports.ListRecommendationsCommand = ListRecommendationsCommand;
883
- exports.ListRecommendationsRequest$ = ListRecommendationsRequest$;
884
- exports.ListRecommendationsResponse$ = ListRecommendationsResponse$;
885
- exports.OrganizationRecommendation$ = OrganizationRecommendation$;
886
- exports.OrganizationRecommendationResourceSummary$ = OrganizationRecommendationResourceSummary$;
887
- exports.OrganizationRecommendationSummary$ = OrganizationRecommendationSummary$;
888
- exports.Recommendation$ = Recommendation$;
889
- exports.RecommendationCostOptimizingAggregates$ = RecommendationCostOptimizingAggregates$;
890
383
  exports.RecommendationLanguage = RecommendationLanguage;
891
384
  exports.RecommendationLifecycleStage = RecommendationLifecycleStage;
892
385
  exports.RecommendationPillar = RecommendationPillar;
893
- exports.RecommendationPillarSpecificAggregates$ = RecommendationPillarSpecificAggregates$;
894
- exports.RecommendationResourceExclusion$ = RecommendationResourceExclusion$;
895
- exports.RecommendationResourceSummary$ = RecommendationResourceSummary$;
896
- exports.RecommendationResourcesAggregates$ = RecommendationResourcesAggregates$;
897
386
  exports.RecommendationSource = RecommendationSource;
898
387
  exports.RecommendationStatus = RecommendationStatus;
899
- exports.RecommendationSummary$ = RecommendationSummary$;
900
388
  exports.RecommendationType = RecommendationType;
901
- exports.ResourceNotFoundException = ResourceNotFoundException;
902
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
903
389
  exports.ResourceStatus = ResourceStatus;
904
- exports.ThrottlingException = ThrottlingException;
905
- exports.ThrottlingException$ = ThrottlingException$;
906
390
  exports.TrustedAdvisor = TrustedAdvisor;
907
391
  exports.TrustedAdvisorClient = TrustedAdvisorClient;
908
- exports.TrustedAdvisorServiceException = TrustedAdvisorServiceException;
909
- exports.TrustedAdvisorServiceException$ = TrustedAdvisorServiceException$;
910
- exports.UpdateOrganizationRecommendationLifecycle$ = UpdateOrganizationRecommendationLifecycle$;
911
392
  exports.UpdateOrganizationRecommendationLifecycleCommand = UpdateOrganizationRecommendationLifecycleCommand;
912
- exports.UpdateOrganizationRecommendationLifecycleRequest$ = UpdateOrganizationRecommendationLifecycleRequest$;
913
- exports.UpdateRecommendationLifecycle$ = UpdateRecommendationLifecycle$;
914
393
  exports.UpdateRecommendationLifecycleCommand = UpdateRecommendationLifecycleCommand;
915
- exports.UpdateRecommendationLifecycleRequest$ = UpdateRecommendationLifecycleRequest$;
916
394
  exports.UpdateRecommendationLifecycleStage = UpdateRecommendationLifecycleStage;
917
395
  exports.UpdateRecommendationLifecycleStageReasonCode = UpdateRecommendationLifecycleStageReasonCode;
918
- exports.UpdateRecommendationResourceExclusionError$ = UpdateRecommendationResourceExclusionError$;
919
- exports.ValidationException = ValidationException;
920
- exports.ValidationException$ = ValidationException$;
921
396
  exports.paginateListChecks = paginateListChecks;
922
397
  exports.paginateListOrganizationRecommendationAccounts = paginateListOrganizationRecommendationAccounts;
923
398
  exports.paginateListOrganizationRecommendationResources = paginateListOrganizationRecommendationResources;
924
399
  exports.paginateListOrganizationRecommendations = paginateListOrganizationRecommendations;
925
400
  exports.paginateListRecommendationResources = paginateListRecommendationResources;
926
401
  exports.paginateListRecommendations = paginateListRecommendations;
402
+ Object.keys(schemas_0).forEach(function (k) {
403
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
404
+ enumerable: true,
405
+ get: function () { return schemas_0[k]; }
406
+ });
407
+ });
408
+ Object.keys(errors).forEach(function (k) {
409
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
410
+ enumerable: true,
411
+ get: function () { return errors[k]; }
412
+ });
413
+ });