@aws-sdk/client-cost-explorer 3.693.0 → 3.698.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/README.md +24 -0
- package/dist-cjs/index.js +301 -36
- package/dist-es/CostExplorer.js +6 -0
- package/dist-es/commands/GetCommitmentPurchaseAnalysisCommand.js +22 -0
- package/dist-es/commands/ListCommitmentPurchaseAnalysesCommand.js +22 -0
- package/dist-es/commands/StartCommitmentPurchaseAnalysisCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +54 -25
- package/dist-es/protocols/Aws_json1_1.js +182 -4
- package/dist-types/CostExplorer.d.ts +22 -0
- package/dist-types/CostExplorerClient.d.ts +5 -2
- package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +146 -0
- package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +121 -0
- package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +609 -112
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +52 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +165 -40
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -305,6 +305,14 @@ GetApproximateUsageRecords
|
|
|
305
305
|
|
|
306
306
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetApproximateUsageRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetApproximateUsageRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetApproximateUsageRecordsCommandOutput/)
|
|
307
307
|
|
|
308
|
+
</details>
|
|
309
|
+
<details>
|
|
310
|
+
<summary>
|
|
311
|
+
GetCommitmentPurchaseAnalysis
|
|
312
|
+
</summary>
|
|
313
|
+
|
|
314
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCommitmentPurchaseAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCommitmentPurchaseAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCommitmentPurchaseAnalysisCommandOutput/)
|
|
315
|
+
|
|
308
316
|
</details>
|
|
309
317
|
<details>
|
|
310
318
|
<summary>
|
|
@@ -433,6 +441,14 @@ GetUsageForecast
|
|
|
433
441
|
|
|
434
442
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetUsageForecastCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetUsageForecastCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetUsageForecastCommandOutput/)
|
|
435
443
|
|
|
444
|
+
</details>
|
|
445
|
+
<details>
|
|
446
|
+
<summary>
|
|
447
|
+
ListCommitmentPurchaseAnalyses
|
|
448
|
+
</summary>
|
|
449
|
+
|
|
450
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ListCommitmentPurchaseAnalysesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCommitmentPurchaseAnalysesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCommitmentPurchaseAnalysesCommandOutput/)
|
|
451
|
+
|
|
436
452
|
</details>
|
|
437
453
|
<details>
|
|
438
454
|
<summary>
|
|
@@ -481,6 +497,14 @@ ProvideAnomalyFeedback
|
|
|
481
497
|
|
|
482
498
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ProvideAnomalyFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ProvideAnomalyFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ProvideAnomalyFeedbackCommandOutput/)
|
|
483
499
|
|
|
500
|
+
</details>
|
|
501
|
+
<details>
|
|
502
|
+
<summary>
|
|
503
|
+
StartCommitmentPurchaseAnalysis
|
|
504
|
+
</summary>
|
|
505
|
+
|
|
506
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/StartCommitmentPurchaseAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/StartCommitmentPurchaseAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/StartCommitmentPurchaseAnalysisCommandOutput/)
|
|
507
|
+
|
|
484
508
|
</details>
|
|
485
509
|
<details>
|
|
486
510
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -22,6 +22,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccountScope: () => AccountScope,
|
|
25
|
+
AnalysisNotFoundException: () => AnalysisNotFoundException,
|
|
26
|
+
AnalysisStatus: () => AnalysisStatus,
|
|
27
|
+
AnalysisType: () => AnalysisType,
|
|
25
28
|
AnomalyFeedbackType: () => AnomalyFeedbackType,
|
|
26
29
|
AnomalySubscriptionFrequency: () => AnomalySubscriptionFrequency,
|
|
27
30
|
ApproximationDimension: () => ApproximationDimension,
|
|
@@ -50,6 +53,7 @@ __export(src_exports, {
|
|
|
50
53
|
DeleteCostCategoryDefinitionCommand: () => DeleteCostCategoryDefinitionCommand,
|
|
51
54
|
DescribeCostCategoryDefinitionCommand: () => DescribeCostCategoryDefinitionCommand,
|
|
52
55
|
Dimension: () => Dimension,
|
|
56
|
+
ErrorCode: () => ErrorCode,
|
|
53
57
|
FindingReasonCode: () => FindingReasonCode,
|
|
54
58
|
GenerationExistsException: () => GenerationExistsException,
|
|
55
59
|
GenerationStatus: () => GenerationStatus,
|
|
@@ -57,6 +61,7 @@ __export(src_exports, {
|
|
|
57
61
|
GetAnomalyMonitorsCommand: () => GetAnomalyMonitorsCommand,
|
|
58
62
|
GetAnomalySubscriptionsCommand: () => GetAnomalySubscriptionsCommand,
|
|
59
63
|
GetApproximateUsageRecordsCommand: () => GetApproximateUsageRecordsCommand,
|
|
64
|
+
GetCommitmentPurchaseAnalysisCommand: () => GetCommitmentPurchaseAnalysisCommand,
|
|
60
65
|
GetCostAndUsageCommand: () => GetCostAndUsageCommand,
|
|
61
66
|
GetCostAndUsageWithResourcesCommand: () => GetCostAndUsageWithResourcesCommand,
|
|
62
67
|
GetCostCategoriesCommand: () => GetCostCategoriesCommand,
|
|
@@ -77,6 +82,7 @@ __export(src_exports, {
|
|
|
77
82
|
GroupDefinitionType: () => GroupDefinitionType,
|
|
78
83
|
InvalidNextTokenException: () => InvalidNextTokenException,
|
|
79
84
|
LimitExceededException: () => LimitExceededException,
|
|
85
|
+
ListCommitmentPurchaseAnalysesCommand: () => ListCommitmentPurchaseAnalysesCommand,
|
|
80
86
|
ListCostAllocationTagBackfillHistoryCommand: () => ListCostAllocationTagBackfillHistoryCommand,
|
|
81
87
|
ListCostAllocationTagsCommand: () => ListCostAllocationTagsCommand,
|
|
82
88
|
ListCostCategoryDefinitionsCommand: () => ListCostCategoryDefinitionsCommand,
|
|
@@ -99,6 +105,7 @@ __export(src_exports, {
|
|
|
99
105
|
SavingsPlansDataType: () => SavingsPlansDataType,
|
|
100
106
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
101
107
|
SortOrder: () => SortOrder,
|
|
108
|
+
StartCommitmentPurchaseAnalysisCommand: () => StartCommitmentPurchaseAnalysisCommand,
|
|
102
109
|
StartCostAllocationTagBackfillCommand: () => StartCostAllocationTagBackfillCommand,
|
|
103
110
|
StartSavingsPlansPurchaseRecommendationGenerationCommand: () => StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
104
111
|
SubscriberStatus: () => SubscriberStatus,
|
|
@@ -293,6 +300,57 @@ var AccountScope = {
|
|
|
293
300
|
LINKED: "LINKED",
|
|
294
301
|
PAYER: "PAYER"
|
|
295
302
|
};
|
|
303
|
+
var _AnalysisNotFoundException = class _AnalysisNotFoundException extends CostExplorerServiceException {
|
|
304
|
+
/**
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "AnalysisNotFoundException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts
|
|
312
|
+
});
|
|
313
|
+
this.name = "AnalysisNotFoundException";
|
|
314
|
+
this.$fault = "client";
|
|
315
|
+
Object.setPrototypeOf(this, _AnalysisNotFoundException.prototype);
|
|
316
|
+
this.Message = opts.Message;
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
__name(_AnalysisNotFoundException, "AnalysisNotFoundException");
|
|
320
|
+
var AnalysisNotFoundException = _AnalysisNotFoundException;
|
|
321
|
+
var AnalysisStatus = {
|
|
322
|
+
FAILED: "FAILED",
|
|
323
|
+
PROCESSING: "PROCESSING",
|
|
324
|
+
SUCCEEDED: "SUCCEEDED"
|
|
325
|
+
};
|
|
326
|
+
var AnalysisType = {
|
|
327
|
+
CUSTOM_COMMITMENT: "CUSTOM_COMMITMENT",
|
|
328
|
+
MAX_SAVINGS: "MAX_SAVINGS"
|
|
329
|
+
};
|
|
330
|
+
var PaymentOption = {
|
|
331
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
332
|
+
HEAVY_UTILIZATION: "HEAVY_UTILIZATION",
|
|
333
|
+
LIGHT_UTILIZATION: "LIGHT_UTILIZATION",
|
|
334
|
+
MEDIUM_UTILIZATION: "MEDIUM_UTILIZATION",
|
|
335
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
336
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT"
|
|
337
|
+
};
|
|
338
|
+
var SupportedSavingsPlansType = {
|
|
339
|
+
COMPUTE_SP: "COMPUTE_SP",
|
|
340
|
+
EC2_INSTANCE_SP: "EC2_INSTANCE_SP",
|
|
341
|
+
SAGEMAKER_SP: "SAGEMAKER_SP"
|
|
342
|
+
};
|
|
343
|
+
var TermInYears = {
|
|
344
|
+
ONE_YEAR: "ONE_YEAR",
|
|
345
|
+
THREE_YEARS: "THREE_YEARS"
|
|
346
|
+
};
|
|
347
|
+
var ErrorCode = {
|
|
348
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
349
|
+
INVALID_ACCOUNT_ID: "INVALID_ACCOUNT_ID",
|
|
350
|
+
INVALID_SAVINGS_PLANS_TO_ADD: "INVALID_SAVINGS_PLANS_TO_ADD",
|
|
351
|
+
INVALID_SAVINGS_PLANS_TO_EXCLUDE: "INVALID_SAVINGS_PLANS_TO_EXCLUDE",
|
|
352
|
+
NO_USAGE_FOUND: "NO_USAGE_FOUND"
|
|
353
|
+
};
|
|
296
354
|
var AnomalyFeedbackType = {
|
|
297
355
|
NO: "NO",
|
|
298
356
|
PLANNED_ACTIVITY: "PLANNED_ACTIVITY",
|
|
@@ -598,22 +656,10 @@ var LookbackPeriodInDays = {
|
|
|
598
656
|
SIXTY_DAYS: "SIXTY_DAYS",
|
|
599
657
|
THIRTY_DAYS: "THIRTY_DAYS"
|
|
600
658
|
};
|
|
601
|
-
var PaymentOption = {
|
|
602
|
-
ALL_UPFRONT: "ALL_UPFRONT",
|
|
603
|
-
HEAVY_UTILIZATION: "HEAVY_UTILIZATION",
|
|
604
|
-
LIGHT_UTILIZATION: "LIGHT_UTILIZATION",
|
|
605
|
-
MEDIUM_UTILIZATION: "MEDIUM_UTILIZATION",
|
|
606
|
-
NO_UPFRONT: "NO_UPFRONT",
|
|
607
|
-
PARTIAL_UPFRONT: "PARTIAL_UPFRONT"
|
|
608
|
-
};
|
|
609
659
|
var OfferingClass = {
|
|
610
660
|
CONVERTIBLE: "CONVERTIBLE",
|
|
611
661
|
STANDARD: "STANDARD"
|
|
612
662
|
};
|
|
613
|
-
var TermInYears = {
|
|
614
|
-
ONE_YEAR: "ONE_YEAR",
|
|
615
|
-
THREE_YEARS: "THREE_YEARS"
|
|
616
|
-
};
|
|
617
663
|
var RecommendationTarget = {
|
|
618
664
|
CROSS_INSTANCE_FAMILY: "CROSS_INSTANCE_FAMILY",
|
|
619
665
|
SAME_INSTANCE_FAMILY: "SAME_INSTANCE_FAMILY"
|
|
@@ -647,11 +693,6 @@ var RightsizingType = {
|
|
|
647
693
|
MODIFY: "MODIFY",
|
|
648
694
|
TERMINATE: "TERMINATE"
|
|
649
695
|
};
|
|
650
|
-
var SupportedSavingsPlansType = {
|
|
651
|
-
COMPUTE_SP: "COMPUTE_SP",
|
|
652
|
-
EC2_INSTANCE_SP: "EC2_INSTANCE_SP",
|
|
653
|
-
SAGEMAKER_SP: "SAGEMAKER_SP"
|
|
654
|
-
};
|
|
655
696
|
var SavingsPlansDataType = {
|
|
656
697
|
AMORTIZED_COMMITMENT: "AMORTIZED_COMMITMENT",
|
|
657
698
|
ATTRIBUTES: "ATTRIBUTES",
|
|
@@ -694,42 +735,42 @@ var GenerationStatus = {
|
|
|
694
735
|
PROCESSING: "PROCESSING",
|
|
695
736
|
SUCCEEDED: "SUCCEEDED"
|
|
696
737
|
};
|
|
697
|
-
var
|
|
738
|
+
var _GenerationExistsException = class _GenerationExistsException extends CostExplorerServiceException {
|
|
698
739
|
/**
|
|
699
740
|
* @internal
|
|
700
741
|
*/
|
|
701
742
|
constructor(opts) {
|
|
702
743
|
super({
|
|
703
|
-
name: "
|
|
744
|
+
name: "GenerationExistsException",
|
|
704
745
|
$fault: "client",
|
|
705
746
|
...opts
|
|
706
747
|
});
|
|
707
|
-
this.name = "
|
|
748
|
+
this.name = "GenerationExistsException";
|
|
708
749
|
this.$fault = "client";
|
|
709
|
-
Object.setPrototypeOf(this,
|
|
750
|
+
Object.setPrototypeOf(this, _GenerationExistsException.prototype);
|
|
710
751
|
this.Message = opts.Message;
|
|
711
752
|
}
|
|
712
753
|
};
|
|
713
|
-
__name(
|
|
714
|
-
var
|
|
715
|
-
var
|
|
754
|
+
__name(_GenerationExistsException, "GenerationExistsException");
|
|
755
|
+
var GenerationExistsException = _GenerationExistsException;
|
|
756
|
+
var _BackfillLimitExceededException = class _BackfillLimitExceededException extends CostExplorerServiceException {
|
|
716
757
|
/**
|
|
717
758
|
* @internal
|
|
718
759
|
*/
|
|
719
760
|
constructor(opts) {
|
|
720
761
|
super({
|
|
721
|
-
name: "
|
|
762
|
+
name: "BackfillLimitExceededException",
|
|
722
763
|
$fault: "client",
|
|
723
764
|
...opts
|
|
724
765
|
});
|
|
725
|
-
this.name = "
|
|
766
|
+
this.name = "BackfillLimitExceededException";
|
|
726
767
|
this.$fault = "client";
|
|
727
|
-
Object.setPrototypeOf(this,
|
|
768
|
+
Object.setPrototypeOf(this, _BackfillLimitExceededException.prototype);
|
|
728
769
|
this.Message = opts.Message;
|
|
729
770
|
}
|
|
730
771
|
};
|
|
731
|
-
__name(
|
|
732
|
-
var
|
|
772
|
+
__name(_BackfillLimitExceededException, "BackfillLimitExceededException");
|
|
773
|
+
var BackfillLimitExceededException = _BackfillLimitExceededException;
|
|
733
774
|
var _TooManyTagsException = class _TooManyTagsException extends CostExplorerServiceException {
|
|
734
775
|
/**
|
|
735
776
|
* @internal
|
|
@@ -817,6 +858,12 @@ var se_GetApproximateUsageRecordsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
817
858
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
818
859
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
819
860
|
}, "se_GetApproximateUsageRecordsCommand");
|
|
861
|
+
var se_GetCommitmentPurchaseAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
862
|
+
const headers = sharedHeaders("GetCommitmentPurchaseAnalysis");
|
|
863
|
+
let body;
|
|
864
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
865
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
866
|
+
}, "se_GetCommitmentPurchaseAnalysisCommand");
|
|
820
867
|
var se_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
821
868
|
const headers = sharedHeaders("GetCostAndUsage");
|
|
822
869
|
let body;
|
|
@@ -913,6 +960,12 @@ var se_GetUsageForecastCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
913
960
|
body = JSON.stringify(se_GetUsageForecastRequest(input, context));
|
|
914
961
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
915
962
|
}, "se_GetUsageForecastCommand");
|
|
963
|
+
var se_ListCommitmentPurchaseAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
964
|
+
const headers = sharedHeaders("ListCommitmentPurchaseAnalyses");
|
|
965
|
+
let body;
|
|
966
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
967
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
968
|
+
}, "se_ListCommitmentPurchaseAnalysesCommand");
|
|
916
969
|
var se_ListCostAllocationTagBackfillHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
917
970
|
const headers = sharedHeaders("ListCostAllocationTagBackfillHistory");
|
|
918
971
|
let body;
|
|
@@ -949,6 +1002,12 @@ var se_ProvideAnomalyFeedbackCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
949
1002
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
950
1003
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
951
1004
|
}, "se_ProvideAnomalyFeedbackCommand");
|
|
1005
|
+
var se_StartCommitmentPurchaseAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1006
|
+
const headers = sharedHeaders("StartCommitmentPurchaseAnalysis");
|
|
1007
|
+
let body;
|
|
1008
|
+
body = JSON.stringify(se_StartCommitmentPurchaseAnalysisRequest(input, context));
|
|
1009
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1010
|
+
}, "se_StartCommitmentPurchaseAnalysisCommand");
|
|
952
1011
|
var se_StartCostAllocationTagBackfillCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
953
1012
|
const headers = sharedHeaders("StartCostAllocationTagBackfill");
|
|
954
1013
|
let body;
|
|
@@ -1140,6 +1199,19 @@ var de_GetApproximateUsageRecordsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1140
1199
|
};
|
|
1141
1200
|
return response;
|
|
1142
1201
|
}, "de_GetApproximateUsageRecordsCommand");
|
|
1202
|
+
var de_GetCommitmentPurchaseAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
|
+
if (output.statusCode >= 300) {
|
|
1204
|
+
return de_CommandError(output, context);
|
|
1205
|
+
}
|
|
1206
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1207
|
+
let contents = {};
|
|
1208
|
+
contents = de_GetCommitmentPurchaseAnalysisResponse(data, context);
|
|
1209
|
+
const response = {
|
|
1210
|
+
$metadata: deserializeMetadata(output),
|
|
1211
|
+
...contents
|
|
1212
|
+
};
|
|
1213
|
+
return response;
|
|
1214
|
+
}, "de_GetCommitmentPurchaseAnalysisCommand");
|
|
1143
1215
|
var de_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
1216
|
if (output.statusCode >= 300) {
|
|
1145
1217
|
return de_CommandError(output, context);
|
|
@@ -1348,6 +1420,19 @@ var de_GetUsageForecastCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1348
1420
|
};
|
|
1349
1421
|
return response;
|
|
1350
1422
|
}, "de_GetUsageForecastCommand");
|
|
1423
|
+
var de_ListCommitmentPurchaseAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1424
|
+
if (output.statusCode >= 300) {
|
|
1425
|
+
return de_CommandError(output, context);
|
|
1426
|
+
}
|
|
1427
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1428
|
+
let contents = {};
|
|
1429
|
+
contents = de_ListCommitmentPurchaseAnalysesResponse(data, context);
|
|
1430
|
+
const response = {
|
|
1431
|
+
$metadata: deserializeMetadata(output),
|
|
1432
|
+
...contents
|
|
1433
|
+
};
|
|
1434
|
+
return response;
|
|
1435
|
+
}, "de_ListCommitmentPurchaseAnalysesCommand");
|
|
1351
1436
|
var de_ListCostAllocationTagBackfillHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1352
1437
|
if (output.statusCode >= 300) {
|
|
1353
1438
|
return de_CommandError(output, context);
|
|
@@ -1426,6 +1511,19 @@ var de_ProvideAnomalyFeedbackCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1426
1511
|
};
|
|
1427
1512
|
return response;
|
|
1428
1513
|
}, "de_ProvideAnomalyFeedbackCommand");
|
|
1514
|
+
var de_StartCommitmentPurchaseAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1515
|
+
if (output.statusCode >= 300) {
|
|
1516
|
+
return de_CommandError(output, context);
|
|
1517
|
+
}
|
|
1518
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1519
|
+
let contents = {};
|
|
1520
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1521
|
+
const response = {
|
|
1522
|
+
$metadata: deserializeMetadata(output),
|
|
1523
|
+
...contents
|
|
1524
|
+
};
|
|
1525
|
+
return response;
|
|
1526
|
+
}, "de_StartCommitmentPurchaseAnalysisCommand");
|
|
1429
1527
|
var de_StartCostAllocationTagBackfillCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1430
1528
|
if (output.statusCode >= 300) {
|
|
1431
1529
|
return de_CommandError(output, context);
|
|
@@ -1558,6 +1656,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1558
1656
|
case "DataUnavailableException":
|
|
1559
1657
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1560
1658
|
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1659
|
+
case "AnalysisNotFoundException":
|
|
1660
|
+
case "com.amazonaws.costexplorer#AnalysisNotFoundException":
|
|
1661
|
+
throw await de_AnalysisNotFoundExceptionRes(parsedOutput, context);
|
|
1561
1662
|
case "BillExpirationException":
|
|
1562
1663
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1563
1664
|
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
@@ -1567,12 +1668,12 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1567
1668
|
case "UnresolvableUsageUnitException":
|
|
1568
1669
|
case "com.amazonaws.costexplorer#UnresolvableUsageUnitException":
|
|
1569
1670
|
throw await de_UnresolvableUsageUnitExceptionRes(parsedOutput, context);
|
|
1570
|
-
case "BackfillLimitExceededException":
|
|
1571
|
-
case "com.amazonaws.costexplorer#BackfillLimitExceededException":
|
|
1572
|
-
throw await de_BackfillLimitExceededExceptionRes(parsedOutput, context);
|
|
1573
1671
|
case "GenerationExistsException":
|
|
1574
1672
|
case "com.amazonaws.costexplorer#GenerationExistsException":
|
|
1575
1673
|
throw await de_GenerationExistsExceptionRes(parsedOutput, context);
|
|
1674
|
+
case "BackfillLimitExceededException":
|
|
1675
|
+
case "com.amazonaws.costexplorer#BackfillLimitExceededException":
|
|
1676
|
+
throw await de_BackfillLimitExceededExceptionRes(parsedOutput, context);
|
|
1576
1677
|
case "TooManyTagsException":
|
|
1577
1678
|
case "com.amazonaws.costexplorer#TooManyTagsException":
|
|
1578
1679
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
@@ -1585,6 +1686,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1585
1686
|
});
|
|
1586
1687
|
}
|
|
1587
1688
|
}, "de_CommandError");
|
|
1689
|
+
var de_AnalysisNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1690
|
+
const body = parsedOutput.body;
|
|
1691
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1692
|
+
const exception = new AnalysisNotFoundException({
|
|
1693
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1694
|
+
...deserialized
|
|
1695
|
+
});
|
|
1696
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1697
|
+
}, "de_AnalysisNotFoundExceptionRes");
|
|
1588
1698
|
var de_BackfillLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1589
1699
|
const body = parsedOutput.body;
|
|
1590
1700
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -1727,6 +1837,11 @@ var se_AnomalySubscription = /* @__PURE__ */ __name((input, context) => {
|
|
|
1727
1837
|
ThresholdExpression: (_) => se_Expression(_, context)
|
|
1728
1838
|
});
|
|
1729
1839
|
}, "se_AnomalySubscription");
|
|
1840
|
+
var se_CommitmentPurchaseAnalysisConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1841
|
+
return (0, import_smithy_client.take)(input, {
|
|
1842
|
+
SavingsPlansPurchaseAnalysisConfiguration: (_) => se_SavingsPlansPurchaseAnalysisConfiguration(_, context)
|
|
1843
|
+
});
|
|
1844
|
+
}, "se_CommitmentPurchaseAnalysisConfiguration");
|
|
1730
1845
|
var se_CostCategoryRule = /* @__PURE__ */ __name((input, context) => {
|
|
1731
1846
|
return (0, import_smithy_client.take)(input, {
|
|
1732
1847
|
InheritedValue: import_smithy_client._json,
|
|
@@ -1948,6 +2063,37 @@ var se_GetUsageForecastRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1948
2063
|
TimePeriod: import_smithy_client._json
|
|
1949
2064
|
});
|
|
1950
2065
|
}, "se_GetUsageForecastRequest");
|
|
2066
|
+
var se_SavingsPlans = /* @__PURE__ */ __name((input, context) => {
|
|
2067
|
+
return (0, import_smithy_client.take)(input, {
|
|
2068
|
+
InstanceFamily: [],
|
|
2069
|
+
OfferingId: [],
|
|
2070
|
+
PaymentOption: [],
|
|
2071
|
+
Region: [],
|
|
2072
|
+
SavingsPlansCommitment: import_smithy_client.serializeFloat,
|
|
2073
|
+
SavingsPlansType: [],
|
|
2074
|
+
TermInYears: []
|
|
2075
|
+
});
|
|
2076
|
+
}, "se_SavingsPlans");
|
|
2077
|
+
var se_SavingsPlansPurchaseAnalysisConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2078
|
+
return (0, import_smithy_client.take)(input, {
|
|
2079
|
+
AccountId: [],
|
|
2080
|
+
AccountScope: [],
|
|
2081
|
+
AnalysisType: [],
|
|
2082
|
+
LookBackTimePeriod: import_smithy_client._json,
|
|
2083
|
+
SavingsPlansToAdd: (_) => se_SavingsPlansToAdd(_, context),
|
|
2084
|
+
SavingsPlansToExclude: import_smithy_client._json
|
|
2085
|
+
});
|
|
2086
|
+
}, "se_SavingsPlansPurchaseAnalysisConfiguration");
|
|
2087
|
+
var se_SavingsPlansToAdd = /* @__PURE__ */ __name((input, context) => {
|
|
2088
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2089
|
+
return se_SavingsPlans(entry, context);
|
|
2090
|
+
});
|
|
2091
|
+
}, "se_SavingsPlansToAdd");
|
|
2092
|
+
var se_StartCommitmentPurchaseAnalysisRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2093
|
+
return (0, import_smithy_client.take)(input, {
|
|
2094
|
+
CommitmentPurchaseAnalysisConfiguration: (_) => se_CommitmentPurchaseAnalysisConfiguration(_, context)
|
|
2095
|
+
});
|
|
2096
|
+
}, "se_StartCommitmentPurchaseAnalysisRequest");
|
|
1951
2097
|
var se_TotalImpactFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1952
2098
|
return (0, import_smithy_client.take)(input, {
|
|
1953
2099
|
EndValue: import_smithy_client.serializeFloat,
|
|
@@ -1976,6 +2122,23 @@ var se_UpdateCostCategoryDefinitionRequest = /* @__PURE__ */ __name((input, cont
|
|
|
1976
2122
|
SplitChargeRules: import_smithy_client._json
|
|
1977
2123
|
});
|
|
1978
2124
|
}, "se_UpdateCostCategoryDefinitionRequest");
|
|
2125
|
+
var de_AnalysisSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2126
|
+
return (0, import_smithy_client.take)(output, {
|
|
2127
|
+
AnalysisCompletionTime: import_smithy_client.expectString,
|
|
2128
|
+
AnalysisId: import_smithy_client.expectString,
|
|
2129
|
+
AnalysisStartedTime: import_smithy_client.expectString,
|
|
2130
|
+
AnalysisStatus: import_smithy_client.expectString,
|
|
2131
|
+
CommitmentPurchaseAnalysisConfiguration: (_) => de_CommitmentPurchaseAnalysisConfiguration(_, context),
|
|
2132
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2133
|
+
EstimatedCompletionTime: import_smithy_client.expectString
|
|
2134
|
+
});
|
|
2135
|
+
}, "de_AnalysisSummary");
|
|
2136
|
+
var de_AnalysisSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2137
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2138
|
+
return de_AnalysisSummary(entry, context);
|
|
2139
|
+
});
|
|
2140
|
+
return retVal;
|
|
2141
|
+
}, "de_AnalysisSummaryList");
|
|
1979
2142
|
var de_Anomalies = /* @__PURE__ */ __name((output, context) => {
|
|
1980
2143
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1981
2144
|
return de_Anomaly(entry, context);
|
|
@@ -2038,6 +2201,11 @@ var de_AnomalySubscriptions = /* @__PURE__ */ __name((output, context) => {
|
|
|
2038
2201
|
});
|
|
2039
2202
|
return retVal;
|
|
2040
2203
|
}, "de_AnomalySubscriptions");
|
|
2204
|
+
var de_CommitmentPurchaseAnalysisConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2205
|
+
return (0, import_smithy_client.take)(output, {
|
|
2206
|
+
SavingsPlansPurchaseAnalysisConfiguration: (_) => de_SavingsPlansPurchaseAnalysisConfiguration(_, context)
|
|
2207
|
+
});
|
|
2208
|
+
}, "de_CommitmentPurchaseAnalysisConfiguration");
|
|
2041
2209
|
var de_CostCategory = /* @__PURE__ */ __name((output, context) => {
|
|
2042
2210
|
return (0, import_smithy_client.take)(output, {
|
|
2043
2211
|
CostCategoryArn: import_smithy_client.expectString,
|
|
@@ -2104,6 +2272,18 @@ var de_GetAnomalySubscriptionsResponse = /* @__PURE__ */ __name((output, context
|
|
|
2104
2272
|
NextPageToken: import_smithy_client.expectString
|
|
2105
2273
|
});
|
|
2106
2274
|
}, "de_GetAnomalySubscriptionsResponse");
|
|
2275
|
+
var de_GetCommitmentPurchaseAnalysisResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2276
|
+
return (0, import_smithy_client.take)(output, {
|
|
2277
|
+
AnalysisCompletionTime: import_smithy_client.expectString,
|
|
2278
|
+
AnalysisDetails: import_smithy_client._json,
|
|
2279
|
+
AnalysisId: import_smithy_client.expectString,
|
|
2280
|
+
AnalysisStartedTime: import_smithy_client.expectString,
|
|
2281
|
+
AnalysisStatus: import_smithy_client.expectString,
|
|
2282
|
+
CommitmentPurchaseAnalysisConfiguration: (_) => de_CommitmentPurchaseAnalysisConfiguration(_, context),
|
|
2283
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2284
|
+
EstimatedCompletionTime: import_smithy_client.expectString
|
|
2285
|
+
});
|
|
2286
|
+
}, "de_GetCommitmentPurchaseAnalysisResponse");
|
|
2107
2287
|
var de_Impact = /* @__PURE__ */ __name((output, context) => {
|
|
2108
2288
|
return (0, import_smithy_client.take)(output, {
|
|
2109
2289
|
MaxImpact: import_smithy_client.limitedParseDouble,
|
|
@@ -2113,6 +2293,39 @@ var de_Impact = /* @__PURE__ */ __name((output, context) => {
|
|
|
2113
2293
|
TotalImpactPercentage: import_smithy_client.limitedParseDouble
|
|
2114
2294
|
});
|
|
2115
2295
|
}, "de_Impact");
|
|
2296
|
+
var de_ListCommitmentPurchaseAnalysesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2297
|
+
return (0, import_smithy_client.take)(output, {
|
|
2298
|
+
AnalysisSummaryList: (_) => de_AnalysisSummaryList(_, context),
|
|
2299
|
+
NextPageToken: import_smithy_client.expectString
|
|
2300
|
+
});
|
|
2301
|
+
}, "de_ListCommitmentPurchaseAnalysesResponse");
|
|
2302
|
+
var de_SavingsPlans = /* @__PURE__ */ __name((output, context) => {
|
|
2303
|
+
return (0, import_smithy_client.take)(output, {
|
|
2304
|
+
InstanceFamily: import_smithy_client.expectString,
|
|
2305
|
+
OfferingId: import_smithy_client.expectString,
|
|
2306
|
+
PaymentOption: import_smithy_client.expectString,
|
|
2307
|
+
Region: import_smithy_client.expectString,
|
|
2308
|
+
SavingsPlansCommitment: import_smithy_client.limitedParseDouble,
|
|
2309
|
+
SavingsPlansType: import_smithy_client.expectString,
|
|
2310
|
+
TermInYears: import_smithy_client.expectString
|
|
2311
|
+
});
|
|
2312
|
+
}, "de_SavingsPlans");
|
|
2313
|
+
var de_SavingsPlansPurchaseAnalysisConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2314
|
+
return (0, import_smithy_client.take)(output, {
|
|
2315
|
+
AccountId: import_smithy_client.expectString,
|
|
2316
|
+
AccountScope: import_smithy_client.expectString,
|
|
2317
|
+
AnalysisType: import_smithy_client.expectString,
|
|
2318
|
+
LookBackTimePeriod: import_smithy_client._json,
|
|
2319
|
+
SavingsPlansToAdd: (_) => de_SavingsPlansToAdd(_, context),
|
|
2320
|
+
SavingsPlansToExclude: import_smithy_client._json
|
|
2321
|
+
});
|
|
2322
|
+
}, "de_SavingsPlansPurchaseAnalysisConfiguration");
|
|
2323
|
+
var de_SavingsPlansToAdd = /* @__PURE__ */ __name((output, context) => {
|
|
2324
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2325
|
+
return de_SavingsPlans(entry, context);
|
|
2326
|
+
});
|
|
2327
|
+
return retVal;
|
|
2328
|
+
}, "de_SavingsPlansToAdd");
|
|
2116
2329
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2117
2330
|
httpStatusCode: output.statusCode,
|
|
2118
2331
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -2297,6 +2510,20 @@ var _GetApproximateUsageRecordsCommand = class _GetApproximateUsageRecordsComman
|
|
|
2297
2510
|
__name(_GetApproximateUsageRecordsCommand, "GetApproximateUsageRecordsCommand");
|
|
2298
2511
|
var GetApproximateUsageRecordsCommand = _GetApproximateUsageRecordsCommand;
|
|
2299
2512
|
|
|
2513
|
+
// src/commands/GetCommitmentPurchaseAnalysisCommand.ts
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
var _GetCommitmentPurchaseAnalysisCommand = class _GetCommitmentPurchaseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2518
|
+
return [
|
|
2519
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2520
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2521
|
+
];
|
|
2522
|
+
}).s("AWSInsightsIndexService", "GetCommitmentPurchaseAnalysis", {}).n("CostExplorerClient", "GetCommitmentPurchaseAnalysisCommand").f(void 0, void 0).ser(se_GetCommitmentPurchaseAnalysisCommand).de(de_GetCommitmentPurchaseAnalysisCommand).build() {
|
|
2523
|
+
};
|
|
2524
|
+
__name(_GetCommitmentPurchaseAnalysisCommand, "GetCommitmentPurchaseAnalysisCommand");
|
|
2525
|
+
var GetCommitmentPurchaseAnalysisCommand = _GetCommitmentPurchaseAnalysisCommand;
|
|
2526
|
+
|
|
2300
2527
|
// src/commands/GetCostAndUsageCommand.ts
|
|
2301
2528
|
|
|
2302
2529
|
|
|
@@ -2521,6 +2748,20 @@ var _GetUsageForecastCommand = class _GetUsageForecastCommand extends import_smi
|
|
|
2521
2748
|
__name(_GetUsageForecastCommand, "GetUsageForecastCommand");
|
|
2522
2749
|
var GetUsageForecastCommand = _GetUsageForecastCommand;
|
|
2523
2750
|
|
|
2751
|
+
// src/commands/ListCommitmentPurchaseAnalysesCommand.ts
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
var _ListCommitmentPurchaseAnalysesCommand = class _ListCommitmentPurchaseAnalysesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2756
|
+
return [
|
|
2757
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2758
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2759
|
+
];
|
|
2760
|
+
}).s("AWSInsightsIndexService", "ListCommitmentPurchaseAnalyses", {}).n("CostExplorerClient", "ListCommitmentPurchaseAnalysesCommand").f(void 0, void 0).ser(se_ListCommitmentPurchaseAnalysesCommand).de(de_ListCommitmentPurchaseAnalysesCommand).build() {
|
|
2761
|
+
};
|
|
2762
|
+
__name(_ListCommitmentPurchaseAnalysesCommand, "ListCommitmentPurchaseAnalysesCommand");
|
|
2763
|
+
var ListCommitmentPurchaseAnalysesCommand = _ListCommitmentPurchaseAnalysesCommand;
|
|
2764
|
+
|
|
2524
2765
|
// src/commands/ListCostAllocationTagBackfillHistoryCommand.ts
|
|
2525
2766
|
|
|
2526
2767
|
|
|
@@ -2605,6 +2846,20 @@ var _ProvideAnomalyFeedbackCommand = class _ProvideAnomalyFeedbackCommand extend
|
|
|
2605
2846
|
__name(_ProvideAnomalyFeedbackCommand, "ProvideAnomalyFeedbackCommand");
|
|
2606
2847
|
var ProvideAnomalyFeedbackCommand = _ProvideAnomalyFeedbackCommand;
|
|
2607
2848
|
|
|
2849
|
+
// src/commands/StartCommitmentPurchaseAnalysisCommand.ts
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
var _StartCommitmentPurchaseAnalysisCommand = class _StartCommitmentPurchaseAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2854
|
+
return [
|
|
2855
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2856
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2857
|
+
];
|
|
2858
|
+
}).s("AWSInsightsIndexService", "StartCommitmentPurchaseAnalysis", {}).n("CostExplorerClient", "StartCommitmentPurchaseAnalysisCommand").f(void 0, void 0).ser(se_StartCommitmentPurchaseAnalysisCommand).de(de_StartCommitmentPurchaseAnalysisCommand).build() {
|
|
2859
|
+
};
|
|
2860
|
+
__name(_StartCommitmentPurchaseAnalysisCommand, "StartCommitmentPurchaseAnalysisCommand");
|
|
2861
|
+
var StartCommitmentPurchaseAnalysisCommand = _StartCommitmentPurchaseAnalysisCommand;
|
|
2862
|
+
|
|
2608
2863
|
// src/commands/StartCostAllocationTagBackfillCommand.ts
|
|
2609
2864
|
|
|
2610
2865
|
|
|
@@ -2730,6 +2985,7 @@ var commands = {
|
|
|
2730
2985
|
GetAnomalyMonitorsCommand,
|
|
2731
2986
|
GetAnomalySubscriptionsCommand,
|
|
2732
2987
|
GetApproximateUsageRecordsCommand,
|
|
2988
|
+
GetCommitmentPurchaseAnalysisCommand,
|
|
2733
2989
|
GetCostAndUsageCommand,
|
|
2734
2990
|
GetCostAndUsageWithResourcesCommand,
|
|
2735
2991
|
GetCostCategoriesCommand,
|
|
@@ -2746,12 +3002,14 @@ var commands = {
|
|
|
2746
3002
|
GetSavingsPlansUtilizationDetailsCommand,
|
|
2747
3003
|
GetTagsCommand,
|
|
2748
3004
|
GetUsageForecastCommand,
|
|
3005
|
+
ListCommitmentPurchaseAnalysesCommand,
|
|
2749
3006
|
ListCostAllocationTagBackfillHistoryCommand,
|
|
2750
3007
|
ListCostAllocationTagsCommand,
|
|
2751
3008
|
ListCostCategoryDefinitionsCommand,
|
|
2752
3009
|
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
2753
3010
|
ListTagsForResourceCommand,
|
|
2754
3011
|
ProvideAnomalyFeedbackCommand,
|
|
3012
|
+
StartCommitmentPurchaseAnalysisCommand,
|
|
2755
3013
|
StartCostAllocationTagBackfillCommand,
|
|
2756
3014
|
StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
2757
3015
|
TagResourceCommand,
|
|
@@ -2805,6 +3063,7 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
2805
3063
|
GetAnomalyMonitorsCommand,
|
|
2806
3064
|
GetAnomalySubscriptionsCommand,
|
|
2807
3065
|
GetApproximateUsageRecordsCommand,
|
|
3066
|
+
GetCommitmentPurchaseAnalysisCommand,
|
|
2808
3067
|
GetCostAndUsageCommand,
|
|
2809
3068
|
GetCostAndUsageWithResourcesCommand,
|
|
2810
3069
|
GetCostCategoriesCommand,
|
|
@@ -2821,12 +3080,14 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
2821
3080
|
GetSavingsPlansUtilizationDetailsCommand,
|
|
2822
3081
|
GetTagsCommand,
|
|
2823
3082
|
GetUsageForecastCommand,
|
|
3083
|
+
ListCommitmentPurchaseAnalysesCommand,
|
|
2824
3084
|
ListCostAllocationTagBackfillHistoryCommand,
|
|
2825
3085
|
ListCostAllocationTagsCommand,
|
|
2826
3086
|
ListCostCategoryDefinitionsCommand,
|
|
2827
3087
|
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
2828
3088
|
ListTagsForResourceCommand,
|
|
2829
3089
|
ProvideAnomalyFeedbackCommand,
|
|
3090
|
+
StartCommitmentPurchaseAnalysisCommand,
|
|
2830
3091
|
StartCostAllocationTagBackfillCommand,
|
|
2831
3092
|
StartSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
2832
3093
|
TagResourceCommand,
|
|
@@ -2841,6 +3102,13 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
2841
3102
|
paginateListCostAllocationTags,
|
|
2842
3103
|
paginateListCostCategoryDefinitions,
|
|
2843
3104
|
AccountScope,
|
|
3105
|
+
AnalysisNotFoundException,
|
|
3106
|
+
AnalysisStatus,
|
|
3107
|
+
AnalysisType,
|
|
3108
|
+
PaymentOption,
|
|
3109
|
+
SupportedSavingsPlansType,
|
|
3110
|
+
TermInYears,
|
|
3111
|
+
ErrorCode,
|
|
2844
3112
|
AnomalyFeedbackType,
|
|
2845
3113
|
MonitorDimension,
|
|
2846
3114
|
MatchOption,
|
|
@@ -2873,22 +3141,19 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
2873
3141
|
Metric,
|
|
2874
3142
|
Context,
|
|
2875
3143
|
LookbackPeriodInDays,
|
|
2876
|
-
PaymentOption,
|
|
2877
3144
|
OfferingClass,
|
|
2878
|
-
TermInYears,
|
|
2879
3145
|
RecommendationTarget,
|
|
2880
3146
|
FindingReasonCode,
|
|
2881
3147
|
PlatformDifference,
|
|
2882
3148
|
RightsizingType,
|
|
2883
|
-
SupportedSavingsPlansType,
|
|
2884
3149
|
SavingsPlansDataType,
|
|
2885
3150
|
UnresolvableUsageUnitException,
|
|
2886
3151
|
CostAllocationTagBackfillStatus,
|
|
2887
3152
|
CostAllocationTagStatus,
|
|
2888
3153
|
CostAllocationTagType,
|
|
2889
3154
|
GenerationStatus,
|
|
2890
|
-
BackfillLimitExceededException,
|
|
2891
3155
|
GenerationExistsException,
|
|
3156
|
+
BackfillLimitExceededException,
|
|
2892
3157
|
TooManyTagsException
|
|
2893
3158
|
});
|
|
2894
3159
|
|