@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,203 @@
|
|
|
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 { BatchUpdateWorkloadEstimateUsageRequest, BatchUpdateWorkloadEstimateUsageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateWorkloadEstimateUsageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateWorkloadEstimateUsageCommandInput extends BatchUpdateWorkloadEstimateUsageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateWorkloadEstimateUsageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateWorkloadEstimateUsageCommandOutput extends BatchUpdateWorkloadEstimateUsageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchUpdateWorkloadEstimateUsageCommand_base: {
|
|
25
|
+
new (input: BatchUpdateWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateWorkloadEstimateUsageCommandInput, BatchUpdateWorkloadEstimateUsageCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchUpdateWorkloadEstimateUsageCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateWorkloadEstimateUsageCommandInput, BatchUpdateWorkloadEstimateUsageCommandOutput, 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 and usage group based on a usage ID and a Workload estimate 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, BatchUpdateWorkloadEstimateUsageCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchUpdateWorkloadEstimateUsageCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchUpdateWorkloadEstimateUsageRequest
|
|
40
|
+
* workloadEstimateId: "STRING_VALUE", // required
|
|
41
|
+
* usage: [ // BatchUpdateWorkloadEstimateUsageEntries // required
|
|
42
|
+
* { // BatchUpdateWorkloadEstimateUsageEntry
|
|
43
|
+
* id: "STRING_VALUE", // required
|
|
44
|
+
* group: "STRING_VALUE",
|
|
45
|
+
* amount: Number("double"),
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new BatchUpdateWorkloadEstimateUsageCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // BatchUpdateWorkloadEstimateUsageResponse
|
|
52
|
+
* // items: [ // WorkloadEstimateUsageItems
|
|
53
|
+
* // { // WorkloadEstimateUsageItem
|
|
54
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
55
|
+
* // usageType: "STRING_VALUE", // required
|
|
56
|
+
* // operation: "STRING_VALUE", // required
|
|
57
|
+
* // location: "STRING_VALUE",
|
|
58
|
+
* // id: "STRING_VALUE",
|
|
59
|
+
* // usageAccountId: "STRING_VALUE",
|
|
60
|
+
* // group: "STRING_VALUE",
|
|
61
|
+
* // quantity: { // WorkloadEstimateUsageQuantity
|
|
62
|
+
* // unit: "STRING_VALUE",
|
|
63
|
+
* // amount: Number("double"),
|
|
64
|
+
* // },
|
|
65
|
+
* // cost: Number("double"),
|
|
66
|
+
* // currency: "USD",
|
|
67
|
+
* // status: "VALID" || "INVALID" || "STALE",
|
|
68
|
+
* // historicalUsage: { // HistoricalUsageEntity
|
|
69
|
+
* // serviceCode: "STRING_VALUE", // required
|
|
70
|
+
* // usageType: "STRING_VALUE", // required
|
|
71
|
+
* // operation: "STRING_VALUE", // required
|
|
72
|
+
* // location: "STRING_VALUE",
|
|
73
|
+
* // usageAccountId: "STRING_VALUE", // required
|
|
74
|
+
* // billInterval: { // BillInterval
|
|
75
|
+
* // start: new Date("TIMESTAMP"),
|
|
76
|
+
* // end: new Date("TIMESTAMP"),
|
|
77
|
+
* // },
|
|
78
|
+
* // filterExpression: { // Expression
|
|
79
|
+
* // and: [ // ExpressionList
|
|
80
|
+
* // {
|
|
81
|
+
* // and: [
|
|
82
|
+
* // "<Expression>",
|
|
83
|
+
* // ],
|
|
84
|
+
* // or: [
|
|
85
|
+
* // "<Expression>",
|
|
86
|
+
* // ],
|
|
87
|
+
* // not: "<Expression>",
|
|
88
|
+
* // costCategories: { // ExpressionFilter
|
|
89
|
+
* // key: "STRING_VALUE",
|
|
90
|
+
* // matchOptions: [ // StringList
|
|
91
|
+
* // "STRING_VALUE",
|
|
92
|
+
* // ],
|
|
93
|
+
* // values: [
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // dimensions: {
|
|
98
|
+
* // key: "STRING_VALUE",
|
|
99
|
+
* // matchOptions: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // values: [
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // tags: {
|
|
107
|
+
* // key: "STRING_VALUE",
|
|
108
|
+
* // matchOptions: [
|
|
109
|
+
* // "STRING_VALUE",
|
|
110
|
+
* // ],
|
|
111
|
+
* // values: "<StringList>",
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // or: [
|
|
116
|
+
* // "<Expression>",
|
|
117
|
+
* // ],
|
|
118
|
+
* // not: "<Expression>",
|
|
119
|
+
* // costCategories: {
|
|
120
|
+
* // key: "STRING_VALUE",
|
|
121
|
+
* // matchOptions: "<StringList>",
|
|
122
|
+
* // values: "<StringList>",
|
|
123
|
+
* // },
|
|
124
|
+
* // dimensions: {
|
|
125
|
+
* // key: "STRING_VALUE",
|
|
126
|
+
* // matchOptions: "<StringList>",
|
|
127
|
+
* // values: "<StringList>",
|
|
128
|
+
* // },
|
|
129
|
+
* // tags: "<ExpressionFilter>",
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // errors: [ // BatchUpdateWorkloadEstimateUsageErrors
|
|
135
|
+
* // { // BatchUpdateWorkloadEstimateUsageError
|
|
136
|
+
* // id: "STRING_VALUE",
|
|
137
|
+
* // errorMessage: "STRING_VALUE",
|
|
138
|
+
* // errorCode: "BAD_REQUEST" || "NOT_FOUND" || "CONFLICT" || "INTERNAL_SERVER_ERROR",
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // };
|
|
142
|
+
*
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* @param BatchUpdateWorkloadEstimateUsageCommandInput - {@link BatchUpdateWorkloadEstimateUsageCommandInput}
|
|
146
|
+
* @returns {@link BatchUpdateWorkloadEstimateUsageCommandOutput}
|
|
147
|
+
* @see {@link BatchUpdateWorkloadEstimateUsageCommandInput} for command's `input` shape.
|
|
148
|
+
* @see {@link BatchUpdateWorkloadEstimateUsageCommandOutput} for command's `response` shape.
|
|
149
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
152
|
+
* <p>
|
|
153
|
+
* The requested data is currently unavailable.
|
|
154
|
+
* </p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
157
|
+
* <p>
|
|
158
|
+
* The specified resource was not found.
|
|
159
|
+
* </p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
162
|
+
* <p>
|
|
163
|
+
* The request would cause you to exceed your service quota.
|
|
164
|
+
* </p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
167
|
+
* <p>
|
|
168
|
+
* You do not have sufficient access to perform this action.
|
|
169
|
+
* </p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link InternalServerException} (server fault)
|
|
172
|
+
* <p>
|
|
173
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
174
|
+
* </p>
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
177
|
+
* <p>
|
|
178
|
+
* The request was denied due to request throttling.
|
|
179
|
+
* </p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link ValidationException} (client fault)
|
|
182
|
+
* <p>
|
|
183
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
184
|
+
* </p>
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
187
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
188
|
+
*
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export declare class BatchUpdateWorkloadEstimateUsageCommand extends BatchUpdateWorkloadEstimateUsageCommand_base {
|
|
192
|
+
/** @internal type navigation helper, not in runtime. */
|
|
193
|
+
protected static __types: {
|
|
194
|
+
api: {
|
|
195
|
+
input: BatchUpdateWorkloadEstimateUsageRequest;
|
|
196
|
+
output: BatchUpdateWorkloadEstimateUsageResponse;
|
|
197
|
+
};
|
|
198
|
+
sdk: {
|
|
199
|
+
input: BatchUpdateWorkloadEstimateUsageCommandInput;
|
|
200
|
+
output: BatchUpdateWorkloadEstimateUsageCommandOutput;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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 { CreateBillEstimateRequest, CreateBillEstimateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBillEstimateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBillEstimateCommandInput extends CreateBillEstimateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBillEstimateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBillEstimateCommandOutput extends CreateBillEstimateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBillEstimateCommand_base: {
|
|
25
|
+
new (input: CreateBillEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillEstimateCommandInput, CreateBillEstimateCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBillEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillEstimateCommandInput, CreateBillEstimateCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Create a Bill estimate from a Bill scenario. In the Bill scenario you can model usage addition, usage changes, and usage removal. You can also model commitment addition and commitment removal. After all changes in a Bill scenario is made satisfactorily, you can call this API with a Bill scenario ID to generate the Bill estimate. Bill estimate calculates the pre-tax cost for your consolidated billing family, incorporating all modeled usage and commitments alongside existing usage and commitments from your most recent completed anniversary bill, with any applicable discounts applied.
|
|
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, CreateBillEstimateCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, CreateBillEstimateCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // CreateBillEstimateRequest
|
|
40
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE", // required
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* tags: { // Tags
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateBillEstimateCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateBillEstimateResponse
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // status: "IN_PROGRESS" || "COMPLETE" || "FAILED",
|
|
53
|
+
* // failureMessage: "STRING_VALUE",
|
|
54
|
+
* // billInterval: { // BillInterval
|
|
55
|
+
* // start: new Date("TIMESTAMP"),
|
|
56
|
+
* // end: new Date("TIMESTAMP"),
|
|
57
|
+
* // },
|
|
58
|
+
* // costSummary: { // BillEstimateCostSummary
|
|
59
|
+
* // totalCostDifference: { // CostDifference
|
|
60
|
+
* // historicalCost: { // CostAmount
|
|
61
|
+
* // amount: Number("double"),
|
|
62
|
+
* // currency: "USD",
|
|
63
|
+
* // },
|
|
64
|
+
* // estimatedCost: {
|
|
65
|
+
* // amount: Number("double"),
|
|
66
|
+
* // currency: "USD",
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // serviceCostDifferences: { // ServiceCostDifferenceMap
|
|
70
|
+
* // "<keys>": {
|
|
71
|
+
* // historicalCost: {
|
|
72
|
+
* // amount: Number("double"),
|
|
73
|
+
* // currency: "USD",
|
|
74
|
+
* // },
|
|
75
|
+
* // estimatedCost: {
|
|
76
|
+
* // amount: Number("double"),
|
|
77
|
+
* // currency: "USD",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
83
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param CreateBillEstimateCommandInput - {@link CreateBillEstimateCommandInput}
|
|
89
|
+
* @returns {@link CreateBillEstimateCommandOutput}
|
|
90
|
+
* @see {@link CreateBillEstimateCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link CreateBillEstimateCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ConflictException} (client fault)
|
|
95
|
+
* <p>
|
|
96
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
97
|
+
* </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
100
|
+
* <p>
|
|
101
|
+
* The requested data is currently unavailable.
|
|
102
|
+
* </p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>
|
|
106
|
+
* The specified resource was not found.
|
|
107
|
+
* </p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
110
|
+
* <p>
|
|
111
|
+
* You do not have sufficient access to perform this action.
|
|
112
|
+
* </p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InternalServerException} (server fault)
|
|
115
|
+
* <p>
|
|
116
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
117
|
+
* </p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
120
|
+
* <p>
|
|
121
|
+
* The request was denied due to request throttling.
|
|
122
|
+
* </p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link ValidationException} (client fault)
|
|
125
|
+
* <p>
|
|
126
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
127
|
+
* </p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class CreateBillEstimateCommand extends CreateBillEstimateCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: CreateBillEstimateRequest;
|
|
139
|
+
output: CreateBillEstimateResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: CreateBillEstimateCommandInput;
|
|
143
|
+
output: CreateBillEstimateCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { CreateBillScenarioRequest, CreateBillScenarioResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBillScenarioCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBillScenarioCommandInput extends CreateBillScenarioRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBillScenarioCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBillScenarioCommandOutput extends CreateBillScenarioResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBillScenarioCommand_base: {
|
|
25
|
+
new (input: CreateBillScenarioCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillScenarioCommandInput, CreateBillScenarioCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBillScenarioCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBillScenarioCommandInput, CreateBillScenarioCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.
|
|
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, CreateBillScenarioCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, CreateBillScenarioCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // CreateBillScenarioRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* tags: { // Tags
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateBillScenarioCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateBillScenarioResponse
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE",
|
|
51
|
+
* // billInterval: { // BillInterval
|
|
52
|
+
* // start: new Date("TIMESTAMP"),
|
|
53
|
+
* // end: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // status: "READY" || "LOCKED" || "FAILED",
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // failureMessage: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param CreateBillScenarioCommandInput - {@link CreateBillScenarioCommandInput}
|
|
64
|
+
* @returns {@link CreateBillScenarioCommandOutput}
|
|
65
|
+
* @see {@link CreateBillScenarioCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link CreateBillScenarioCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>
|
|
71
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
72
|
+
* </p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
75
|
+
* <p>
|
|
76
|
+
* The requested data is currently unavailable.
|
|
77
|
+
* </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
80
|
+
* <p>
|
|
81
|
+
* The request would cause you to exceed your service quota.
|
|
82
|
+
* </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>
|
|
86
|
+
* You do not have sufficient access to perform this action.
|
|
87
|
+
* </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>
|
|
91
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
92
|
+
* </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>
|
|
96
|
+
* The request was denied due to request throttling.
|
|
97
|
+
* </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>
|
|
101
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
102
|
+
* </p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class CreateBillScenarioCommand extends CreateBillScenarioCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: CreateBillScenarioRequest;
|
|
114
|
+
output: CreateBillScenarioResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: CreateBillScenarioCommandInput;
|
|
118
|
+
output: CreateBillScenarioCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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 { CreateWorkloadEstimateRequest, CreateWorkloadEstimateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWorkloadEstimateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWorkloadEstimateCommandInput extends CreateWorkloadEstimateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWorkloadEstimateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWorkloadEstimateCommandOutput extends CreateWorkloadEstimateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWorkloadEstimateCommand_base: {
|
|
25
|
+
new (input: CreateWorkloadEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkloadEstimateCommandInput, CreateWorkloadEstimateCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateWorkloadEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkloadEstimateCommandInput, CreateWorkloadEstimateCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Creates a new workload estimate to model costs for a specific workload.
|
|
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, CreateWorkloadEstimateCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, CreateWorkloadEstimateCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // CreateWorkloadEstimateRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* rateType: "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS",
|
|
43
|
+
* tags: { // Tags
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateWorkloadEstimateCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateWorkloadEstimateResponse
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // rateType: "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS",
|
|
55
|
+
* // rateTimestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // status: "UPDATING" || "VALID" || "INVALID" || "ACTION_NEEDED",
|
|
57
|
+
* // totalCost: Number("double"),
|
|
58
|
+
* // costCurrency: "USD",
|
|
59
|
+
* // failureMessage: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param CreateWorkloadEstimateCommandInput - {@link CreateWorkloadEstimateCommandInput}
|
|
65
|
+
* @returns {@link CreateWorkloadEstimateCommandOutput}
|
|
66
|
+
* @see {@link CreateWorkloadEstimateCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link CreateWorkloadEstimateCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>
|
|
72
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
73
|
+
* </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
76
|
+
* <p>
|
|
77
|
+
* The requested data is currently unavailable.
|
|
78
|
+
* </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
81
|
+
* <p>
|
|
82
|
+
* The request would cause you to exceed your service quota.
|
|
83
|
+
* </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>
|
|
87
|
+
* You do not have sufficient access to perform this action.
|
|
88
|
+
* </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>
|
|
92
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
93
|
+
* </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>
|
|
97
|
+
* The request was denied due to request throttling.
|
|
98
|
+
* </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>
|
|
102
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
103
|
+
* </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class CreateWorkloadEstimateCommand extends CreateWorkloadEstimateCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: CreateWorkloadEstimateRequest;
|
|
115
|
+
output: CreateWorkloadEstimateResponse;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: CreateWorkloadEstimateCommandInput;
|
|
119
|
+
output: CreateWorkloadEstimateCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|