@aws-sdk/client-bcm-pricing-calculator 3.699.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/LICENSE +201 -0
- package/README.md +504 -0
- package/dist-cjs/BCMPricingCalculator.js +83 -0
- package/dist-cjs/BCMPricingCalculatorClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchCreateBillScenarioUsageModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchCreateWorkloadEstimateUsageCommand.js +26 -0
- package/dist-cjs/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchDeleteBillScenarioUsageModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchDeleteWorkloadEstimateUsageCommand.js +26 -0
- package/dist-cjs/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchUpdateBillScenarioUsageModificationCommand.js +26 -0
- package/dist-cjs/commands/BatchUpdateWorkloadEstimateUsageCommand.js +26 -0
- package/dist-cjs/commands/CreateBillEstimateCommand.js +26 -0
- package/dist-cjs/commands/CreateBillScenarioCommand.js +26 -0
- package/dist-cjs/commands/CreateWorkloadEstimateCommand.js +26 -0
- package/dist-cjs/commands/DeleteBillEstimateCommand.js +26 -0
- package/dist-cjs/commands/DeleteBillScenarioCommand.js +26 -0
- package/dist-cjs/commands/DeleteWorkloadEstimateCommand.js +26 -0
- package/dist-cjs/commands/GetBillEstimateCommand.js +26 -0
- package/dist-cjs/commands/GetBillScenarioCommand.js +26 -0
- package/dist-cjs/commands/GetPreferencesCommand.js +26 -0
- package/dist-cjs/commands/GetWorkloadEstimateCommand.js +26 -0
- package/dist-cjs/commands/ListBillEstimateCommitmentsCommand.js +26 -0
- package/dist-cjs/commands/ListBillEstimateInputCommitmentModificationsCommand.js +26 -0
- package/dist-cjs/commands/ListBillEstimateInputUsageModificationsCommand.js +26 -0
- package/dist-cjs/commands/ListBillEstimateLineItemsCommand.js +26 -0
- package/dist-cjs/commands/ListBillEstimatesCommand.js +26 -0
- package/dist-cjs/commands/ListBillScenarioCommitmentModificationsCommand.js +26 -0
- package/dist-cjs/commands/ListBillScenarioUsageModificationsCommand.js +26 -0
- package/dist-cjs/commands/ListBillScenariosCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/ListWorkloadEstimateUsageCommand.js +26 -0
- package/dist-cjs/commands/ListWorkloadEstimatesCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateBillEstimateCommand.js +26 -0
- package/dist-cjs/commands/UpdateBillScenarioCommand.js +26 -0
- package/dist-cjs/commands/UpdatePreferencesCommand.js +26 -0
- package/dist-cjs/commands/UpdateWorkloadEstimateCommand.js +26 -0
- package/dist-cjs/commands/index.js +39 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BCMPricingCalculatorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +263 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListBillEstimateCommitmentsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillEstimateInputCommitmentModificationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillEstimateInputUsageModificationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillEstimateLineItemsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillEstimatesPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillScenarioCommitmentModificationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillScenarioUsageModificationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListBillScenariosPaginator.js +7 -0
- package/dist-cjs/pagination/ListWorkloadEstimateUsagePaginator.js +7 -0
- package/dist-cjs/pagination/ListWorkloadEstimatesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1761 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/BCMPricingCalculator.js +79 -0
- package/dist-es/BCMPricingCalculatorClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +22 -0
- package/dist-es/commands/BatchCreateBillScenarioUsageModificationCommand.js +22 -0
- package/dist-es/commands/BatchCreateWorkloadEstimateUsageCommand.js +22 -0
- package/dist-es/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +22 -0
- package/dist-es/commands/BatchDeleteBillScenarioUsageModificationCommand.js +22 -0
- package/dist-es/commands/BatchDeleteWorkloadEstimateUsageCommand.js +22 -0
- package/dist-es/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +22 -0
- package/dist-es/commands/BatchUpdateBillScenarioUsageModificationCommand.js +22 -0
- package/dist-es/commands/BatchUpdateWorkloadEstimateUsageCommand.js +22 -0
- package/dist-es/commands/CreateBillEstimateCommand.js +22 -0
- package/dist-es/commands/CreateBillScenarioCommand.js +22 -0
- package/dist-es/commands/CreateWorkloadEstimateCommand.js +22 -0
- package/dist-es/commands/DeleteBillEstimateCommand.js +22 -0
- package/dist-es/commands/DeleteBillScenarioCommand.js +22 -0
- package/dist-es/commands/DeleteWorkloadEstimateCommand.js +22 -0
- package/dist-es/commands/GetBillEstimateCommand.js +22 -0
- package/dist-es/commands/GetBillScenarioCommand.js +22 -0
- package/dist-es/commands/GetPreferencesCommand.js +22 -0
- package/dist-es/commands/GetWorkloadEstimateCommand.js +22 -0
- package/dist-es/commands/ListBillEstimateCommitmentsCommand.js +22 -0
- package/dist-es/commands/ListBillEstimateInputCommitmentModificationsCommand.js +22 -0
- package/dist-es/commands/ListBillEstimateInputUsageModificationsCommand.js +22 -0
- package/dist-es/commands/ListBillEstimateLineItemsCommand.js +22 -0
- package/dist-es/commands/ListBillEstimatesCommand.js +22 -0
- package/dist-es/commands/ListBillScenarioCommitmentModificationsCommand.js +22 -0
- package/dist-es/commands/ListBillScenarioUsageModificationsCommand.js +22 -0
- package/dist-es/commands/ListBillScenariosCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/ListWorkloadEstimateUsageCommand.js +22 -0
- package/dist-es/commands/ListWorkloadEstimatesCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateBillEstimateCommand.js +22 -0
- package/dist-es/commands/UpdateBillScenarioCommand.js +22 -0
- package/dist-es/commands/UpdatePreferencesCommand.js +22 -0
- package/dist-es/commands/UpdateWorkloadEstimateCommand.js +22 -0
- package/dist-es/commands/index.js +36 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BCMPricingCalculatorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +252 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListBillEstimateCommitmentsPaginator.js +4 -0
- package/dist-es/pagination/ListBillEstimateInputCommitmentModificationsPaginator.js +4 -0
- package/dist-es/pagination/ListBillEstimateInputUsageModificationsPaginator.js +4 -0
- package/dist-es/pagination/ListBillEstimateLineItemsPaginator.js +4 -0
- package/dist-es/pagination/ListBillEstimatesPaginator.js +4 -0
- package/dist-es/pagination/ListBillScenarioCommitmentModificationsPaginator.js +4 -0
- package/dist-es/pagination/ListBillScenarioUsageModificationsPaginator.js +4 -0
- package/dist-es/pagination/ListBillScenariosPaginator.js +4 -0
- package/dist-es/pagination/ListWorkloadEstimateUsagePaginator.js +4 -0
- package/dist-es/pagination/ListWorkloadEstimatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_json1_0.js +1685 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/BCMPricingCalculator.d.ts +278 -0
- package/dist-types/BCMPricingCalculatorClient.d.ts +216 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchCreateBillScenarioCommitmentModificationCommand.d.ts +162 -0
- package/dist-types/commands/BatchCreateBillScenarioUsageModificationCommand.d.ts +285 -0
- package/dist-types/commands/BatchCreateWorkloadEstimateUsageCommand.d.ts +278 -0
- package/dist-types/commands/BatchDeleteBillScenarioCommitmentModificationCommand.d.ts +117 -0
- package/dist-types/commands/BatchDeleteBillScenarioUsageModificationCommand.d.ts +120 -0
- package/dist-types/commands/BatchDeleteWorkloadEstimateUsageCommand.d.ts +120 -0
- package/dist-types/commands/BatchUpdateBillScenarioCommitmentModificationCommand.d.ts +138 -0
- package/dist-types/commands/BatchUpdateBillScenarioUsageModificationCommand.d.ts +209 -0
- package/dist-types/commands/BatchUpdateWorkloadEstimateUsageCommand.d.ts +203 -0
- package/dist-types/commands/CreateBillEstimateCommand.d.ts +146 -0
- package/dist-types/commands/CreateBillScenarioCommand.d.ts +121 -0
- package/dist-types/commands/CreateWorkloadEstimateCommand.d.ts +122 -0
- package/dist-types/commands/DeleteBillEstimateCommand.d.ts +96 -0
- package/dist-types/commands/DeleteBillScenarioCommand.d.ts +96 -0
- package/dist-types/commands/DeleteWorkloadEstimateCommand.d.ts +96 -0
- package/dist-types/commands/GetBillEstimateCommand.d.ts +136 -0
- package/dist-types/commands/GetBillScenarioCommand.d.ts +112 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +101 -0
- package/dist-types/commands/GetWorkloadEstimateCommand.d.ts +112 -0
- package/dist-types/commands/ListBillEstimateCommitmentsCommand.d.ts +124 -0
- package/dist-types/commands/ListBillEstimateInputCommitmentModificationsCommand.d.ts +128 -0
- package/dist-types/commands/ListBillEstimateInputUsageModificationsCommand.d.ts +197 -0
- package/dist-types/commands/ListBillEstimateLineItemsCommand.d.ts +147 -0
- package/dist-types/commands/ListBillEstimatesCommand.d.ts +129 -0
- package/dist-types/commands/ListBillScenarioCommitmentModificationsCommand.d.ts +128 -0
- package/dist-types/commands/ListBillScenarioUsageModificationsCommand.d.ts +197 -0
- package/dist-types/commands/ListBillScenariosCommand.d.ts +130 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
- package/dist-types/commands/ListWorkloadEstimateUsageCommand.d.ts +196 -0
- package/dist-types/commands/ListWorkloadEstimatesCommand.d.ts +130 -0
- package/dist-types/commands/TagResourceCommand.d.ts +104 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UpdateBillEstimateCommand.d.ts +143 -0
- package/dist-types/commands/UpdateBillScenarioCommand.d.ts +119 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +113 -0
- package/dist-types/commands/UpdateWorkloadEstimateCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +36 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/BCMPricingCalculatorServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4474 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListBillEstimateCommitmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillEstimateInputCommitmentModificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillEstimateInputUsageModificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillEstimateLineItemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillEstimatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillScenarioCommitmentModificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillScenarioUsageModificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillScenariosPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadEstimateUsagePaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadEstimatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +326 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BCMPricingCalculator.d.ts +684 -0
- package/dist-types/ts3.4/BCMPricingCalculatorClient.d.ts +337 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchCreateBillScenarioCommitmentModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchCreateBillScenarioUsageModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchCreateWorkloadEstimateUsageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDeleteBillScenarioCommitmentModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDeleteBillScenarioUsageModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDeleteWorkloadEstimateUsageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchUpdateBillScenarioCommitmentModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchUpdateBillScenarioUsageModificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchUpdateWorkloadEstimateUsageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateBillEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateBillScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBillEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBillScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBillEstimateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetBillScenarioCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetWorkloadEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillEstimateCommitmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillEstimateInputCommitmentModificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillEstimateInputUsageModificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillEstimateLineItemsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillEstimatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillScenarioCommitmentModificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillScenarioUsageModificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillScenariosCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadEstimateUsageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadEstimatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateBillEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateBillScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +36 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/BCMPricingCalculatorServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +985 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListBillEstimateCommitmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillEstimateInputCommitmentModificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillEstimateInputUsageModificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillEstimateLineItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillEstimatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillScenarioCommitmentModificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillScenarioUsageModificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillScenariosPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkloadEstimateUsagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkloadEstimatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +437 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMPricingCalculatorClient";
|
|
4
|
+
import { BatchCreateBillScenarioUsageModificationRequest, BatchCreateBillScenarioUsageModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchCreateBillScenarioUsageModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateBillScenarioUsageModificationCommandInput extends BatchCreateBillScenarioUsageModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateBillScenarioUsageModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateBillScenarioUsageModificationCommandOutput extends BatchCreateBillScenarioUsageModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateBillScenarioUsageModificationCommand_base: {
|
|
25
|
+
new (input: BatchCreateBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateBillScenarioUsageModificationCommandInput, BatchCreateBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchCreateBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateBillScenarioUsageModificationCommandInput, BatchCreateBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Create Amazon Web Services service usage that you want to model in a Bill Scenario.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BCMPricingCalculatorClient, BatchCreateBillScenarioUsageModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchCreateBillScenarioUsageModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchCreateBillScenarioUsageModificationRequest
|
|
40
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
41
|
+
* usageModifications: [ // BatchCreateBillScenarioUsageModificationEntries // required
|
|
42
|
+
* { // BatchCreateBillScenarioUsageModificationEntry
|
|
43
|
+
* serviceCode: "STRING_VALUE", // required
|
|
44
|
+
* usageType: "STRING_VALUE", // required
|
|
45
|
+
* operation: "STRING_VALUE", // required
|
|
46
|
+
* availabilityZone: "STRING_VALUE",
|
|
47
|
+
* key: "STRING_VALUE", // required
|
|
48
|
+
* group: "STRING_VALUE",
|
|
49
|
+
* usageAccountId: "STRING_VALUE", // required
|
|
50
|
+
* amounts: [ // UsageAmounts
|
|
51
|
+
* { // UsageAmount
|
|
52
|
+
* startHour: new Date("TIMESTAMP"), // required
|
|
53
|
+
* amount: Number("double"), // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* historicalUsage: { // HistoricalUsageEntity
|
|
57
|
+
* serviceCode: "STRING_VALUE", // required
|
|
58
|
+
* usageType: "STRING_VALUE", // required
|
|
59
|
+
* operation: "STRING_VALUE", // required
|
|
60
|
+
* location: "STRING_VALUE",
|
|
61
|
+
* usageAccountId: "STRING_VALUE", // required
|
|
62
|
+
* billInterval: { // BillInterval
|
|
63
|
+
* start: new Date("TIMESTAMP"),
|
|
64
|
+
* end: new Date("TIMESTAMP"),
|
|
65
|
+
* },
|
|
66
|
+
* filterExpression: { // Expression
|
|
67
|
+
* and: [ // ExpressionList
|
|
68
|
+
* {
|
|
69
|
+
* and: [
|
|
70
|
+
* "<Expression>",
|
|
71
|
+
* ],
|
|
72
|
+
* or: [
|
|
73
|
+
* "<Expression>",
|
|
74
|
+
* ],
|
|
75
|
+
* not: "<Expression>",
|
|
76
|
+
* costCategories: { // ExpressionFilter
|
|
77
|
+
* key: "STRING_VALUE",
|
|
78
|
+
* matchOptions: [ // StringList
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* values: [
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* dimensions: {
|
|
86
|
+
* key: "STRING_VALUE",
|
|
87
|
+
* matchOptions: [
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* values: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* tags: {
|
|
95
|
+
* key: "STRING_VALUE",
|
|
96
|
+
* matchOptions: [
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* values: "<StringList>",
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* or: [
|
|
104
|
+
* "<Expression>",
|
|
105
|
+
* ],
|
|
106
|
+
* not: "<Expression>",
|
|
107
|
+
* costCategories: {
|
|
108
|
+
* key: "STRING_VALUE",
|
|
109
|
+
* matchOptions: "<StringList>",
|
|
110
|
+
* values: "<StringList>",
|
|
111
|
+
* },
|
|
112
|
+
* dimensions: {
|
|
113
|
+
* key: "STRING_VALUE",
|
|
114
|
+
* matchOptions: "<StringList>",
|
|
115
|
+
* values: "<StringList>",
|
|
116
|
+
* },
|
|
117
|
+
* tags: "<ExpressionFilter>",
|
|
118
|
+
* },
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* clientToken: "STRING_VALUE",
|
|
123
|
+
* };
|
|
124
|
+
* const command = new BatchCreateBillScenarioUsageModificationCommand(input);
|
|
125
|
+
* const response = await client.send(command);
|
|
126
|
+
* // { // BatchCreateBillScenarioUsageModificationResponse
|
|
127
|
+
* // items: [ // BatchCreateBillScenarioUsageModificationItems
|
|
128
|
+
* // { // BatchCreateBillScenarioUsageModificationItem
|
|
129
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
130
|
+
* // usageType: "STRING_VALUE", // required
|
|
131
|
+
* // operation: "STRING_VALUE", // required
|
|
132
|
+
* // location: "STRING_VALUE",
|
|
133
|
+
* // availabilityZone: "STRING_VALUE",
|
|
134
|
+
* // id: "STRING_VALUE",
|
|
135
|
+
* // group: "STRING_VALUE",
|
|
136
|
+
* // usageAccountId: "STRING_VALUE",
|
|
137
|
+
* // quantities: [ // UsageQuantities
|
|
138
|
+
* // { // UsageQuantity
|
|
139
|
+
* // startHour: new Date("TIMESTAMP"),
|
|
140
|
+
* // unit: "STRING_VALUE",
|
|
141
|
+
* // amount: Number("double"),
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // historicalUsage: { // HistoricalUsageEntity
|
|
145
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
146
|
+
* // usageType: "STRING_VALUE", // required
|
|
147
|
+
* // operation: "STRING_VALUE", // required
|
|
148
|
+
* // location: "STRING_VALUE",
|
|
149
|
+
* // usageAccountId: "STRING_VALUE", // required
|
|
150
|
+
* // billInterval: { // BillInterval
|
|
151
|
+
* // start: new Date("TIMESTAMP"),
|
|
152
|
+
* // end: new Date("TIMESTAMP"),
|
|
153
|
+
* // },
|
|
154
|
+
* // filterExpression: { // Expression
|
|
155
|
+
* // and: [ // ExpressionList
|
|
156
|
+
* // {
|
|
157
|
+
* // and: [
|
|
158
|
+
* // "<Expression>",
|
|
159
|
+
* // ],
|
|
160
|
+
* // or: [
|
|
161
|
+
* // "<Expression>",
|
|
162
|
+
* // ],
|
|
163
|
+
* // not: "<Expression>",
|
|
164
|
+
* // costCategories: { // ExpressionFilter
|
|
165
|
+
* // key: "STRING_VALUE",
|
|
166
|
+
* // matchOptions: [ // StringList
|
|
167
|
+
* // "STRING_VALUE",
|
|
168
|
+
* // ],
|
|
169
|
+
* // values: [
|
|
170
|
+
* // "STRING_VALUE",
|
|
171
|
+
* // ],
|
|
172
|
+
* // },
|
|
173
|
+
* // dimensions: {
|
|
174
|
+
* // key: "STRING_VALUE",
|
|
175
|
+
* // matchOptions: [
|
|
176
|
+
* // "STRING_VALUE",
|
|
177
|
+
* // ],
|
|
178
|
+
* // values: [
|
|
179
|
+
* // "STRING_VALUE",
|
|
180
|
+
* // ],
|
|
181
|
+
* // },
|
|
182
|
+
* // tags: {
|
|
183
|
+
* // key: "STRING_VALUE",
|
|
184
|
+
* // matchOptions: [
|
|
185
|
+
* // "STRING_VALUE",
|
|
186
|
+
* // ],
|
|
187
|
+
* // values: "<StringList>",
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // ],
|
|
191
|
+
* // or: [
|
|
192
|
+
* // "<Expression>",
|
|
193
|
+
* // ],
|
|
194
|
+
* // not: "<Expression>",
|
|
195
|
+
* // costCategories: {
|
|
196
|
+
* // key: "STRING_VALUE",
|
|
197
|
+
* // matchOptions: "<StringList>",
|
|
198
|
+
* // values: "<StringList>",
|
|
199
|
+
* // },
|
|
200
|
+
* // dimensions: {
|
|
201
|
+
* // key: "STRING_VALUE",
|
|
202
|
+
* // matchOptions: "<StringList>",
|
|
203
|
+
* // values: "<StringList>",
|
|
204
|
+
* // },
|
|
205
|
+
* // tags: "<ExpressionFilter>",
|
|
206
|
+
* // },
|
|
207
|
+
* // },
|
|
208
|
+
* // key: "STRING_VALUE",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // errors: [ // BatchCreateBillScenarioUsageModificationErrors
|
|
212
|
+
* // { // BatchCreateBillScenarioUsageModificationError
|
|
213
|
+
* // key: "STRING_VALUE",
|
|
214
|
+
* // errorMessage: "STRING_VALUE",
|
|
215
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // };
|
|
219
|
+
*
|
|
220
|
+
* ```
|
|
221
|
+
*
|
|
222
|
+
* @param BatchCreateBillScenarioUsageModificationCommandInput - {@link BatchCreateBillScenarioUsageModificationCommandInput}
|
|
223
|
+
* @returns {@link BatchCreateBillScenarioUsageModificationCommandOutput}
|
|
224
|
+
* @see {@link BatchCreateBillScenarioUsageModificationCommandInput} for command's `input` shape.
|
|
225
|
+
* @see {@link BatchCreateBillScenarioUsageModificationCommandOutput} for command's `response` shape.
|
|
226
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link ConflictException} (client fault)
|
|
229
|
+
* <p>
|
|
230
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
231
|
+
* </p>
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
234
|
+
* <p>
|
|
235
|
+
* The requested data is currently unavailable.
|
|
236
|
+
* </p>
|
|
237
|
+
*
|
|
238
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
239
|
+
* <p>
|
|
240
|
+
* The specified resource was not found.
|
|
241
|
+
* </p>
|
|
242
|
+
*
|
|
243
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
244
|
+
* <p>
|
|
245
|
+
* The request would cause you to exceed your service quota.
|
|
246
|
+
* </p>
|
|
247
|
+
*
|
|
248
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
249
|
+
* <p>
|
|
250
|
+
* You do not have sufficient access to perform this action.
|
|
251
|
+
* </p>
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link InternalServerException} (server fault)
|
|
254
|
+
* <p>
|
|
255
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
256
|
+
* </p>
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
259
|
+
* <p>
|
|
260
|
+
* The request was denied due to request throttling.
|
|
261
|
+
* </p>
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link ValidationException} (client fault)
|
|
264
|
+
* <p>
|
|
265
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
266
|
+
* </p>
|
|
267
|
+
*
|
|
268
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
269
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
270
|
+
*
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export declare class BatchCreateBillScenarioUsageModificationCommand extends BatchCreateBillScenarioUsageModificationCommand_base {
|
|
274
|
+
/** @internal type navigation helper, not in runtime. */
|
|
275
|
+
protected static __types: {
|
|
276
|
+
api: {
|
|
277
|
+
input: BatchCreateBillScenarioUsageModificationRequest;
|
|
278
|
+
output: BatchCreateBillScenarioUsageModificationResponse;
|
|
279
|
+
};
|
|
280
|
+
sdk: {
|
|
281
|
+
input: BatchCreateBillScenarioUsageModificationCommandInput;
|
|
282
|
+
output: BatchCreateBillScenarioUsageModificationCommandOutput;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMPricingCalculatorClient";
|
|
4
|
+
import { BatchCreateWorkloadEstimateUsageRequest, BatchCreateWorkloadEstimateUsageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchCreateWorkloadEstimateUsageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateWorkloadEstimateUsageCommandInput extends BatchCreateWorkloadEstimateUsageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateWorkloadEstimateUsageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateWorkloadEstimateUsageCommandOutput extends BatchCreateWorkloadEstimateUsageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateWorkloadEstimateUsageCommand_base: {
|
|
25
|
+
new (input: BatchCreateWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateWorkloadEstimateUsageCommandInput, BatchCreateWorkloadEstimateUsageCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchCreateWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateWorkloadEstimateUsageCommandInput, BatchCreateWorkloadEstimateUsageCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Create Amazon Web Services service usage that you want to model in a Workload Estimate.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BCMPricingCalculatorClient, BatchCreateWorkloadEstimateUsageCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchCreateWorkloadEstimateUsageCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchCreateWorkloadEstimateUsageRequest
|
|
40
|
+
* workloadEstimateId: "STRING_VALUE", // required
|
|
41
|
+
* usage: [ // BatchCreateWorkloadEstimateUsageEntries // required
|
|
42
|
+
* { // BatchCreateWorkloadEstimateUsageEntry
|
|
43
|
+
* serviceCode: "STRING_VALUE", // required
|
|
44
|
+
* usageType: "STRING_VALUE", // required
|
|
45
|
+
* operation: "STRING_VALUE", // required
|
|
46
|
+
* key: "STRING_VALUE", // required
|
|
47
|
+
* group: "STRING_VALUE",
|
|
48
|
+
* usageAccountId: "STRING_VALUE", // required
|
|
49
|
+
* amount: Number("double"), // required
|
|
50
|
+
* historicalUsage: { // HistoricalUsageEntity
|
|
51
|
+
* serviceCode: "STRING_VALUE", // required
|
|
52
|
+
* usageType: "STRING_VALUE", // required
|
|
53
|
+
* operation: "STRING_VALUE", // required
|
|
54
|
+
* location: "STRING_VALUE",
|
|
55
|
+
* usageAccountId: "STRING_VALUE", // required
|
|
56
|
+
* billInterval: { // BillInterval
|
|
57
|
+
* start: new Date("TIMESTAMP"),
|
|
58
|
+
* end: new Date("TIMESTAMP"),
|
|
59
|
+
* },
|
|
60
|
+
* filterExpression: { // Expression
|
|
61
|
+
* and: [ // ExpressionList
|
|
62
|
+
* {
|
|
63
|
+
* and: [
|
|
64
|
+
* "<Expression>",
|
|
65
|
+
* ],
|
|
66
|
+
* or: [
|
|
67
|
+
* "<Expression>",
|
|
68
|
+
* ],
|
|
69
|
+
* not: "<Expression>",
|
|
70
|
+
* costCategories: { // ExpressionFilter
|
|
71
|
+
* key: "STRING_VALUE",
|
|
72
|
+
* matchOptions: [ // StringList
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* values: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* dimensions: {
|
|
80
|
+
* key: "STRING_VALUE",
|
|
81
|
+
* matchOptions: [
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* values: [
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* tags: {
|
|
89
|
+
* key: "STRING_VALUE",
|
|
90
|
+
* matchOptions: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* values: "<StringList>",
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* or: [
|
|
98
|
+
* "<Expression>",
|
|
99
|
+
* ],
|
|
100
|
+
* not: "<Expression>",
|
|
101
|
+
* costCategories: {
|
|
102
|
+
* key: "STRING_VALUE",
|
|
103
|
+
* matchOptions: "<StringList>",
|
|
104
|
+
* values: "<StringList>",
|
|
105
|
+
* },
|
|
106
|
+
* dimensions: {
|
|
107
|
+
* key: "STRING_VALUE",
|
|
108
|
+
* matchOptions: "<StringList>",
|
|
109
|
+
* values: "<StringList>",
|
|
110
|
+
* },
|
|
111
|
+
* tags: "<ExpressionFilter>",
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* clientToken: "STRING_VALUE",
|
|
117
|
+
* };
|
|
118
|
+
* const command = new BatchCreateWorkloadEstimateUsageCommand(input);
|
|
119
|
+
* const response = await client.send(command);
|
|
120
|
+
* // { // BatchCreateWorkloadEstimateUsageResponse
|
|
121
|
+
* // items: [ // BatchCreateWorkloadEstimateUsageItems
|
|
122
|
+
* // { // BatchCreateWorkloadEstimateUsageItem
|
|
123
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
124
|
+
* // usageType: "STRING_VALUE", // required
|
|
125
|
+
* // operation: "STRING_VALUE", // required
|
|
126
|
+
* // location: "STRING_VALUE",
|
|
127
|
+
* // id: "STRING_VALUE",
|
|
128
|
+
* // usageAccountId: "STRING_VALUE",
|
|
129
|
+
* // group: "STRING_VALUE",
|
|
130
|
+
* // quantity: { // WorkloadEstimateUsageQuantity
|
|
131
|
+
* // unit: "STRING_VALUE",
|
|
132
|
+
* // amount: Number("double"),
|
|
133
|
+
* // },
|
|
134
|
+
* // cost: Number("double"),
|
|
135
|
+
* // currency: "USD",
|
|
136
|
+
* // status: "VALID" || "INVALID" || "STALE",
|
|
137
|
+
* // historicalUsage: { // HistoricalUsageEntity
|
|
138
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
139
|
+
* // usageType: "STRING_VALUE", // required
|
|
140
|
+
* // operation: "STRING_VALUE", // required
|
|
141
|
+
* // location: "STRING_VALUE",
|
|
142
|
+
* // usageAccountId: "STRING_VALUE", // required
|
|
143
|
+
* // billInterval: { // BillInterval
|
|
144
|
+
* // start: new Date("TIMESTAMP"),
|
|
145
|
+
* // end: new Date("TIMESTAMP"),
|
|
146
|
+
* // },
|
|
147
|
+
* // filterExpression: { // Expression
|
|
148
|
+
* // and: [ // ExpressionList
|
|
149
|
+
* // {
|
|
150
|
+
* // and: [
|
|
151
|
+
* // "<Expression>",
|
|
152
|
+
* // ],
|
|
153
|
+
* // or: [
|
|
154
|
+
* // "<Expression>",
|
|
155
|
+
* // ],
|
|
156
|
+
* // not: "<Expression>",
|
|
157
|
+
* // costCategories: { // ExpressionFilter
|
|
158
|
+
* // key: "STRING_VALUE",
|
|
159
|
+
* // matchOptions: [ // StringList
|
|
160
|
+
* // "STRING_VALUE",
|
|
161
|
+
* // ],
|
|
162
|
+
* // values: [
|
|
163
|
+
* // "STRING_VALUE",
|
|
164
|
+
* // ],
|
|
165
|
+
* // },
|
|
166
|
+
* // dimensions: {
|
|
167
|
+
* // key: "STRING_VALUE",
|
|
168
|
+
* // matchOptions: [
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // values: [
|
|
172
|
+
* // "STRING_VALUE",
|
|
173
|
+
* // ],
|
|
174
|
+
* // },
|
|
175
|
+
* // tags: {
|
|
176
|
+
* // key: "STRING_VALUE",
|
|
177
|
+
* // matchOptions: [
|
|
178
|
+
* // "STRING_VALUE",
|
|
179
|
+
* // ],
|
|
180
|
+
* // values: "<StringList>",
|
|
181
|
+
* // },
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // or: [
|
|
185
|
+
* // "<Expression>",
|
|
186
|
+
* // ],
|
|
187
|
+
* // not: "<Expression>",
|
|
188
|
+
* // costCategories: {
|
|
189
|
+
* // key: "STRING_VALUE",
|
|
190
|
+
* // matchOptions: "<StringList>",
|
|
191
|
+
* // values: "<StringList>",
|
|
192
|
+
* // },
|
|
193
|
+
* // dimensions: {
|
|
194
|
+
* // key: "STRING_VALUE",
|
|
195
|
+
* // matchOptions: "<StringList>",
|
|
196
|
+
* // values: "<StringList>",
|
|
197
|
+
* // },
|
|
198
|
+
* // tags: "<ExpressionFilter>",
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
201
|
+
* // key: "STRING_VALUE",
|
|
202
|
+
* // },
|
|
203
|
+
* // ],
|
|
204
|
+
* // errors: [ // BatchCreateWorkloadEstimateUsageErrors
|
|
205
|
+
* // { // BatchCreateWorkloadEstimateUsageError
|
|
206
|
+
* // key: "STRING_VALUE",
|
|
207
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
208
|
+
* // errorMessage: "STRING_VALUE",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // };
|
|
212
|
+
*
|
|
213
|
+
* ```
|
|
214
|
+
*
|
|
215
|
+
* @param BatchCreateWorkloadEstimateUsageCommandInput - {@link BatchCreateWorkloadEstimateUsageCommandInput}
|
|
216
|
+
* @returns {@link BatchCreateWorkloadEstimateUsageCommandOutput}
|
|
217
|
+
* @see {@link BatchCreateWorkloadEstimateUsageCommandInput} for command's `input` shape.
|
|
218
|
+
* @see {@link BatchCreateWorkloadEstimateUsageCommandOutput} for command's `response` shape.
|
|
219
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
220
|
+
*
|
|
221
|
+
* @throws {@link ConflictException} (client fault)
|
|
222
|
+
* <p>
|
|
223
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
224
|
+
* </p>
|
|
225
|
+
*
|
|
226
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
227
|
+
* <p>
|
|
228
|
+
* The requested data is currently unavailable.
|
|
229
|
+
* </p>
|
|
230
|
+
*
|
|
231
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
232
|
+
* <p>
|
|
233
|
+
* The specified resource was not found.
|
|
234
|
+
* </p>
|
|
235
|
+
*
|
|
236
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
237
|
+
* <p>
|
|
238
|
+
* The request would cause you to exceed your service quota.
|
|
239
|
+
* </p>
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
242
|
+
* <p>
|
|
243
|
+
* You do not have sufficient access to perform this action.
|
|
244
|
+
* </p>
|
|
245
|
+
*
|
|
246
|
+
* @throws {@link InternalServerException} (server fault)
|
|
247
|
+
* <p>
|
|
248
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
249
|
+
* </p>
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
252
|
+
* <p>
|
|
253
|
+
* The request was denied due to request throttling.
|
|
254
|
+
* </p>
|
|
255
|
+
*
|
|
256
|
+
* @throws {@link ValidationException} (client fault)
|
|
257
|
+
* <p>
|
|
258
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
259
|
+
* </p>
|
|
260
|
+
*
|
|
261
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
262
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
263
|
+
*
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export declare class BatchCreateWorkloadEstimateUsageCommand extends BatchCreateWorkloadEstimateUsageCommand_base {
|
|
267
|
+
/** @internal type navigation helper, not in runtime. */
|
|
268
|
+
protected static __types: {
|
|
269
|
+
api: {
|
|
270
|
+
input: BatchCreateWorkloadEstimateUsageRequest;
|
|
271
|
+
output: BatchCreateWorkloadEstimateUsageResponse;
|
|
272
|
+
};
|
|
273
|
+
sdk: {
|
|
274
|
+
input: BatchCreateWorkloadEstimateUsageCommandInput;
|
|
275
|
+
output: BatchCreateWorkloadEstimateUsageCommandOutput;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMPricingCalculatorClient";
|
|
4
|
+
import { BatchDeleteBillScenarioCommitmentModificationRequest, BatchDeleteBillScenarioCommitmentModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteBillScenarioCommitmentModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteBillScenarioCommitmentModificationCommandInput extends BatchDeleteBillScenarioCommitmentModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteBillScenarioCommitmentModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteBillScenarioCommitmentModificationCommandOutput extends BatchDeleteBillScenarioCommitmentModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteBillScenarioCommitmentModificationCommand_base: {
|
|
25
|
+
new (input: BatchDeleteBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteBillScenarioCommitmentModificationCommandInput, BatchDeleteBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchDeleteBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteBillScenarioCommitmentModificationCommandInput, BatchDeleteBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Delete commitment that you have created in a Bill Scenario. You can only delete a commitment that you had
|
|
32
|
+
* added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing
|
|
33
|
+
* commitment, see the negate <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BillScenarioCommitmentModificationAction.html">
|
|
34
|
+
* BillScenarioCommitmentModificationAction</a> of
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchCreateBillScenarioUsageModification.html">
|
|
36
|
+
* BatchCreateBillScenarioCommitmentModification</a> operation.
|
|
37
|
+
* </p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { BCMPricingCalculatorClient, BatchDeleteBillScenarioCommitmentModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
42
|
+
* // const { BCMPricingCalculatorClient, BatchDeleteBillScenarioCommitmentModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
43
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
44
|
+
* const input = { // BatchDeleteBillScenarioCommitmentModificationRequest
|
|
45
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
46
|
+
* ids: [ // BatchDeleteBillScenarioCommitmentModificationEntries // required
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
50
|
+
* const command = new BatchDeleteBillScenarioCommitmentModificationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // BatchDeleteBillScenarioCommitmentModificationResponse
|
|
53
|
+
* // errors: [ // BatchDeleteBillScenarioCommitmentModificationErrors
|
|
54
|
+
* // { // BatchDeleteBillScenarioCommitmentModificationError
|
|
55
|
+
* // id: "STRING_VALUE",
|
|
56
|
+
* // errorCode: "BAD_REQUEST" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
57
|
+
* // errorMessage: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param BatchDeleteBillScenarioCommitmentModificationCommandInput - {@link BatchDeleteBillScenarioCommitmentModificationCommandInput}
|
|
65
|
+
* @returns {@link BatchDeleteBillScenarioCommitmentModificationCommandOutput}
|
|
66
|
+
* @see {@link BatchDeleteBillScenarioCommitmentModificationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link BatchDeleteBillScenarioCommitmentModificationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
71
|
+
* <p>
|
|
72
|
+
* The requested data is currently unavailable.
|
|
73
|
+
* </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>
|
|
77
|
+
* The specified resource was not found.
|
|
78
|
+
* </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>
|
|
82
|
+
* You do not have sufficient access to perform this action.
|
|
83
|
+
* </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>
|
|
87
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
88
|
+
* </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>
|
|
92
|
+
* The request was denied due to request throttling.
|
|
93
|
+
* </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>
|
|
97
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
98
|
+
* </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class BatchDeleteBillScenarioCommitmentModificationCommand extends BatchDeleteBillScenarioCommitmentModificationCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: BatchDeleteBillScenarioCommitmentModificationRequest;
|
|
110
|
+
output: BatchDeleteBillScenarioCommitmentModificationResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: BatchDeleteBillScenarioCommitmentModificationCommandInput;
|
|
114
|
+
output: BatchDeleteBillScenarioCommitmentModificationCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|