@aws-sdk/client-cost-optimization-hub 3.987.0 → 3.989.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 +27 -937
- package/dist-cjs/models/CostOptimizationHubServiceException.js +12 -0
- package/dist-cjs/models/errors.js +75 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +775 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +64 -58
- package/dist-types/schemas/schemas_0.d.ts +12 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultCostOptimizationHubHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2022-07-26",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.costoptimizationhub",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2022-07-26",
|
|
30
32
|
serviceTarget: "CostOptimizationHubService",
|
|
31
33
|
},
|
|
@@ -153,9 +153,9 @@ const _eSP = "estimatedSavingsPercentage";
|
|
|
153
153
|
const _eTDS = "estimatedTotalDedupedSavings";
|
|
154
154
|
const _eV = "ebsVolume";
|
|
155
155
|
const _en = "end";
|
|
156
|
-
const _f = "
|
|
156
|
+
const _f = "fields";
|
|
157
157
|
const _fN = "fieldName";
|
|
158
|
-
const _fi = "
|
|
158
|
+
const _fi = "filter";
|
|
159
159
|
const _g = "group";
|
|
160
160
|
const _gB = "groupBy";
|
|
161
161
|
const _gr = "granularity";
|
|
@@ -206,18 +206,18 @@ const _pIFS = "packetsInFromSource";
|
|
|
206
206
|
const _pO = "paymentOption";
|
|
207
207
|
const _pe = "performance";
|
|
208
208
|
const _pr = "pricing";
|
|
209
|
-
const _r = "
|
|
209
|
+
const _r = "reason";
|
|
210
210
|
const _rA = "resourceArns";
|
|
211
211
|
const _rAe = "resourceArn";
|
|
212
212
|
const _rC = "recommendationCount";
|
|
213
213
|
const _rDI = "rdsDbInstance";
|
|
214
214
|
const _rDIS = "rdsDbInstanceStorage";
|
|
215
|
-
const _rI = "
|
|
215
|
+
const _rI = "resourceId";
|
|
216
216
|
const _rID = "reservedInstancesDiscount";
|
|
217
217
|
const _rIR = "reservedInstancesRegion";
|
|
218
|
-
const _rIe = "
|
|
219
|
-
const _rIec = "
|
|
220
|
-
const
|
|
218
|
+
const _rIe = "resourceIds";
|
|
219
|
+
const _rIec = "recommendationIds";
|
|
220
|
+
const _rIeco = "recommendationId";
|
|
221
221
|
const _rLPID = "recommendationLookbackPeriodInDays";
|
|
222
222
|
const _rN = "restartNeeded";
|
|
223
223
|
const _rP = "rollbackPossible";
|
|
@@ -227,9 +227,9 @@ const _rRIe = "redshiftReservedInstances";
|
|
|
227
227
|
const _rRS = "recommendedResourceSummary";
|
|
228
228
|
const _rRT = "recommendedResourceType";
|
|
229
229
|
const _rT = "resourceTypes";
|
|
230
|
-
const _re = "
|
|
231
|
-
const
|
|
232
|
-
const _s = "
|
|
230
|
+
const _re = "regions";
|
|
231
|
+
const _reg = "region";
|
|
232
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.costoptimizationhub";
|
|
233
233
|
const _sEM = "savingsEstimationMode";
|
|
234
234
|
const _sFE = "sizeFlexEligible";
|
|
235
235
|
const _sIG = "sizeInGb";
|
|
@@ -241,13 +241,13 @@ const _sT = "storageType";
|
|
|
241
241
|
const _sTt = "storageThroughput";
|
|
242
242
|
const _sa = "savings";
|
|
243
243
|
const _sc = "score";
|
|
244
|
-
const _se = "
|
|
245
|
-
const _ser = "
|
|
246
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.costoptimizationhub";
|
|
244
|
+
const _se = "server";
|
|
245
|
+
const _ser = "service";
|
|
247
246
|
const _so = "source";
|
|
248
247
|
const _sp = "spend";
|
|
249
|
-
const _st = "
|
|
248
|
+
const _st = "status";
|
|
250
249
|
const _sta = "start";
|
|
250
|
+
const _sto = "storage";
|
|
251
251
|
const _t = "throughput";
|
|
252
252
|
const _tP = "timePeriod";
|
|
253
253
|
const _ta = "tags";
|
|
@@ -266,15 +266,47 @@ const n0 = "com.amazonaws.costoptimizationhub";
|
|
|
266
266
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
267
267
|
import { CostOptimizationHubServiceException } from "../models/CostOptimizationHubServiceException";
|
|
268
268
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
269
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
270
|
+
export var CostOptimizationHubServiceException$ = [-3, _s, "CostOptimizationHubServiceException", 0, [], []];
|
|
271
|
+
_s_registry.registerError(CostOptimizationHubServiceException$, CostOptimizationHubServiceException);
|
|
272
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
269
273
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
270
274
|
{ [_e]: _c, [_hE]: 403 },
|
|
271
275
|
[_m],
|
|
272
276
|
[0], 1
|
|
273
277
|
];
|
|
274
|
-
|
|
278
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
279
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
280
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
281
|
+
[_m],
|
|
282
|
+
[0], 1
|
|
283
|
+
];
|
|
284
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
285
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
286
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
287
|
+
[_m, _rI],
|
|
288
|
+
[0, 0], 2
|
|
289
|
+
];
|
|
290
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
291
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
292
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
293
|
+
[_m],
|
|
294
|
+
[0]
|
|
295
|
+
];
|
|
296
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
297
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
298
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
299
|
+
[_m, _r, _f],
|
|
300
|
+
[0, 0, () => ValidationExceptionDetails], 1
|
|
301
|
+
];
|
|
302
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
303
|
+
export const errorTypeRegistries = [
|
|
304
|
+
_s_registry,
|
|
305
|
+
n0_registry,
|
|
306
|
+
];
|
|
275
307
|
export var AccountEnrollmentStatus$ = [3, n0, _AES,
|
|
276
308
|
0,
|
|
277
|
-
[_aI,
|
|
309
|
+
[_aI, _st, _lUT, _cT],
|
|
278
310
|
[0, 0, 4, 4]
|
|
279
311
|
];
|
|
280
312
|
export var AuroraDbClusterStorage$ = [3, n0, _ADCS,
|
|
@@ -319,7 +351,7 @@ export var DynamoDbReservedCapacity$ = [3, n0, _DDRC,
|
|
|
319
351
|
];
|
|
320
352
|
export var DynamoDbReservedCapacityConfiguration$ = [3, n0, _DDRCC,
|
|
321
353
|
0,
|
|
322
|
-
[_aS,
|
|
354
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nOCUTP, _cU],
|
|
323
355
|
[0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
324
356
|
];
|
|
325
357
|
export var EbsVolume$ = [3, n0, _EV,
|
|
@@ -329,7 +361,7 @@ export var EbsVolume$ = [3, n0, _EV,
|
|
|
329
361
|
];
|
|
330
362
|
export var EbsVolumeConfiguration$ = [3, n0, _EVC,
|
|
331
363
|
0,
|
|
332
|
-
[
|
|
364
|
+
[_sto, _pe, _aSt],
|
|
333
365
|
[() => StorageConfiguration$, () => BlockStoragePerformanceConfiguration$, 0]
|
|
334
366
|
];
|
|
335
367
|
export var Ec2AutoScalingGroup$ = [3, n0, _EASG,
|
|
@@ -369,7 +401,7 @@ export var Ec2ReservedInstances$ = [3, n0, _ERI,
|
|
|
369
401
|
];
|
|
370
402
|
export var Ec2ReservedInstancesConfiguration$ = [3, n0, _ERIC,
|
|
371
403
|
0,
|
|
372
|
-
[_aS,
|
|
404
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _oC, _iF, _iT, _cG, _p, _ten, _sFE],
|
|
373
405
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]
|
|
374
406
|
];
|
|
375
407
|
export var EcsService$ = [3, n0, _ES,
|
|
@@ -394,7 +426,7 @@ export var ElastiCacheReservedInstances$ = [3, n0, _ECRI,
|
|
|
394
426
|
];
|
|
395
427
|
export var ElastiCacheReservedInstancesConfiguration$ = [3, n0, _ECRIC,
|
|
396
428
|
0,
|
|
397
|
-
[_aS,
|
|
429
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _iF, _iT, _cG, _sFE],
|
|
398
430
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]
|
|
399
431
|
];
|
|
400
432
|
export var EstimatedDiscounts$ = [3, n0, _ED,
|
|
@@ -404,7 +436,7 @@ export var EstimatedDiscounts$ = [3, n0, _ED,
|
|
|
404
436
|
];
|
|
405
437
|
export var Filter$ = [3, n0, _F,
|
|
406
438
|
0,
|
|
407
|
-
[_rN, _rP, _iE, _aIc,
|
|
439
|
+
[_rN, _rP, _iE, _aIc, _re, _rT, _aT, _ta, _rIe, _rA, _rIec],
|
|
408
440
|
[2, 2, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => TagList, 64 | 0, 64 | 0, 64 | 0]
|
|
409
441
|
];
|
|
410
442
|
export var GetPreferencesRequest$ = [3, n0, _GPR,
|
|
@@ -419,12 +451,12 @@ export var GetPreferencesResponse$ = [3, n0, _GPRe,
|
|
|
419
451
|
];
|
|
420
452
|
export var GetRecommendationRequest$ = [3, n0, _GRR,
|
|
421
453
|
0,
|
|
422
|
-
[
|
|
454
|
+
[_rIeco],
|
|
423
455
|
[0], 1
|
|
424
456
|
];
|
|
425
457
|
export var GetRecommendationResponse$ = [3, n0, _GRRe,
|
|
426
458
|
0,
|
|
427
|
-
[
|
|
459
|
+
[_rIeco, _rI, _rAe, _aI, _cCu, _rLPID, _cCLPID, _eSP, _eSOCCLP, _cRT, _rRT, _reg, _so, _lRT, _eMS, _eMC, _iEm, _rN, _aTc, _rP, _cRD, _rRD, _ta],
|
|
428
460
|
[0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 4, 1, 1, 0, 2, 0, 2, () => ResourceDetails$, () => ResourceDetails$, () => TagList]
|
|
429
461
|
];
|
|
430
462
|
export var InstanceConfiguration$ = [3, n0, _IC,
|
|
@@ -432,12 +464,6 @@ export var InstanceConfiguration$ = [3, n0, _IC,
|
|
|
432
464
|
[_ty],
|
|
433
465
|
[0]
|
|
434
466
|
];
|
|
435
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
436
|
-
{ [_e]: _ser, [_hE]: 500 },
|
|
437
|
-
[_m],
|
|
438
|
-
[0], 1
|
|
439
|
-
];
|
|
440
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
441
467
|
export var LambdaFunction$ = [3, n0, _LF,
|
|
442
468
|
0,
|
|
443
469
|
[_co, _cC],
|
|
@@ -470,7 +496,7 @@ export var ListEnrollmentStatusesResponse$ = [3, n0, _LESRi,
|
|
|
470
496
|
];
|
|
471
497
|
export var ListRecommendationsRequest$ = [3, n0, _LRR,
|
|
472
498
|
0,
|
|
473
|
-
[
|
|
499
|
+
[_fi, _oB, _iAR, _mR, _nT],
|
|
474
500
|
[() => Filter$, () => OrderBy$, 2, 1, 0]
|
|
475
501
|
];
|
|
476
502
|
export var ListRecommendationsResponse$ = [3, n0, _LRRi,
|
|
@@ -480,7 +506,7 @@ export var ListRecommendationsResponse$ = [3, n0, _LRRi,
|
|
|
480
506
|
];
|
|
481
507
|
export var ListRecommendationSummariesRequest$ = [3, n0, _LRSR,
|
|
482
508
|
0,
|
|
483
|
-
[_gB,
|
|
509
|
+
[_gB, _fi, _mR, _me, _nT],
|
|
484
510
|
[0, () => Filter$, 1, 64 | 0, 0], 1
|
|
485
511
|
];
|
|
486
512
|
export var ListRecommendationSummariesResponse$ = [3, n0, _LRSRi,
|
|
@@ -495,7 +521,7 @@ export var MemoryDbReservedInstances$ = [3, n0, _MDRI,
|
|
|
495
521
|
];
|
|
496
522
|
export var MemoryDbReservedInstancesConfiguration$ = [3, n0, _MDRIC,
|
|
497
523
|
0,
|
|
498
|
-
[_aS,
|
|
524
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _iT, _iF, _sFE, _cG],
|
|
499
525
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0]
|
|
500
526
|
];
|
|
501
527
|
export var MetricsByTime$ = [3, n0, _MBT,
|
|
@@ -525,7 +551,7 @@ export var OpenSearchReservedInstances$ = [3, n0, _OSRI,
|
|
|
525
551
|
];
|
|
526
552
|
export var OpenSearchReservedInstancesConfiguration$ = [3, n0, _OSRIC,
|
|
527
553
|
0,
|
|
528
|
-
[_aS,
|
|
554
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _iT, _cG, _sFE],
|
|
529
555
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]
|
|
530
556
|
];
|
|
531
557
|
export var OrderBy$ = [3, n0, _OB,
|
|
@@ -565,12 +591,12 @@ export var RdsReservedInstances$ = [3, n0, _RRI,
|
|
|
565
591
|
];
|
|
566
592
|
export var RdsReservedInstancesConfiguration$ = [3, n0, _RRIC,
|
|
567
593
|
0,
|
|
568
|
-
[_aS,
|
|
594
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _iF, _iT, _sFE, _cG, _lM, _dE, _dEa, _dO],
|
|
569
595
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0]
|
|
570
596
|
];
|
|
571
597
|
export var Recommendation$ = [3, n0, _R,
|
|
572
598
|
0,
|
|
573
|
-
[
|
|
599
|
+
[_rIeco, _aI, _reg, _rI, _rAe, _cRT, _rRT, _eMS, _eSP, _eMC, _cCu, _iEm, _rN, _aTc, _rP, _cRS, _rRS, _lRT, _rLPID, _so, _ta],
|
|
574
600
|
[0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 2, 0, 2, 0, 0, 4, 1, 0, () => TagList]
|
|
575
601
|
];
|
|
576
602
|
export var RecommendationSummary$ = [3, n0, _RS,
|
|
@@ -585,7 +611,7 @@ export var RedshiftReservedInstances$ = [3, n0, _RRIe,
|
|
|
585
611
|
];
|
|
586
612
|
export var RedshiftReservedInstancesConfiguration$ = [3, n0, _RRICe,
|
|
587
613
|
0,
|
|
588
|
-
[_aS,
|
|
614
|
+
[_aS, _ser, _te, _pO, _rIR, _uC, _mRC, _nUTP, _nOITP, _iF, _iT, _sFE, _cG],
|
|
589
615
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0]
|
|
590
616
|
];
|
|
591
617
|
export var ReservedInstancesCostCalculation$ = [3, n0, _RICC,
|
|
@@ -603,12 +629,6 @@ export var ResourceCostCalculation$ = [3, n0, _RCC,
|
|
|
603
629
|
[_u, _pr],
|
|
604
630
|
[() => UsageList, () => ResourcePricing$]
|
|
605
631
|
];
|
|
606
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
607
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
608
|
-
[_m, _rIes],
|
|
609
|
-
[0, 0], 2
|
|
610
|
-
];
|
|
611
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
612
632
|
export var ResourcePricing$ = [3, n0, _RP,
|
|
613
633
|
0,
|
|
614
634
|
[_eCBD, _eNUAC, _eD, _eCAD],
|
|
@@ -649,12 +669,6 @@ export var Tag$ = [3, n0, _T,
|
|
|
649
669
|
[_k, _v],
|
|
650
670
|
[0, 0]
|
|
651
671
|
];
|
|
652
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
653
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
654
|
-
[_m],
|
|
655
|
-
[0]
|
|
656
|
-
];
|
|
657
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
658
672
|
export var TimePeriod$ = [3, n0, _TP,
|
|
659
673
|
0,
|
|
660
674
|
[_sta, _en],
|
|
@@ -662,12 +676,12 @@ export var TimePeriod$ = [3, n0, _TP,
|
|
|
662
676
|
];
|
|
663
677
|
export var UpdateEnrollmentStatusRequest$ = [3, n0, _UESR,
|
|
664
678
|
0,
|
|
665
|
-
[
|
|
679
|
+
[_st, _iMA],
|
|
666
680
|
[0, 2], 1
|
|
667
681
|
];
|
|
668
682
|
export var UpdateEnrollmentStatusResponse$ = [3, n0, _UESRp,
|
|
669
683
|
0,
|
|
670
|
-
[
|
|
684
|
+
[_st],
|
|
671
685
|
[0]
|
|
672
686
|
];
|
|
673
687
|
export var UpdatePreferencesRequest$ = [3, n0, _UPR,
|
|
@@ -685,19 +699,11 @@ export var Usage$ = [3, n0, _U,
|
|
|
685
699
|
[_uT, _uA, _op, _pCr, _un],
|
|
686
700
|
[0, 1, 0, 0, 0]
|
|
687
701
|
];
|
|
688
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
689
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
690
|
-
[_m, _rea, _fi],
|
|
691
|
-
[0, 0, () => ValidationExceptionDetails], 1
|
|
692
|
-
];
|
|
693
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
694
702
|
export var ValidationExceptionDetail$ = [3, n0, _VED,
|
|
695
703
|
0,
|
|
696
704
|
[_fN, _m],
|
|
697
705
|
[0, 0], 2
|
|
698
706
|
];
|
|
699
|
-
export var CostOptimizationHubServiceException$ = [-3, _sm, "CostOptimizationHubServiceException", 0, [], []];
|
|
700
|
-
TypeRegistry.for(_sm).registerError(CostOptimizationHubServiceException$, CostOptimizationHubServiceException);
|
|
701
707
|
var AccountEnrollmentStatuses = [1, n0, _AESc,
|
|
702
708
|
0, () => AccountEnrollmentStatus$
|
|
703
709
|
];
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var CostOptimizationHubServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
8
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
9
|
+
/**
|
|
10
|
+
* TypeRegistry instances containing modeled errors.
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
15
|
export declare var AccountEnrollmentStatus$: StaticStructureSchema;
|
|
4
16
|
export declare var AuroraDbClusterStorage$: StaticStructureSchema;
|
|
5
17
|
export declare var AuroraDbClusterStorageConfiguration$: StaticStructureSchema;
|
|
@@ -32,7 +44,6 @@ export declare var GetPreferencesResponse$: StaticStructureSchema;
|
|
|
32
44
|
export declare var GetRecommendationRequest$: StaticStructureSchema;
|
|
33
45
|
export declare var GetRecommendationResponse$: StaticStructureSchema;
|
|
34
46
|
export declare var InstanceConfiguration$: StaticStructureSchema;
|
|
35
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
36
47
|
export declare var LambdaFunction$: StaticStructureSchema;
|
|
37
48
|
export declare var LambdaFunctionConfiguration$: StaticStructureSchema;
|
|
38
49
|
export declare var ListEfficiencyMetricsRequest$: StaticStructureSchema;
|
|
@@ -66,7 +77,6 @@ export declare var RedshiftReservedInstancesConfiguration$: StaticStructureSchem
|
|
|
66
77
|
export declare var ReservedInstancesCostCalculation$: StaticStructureSchema;
|
|
67
78
|
export declare var ReservedInstancesPricing$: StaticStructureSchema;
|
|
68
79
|
export declare var ResourceCostCalculation$: StaticStructureSchema;
|
|
69
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
70
80
|
export declare var ResourcePricing$: StaticStructureSchema;
|
|
71
81
|
export declare var SageMakerSavingsPlans$: StaticStructureSchema;
|
|
72
82
|
export declare var SageMakerSavingsPlansConfiguration$: StaticStructureSchema;
|
|
@@ -75,16 +85,13 @@ export declare var SavingsPlansPricing$: StaticStructureSchema;
|
|
|
75
85
|
export declare var StorageConfiguration$: StaticStructureSchema;
|
|
76
86
|
export declare var SummaryMetricsResult$: StaticStructureSchema;
|
|
77
87
|
export declare var Tag$: StaticStructureSchema;
|
|
78
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
79
88
|
export declare var TimePeriod$: StaticStructureSchema;
|
|
80
89
|
export declare var UpdateEnrollmentStatusRequest$: StaticStructureSchema;
|
|
81
90
|
export declare var UpdateEnrollmentStatusResponse$: StaticStructureSchema;
|
|
82
91
|
export declare var UpdatePreferencesRequest$: StaticStructureSchema;
|
|
83
92
|
export declare var UpdatePreferencesResponse$: StaticStructureSchema;
|
|
84
93
|
export declare var Usage$: StaticStructureSchema;
|
|
85
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
86
94
|
export declare var ValidationExceptionDetail$: StaticStructureSchema;
|
|
87
|
-
export declare var CostOptimizationHubServiceException$: StaticErrorSchema;
|
|
88
95
|
export declare var ResourceDetails$: StaticUnionSchema;
|
|
89
96
|
export declare var GetPreferences$: StaticOperationSchema;
|
|
90
97
|
export declare var GetRecommendation$: StaticOperationSchema;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
StaticUnionSchema,
|
|
6
7
|
} from "@smithy/types";
|
|
8
|
+
export declare var CostOptimizationHubServiceException$: StaticErrorSchema;
|
|
7
9
|
export declare var AccessDeniedException$: 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[];
|
|
8
15
|
export declare var AccountEnrollmentStatus$: StaticStructureSchema;
|
|
9
16
|
export declare var AuroraDbClusterStorage$: StaticStructureSchema;
|
|
10
17
|
export declare var AuroraDbClusterStorageConfiguration$: StaticStructureSchema;
|
|
@@ -37,7 +44,6 @@ export declare var GetPreferencesResponse$: StaticStructureSchema;
|
|
|
37
44
|
export declare var GetRecommendationRequest$: StaticStructureSchema;
|
|
38
45
|
export declare var GetRecommendationResponse$: StaticStructureSchema;
|
|
39
46
|
export declare var InstanceConfiguration$: StaticStructureSchema;
|
|
40
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
41
47
|
export declare var LambdaFunction$: StaticStructureSchema;
|
|
42
48
|
export declare var LambdaFunctionConfiguration$: StaticStructureSchema;
|
|
43
49
|
export declare var ListEfficiencyMetricsRequest$: StaticStructureSchema;
|
|
@@ -71,7 +77,6 @@ export declare var RedshiftReservedInstancesConfiguration$: StaticStructureSchem
|
|
|
71
77
|
export declare var ReservedInstancesCostCalculation$: StaticStructureSchema;
|
|
72
78
|
export declare var ReservedInstancesPricing$: StaticStructureSchema;
|
|
73
79
|
export declare var ResourceCostCalculation$: StaticStructureSchema;
|
|
74
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
75
80
|
export declare var ResourcePricing$: StaticStructureSchema;
|
|
76
81
|
export declare var SageMakerSavingsPlans$: StaticStructureSchema;
|
|
77
82
|
export declare var SageMakerSavingsPlansConfiguration$: StaticStructureSchema;
|
|
@@ -80,16 +85,13 @@ export declare var SavingsPlansPricing$: StaticStructureSchema;
|
|
|
80
85
|
export declare var StorageConfiguration$: StaticStructureSchema;
|
|
81
86
|
export declare var SummaryMetricsResult$: StaticStructureSchema;
|
|
82
87
|
export declare var Tag$: StaticStructureSchema;
|
|
83
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
84
88
|
export declare var TimePeriod$: StaticStructureSchema;
|
|
85
89
|
export declare var UpdateEnrollmentStatusRequest$: StaticStructureSchema;
|
|
86
90
|
export declare var UpdateEnrollmentStatusResponse$: StaticStructureSchema;
|
|
87
91
|
export declare var UpdatePreferencesRequest$: StaticStructureSchema;
|
|
88
92
|
export declare var UpdatePreferencesResponse$: StaticStructureSchema;
|
|
89
93
|
export declare var Usage$: StaticStructureSchema;
|
|
90
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
91
94
|
export declare var ValidationExceptionDetail$: StaticStructureSchema;
|
|
92
|
-
export declare var CostOptimizationHubServiceException$: StaticErrorSchema;
|
|
93
95
|
export declare var ResourceDetails$: StaticUnionSchema;
|
|
94
96
|
export declare var GetPreferences$: StaticOperationSchema;
|
|
95
97
|
export declare var GetRecommendation$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-optimization-hub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.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-cost-optimization-hub",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
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.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
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.989.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.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|