@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
package/README.md
ADDED
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
<!-- generated file, do not edit directly -->
|
|
2
|
+
|
|
3
|
+
# @aws-sdk/client-bcm-pricing-calculator
|
|
4
|
+
|
|
5
|
+
## Description
|
|
6
|
+
|
|
7
|
+
AWS SDK for JavaScript BCMPricingCalculator Client for Node.js, Browser and React Native.
|
|
8
|
+
|
|
9
|
+
<p>
|
|
10
|
+
You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and
|
|
11
|
+
Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
|
|
12
|
+
</p>
|
|
13
|
+
<p>The Pricing Calculator API provides the following endpoint:</p>
|
|
14
|
+
<ul>
|
|
15
|
+
<li>
|
|
16
|
+
<p>
|
|
17
|
+
<code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
|
|
18
|
+
</p>
|
|
19
|
+
</li>
|
|
20
|
+
</ul>
|
|
21
|
+
|
|
22
|
+
## Installing
|
|
23
|
+
|
|
24
|
+
To install this package, simply type add or install @aws-sdk/client-bcm-pricing-calculator
|
|
25
|
+
using your favorite package manager:
|
|
26
|
+
|
|
27
|
+
- `npm install @aws-sdk/client-bcm-pricing-calculator`
|
|
28
|
+
- `yarn add @aws-sdk/client-bcm-pricing-calculator`
|
|
29
|
+
- `pnpm add @aws-sdk/client-bcm-pricing-calculator`
|
|
30
|
+
|
|
31
|
+
## Getting Started
|
|
32
|
+
|
|
33
|
+
### Import
|
|
34
|
+
|
|
35
|
+
The AWS SDK is modulized by clients and commands.
|
|
36
|
+
To send a request, you only need to import the `BCMPricingCalculatorClient` and
|
|
37
|
+
the commands you need, for example `ListBillEstimatesCommand`:
|
|
38
|
+
|
|
39
|
+
```js
|
|
40
|
+
// ES5 example
|
|
41
|
+
const { BCMPricingCalculatorClient, ListBillEstimatesCommand } = require("@aws-sdk/client-bcm-pricing-calculator");
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
// ES6+ example
|
|
46
|
+
import { BCMPricingCalculatorClient, ListBillEstimatesCommand } from "@aws-sdk/client-bcm-pricing-calculator";
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Usage
|
|
50
|
+
|
|
51
|
+
To send a request, you:
|
|
52
|
+
|
|
53
|
+
- Initiate client with configuration (e.g. credentials, region).
|
|
54
|
+
- Initiate command with input parameters.
|
|
55
|
+
- Call `send` operation on client with command object as input.
|
|
56
|
+
- If you are using a custom http handler, you may call `destroy()` to close open connections.
|
|
57
|
+
|
|
58
|
+
```js
|
|
59
|
+
// a client can be shared by different commands.
|
|
60
|
+
const client = new BCMPricingCalculatorClient({ region: "REGION" });
|
|
61
|
+
|
|
62
|
+
const params = {
|
|
63
|
+
/** input parameters */
|
|
64
|
+
};
|
|
65
|
+
const command = new ListBillEstimatesCommand(params);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Async/await
|
|
69
|
+
|
|
70
|
+
We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
71
|
+
operator to wait for the promise returned by send operation as follows:
|
|
72
|
+
|
|
73
|
+
```js
|
|
74
|
+
// async/await.
|
|
75
|
+
try {
|
|
76
|
+
const data = await client.send(command);
|
|
77
|
+
// process data.
|
|
78
|
+
} catch (error) {
|
|
79
|
+
// error handling.
|
|
80
|
+
} finally {
|
|
81
|
+
// finally.
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Async-await is clean, concise, intuitive, easy to debug and has better error handling
|
|
86
|
+
as compared to using Promise chains or callbacks.
|
|
87
|
+
|
|
88
|
+
#### Promises
|
|
89
|
+
|
|
90
|
+
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
|
|
91
|
+
to execute send operation.
|
|
92
|
+
|
|
93
|
+
```js
|
|
94
|
+
client.send(command).then(
|
|
95
|
+
(data) => {
|
|
96
|
+
// process data.
|
|
97
|
+
},
|
|
98
|
+
(error) => {
|
|
99
|
+
// error handling.
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Promises can also be called using `.catch()` and `.finally()` as follows:
|
|
105
|
+
|
|
106
|
+
```js
|
|
107
|
+
client
|
|
108
|
+
.send(command)
|
|
109
|
+
.then((data) => {
|
|
110
|
+
// process data.
|
|
111
|
+
})
|
|
112
|
+
.catch((error) => {
|
|
113
|
+
// error handling.
|
|
114
|
+
})
|
|
115
|
+
.finally(() => {
|
|
116
|
+
// finally.
|
|
117
|
+
});
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
#### Callbacks
|
|
121
|
+
|
|
122
|
+
We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
|
|
123
|
+
but they are supported by the send operation.
|
|
124
|
+
|
|
125
|
+
```js
|
|
126
|
+
// callbacks.
|
|
127
|
+
client.send(command, (err, data) => {
|
|
128
|
+
// process err and data.
|
|
129
|
+
});
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
#### v2 compatible style
|
|
133
|
+
|
|
134
|
+
The client can also send requests using v2 compatible style.
|
|
135
|
+
However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
|
|
136
|
+
on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
|
|
137
|
+
|
|
138
|
+
```ts
|
|
139
|
+
import * as AWS from "@aws-sdk/client-bcm-pricing-calculator";
|
|
140
|
+
const client = new AWS.BCMPricingCalculator({ region: "REGION" });
|
|
141
|
+
|
|
142
|
+
// async/await.
|
|
143
|
+
try {
|
|
144
|
+
const data = await client.listBillEstimates(params);
|
|
145
|
+
// process data.
|
|
146
|
+
} catch (error) {
|
|
147
|
+
// error handling.
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Promises.
|
|
151
|
+
client
|
|
152
|
+
.listBillEstimates(params)
|
|
153
|
+
.then((data) => {
|
|
154
|
+
// process data.
|
|
155
|
+
})
|
|
156
|
+
.catch((error) => {
|
|
157
|
+
// error handling.
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
// callbacks.
|
|
161
|
+
client.listBillEstimates(params, (err, data) => {
|
|
162
|
+
// process err and data.
|
|
163
|
+
});
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Troubleshooting
|
|
167
|
+
|
|
168
|
+
When the service returns an exception, the error will include the exception information,
|
|
169
|
+
as well as response metadata (e.g. request id).
|
|
170
|
+
|
|
171
|
+
```js
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.send(command);
|
|
174
|
+
// process data.
|
|
175
|
+
} catch (error) {
|
|
176
|
+
const { requestId, cfId, extendedRequestId } = error.$metadata;
|
|
177
|
+
console.log({ requestId, cfId, extendedRequestId });
|
|
178
|
+
/**
|
|
179
|
+
* The keys within exceptions are also parsed.
|
|
180
|
+
* You can access them by specifying exception names:
|
|
181
|
+
* if (error.name === 'SomeServiceException') {
|
|
182
|
+
* const value = error.specialKeyInException;
|
|
183
|
+
* }
|
|
184
|
+
*/
|
|
185
|
+
}
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Getting Help
|
|
189
|
+
|
|
190
|
+
Please use these community resources for getting help.
|
|
191
|
+
We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
|
|
192
|
+
|
|
193
|
+
- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
194
|
+
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
|
|
195
|
+
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
|
|
196
|
+
on AWS Developer Blog.
|
|
197
|
+
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
|
|
198
|
+
- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
|
|
199
|
+
- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
|
|
200
|
+
|
|
201
|
+
To test your universal JavaScript code in Node.js, browser and react-native environments,
|
|
202
|
+
visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
|
|
203
|
+
|
|
204
|
+
## Contributing
|
|
205
|
+
|
|
206
|
+
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-bcm-pricing-calculator` package is updated.
|
|
207
|
+
To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
|
|
208
|
+
|
|
209
|
+
## License
|
|
210
|
+
|
|
211
|
+
This SDK is distributed under the
|
|
212
|
+
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
|
213
|
+
see LICENSE for more information.
|
|
214
|
+
|
|
215
|
+
## Client Commands (Operations List)
|
|
216
|
+
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
219
|
+
BatchCreateBillScenarioCommitmentModification
|
|
220
|
+
</summary>
|
|
221
|
+
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchCreateBillScenarioCommitmentModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateBillScenarioCommitmentModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateBillScenarioCommitmentModificationCommandOutput/)
|
|
223
|
+
|
|
224
|
+
</details>
|
|
225
|
+
<details>
|
|
226
|
+
<summary>
|
|
227
|
+
BatchCreateBillScenarioUsageModification
|
|
228
|
+
</summary>
|
|
229
|
+
|
|
230
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchCreateBillScenarioUsageModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateBillScenarioUsageModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateBillScenarioUsageModificationCommandOutput/)
|
|
231
|
+
|
|
232
|
+
</details>
|
|
233
|
+
<details>
|
|
234
|
+
<summary>
|
|
235
|
+
BatchCreateWorkloadEstimateUsage
|
|
236
|
+
</summary>
|
|
237
|
+
|
|
238
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchCreateWorkloadEstimateUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateWorkloadEstimateUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchCreateWorkloadEstimateUsageCommandOutput/)
|
|
239
|
+
|
|
240
|
+
</details>
|
|
241
|
+
<details>
|
|
242
|
+
<summary>
|
|
243
|
+
BatchDeleteBillScenarioCommitmentModification
|
|
244
|
+
</summary>
|
|
245
|
+
|
|
246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchDeleteBillScenarioCommitmentModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteBillScenarioCommitmentModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteBillScenarioCommitmentModificationCommandOutput/)
|
|
247
|
+
|
|
248
|
+
</details>
|
|
249
|
+
<details>
|
|
250
|
+
<summary>
|
|
251
|
+
BatchDeleteBillScenarioUsageModification
|
|
252
|
+
</summary>
|
|
253
|
+
|
|
254
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchDeleteBillScenarioUsageModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteBillScenarioUsageModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteBillScenarioUsageModificationCommandOutput/)
|
|
255
|
+
|
|
256
|
+
</details>
|
|
257
|
+
<details>
|
|
258
|
+
<summary>
|
|
259
|
+
BatchDeleteWorkloadEstimateUsage
|
|
260
|
+
</summary>
|
|
261
|
+
|
|
262
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchDeleteWorkloadEstimateUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteWorkloadEstimateUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchDeleteWorkloadEstimateUsageCommandOutput/)
|
|
263
|
+
|
|
264
|
+
</details>
|
|
265
|
+
<details>
|
|
266
|
+
<summary>
|
|
267
|
+
BatchUpdateBillScenarioCommitmentModification
|
|
268
|
+
</summary>
|
|
269
|
+
|
|
270
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchUpdateBillScenarioCommitmentModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateBillScenarioCommitmentModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateBillScenarioCommitmentModificationCommandOutput/)
|
|
271
|
+
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
275
|
+
BatchUpdateBillScenarioUsageModification
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchUpdateBillScenarioUsageModificationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateBillScenarioUsageModificationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateBillScenarioUsageModificationCommandOutput/)
|
|
279
|
+
|
|
280
|
+
</details>
|
|
281
|
+
<details>
|
|
282
|
+
<summary>
|
|
283
|
+
BatchUpdateWorkloadEstimateUsage
|
|
284
|
+
</summary>
|
|
285
|
+
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/BatchUpdateWorkloadEstimateUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateWorkloadEstimateUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/BatchUpdateWorkloadEstimateUsageCommandOutput/)
|
|
287
|
+
|
|
288
|
+
</details>
|
|
289
|
+
<details>
|
|
290
|
+
<summary>
|
|
291
|
+
CreateBillEstimate
|
|
292
|
+
</summary>
|
|
293
|
+
|
|
294
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/CreateBillEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateBillEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateBillEstimateCommandOutput/)
|
|
295
|
+
|
|
296
|
+
</details>
|
|
297
|
+
<details>
|
|
298
|
+
<summary>
|
|
299
|
+
CreateBillScenario
|
|
300
|
+
</summary>
|
|
301
|
+
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/CreateBillScenarioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateBillScenarioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateBillScenarioCommandOutput/)
|
|
303
|
+
|
|
304
|
+
</details>
|
|
305
|
+
<details>
|
|
306
|
+
<summary>
|
|
307
|
+
CreateWorkloadEstimate
|
|
308
|
+
</summary>
|
|
309
|
+
|
|
310
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/CreateWorkloadEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateWorkloadEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/CreateWorkloadEstimateCommandOutput/)
|
|
311
|
+
|
|
312
|
+
</details>
|
|
313
|
+
<details>
|
|
314
|
+
<summary>
|
|
315
|
+
DeleteBillEstimate
|
|
316
|
+
</summary>
|
|
317
|
+
|
|
318
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/DeleteBillEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteBillEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteBillEstimateCommandOutput/)
|
|
319
|
+
|
|
320
|
+
</details>
|
|
321
|
+
<details>
|
|
322
|
+
<summary>
|
|
323
|
+
DeleteBillScenario
|
|
324
|
+
</summary>
|
|
325
|
+
|
|
326
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/DeleteBillScenarioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteBillScenarioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteBillScenarioCommandOutput/)
|
|
327
|
+
|
|
328
|
+
</details>
|
|
329
|
+
<details>
|
|
330
|
+
<summary>
|
|
331
|
+
DeleteWorkloadEstimate
|
|
332
|
+
</summary>
|
|
333
|
+
|
|
334
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/DeleteWorkloadEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteWorkloadEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/DeleteWorkloadEstimateCommandOutput/)
|
|
335
|
+
|
|
336
|
+
</details>
|
|
337
|
+
<details>
|
|
338
|
+
<summary>
|
|
339
|
+
GetBillEstimate
|
|
340
|
+
</summary>
|
|
341
|
+
|
|
342
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/GetBillEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetBillEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetBillEstimateCommandOutput/)
|
|
343
|
+
|
|
344
|
+
</details>
|
|
345
|
+
<details>
|
|
346
|
+
<summary>
|
|
347
|
+
GetBillScenario
|
|
348
|
+
</summary>
|
|
349
|
+
|
|
350
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/GetBillScenarioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetBillScenarioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetBillScenarioCommandOutput/)
|
|
351
|
+
|
|
352
|
+
</details>
|
|
353
|
+
<details>
|
|
354
|
+
<summary>
|
|
355
|
+
GetPreferences
|
|
356
|
+
</summary>
|
|
357
|
+
|
|
358
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/GetPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetPreferencesCommandOutput/)
|
|
359
|
+
|
|
360
|
+
</details>
|
|
361
|
+
<details>
|
|
362
|
+
<summary>
|
|
363
|
+
GetWorkloadEstimate
|
|
364
|
+
</summary>
|
|
365
|
+
|
|
366
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/GetWorkloadEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetWorkloadEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/GetWorkloadEstimateCommandOutput/)
|
|
367
|
+
|
|
368
|
+
</details>
|
|
369
|
+
<details>
|
|
370
|
+
<summary>
|
|
371
|
+
ListBillEstimateCommitments
|
|
372
|
+
</summary>
|
|
373
|
+
|
|
374
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillEstimateCommitmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateCommitmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateCommitmentsCommandOutput/)
|
|
375
|
+
|
|
376
|
+
</details>
|
|
377
|
+
<details>
|
|
378
|
+
<summary>
|
|
379
|
+
ListBillEstimateInputCommitmentModifications
|
|
380
|
+
</summary>
|
|
381
|
+
|
|
382
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillEstimateInputCommitmentModificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateInputCommitmentModificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateInputCommitmentModificationsCommandOutput/)
|
|
383
|
+
|
|
384
|
+
</details>
|
|
385
|
+
<details>
|
|
386
|
+
<summary>
|
|
387
|
+
ListBillEstimateInputUsageModifications
|
|
388
|
+
</summary>
|
|
389
|
+
|
|
390
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillEstimateInputUsageModificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateInputUsageModificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateInputUsageModificationsCommandOutput/)
|
|
391
|
+
|
|
392
|
+
</details>
|
|
393
|
+
<details>
|
|
394
|
+
<summary>
|
|
395
|
+
ListBillEstimateLineItems
|
|
396
|
+
</summary>
|
|
397
|
+
|
|
398
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillEstimateLineItemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateLineItemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimateLineItemsCommandOutput/)
|
|
399
|
+
|
|
400
|
+
</details>
|
|
401
|
+
<details>
|
|
402
|
+
<summary>
|
|
403
|
+
ListBillEstimates
|
|
404
|
+
</summary>
|
|
405
|
+
|
|
406
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillEstimatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillEstimatesCommandOutput/)
|
|
407
|
+
|
|
408
|
+
</details>
|
|
409
|
+
<details>
|
|
410
|
+
<summary>
|
|
411
|
+
ListBillScenarioCommitmentModifications
|
|
412
|
+
</summary>
|
|
413
|
+
|
|
414
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillScenarioCommitmentModificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenarioCommitmentModificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenarioCommitmentModificationsCommandOutput/)
|
|
415
|
+
|
|
416
|
+
</details>
|
|
417
|
+
<details>
|
|
418
|
+
<summary>
|
|
419
|
+
ListBillScenarios
|
|
420
|
+
</summary>
|
|
421
|
+
|
|
422
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillScenariosCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenariosCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenariosCommandOutput/)
|
|
423
|
+
|
|
424
|
+
</details>
|
|
425
|
+
<details>
|
|
426
|
+
<summary>
|
|
427
|
+
ListBillScenarioUsageModifications
|
|
428
|
+
</summary>
|
|
429
|
+
|
|
430
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListBillScenarioUsageModificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenarioUsageModificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListBillScenarioUsageModificationsCommandOutput/)
|
|
431
|
+
|
|
432
|
+
</details>
|
|
433
|
+
<details>
|
|
434
|
+
<summary>
|
|
435
|
+
ListTagsForResource
|
|
436
|
+
</summary>
|
|
437
|
+
|
|
438
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListTagsForResourceCommandOutput/)
|
|
439
|
+
|
|
440
|
+
</details>
|
|
441
|
+
<details>
|
|
442
|
+
<summary>
|
|
443
|
+
ListWorkloadEstimates
|
|
444
|
+
</summary>
|
|
445
|
+
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListWorkloadEstimatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListWorkloadEstimatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListWorkloadEstimatesCommandOutput/)
|
|
447
|
+
|
|
448
|
+
</details>
|
|
449
|
+
<details>
|
|
450
|
+
<summary>
|
|
451
|
+
ListWorkloadEstimateUsage
|
|
452
|
+
</summary>
|
|
453
|
+
|
|
454
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/ListWorkloadEstimateUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListWorkloadEstimateUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/ListWorkloadEstimateUsageCommandOutput/)
|
|
455
|
+
|
|
456
|
+
</details>
|
|
457
|
+
<details>
|
|
458
|
+
<summary>
|
|
459
|
+
TagResource
|
|
460
|
+
</summary>
|
|
461
|
+
|
|
462
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/TagResourceCommandOutput/)
|
|
463
|
+
|
|
464
|
+
</details>
|
|
465
|
+
<details>
|
|
466
|
+
<summary>
|
|
467
|
+
UntagResource
|
|
468
|
+
</summary>
|
|
469
|
+
|
|
470
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UntagResourceCommandOutput/)
|
|
471
|
+
|
|
472
|
+
</details>
|
|
473
|
+
<details>
|
|
474
|
+
<summary>
|
|
475
|
+
UpdateBillEstimate
|
|
476
|
+
</summary>
|
|
477
|
+
|
|
478
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/UpdateBillEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateBillEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateBillEstimateCommandOutput/)
|
|
479
|
+
|
|
480
|
+
</details>
|
|
481
|
+
<details>
|
|
482
|
+
<summary>
|
|
483
|
+
UpdateBillScenario
|
|
484
|
+
</summary>
|
|
485
|
+
|
|
486
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/UpdateBillScenarioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateBillScenarioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateBillScenarioCommandOutput/)
|
|
487
|
+
|
|
488
|
+
</details>
|
|
489
|
+
<details>
|
|
490
|
+
<summary>
|
|
491
|
+
UpdatePreferences
|
|
492
|
+
</summary>
|
|
493
|
+
|
|
494
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/UpdatePreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdatePreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdatePreferencesCommandOutput/)
|
|
495
|
+
|
|
496
|
+
</details>
|
|
497
|
+
<details>
|
|
498
|
+
<summary>
|
|
499
|
+
UpdateWorkloadEstimate
|
|
500
|
+
</summary>
|
|
501
|
+
|
|
502
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/command/UpdateWorkloadEstimateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateWorkloadEstimateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bcm-pricing-calculator/Interface/UpdateWorkloadEstimateCommandOutput/)
|
|
503
|
+
|
|
504
|
+
</details>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BCMPricingCalculator = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const BCMPricingCalculatorClient_1 = require("./BCMPricingCalculatorClient");
|
|
6
|
+
const BatchCreateBillScenarioCommitmentModificationCommand_1 = require("./commands/BatchCreateBillScenarioCommitmentModificationCommand");
|
|
7
|
+
const BatchCreateBillScenarioUsageModificationCommand_1 = require("./commands/BatchCreateBillScenarioUsageModificationCommand");
|
|
8
|
+
const BatchCreateWorkloadEstimateUsageCommand_1 = require("./commands/BatchCreateWorkloadEstimateUsageCommand");
|
|
9
|
+
const BatchDeleteBillScenarioCommitmentModificationCommand_1 = require("./commands/BatchDeleteBillScenarioCommitmentModificationCommand");
|
|
10
|
+
const BatchDeleteBillScenarioUsageModificationCommand_1 = require("./commands/BatchDeleteBillScenarioUsageModificationCommand");
|
|
11
|
+
const BatchDeleteWorkloadEstimateUsageCommand_1 = require("./commands/BatchDeleteWorkloadEstimateUsageCommand");
|
|
12
|
+
const BatchUpdateBillScenarioCommitmentModificationCommand_1 = require("./commands/BatchUpdateBillScenarioCommitmentModificationCommand");
|
|
13
|
+
const BatchUpdateBillScenarioUsageModificationCommand_1 = require("./commands/BatchUpdateBillScenarioUsageModificationCommand");
|
|
14
|
+
const BatchUpdateWorkloadEstimateUsageCommand_1 = require("./commands/BatchUpdateWorkloadEstimateUsageCommand");
|
|
15
|
+
const CreateBillEstimateCommand_1 = require("./commands/CreateBillEstimateCommand");
|
|
16
|
+
const CreateBillScenarioCommand_1 = require("./commands/CreateBillScenarioCommand");
|
|
17
|
+
const CreateWorkloadEstimateCommand_1 = require("./commands/CreateWorkloadEstimateCommand");
|
|
18
|
+
const DeleteBillEstimateCommand_1 = require("./commands/DeleteBillEstimateCommand");
|
|
19
|
+
const DeleteBillScenarioCommand_1 = require("./commands/DeleteBillScenarioCommand");
|
|
20
|
+
const DeleteWorkloadEstimateCommand_1 = require("./commands/DeleteWorkloadEstimateCommand");
|
|
21
|
+
const GetBillEstimateCommand_1 = require("./commands/GetBillEstimateCommand");
|
|
22
|
+
const GetBillScenarioCommand_1 = require("./commands/GetBillScenarioCommand");
|
|
23
|
+
const GetPreferencesCommand_1 = require("./commands/GetPreferencesCommand");
|
|
24
|
+
const GetWorkloadEstimateCommand_1 = require("./commands/GetWorkloadEstimateCommand");
|
|
25
|
+
const ListBillEstimateCommitmentsCommand_1 = require("./commands/ListBillEstimateCommitmentsCommand");
|
|
26
|
+
const ListBillEstimateInputCommitmentModificationsCommand_1 = require("./commands/ListBillEstimateInputCommitmentModificationsCommand");
|
|
27
|
+
const ListBillEstimateInputUsageModificationsCommand_1 = require("./commands/ListBillEstimateInputUsageModificationsCommand");
|
|
28
|
+
const ListBillEstimateLineItemsCommand_1 = require("./commands/ListBillEstimateLineItemsCommand");
|
|
29
|
+
const ListBillEstimatesCommand_1 = require("./commands/ListBillEstimatesCommand");
|
|
30
|
+
const ListBillScenarioCommitmentModificationsCommand_1 = require("./commands/ListBillScenarioCommitmentModificationsCommand");
|
|
31
|
+
const ListBillScenariosCommand_1 = require("./commands/ListBillScenariosCommand");
|
|
32
|
+
const ListBillScenarioUsageModificationsCommand_1 = require("./commands/ListBillScenarioUsageModificationsCommand");
|
|
33
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
34
|
+
const ListWorkloadEstimatesCommand_1 = require("./commands/ListWorkloadEstimatesCommand");
|
|
35
|
+
const ListWorkloadEstimateUsageCommand_1 = require("./commands/ListWorkloadEstimateUsageCommand");
|
|
36
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
37
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
38
|
+
const UpdateBillEstimateCommand_1 = require("./commands/UpdateBillEstimateCommand");
|
|
39
|
+
const UpdateBillScenarioCommand_1 = require("./commands/UpdateBillScenarioCommand");
|
|
40
|
+
const UpdatePreferencesCommand_1 = require("./commands/UpdatePreferencesCommand");
|
|
41
|
+
const UpdateWorkloadEstimateCommand_1 = require("./commands/UpdateWorkloadEstimateCommand");
|
|
42
|
+
const commands = {
|
|
43
|
+
BatchCreateBillScenarioCommitmentModificationCommand: BatchCreateBillScenarioCommitmentModificationCommand_1.BatchCreateBillScenarioCommitmentModificationCommand,
|
|
44
|
+
BatchCreateBillScenarioUsageModificationCommand: BatchCreateBillScenarioUsageModificationCommand_1.BatchCreateBillScenarioUsageModificationCommand,
|
|
45
|
+
BatchCreateWorkloadEstimateUsageCommand: BatchCreateWorkloadEstimateUsageCommand_1.BatchCreateWorkloadEstimateUsageCommand,
|
|
46
|
+
BatchDeleteBillScenarioCommitmentModificationCommand: BatchDeleteBillScenarioCommitmentModificationCommand_1.BatchDeleteBillScenarioCommitmentModificationCommand,
|
|
47
|
+
BatchDeleteBillScenarioUsageModificationCommand: BatchDeleteBillScenarioUsageModificationCommand_1.BatchDeleteBillScenarioUsageModificationCommand,
|
|
48
|
+
BatchDeleteWorkloadEstimateUsageCommand: BatchDeleteWorkloadEstimateUsageCommand_1.BatchDeleteWorkloadEstimateUsageCommand,
|
|
49
|
+
BatchUpdateBillScenarioCommitmentModificationCommand: BatchUpdateBillScenarioCommitmentModificationCommand_1.BatchUpdateBillScenarioCommitmentModificationCommand,
|
|
50
|
+
BatchUpdateBillScenarioUsageModificationCommand: BatchUpdateBillScenarioUsageModificationCommand_1.BatchUpdateBillScenarioUsageModificationCommand,
|
|
51
|
+
BatchUpdateWorkloadEstimateUsageCommand: BatchUpdateWorkloadEstimateUsageCommand_1.BatchUpdateWorkloadEstimateUsageCommand,
|
|
52
|
+
CreateBillEstimateCommand: CreateBillEstimateCommand_1.CreateBillEstimateCommand,
|
|
53
|
+
CreateBillScenarioCommand: CreateBillScenarioCommand_1.CreateBillScenarioCommand,
|
|
54
|
+
CreateWorkloadEstimateCommand: CreateWorkloadEstimateCommand_1.CreateWorkloadEstimateCommand,
|
|
55
|
+
DeleteBillEstimateCommand: DeleteBillEstimateCommand_1.DeleteBillEstimateCommand,
|
|
56
|
+
DeleteBillScenarioCommand: DeleteBillScenarioCommand_1.DeleteBillScenarioCommand,
|
|
57
|
+
DeleteWorkloadEstimateCommand: DeleteWorkloadEstimateCommand_1.DeleteWorkloadEstimateCommand,
|
|
58
|
+
GetBillEstimateCommand: GetBillEstimateCommand_1.GetBillEstimateCommand,
|
|
59
|
+
GetBillScenarioCommand: GetBillScenarioCommand_1.GetBillScenarioCommand,
|
|
60
|
+
GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
|
|
61
|
+
GetWorkloadEstimateCommand: GetWorkloadEstimateCommand_1.GetWorkloadEstimateCommand,
|
|
62
|
+
ListBillEstimateCommitmentsCommand: ListBillEstimateCommitmentsCommand_1.ListBillEstimateCommitmentsCommand,
|
|
63
|
+
ListBillEstimateInputCommitmentModificationsCommand: ListBillEstimateInputCommitmentModificationsCommand_1.ListBillEstimateInputCommitmentModificationsCommand,
|
|
64
|
+
ListBillEstimateInputUsageModificationsCommand: ListBillEstimateInputUsageModificationsCommand_1.ListBillEstimateInputUsageModificationsCommand,
|
|
65
|
+
ListBillEstimateLineItemsCommand: ListBillEstimateLineItemsCommand_1.ListBillEstimateLineItemsCommand,
|
|
66
|
+
ListBillEstimatesCommand: ListBillEstimatesCommand_1.ListBillEstimatesCommand,
|
|
67
|
+
ListBillScenarioCommitmentModificationsCommand: ListBillScenarioCommitmentModificationsCommand_1.ListBillScenarioCommitmentModificationsCommand,
|
|
68
|
+
ListBillScenariosCommand: ListBillScenariosCommand_1.ListBillScenariosCommand,
|
|
69
|
+
ListBillScenarioUsageModificationsCommand: ListBillScenarioUsageModificationsCommand_1.ListBillScenarioUsageModificationsCommand,
|
|
70
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
71
|
+
ListWorkloadEstimatesCommand: ListWorkloadEstimatesCommand_1.ListWorkloadEstimatesCommand,
|
|
72
|
+
ListWorkloadEstimateUsageCommand: ListWorkloadEstimateUsageCommand_1.ListWorkloadEstimateUsageCommand,
|
|
73
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
74
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
75
|
+
UpdateBillEstimateCommand: UpdateBillEstimateCommand_1.UpdateBillEstimateCommand,
|
|
76
|
+
UpdateBillScenarioCommand: UpdateBillScenarioCommand_1.UpdateBillScenarioCommand,
|
|
77
|
+
UpdatePreferencesCommand: UpdatePreferencesCommand_1.UpdatePreferencesCommand,
|
|
78
|
+
UpdateWorkloadEstimateCommand: UpdateWorkloadEstimateCommand_1.UpdateWorkloadEstimateCommand,
|
|
79
|
+
};
|
|
80
|
+
class BCMPricingCalculator extends BCMPricingCalculatorClient_1.BCMPricingCalculatorClient {
|
|
81
|
+
}
|
|
82
|
+
exports.BCMPricingCalculator = BCMPricingCalculator;
|
|
83
|
+
(0, smithy_client_1.createAggregatedClient)(commands, BCMPricingCalculator);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BCMPricingCalculatorClient = exports.__Client = void 0;
|
|
4
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
+
const core_1 = require("@smithy/core");
|
|
10
|
+
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
16
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
|
+
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
|
+
class BCMPricingCalculatorClient extends smithy_client_1.Client {
|
|
20
|
+
constructor(...[configuration]) {
|
|
21
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
22
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
23
|
+
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
24
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
25
|
+
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
26
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
27
|
+
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
28
|
+
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
29
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
30
|
+
super(_config_8);
|
|
31
|
+
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
37
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
38
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
39
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultBCMPricingCalculatorHttpAuthSchemeParametersProvider,
|
|
40
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
41
|
+
"aws.auth#sigv4": config.credentials,
|
|
42
|
+
}),
|
|
43
|
+
}));
|
|
44
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
45
|
+
}
|
|
46
|
+
destroy() {
|
|
47
|
+
super.destroy();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.BCMPricingCalculatorClient = BCMPricingCalculatorClient;
|