@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,120 @@
|
|
|
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 { BatchDeleteBillScenarioUsageModificationRequest, BatchDeleteBillScenarioUsageModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteBillScenarioUsageModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteBillScenarioUsageModificationCommandInput extends BatchDeleteBillScenarioUsageModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteBillScenarioUsageModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteBillScenarioUsageModificationCommandOutput extends BatchDeleteBillScenarioUsageModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteBillScenarioUsageModificationCommand_base: {
|
|
25
|
+
new (input: BatchDeleteBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteBillScenarioUsageModificationCommandInput, BatchDeleteBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchDeleteBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteBillScenarioUsageModificationCommandInput, BatchDeleteBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Delete usage that you have created in a Bill Scenario. You can only delete usage that you had added and cannot model
|
|
32
|
+
* deletion (or removal) of a existing usage. If you want model removal of an existing usage, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateBillScenarioUsageModification.html">
|
|
34
|
+
* BatchUpdateBillScenarioUsageModification</a>.
|
|
35
|
+
* </p>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { BCMPricingCalculatorClient, BatchDeleteBillScenarioUsageModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
40
|
+
* // const { BCMPricingCalculatorClient, BatchDeleteBillScenarioUsageModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
41
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
42
|
+
* const input = { // BatchDeleteBillScenarioUsageModificationRequest
|
|
43
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
44
|
+
* ids: [ // BatchDeleteBillScenarioUsageModificationEntries // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchDeleteBillScenarioUsageModificationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchDeleteBillScenarioUsageModificationResponse
|
|
51
|
+
* // errors: [ // BatchDeleteBillScenarioUsageModificationErrors
|
|
52
|
+
* // { // BatchDeleteBillScenarioUsageModificationError
|
|
53
|
+
* // id: "STRING_VALUE",
|
|
54
|
+
* // errorMessage: "STRING_VALUE",
|
|
55
|
+
* // errorCode: "BAD_REQUEST" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param BatchDeleteBillScenarioUsageModificationCommandInput - {@link BatchDeleteBillScenarioUsageModificationCommandInput}
|
|
63
|
+
* @returns {@link BatchDeleteBillScenarioUsageModificationCommandOutput}
|
|
64
|
+
* @see {@link BatchDeleteBillScenarioUsageModificationCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link BatchDeleteBillScenarioUsageModificationCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
69
|
+
* <p>
|
|
70
|
+
* The requested data is currently unavailable.
|
|
71
|
+
* </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>
|
|
75
|
+
* The specified resource was not found.
|
|
76
|
+
* </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>
|
|
80
|
+
* The request would cause you to exceed your service quota.
|
|
81
|
+
* </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>
|
|
85
|
+
* You do not have sufficient access to perform this action.
|
|
86
|
+
* </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>
|
|
90
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
91
|
+
* </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p>
|
|
95
|
+
* The request was denied due to request throttling.
|
|
96
|
+
* </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>
|
|
100
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
101
|
+
* </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class BatchDeleteBillScenarioUsageModificationCommand extends BatchDeleteBillScenarioUsageModificationCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: BatchDeleteBillScenarioUsageModificationRequest;
|
|
113
|
+
output: BatchDeleteBillScenarioUsageModificationResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: BatchDeleteBillScenarioUsageModificationCommandInput;
|
|
117
|
+
output: BatchDeleteBillScenarioUsageModificationCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { BatchDeleteWorkloadEstimateUsageRequest, BatchDeleteWorkloadEstimateUsageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteWorkloadEstimateUsageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteWorkloadEstimateUsageCommandInput extends BatchDeleteWorkloadEstimateUsageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteWorkloadEstimateUsageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteWorkloadEstimateUsageCommandOutput extends BatchDeleteWorkloadEstimateUsageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteWorkloadEstimateUsageCommand_base: {
|
|
25
|
+
new (input: BatchDeleteWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteWorkloadEstimateUsageCommandInput, BatchDeleteWorkloadEstimateUsageCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchDeleteWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteWorkloadEstimateUsageCommandInput, BatchDeleteWorkloadEstimateUsageCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Delete usage that you have created in a Workload estimate. You can only delete usage that you had added and cannot model deletion
|
|
32
|
+
* (or removal) of a existing usage. If you want model removal of an existing usage, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateWorkloadEstimateUsage.html">
|
|
34
|
+
* BatchUpdateWorkloadEstimateUsage</a>.
|
|
35
|
+
* </p>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { BCMPricingCalculatorClient, BatchDeleteWorkloadEstimateUsageCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
40
|
+
* // const { BCMPricingCalculatorClient, BatchDeleteWorkloadEstimateUsageCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
41
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
42
|
+
* const input = { // BatchDeleteWorkloadEstimateUsageRequest
|
|
43
|
+
* workloadEstimateId: "STRING_VALUE", // required
|
|
44
|
+
* ids: [ // BatchDeleteWorkloadEstimateUsageEntries // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchDeleteWorkloadEstimateUsageCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchDeleteWorkloadEstimateUsageResponse
|
|
51
|
+
* // errors: [ // BatchDeleteWorkloadEstimateUsageErrors
|
|
52
|
+
* // { // BatchDeleteWorkloadEstimateUsageError
|
|
53
|
+
* // id: "STRING_VALUE",
|
|
54
|
+
* // errorMessage: "STRING_VALUE",
|
|
55
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param BatchDeleteWorkloadEstimateUsageCommandInput - {@link BatchDeleteWorkloadEstimateUsageCommandInput}
|
|
63
|
+
* @returns {@link BatchDeleteWorkloadEstimateUsageCommandOutput}
|
|
64
|
+
* @see {@link BatchDeleteWorkloadEstimateUsageCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link BatchDeleteWorkloadEstimateUsageCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
69
|
+
* <p>
|
|
70
|
+
* The requested data is currently unavailable.
|
|
71
|
+
* </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>
|
|
75
|
+
* The specified resource was not found.
|
|
76
|
+
* </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>
|
|
80
|
+
* The request would cause you to exceed your service quota.
|
|
81
|
+
* </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>
|
|
85
|
+
* You do not have sufficient access to perform this action.
|
|
86
|
+
* </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>
|
|
90
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
91
|
+
* </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p>
|
|
95
|
+
* The request was denied due to request throttling.
|
|
96
|
+
* </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>
|
|
100
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
101
|
+
* </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class BatchDeleteWorkloadEstimateUsageCommand extends BatchDeleteWorkloadEstimateUsageCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: BatchDeleteWorkloadEstimateUsageRequest;
|
|
113
|
+
output: BatchDeleteWorkloadEstimateUsageResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: BatchDeleteWorkloadEstimateUsageCommandInput;
|
|
117
|
+
output: BatchDeleteWorkloadEstimateUsageCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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 { BatchUpdateBillScenarioCommitmentModificationRequest, BatchUpdateBillScenarioCommitmentModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateBillScenarioCommitmentModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateBillScenarioCommitmentModificationCommandInput extends BatchUpdateBillScenarioCommitmentModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateBillScenarioCommitmentModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateBillScenarioCommitmentModificationCommandOutput extends BatchUpdateBillScenarioCommitmentModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchUpdateBillScenarioCommitmentModificationCommand_base: {
|
|
25
|
+
new (input: BatchUpdateBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateBillScenarioCommitmentModificationCommandInput, BatchUpdateBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchUpdateBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateBillScenarioCommitmentModificationCommandInput, BatchUpdateBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.
|
|
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, BatchUpdateBillScenarioCommitmentModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchUpdateBillScenarioCommitmentModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchUpdateBillScenarioCommitmentModificationRequest
|
|
40
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
41
|
+
* commitmentModifications: [ // BatchUpdateBillScenarioCommitmentModificationEntries // required
|
|
42
|
+
* { // BatchUpdateBillScenarioCommitmentModificationEntry
|
|
43
|
+
* id: "STRING_VALUE", // required
|
|
44
|
+
* group: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchUpdateBillScenarioCommitmentModificationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchUpdateBillScenarioCommitmentModificationResponse
|
|
51
|
+
* // items: [ // BillScenarioCommitmentModificationItems
|
|
52
|
+
* // { // BillScenarioCommitmentModificationItem
|
|
53
|
+
* // id: "STRING_VALUE",
|
|
54
|
+
* // usageAccountId: "STRING_VALUE",
|
|
55
|
+
* // group: "STRING_VALUE",
|
|
56
|
+
* // commitmentAction: { // BillScenarioCommitmentModificationAction Union: only one key present
|
|
57
|
+
* // addReservedInstanceAction: { // AddReservedInstanceAction
|
|
58
|
+
* // reservedInstancesOfferingId: "STRING_VALUE",
|
|
59
|
+
* // instanceCount: Number("int"),
|
|
60
|
+
* // },
|
|
61
|
+
* // addSavingsPlanAction: { // AddSavingsPlanAction
|
|
62
|
+
* // savingsPlanOfferingId: "STRING_VALUE",
|
|
63
|
+
* // commitment: Number("double"),
|
|
64
|
+
* // },
|
|
65
|
+
* // negateReservedInstanceAction: { // NegateReservedInstanceAction
|
|
66
|
+
* // reservedInstancesId: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // negateSavingsPlanAction: { // NegateSavingsPlanAction
|
|
69
|
+
* // savingsPlanId: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // errors: [ // BatchUpdateBillScenarioCommitmentModificationErrors
|
|
75
|
+
* // { // BatchUpdateBillScenarioCommitmentModificationError
|
|
76
|
+
* // id: "STRING_VALUE",
|
|
77
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
78
|
+
* // errorMessage: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param BatchUpdateBillScenarioCommitmentModificationCommandInput - {@link BatchUpdateBillScenarioCommitmentModificationCommandInput}
|
|
86
|
+
* @returns {@link BatchUpdateBillScenarioCommitmentModificationCommandOutput}
|
|
87
|
+
* @see {@link BatchUpdateBillScenarioCommitmentModificationCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link BatchUpdateBillScenarioCommitmentModificationCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
92
|
+
* <p>
|
|
93
|
+
* The requested data is currently unavailable.
|
|
94
|
+
* </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>
|
|
98
|
+
* The specified resource was not found.
|
|
99
|
+
* </p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* <p>
|
|
103
|
+
* You do not have sufficient access to perform this action.
|
|
104
|
+
* </p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link InternalServerException} (server fault)
|
|
107
|
+
* <p>
|
|
108
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
109
|
+
* </p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
112
|
+
* <p>
|
|
113
|
+
* The request was denied due to request throttling.
|
|
114
|
+
* </p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ValidationException} (client fault)
|
|
117
|
+
* <p>
|
|
118
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
119
|
+
* </p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
123
|
+
*
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare class BatchUpdateBillScenarioCommitmentModificationCommand extends BatchUpdateBillScenarioCommitmentModificationCommand_base {
|
|
127
|
+
/** @internal type navigation helper, not in runtime. */
|
|
128
|
+
protected static __types: {
|
|
129
|
+
api: {
|
|
130
|
+
input: BatchUpdateBillScenarioCommitmentModificationRequest;
|
|
131
|
+
output: BatchUpdateBillScenarioCommitmentModificationResponse;
|
|
132
|
+
};
|
|
133
|
+
sdk: {
|
|
134
|
+
input: BatchUpdateBillScenarioCommitmentModificationCommandInput;
|
|
135
|
+
output: BatchUpdateBillScenarioCommitmentModificationCommandOutput;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
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 { BatchUpdateBillScenarioUsageModificationRequest, BatchUpdateBillScenarioUsageModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateBillScenarioUsageModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateBillScenarioUsageModificationCommandInput extends BatchUpdateBillScenarioUsageModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateBillScenarioUsageModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateBillScenarioUsageModificationCommandOutput extends BatchUpdateBillScenarioUsageModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchUpdateBillScenarioUsageModificationCommand_base: {
|
|
25
|
+
new (input: BatchUpdateBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateBillScenarioUsageModificationCommandInput, BatchUpdateBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchUpdateBillScenarioUsageModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateBillScenarioUsageModificationCommandInput, BatchUpdateBillScenarioUsageModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Update a newly added or existing usage lines. You can update the usage amounts, usage hour, and usage group based on a usage ID and a Bill scenario ID.
|
|
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, BatchUpdateBillScenarioUsageModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchUpdateBillScenarioUsageModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchUpdateBillScenarioUsageModificationRequest
|
|
40
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
41
|
+
* usageModifications: [ // BatchUpdateBillScenarioUsageModificationEntries // required
|
|
42
|
+
* { // BatchUpdateBillScenarioUsageModificationEntry
|
|
43
|
+
* id: "STRING_VALUE", // required
|
|
44
|
+
* group: "STRING_VALUE",
|
|
45
|
+
* amounts: [ // UsageAmounts
|
|
46
|
+
* { // UsageAmount
|
|
47
|
+
* startHour: new Date("TIMESTAMP"), // required
|
|
48
|
+
* amount: Number("double"), // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new BatchUpdateBillScenarioUsageModificationCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // BatchUpdateBillScenarioUsageModificationResponse
|
|
57
|
+
* // items: [ // BillScenarioUsageModificationItems
|
|
58
|
+
* // { // BillScenarioUsageModificationItem
|
|
59
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
60
|
+
* // usageType: "STRING_VALUE", // required
|
|
61
|
+
* // operation: "STRING_VALUE", // required
|
|
62
|
+
* // location: "STRING_VALUE",
|
|
63
|
+
* // availabilityZone: "STRING_VALUE",
|
|
64
|
+
* // id: "STRING_VALUE",
|
|
65
|
+
* // group: "STRING_VALUE",
|
|
66
|
+
* // usageAccountId: "STRING_VALUE",
|
|
67
|
+
* // quantities: [ // UsageQuantities
|
|
68
|
+
* // { // UsageQuantity
|
|
69
|
+
* // startHour: new Date("TIMESTAMP"),
|
|
70
|
+
* // unit: "STRING_VALUE",
|
|
71
|
+
* // amount: Number("double"),
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // historicalUsage: { // HistoricalUsageEntity
|
|
75
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
76
|
+
* // usageType: "STRING_VALUE", // required
|
|
77
|
+
* // operation: "STRING_VALUE", // required
|
|
78
|
+
* // location: "STRING_VALUE",
|
|
79
|
+
* // usageAccountId: "STRING_VALUE", // required
|
|
80
|
+
* // billInterval: { // BillInterval
|
|
81
|
+
* // start: new Date("TIMESTAMP"),
|
|
82
|
+
* // end: new Date("TIMESTAMP"),
|
|
83
|
+
* // },
|
|
84
|
+
* // filterExpression: { // Expression
|
|
85
|
+
* // and: [ // ExpressionList
|
|
86
|
+
* // {
|
|
87
|
+
* // and: [
|
|
88
|
+
* // "<Expression>",
|
|
89
|
+
* // ],
|
|
90
|
+
* // or: [
|
|
91
|
+
* // "<Expression>",
|
|
92
|
+
* // ],
|
|
93
|
+
* // not: "<Expression>",
|
|
94
|
+
* // costCategories: { // ExpressionFilter
|
|
95
|
+
* // key: "STRING_VALUE",
|
|
96
|
+
* // matchOptions: [ // StringList
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // values: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // },
|
|
103
|
+
* // dimensions: {
|
|
104
|
+
* // key: "STRING_VALUE",
|
|
105
|
+
* // matchOptions: [
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // values: [
|
|
109
|
+
* // "STRING_VALUE",
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // tags: {
|
|
113
|
+
* // key: "STRING_VALUE",
|
|
114
|
+
* // matchOptions: [
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // values: "<StringList>",
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // or: [
|
|
122
|
+
* // "<Expression>",
|
|
123
|
+
* // ],
|
|
124
|
+
* // not: "<Expression>",
|
|
125
|
+
* // costCategories: {
|
|
126
|
+
* // key: "STRING_VALUE",
|
|
127
|
+
* // matchOptions: "<StringList>",
|
|
128
|
+
* // values: "<StringList>",
|
|
129
|
+
* // },
|
|
130
|
+
* // dimensions: {
|
|
131
|
+
* // key: "STRING_VALUE",
|
|
132
|
+
* // matchOptions: "<StringList>",
|
|
133
|
+
* // values: "<StringList>",
|
|
134
|
+
* // },
|
|
135
|
+
* // tags: "<ExpressionFilter>",
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // errors: [ // BatchUpdateBillScenarioUsageModificationErrors
|
|
141
|
+
* // { // BatchUpdateBillScenarioUsageModificationError
|
|
142
|
+
* // id: "STRING_VALUE",
|
|
143
|
+
* // errorMessage: "STRING_VALUE",
|
|
144
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // };
|
|
148
|
+
*
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* @param BatchUpdateBillScenarioUsageModificationCommandInput - {@link BatchUpdateBillScenarioUsageModificationCommandInput}
|
|
152
|
+
* @returns {@link BatchUpdateBillScenarioUsageModificationCommandOutput}
|
|
153
|
+
* @see {@link BatchUpdateBillScenarioUsageModificationCommandInput} for command's `input` shape.
|
|
154
|
+
* @see {@link BatchUpdateBillScenarioUsageModificationCommandOutput} for command's `response` shape.
|
|
155
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
158
|
+
* <p>
|
|
159
|
+
* The requested data is currently unavailable.
|
|
160
|
+
* </p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
163
|
+
* <p>
|
|
164
|
+
* The specified resource was not found.
|
|
165
|
+
* </p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
168
|
+
* <p>
|
|
169
|
+
* The request would cause you to exceed your service quota.
|
|
170
|
+
* </p>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
173
|
+
* <p>
|
|
174
|
+
* You do not have sufficient access to perform this action.
|
|
175
|
+
* </p>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link InternalServerException} (server fault)
|
|
178
|
+
* <p>
|
|
179
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
180
|
+
* </p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
183
|
+
* <p>
|
|
184
|
+
* The request was denied due to request throttling.
|
|
185
|
+
* </p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ValidationException} (client fault)
|
|
188
|
+
* <p>
|
|
189
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
190
|
+
* </p>
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
193
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
194
|
+
*
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export declare class BatchUpdateBillScenarioUsageModificationCommand extends BatchUpdateBillScenarioUsageModificationCommand_base {
|
|
198
|
+
/** @internal type navigation helper, not in runtime. */
|
|
199
|
+
protected static __types: {
|
|
200
|
+
api: {
|
|
201
|
+
input: BatchUpdateBillScenarioUsageModificationRequest;
|
|
202
|
+
output: BatchUpdateBillScenarioUsageModificationResponse;
|
|
203
|
+
};
|
|
204
|
+
sdk: {
|
|
205
|
+
input: BatchUpdateBillScenarioUsageModificationCommandInput;
|
|
206
|
+
output: BatchUpdateBillScenarioUsageModificationCommandOutput;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
}
|