@aws-sdk/client-compute-optimizer 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 +47 -1948
- package/dist-cjs/models/ComputeOptimizerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +121 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1641 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +77 -71
- package/dist-types/schemas/schemas_0.d.ts +16 -9
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -9
- 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 { defaultComputeOptimizerHttpAuthSchemeProvider } 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: "2019-11-01",
|
|
@@ -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.computeoptimizer",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2019-11-01",
|
|
30
32
|
serviceTarget: "ComputeOptimizerService",
|
|
31
33
|
},
|
|
@@ -423,7 +423,7 @@ const _rST = "recommendationSourceType";
|
|
|
423
423
|
const _rSe = "recommendationSources";
|
|
424
424
|
const _rT = "resourceType";
|
|
425
425
|
const _rV = "rootVolume";
|
|
426
|
-
const _s = "
|
|
426
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizer";
|
|
427
427
|
const _sA = "serviceArn";
|
|
428
428
|
const _sAe = "serviceArns";
|
|
429
429
|
const _sC = "statusCode";
|
|
@@ -445,10 +445,10 @@ const _sTta = "startTime";
|
|
|
445
445
|
const _s_ = "s3";
|
|
446
446
|
const _sc = "scope";
|
|
447
447
|
const _se = "server";
|
|
448
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizer";
|
|
449
448
|
const _so = "source";
|
|
450
|
-
const _st = "
|
|
451
|
-
const _sta = "
|
|
449
|
+
const _st = "status";
|
|
450
|
+
const _sta = "statistic";
|
|
451
|
+
const _stat = "stat";
|
|
452
452
|
const _su = "summaries";
|
|
453
453
|
const _t = "type";
|
|
454
454
|
const _tDA = "taskDefinitionArn";
|
|
@@ -476,15 +476,71 @@ const n0 = "com.amazonaws.computeoptimizer";
|
|
|
476
476
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
477
477
|
import { ComputeOptimizerServiceException } from "../models/ComputeOptimizerServiceException";
|
|
478
478
|
import { AccessDeniedException, InternalServerException, InvalidParameterValueException, LimitExceededException, MissingAuthenticationToken, OptInRequiredException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
|
|
479
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
480
|
+
export var ComputeOptimizerServiceException$ = [-3, _s, "ComputeOptimizerServiceException", 0, [], []];
|
|
481
|
+
_s_registry.registerError(ComputeOptimizerServiceException$, ComputeOptimizerServiceException);
|
|
482
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
479
483
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
480
484
|
{ [_e]: _c, [_hE]: 403 },
|
|
481
485
|
[_m],
|
|
482
486
|
[0]
|
|
483
487
|
];
|
|
484
|
-
|
|
488
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
489
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
490
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
491
|
+
[_m],
|
|
492
|
+
[0]
|
|
493
|
+
];
|
|
494
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
495
|
+
export var InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
496
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
497
|
+
[_m],
|
|
498
|
+
[0]
|
|
499
|
+
];
|
|
500
|
+
n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);
|
|
501
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
502
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
503
|
+
[_m],
|
|
504
|
+
[0]
|
|
505
|
+
];
|
|
506
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
507
|
+
export var MissingAuthenticationToken$ = [-3, n0, _MAT,
|
|
508
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
509
|
+
[_m],
|
|
510
|
+
[0]
|
|
511
|
+
];
|
|
512
|
+
n0_registry.registerError(MissingAuthenticationToken$, MissingAuthenticationToken);
|
|
513
|
+
export var OptInRequiredException$ = [-3, n0, _OIRE,
|
|
514
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
515
|
+
[_m],
|
|
516
|
+
[0]
|
|
517
|
+
];
|
|
518
|
+
n0_registry.registerError(OptInRequiredException$, OptInRequiredException);
|
|
519
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
520
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
521
|
+
[_m],
|
|
522
|
+
[0]
|
|
523
|
+
];
|
|
524
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
525
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
526
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
527
|
+
[_m],
|
|
528
|
+
[0]
|
|
529
|
+
];
|
|
530
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
531
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
532
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
533
|
+
[_m],
|
|
534
|
+
[0], 1
|
|
535
|
+
];
|
|
536
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
537
|
+
export const errorTypeRegistries = [
|
|
538
|
+
_s_registry,
|
|
539
|
+
n0_registry,
|
|
540
|
+
];
|
|
485
541
|
export var AccountEnrollmentStatus$ = [3, n0, _AES,
|
|
486
542
|
0,
|
|
487
|
-
[_aI,
|
|
543
|
+
[_aI, _st, _sR, _lUT],
|
|
488
544
|
[0, 0, 0, 4]
|
|
489
545
|
];
|
|
490
546
|
export var AutoScalingGroupConfiguration$ = [3, n0, _ASGC,
|
|
@@ -584,7 +640,7 @@ export var EBSSavingsOpportunityAfterDiscounts$ = [3, n0, _EBSSOAD,
|
|
|
584
640
|
];
|
|
585
641
|
export var EBSUtilizationMetric$ = [3, n0, _EBSUM,
|
|
586
642
|
0,
|
|
587
|
-
[_n,
|
|
643
|
+
[_n, _sta, _v],
|
|
588
644
|
[0, 0, 1]
|
|
589
645
|
];
|
|
590
646
|
export var ECSEffectiveRecommendationPreferences$ = [3, n0, _ECSERP,
|
|
@@ -614,7 +670,7 @@ export var ECSServiceProjectedMetric$ = [3, n0, _ECSSPM,
|
|
|
614
670
|
];
|
|
615
671
|
export var ECSServiceProjectedUtilizationMetric$ = [3, n0, _ECSSPUM,
|
|
616
672
|
0,
|
|
617
|
-
[_n,
|
|
673
|
+
[_n, _sta, _lBVo, _uBVp],
|
|
618
674
|
[0, 0, 1, 1]
|
|
619
675
|
];
|
|
620
676
|
export var ECSServiceRecommendation$ = [3, n0, _ECSSR,
|
|
@@ -639,7 +695,7 @@ export var ECSServiceRecommendedOptionProjectedMetric$ = [3, n0, _ECSSROPM,
|
|
|
639
695
|
];
|
|
640
696
|
export var ECSServiceUtilizationMetric$ = [3, n0, _ECSSUM,
|
|
641
697
|
0,
|
|
642
|
-
[_n,
|
|
698
|
+
[_n, _sta, _v],
|
|
643
699
|
[0, 0, 1]
|
|
644
700
|
];
|
|
645
701
|
export var EffectivePreferredResource$ = [3, n0, _EPR,
|
|
@@ -794,7 +850,7 @@ export var GetEC2InstanceRecommendationsResponse$ = [3, n0, _GECIRRe,
|
|
|
794
850
|
];
|
|
795
851
|
export var GetEC2RecommendationProjectedMetricsRequest$ = [3, n0, _GECRPMR,
|
|
796
852
|
0,
|
|
797
|
-
[_iAn,
|
|
853
|
+
[_iAn, _stat, _p, _sTta, _eT, _rP],
|
|
798
854
|
[0, 0, 1, 4, 4, () => RecommendationPreferences$], 5
|
|
799
855
|
];
|
|
800
856
|
export var GetEC2RecommendationProjectedMetricsResponse$ = [3, n0, _GECRPMRe,
|
|
@@ -804,7 +860,7 @@ export var GetEC2RecommendationProjectedMetricsResponse$ = [3, n0, _GECRPMRe,
|
|
|
804
860
|
];
|
|
805
861
|
export var GetECSServiceRecommendationProjectedMetricsRequest$ = [3, n0, _GECSSRPMR,
|
|
806
862
|
0,
|
|
807
|
-
[_sA,
|
|
863
|
+
[_sA, _stat, _p, _sTta, _eT],
|
|
808
864
|
[0, 0, 1, 4, 4], 5
|
|
809
865
|
];
|
|
810
866
|
export var GetECSServiceRecommendationProjectedMetricsResponse$ = [3, n0, _GECSSRPMRe,
|
|
@@ -849,7 +905,7 @@ export var GetEnrollmentStatusRequest$ = [3, n0, _GESR,
|
|
|
849
905
|
];
|
|
850
906
|
export var GetEnrollmentStatusResponse$ = [3, n0, _GESRe,
|
|
851
907
|
0,
|
|
852
|
-
[
|
|
908
|
+
[_st, _sR, _mAE, _lUT, _nOMAOI],
|
|
853
909
|
[0, 0, 2, 4, 1]
|
|
854
910
|
];
|
|
855
911
|
export var GetIdleRecommendationsRequest$ = [3, n0, _GIRR,
|
|
@@ -884,7 +940,7 @@ export var GetLicenseRecommendationsResponse$ = [3, n0, _GLRRe,
|
|
|
884
940
|
];
|
|
885
941
|
export var GetRDSDatabaseRecommendationProjectedMetricsRequest$ = [3, n0, _GRDSDRPMR,
|
|
886
942
|
0,
|
|
887
|
-
[_rA,
|
|
943
|
+
[_rA, _stat, _p, _sTta, _eT, _rP],
|
|
888
944
|
[0, 0, 1, 4, 4, () => RecommendationPreferences$], 5
|
|
889
945
|
];
|
|
890
946
|
export var GetRDSDatabaseRecommendationProjectedMetricsResponse$ = [3, n0, _GRDSDRPMRe,
|
|
@@ -974,7 +1030,7 @@ export var IdleSummary$ = [3, n0, _IS,
|
|
|
974
1030
|
];
|
|
975
1031
|
export var IdleUtilizationMetric$ = [3, n0, _IUM,
|
|
976
1032
|
0,
|
|
977
|
-
[_n,
|
|
1033
|
+
[_n, _sta, _v],
|
|
978
1034
|
[0, 0, 1]
|
|
979
1035
|
];
|
|
980
1036
|
export var InferredWorkloadSaving$ = [3, n0, _IWS,
|
|
@@ -1007,18 +1063,6 @@ export var InstanceSavingsOpportunityAfterDiscounts$ = [3, n0, _ISOADn,
|
|
|
1007
1063
|
[_sOP, _eMS],
|
|
1008
1064
|
[1, () => InstanceEstimatedMonthlySavings$]
|
|
1009
1065
|
];
|
|
1010
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
1011
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
1012
|
-
[_m],
|
|
1013
|
-
[0]
|
|
1014
|
-
];
|
|
1015
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
1016
|
-
export var InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
1017
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1018
|
-
[_m],
|
|
1019
|
-
[0]
|
|
1020
|
-
];
|
|
1021
|
-
TypeRegistry.for(n0).registerError(InvalidParameterValueException$, InvalidParameterValueException);
|
|
1022
1066
|
export var JobFilter$ = [3, n0, _JF,
|
|
1023
1067
|
0,
|
|
1024
1068
|
[_n, _va],
|
|
@@ -1036,7 +1080,7 @@ export var LambdaEstimatedMonthlySavings$ = [3, n0, _LEMS,
|
|
|
1036
1080
|
];
|
|
1037
1081
|
export var LambdaFunctionMemoryProjectedMetric$ = [3, n0, _LFMPM,
|
|
1038
1082
|
0,
|
|
1039
|
-
[_n,
|
|
1083
|
+
[_n, _sta, _v],
|
|
1040
1084
|
[0, 0, 1]
|
|
1041
1085
|
];
|
|
1042
1086
|
export var LambdaFunctionMemoryRecommendationOption$ = [3, n0, _LFMRO,
|
|
@@ -1056,7 +1100,7 @@ export var LambdaFunctionRecommendationFilter$ = [3, n0, _LFRF,
|
|
|
1056
1100
|
];
|
|
1057
1101
|
export var LambdaFunctionUtilizationMetric$ = [3, n0, _LFUM,
|
|
1058
1102
|
0,
|
|
1059
|
-
[_n,
|
|
1103
|
+
[_n, _sta, _v],
|
|
1060
1104
|
[0, 0, 1]
|
|
1061
1105
|
];
|
|
1062
1106
|
export var LambdaSavingsEstimationMode$ = [3, n0, _LSEM,
|
|
@@ -1089,12 +1133,6 @@ export var LicenseRecommendationOption$ = [3, n0, _LRO,
|
|
|
1089
1133
|
[_r, _oS, _lE, _lM, _sO],
|
|
1090
1134
|
[1, 0, 0, 0, () => SavingsOpportunity$]
|
|
1091
1135
|
];
|
|
1092
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
1093
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1094
|
-
[_m],
|
|
1095
|
-
[0]
|
|
1096
|
-
];
|
|
1097
|
-
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
1098
1136
|
export var MemorySizeConfiguration$ = [3, n0, _MSC,
|
|
1099
1137
|
0,
|
|
1100
1138
|
[_mem, _mRe],
|
|
@@ -1105,18 +1143,6 @@ export var MetricSource$ = [3, n0, _MS,
|
|
|
1105
1143
|
[_pr, _pA],
|
|
1106
1144
|
[0, 0]
|
|
1107
1145
|
];
|
|
1108
|
-
export var MissingAuthenticationToken$ = [-3, n0, _MAT,
|
|
1109
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
1110
|
-
[_m],
|
|
1111
|
-
[0]
|
|
1112
|
-
];
|
|
1113
|
-
TypeRegistry.for(n0).registerError(MissingAuthenticationToken$, MissingAuthenticationToken);
|
|
1114
|
-
export var OptInRequiredException$ = [-3, n0, _OIRE,
|
|
1115
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
1116
|
-
[_m],
|
|
1117
|
-
[0]
|
|
1118
|
-
];
|
|
1119
|
-
TypeRegistry.for(n0).registerError(OptInRequiredException$, OptInRequiredException);
|
|
1120
1146
|
export var OrderBy$ = [3, n0, _OB,
|
|
1121
1147
|
0,
|
|
1122
1148
|
[_d, _o],
|
|
@@ -1174,7 +1200,7 @@ export var RDSDBStorageRecommendationOption$ = [3, n0, _RDSDBSRO,
|
|
|
1174
1200
|
];
|
|
1175
1201
|
export var RDSDBUtilizationMetric$ = [3, n0, _RDSDBUM,
|
|
1176
1202
|
0,
|
|
1177
|
-
[_n,
|
|
1203
|
+
[_n, _sta, _v],
|
|
1178
1204
|
[0, 0, 1]
|
|
1179
1205
|
];
|
|
1180
1206
|
export var RDSEffectiveRecommendationPreferences$ = [3, n0, _RDSERP,
|
|
@@ -1214,7 +1240,7 @@ export var ReasonCodeSummary$ = [3, n0, _RCS,
|
|
|
1214
1240
|
];
|
|
1215
1241
|
export var RecommendationExportJob$ = [3, n0, _REJ,
|
|
1216
1242
|
0,
|
|
1217
|
-
[_jIo, _de, _rT,
|
|
1243
|
+
[_jIo, _de, _rT, _st, _cT, _lUT, _fR],
|
|
1218
1244
|
[0, () => ExportDestination$, 0, 0, 4, 4, 0]
|
|
1219
1245
|
];
|
|
1220
1246
|
export var RecommendationPreferences$ = [3, n0, _RP,
|
|
@@ -1242,12 +1268,6 @@ export var RecommendedOptionProjectedMetric$ = [3, n0, _ROPM,
|
|
|
1242
1268
|
[_rIT, _r, _pM],
|
|
1243
1269
|
[0, 1, () => ProjectedMetrics]
|
|
1244
1270
|
];
|
|
1245
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
1246
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1247
|
-
[_m],
|
|
1248
|
-
[0]
|
|
1249
|
-
];
|
|
1250
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
1251
1271
|
export var S3Destination$ = [3, n0, _SD,
|
|
1252
1272
|
0,
|
|
1253
1273
|
[_b, _k, _mK],
|
|
@@ -1273,12 +1293,6 @@ export var ServiceConfiguration$ = [3, n0, _SC,
|
|
|
1273
1293
|
[_mem, _cp, _cCo, _aSC, _tDA],
|
|
1274
1294
|
[1, 1, () => ContainerConfigurations, 0, 0]
|
|
1275
1295
|
];
|
|
1276
|
-
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
1277
|
-
{ [_e]: _se, [_hE]: 503 },
|
|
1278
|
-
[_m],
|
|
1279
|
-
[0]
|
|
1280
|
-
];
|
|
1281
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
1282
1296
|
export var Summary$ = [3, n0, _Su,
|
|
1283
1297
|
0,
|
|
1284
1298
|
[_n, _v, _rCS],
|
|
@@ -1289,25 +1303,19 @@ export var Tag$ = [3, n0, _T,
|
|
|
1289
1303
|
[_k, _v],
|
|
1290
1304
|
[0, 0]
|
|
1291
1305
|
];
|
|
1292
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
1293
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
1294
|
-
[_m],
|
|
1295
|
-
[0], 1
|
|
1296
|
-
];
|
|
1297
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
1298
1306
|
export var UpdateEnrollmentStatusRequest$ = [3, n0, _UESR,
|
|
1299
1307
|
0,
|
|
1300
|
-
[
|
|
1308
|
+
[_st, _iMA],
|
|
1301
1309
|
[0, 2], 1
|
|
1302
1310
|
];
|
|
1303
1311
|
export var UpdateEnrollmentStatusResponse$ = [3, n0, _UESRp,
|
|
1304
1312
|
0,
|
|
1305
|
-
[
|
|
1313
|
+
[_st, _sR],
|
|
1306
1314
|
[0, 0]
|
|
1307
1315
|
];
|
|
1308
1316
|
export var UtilizationMetric$ = [3, n0, _UM,
|
|
1309
1317
|
0,
|
|
1310
|
-
[_n,
|
|
1318
|
+
[_n, _sta, _v],
|
|
1311
1319
|
[0, 0, 1]
|
|
1312
1320
|
];
|
|
1313
1321
|
export var UtilizationPreference$ = [3, n0, _UP,
|
|
@@ -1330,8 +1338,6 @@ export var VolumeRecommendationOption$ = [3, n0, _VRO,
|
|
|
1330
1338
|
[_co, _pR, _r, _sO, _sOAD],
|
|
1331
1339
|
[() => VolumeConfiguration$, 1, 1, () => SavingsOpportunity$, () => EBSSavingsOpportunityAfterDiscounts$]
|
|
1332
1340
|
];
|
|
1333
|
-
export var ComputeOptimizerServiceException$ = [-3, _sm, "ComputeOptimizerServiceException", 0, [], []];
|
|
1334
|
-
TypeRegistry.for(_sm).registerError(ComputeOptimizerServiceException$, ComputeOptimizerServiceException);
|
|
1335
1341
|
var AccountEnrollmentStatuses = [1, n0, _AESc,
|
|
1336
1342
|
0, () => AccountEnrollmentStatus$
|
|
1337
1343
|
];
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ComputeOptimizerServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
7
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var MissingAuthenticationToken$: StaticErrorSchema;
|
|
9
|
+
export declare var OptInRequiredException$: StaticErrorSchema;
|
|
10
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
12
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
13
|
+
/**
|
|
14
|
+
* TypeRegistry instances containing modeled errors.
|
|
15
|
+
* @internal
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
19
|
export declare var AccountEnrollmentStatus$: StaticStructureSchema;
|
|
4
20
|
export declare var AutoScalingGroupConfiguration$: StaticStructureSchema;
|
|
5
21
|
export declare var AutoScalingGroupEstimatedMonthlySavings$: StaticStructureSchema;
|
|
@@ -105,8 +121,6 @@ export declare var InstanceRecommendation$: StaticStructureSchema;
|
|
|
105
121
|
export declare var InstanceRecommendationOption$: StaticStructureSchema;
|
|
106
122
|
export declare var InstanceSavingsEstimationMode$: StaticStructureSchema;
|
|
107
123
|
export declare var InstanceSavingsOpportunityAfterDiscounts$: StaticStructureSchema;
|
|
108
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
109
|
-
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
110
124
|
export declare var JobFilter$: StaticStructureSchema;
|
|
111
125
|
export declare var LambdaEffectiveRecommendationPreferences$: StaticStructureSchema;
|
|
112
126
|
export declare var LambdaEstimatedMonthlySavings$: StaticStructureSchema;
|
|
@@ -121,11 +135,8 @@ export declare var LicenseConfiguration$: StaticStructureSchema;
|
|
|
121
135
|
export declare var LicenseRecommendation$: StaticStructureSchema;
|
|
122
136
|
export declare var LicenseRecommendationFilter$: StaticStructureSchema;
|
|
123
137
|
export declare var LicenseRecommendationOption$: StaticStructureSchema;
|
|
124
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
125
138
|
export declare var MemorySizeConfiguration$: StaticStructureSchema;
|
|
126
139
|
export declare var MetricSource$: StaticStructureSchema;
|
|
127
|
-
export declare var MissingAuthenticationToken$: StaticErrorSchema;
|
|
128
|
-
export declare var OptInRequiredException$: StaticErrorSchema;
|
|
129
140
|
export declare var OrderBy$: StaticStructureSchema;
|
|
130
141
|
export declare var PreferredResource$: StaticStructureSchema;
|
|
131
142
|
export declare var ProjectedMetric$: StaticStructureSchema;
|
|
@@ -151,16 +162,13 @@ export declare var RecommendationPreferencesDetail$: StaticStructureSchema;
|
|
|
151
162
|
export declare var RecommendationSource$: StaticStructureSchema;
|
|
152
163
|
export declare var RecommendationSummary$: StaticStructureSchema;
|
|
153
164
|
export declare var RecommendedOptionProjectedMetric$: StaticStructureSchema;
|
|
154
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
155
165
|
export declare var S3Destination$: StaticStructureSchema;
|
|
156
166
|
export declare var S3DestinationConfig$: StaticStructureSchema;
|
|
157
167
|
export declare var SavingsOpportunity$: StaticStructureSchema;
|
|
158
168
|
export declare var Scope$: StaticStructureSchema;
|
|
159
169
|
export declare var ServiceConfiguration$: StaticStructureSchema;
|
|
160
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
161
170
|
export declare var Summary$: StaticStructureSchema;
|
|
162
171
|
export declare var Tag$: StaticStructureSchema;
|
|
163
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
164
172
|
export declare var UpdateEnrollmentStatusRequest$: StaticStructureSchema;
|
|
165
173
|
export declare var UpdateEnrollmentStatusResponse$: StaticStructureSchema;
|
|
166
174
|
export declare var UtilizationMetric$: StaticStructureSchema;
|
|
@@ -168,7 +176,6 @@ export declare var UtilizationPreference$: StaticStructureSchema;
|
|
|
168
176
|
export declare var VolumeConfiguration$: StaticStructureSchema;
|
|
169
177
|
export declare var VolumeRecommendation$: StaticStructureSchema;
|
|
170
178
|
export declare var VolumeRecommendationOption$: StaticStructureSchema;
|
|
171
|
-
export declare var ComputeOptimizerServiceException$: StaticErrorSchema;
|
|
172
179
|
export declare var DeleteRecommendationPreferences$: StaticOperationSchema;
|
|
173
180
|
export declare var DescribeRecommendationExportJobs$: StaticOperationSchema;
|
|
174
181
|
export declare var ExportAutoScalingGroupRecommendations$: StaticOperationSchema;
|
|
@@ -1,9 +1,20 @@
|
|
|
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 ComputeOptimizerServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
+
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
11
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var MissingAuthenticationToken$: StaticErrorSchema;
|
|
13
|
+
export declare var OptInRequiredException$: StaticErrorSchema;
|
|
14
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
15
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
16
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
18
|
export declare var AccountEnrollmentStatus$: StaticStructureSchema;
|
|
8
19
|
export declare var AutoScalingGroupConfiguration$: StaticStructureSchema;
|
|
9
20
|
export declare var AutoScalingGroupEstimatedMonthlySavings$: StaticStructureSchema;
|
|
@@ -109,8 +120,6 @@ export declare var InstanceRecommendation$: StaticStructureSchema;
|
|
|
109
120
|
export declare var InstanceRecommendationOption$: StaticStructureSchema;
|
|
110
121
|
export declare var InstanceSavingsEstimationMode$: StaticStructureSchema;
|
|
111
122
|
export declare var InstanceSavingsOpportunityAfterDiscounts$: StaticStructureSchema;
|
|
112
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
113
|
-
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
114
123
|
export declare var JobFilter$: StaticStructureSchema;
|
|
115
124
|
export declare var LambdaEffectiveRecommendationPreferences$: StaticStructureSchema;
|
|
116
125
|
export declare var LambdaEstimatedMonthlySavings$: StaticStructureSchema;
|
|
@@ -125,11 +134,8 @@ export declare var LicenseConfiguration$: StaticStructureSchema;
|
|
|
125
134
|
export declare var LicenseRecommendation$: StaticStructureSchema;
|
|
126
135
|
export declare var LicenseRecommendationFilter$: StaticStructureSchema;
|
|
127
136
|
export declare var LicenseRecommendationOption$: StaticStructureSchema;
|
|
128
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
129
137
|
export declare var MemorySizeConfiguration$: StaticStructureSchema;
|
|
130
138
|
export declare var MetricSource$: StaticStructureSchema;
|
|
131
|
-
export declare var MissingAuthenticationToken$: StaticErrorSchema;
|
|
132
|
-
export declare var OptInRequiredException$: StaticErrorSchema;
|
|
133
139
|
export declare var OrderBy$: StaticStructureSchema;
|
|
134
140
|
export declare var PreferredResource$: StaticStructureSchema;
|
|
135
141
|
export declare var ProjectedMetric$: StaticStructureSchema;
|
|
@@ -155,16 +161,13 @@ export declare var RecommendationPreferencesDetail$: StaticStructureSchema;
|
|
|
155
161
|
export declare var RecommendationSource$: StaticStructureSchema;
|
|
156
162
|
export declare var RecommendationSummary$: StaticStructureSchema;
|
|
157
163
|
export declare var RecommendedOptionProjectedMetric$: StaticStructureSchema;
|
|
158
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
159
164
|
export declare var S3Destination$: StaticStructureSchema;
|
|
160
165
|
export declare var S3DestinationConfig$: StaticStructureSchema;
|
|
161
166
|
export declare var SavingsOpportunity$: StaticStructureSchema;
|
|
162
167
|
export declare var Scope$: StaticStructureSchema;
|
|
163
168
|
export declare var ServiceConfiguration$: StaticStructureSchema;
|
|
164
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
165
169
|
export declare var Summary$: StaticStructureSchema;
|
|
166
170
|
export declare var Tag$: StaticStructureSchema;
|
|
167
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
168
171
|
export declare var UpdateEnrollmentStatusRequest$: StaticStructureSchema;
|
|
169
172
|
export declare var UpdateEnrollmentStatusResponse$: StaticStructureSchema;
|
|
170
173
|
export declare var UtilizationMetric$: StaticStructureSchema;
|
|
@@ -172,7 +175,6 @@ export declare var UtilizationPreference$: StaticStructureSchema;
|
|
|
172
175
|
export declare var VolumeConfiguration$: StaticStructureSchema;
|
|
173
176
|
export declare var VolumeRecommendation$: StaticStructureSchema;
|
|
174
177
|
export declare var VolumeRecommendationOption$: StaticStructureSchema;
|
|
175
|
-
export declare var ComputeOptimizerServiceException$: StaticErrorSchema;
|
|
176
178
|
export declare var DeleteRecommendationPreferences$: StaticOperationSchema;
|
|
177
179
|
export declare var DescribeRecommendationExportJobs$: StaticOperationSchema;
|
|
178
180
|
export declare var ExportAutoScalingGroupRecommendations$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-compute-optimizer",
|
|
@@ -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.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.
|
|
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.
|
|
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.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
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",
|