@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,216 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { BatchCreateBillScenarioCommitmentModificationCommandInput, BatchCreateBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchCreateBillScenarioCommitmentModificationCommand";
|
|
11
|
+
import { BatchCreateBillScenarioUsageModificationCommandInput, BatchCreateBillScenarioUsageModificationCommandOutput } from "./commands/BatchCreateBillScenarioUsageModificationCommand";
|
|
12
|
+
import { BatchCreateWorkloadEstimateUsageCommandInput, BatchCreateWorkloadEstimateUsageCommandOutput } from "./commands/BatchCreateWorkloadEstimateUsageCommand";
|
|
13
|
+
import { BatchDeleteBillScenarioCommitmentModificationCommandInput, BatchDeleteBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchDeleteBillScenarioCommitmentModificationCommand";
|
|
14
|
+
import { BatchDeleteBillScenarioUsageModificationCommandInput, BatchDeleteBillScenarioUsageModificationCommandOutput } from "./commands/BatchDeleteBillScenarioUsageModificationCommand";
|
|
15
|
+
import { BatchDeleteWorkloadEstimateUsageCommandInput, BatchDeleteWorkloadEstimateUsageCommandOutput } from "./commands/BatchDeleteWorkloadEstimateUsageCommand";
|
|
16
|
+
import { BatchUpdateBillScenarioCommitmentModificationCommandInput, BatchUpdateBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchUpdateBillScenarioCommitmentModificationCommand";
|
|
17
|
+
import { BatchUpdateBillScenarioUsageModificationCommandInput, BatchUpdateBillScenarioUsageModificationCommandOutput } from "./commands/BatchUpdateBillScenarioUsageModificationCommand";
|
|
18
|
+
import { BatchUpdateWorkloadEstimateUsageCommandInput, BatchUpdateWorkloadEstimateUsageCommandOutput } from "./commands/BatchUpdateWorkloadEstimateUsageCommand";
|
|
19
|
+
import { CreateBillEstimateCommandInput, CreateBillEstimateCommandOutput } from "./commands/CreateBillEstimateCommand";
|
|
20
|
+
import { CreateBillScenarioCommandInput, CreateBillScenarioCommandOutput } from "./commands/CreateBillScenarioCommand";
|
|
21
|
+
import { CreateWorkloadEstimateCommandInput, CreateWorkloadEstimateCommandOutput } from "./commands/CreateWorkloadEstimateCommand";
|
|
22
|
+
import { DeleteBillEstimateCommandInput, DeleteBillEstimateCommandOutput } from "./commands/DeleteBillEstimateCommand";
|
|
23
|
+
import { DeleteBillScenarioCommandInput, DeleteBillScenarioCommandOutput } from "./commands/DeleteBillScenarioCommand";
|
|
24
|
+
import { DeleteWorkloadEstimateCommandInput, DeleteWorkloadEstimateCommandOutput } from "./commands/DeleteWorkloadEstimateCommand";
|
|
25
|
+
import { GetBillEstimateCommandInput, GetBillEstimateCommandOutput } from "./commands/GetBillEstimateCommand";
|
|
26
|
+
import { GetBillScenarioCommandInput, GetBillScenarioCommandOutput } from "./commands/GetBillScenarioCommand";
|
|
27
|
+
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
28
|
+
import { GetWorkloadEstimateCommandInput, GetWorkloadEstimateCommandOutput } from "./commands/GetWorkloadEstimateCommand";
|
|
29
|
+
import { ListBillEstimateCommitmentsCommandInput, ListBillEstimateCommitmentsCommandOutput } from "./commands/ListBillEstimateCommitmentsCommand";
|
|
30
|
+
import { ListBillEstimateInputCommitmentModificationsCommandInput, ListBillEstimateInputCommitmentModificationsCommandOutput } from "./commands/ListBillEstimateInputCommitmentModificationsCommand";
|
|
31
|
+
import { ListBillEstimateInputUsageModificationsCommandInput, ListBillEstimateInputUsageModificationsCommandOutput } from "./commands/ListBillEstimateInputUsageModificationsCommand";
|
|
32
|
+
import { ListBillEstimateLineItemsCommandInput, ListBillEstimateLineItemsCommandOutput } from "./commands/ListBillEstimateLineItemsCommand";
|
|
33
|
+
import { ListBillEstimatesCommandInput, ListBillEstimatesCommandOutput } from "./commands/ListBillEstimatesCommand";
|
|
34
|
+
import { ListBillScenarioCommitmentModificationsCommandInput, ListBillScenarioCommitmentModificationsCommandOutput } from "./commands/ListBillScenarioCommitmentModificationsCommand";
|
|
35
|
+
import { ListBillScenariosCommandInput, ListBillScenariosCommandOutput } from "./commands/ListBillScenariosCommand";
|
|
36
|
+
import { ListBillScenarioUsageModificationsCommandInput, ListBillScenarioUsageModificationsCommandOutput } from "./commands/ListBillScenarioUsageModificationsCommand";
|
|
37
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
38
|
+
import { ListWorkloadEstimatesCommandInput, ListWorkloadEstimatesCommandOutput } from "./commands/ListWorkloadEstimatesCommand";
|
|
39
|
+
import { ListWorkloadEstimateUsageCommandInput, ListWorkloadEstimateUsageCommandOutput } from "./commands/ListWorkloadEstimateUsageCommand";
|
|
40
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
41
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
42
|
+
import { UpdateBillEstimateCommandInput, UpdateBillEstimateCommandOutput } from "./commands/UpdateBillEstimateCommand";
|
|
43
|
+
import { UpdateBillScenarioCommandInput, UpdateBillScenarioCommandOutput } from "./commands/UpdateBillScenarioCommand";
|
|
44
|
+
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "./commands/UpdatePreferencesCommand";
|
|
45
|
+
import { UpdateWorkloadEstimateCommandInput, UpdateWorkloadEstimateCommandOutput } from "./commands/UpdateWorkloadEstimateCommand";
|
|
46
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
47
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
48
|
+
export { __Client };
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type ServiceInputTypes = BatchCreateBillScenarioCommitmentModificationCommandInput | BatchCreateBillScenarioUsageModificationCommandInput | BatchCreateWorkloadEstimateUsageCommandInput | BatchDeleteBillScenarioCommitmentModificationCommandInput | BatchDeleteBillScenarioUsageModificationCommandInput | BatchDeleteWorkloadEstimateUsageCommandInput | BatchUpdateBillScenarioCommitmentModificationCommandInput | BatchUpdateBillScenarioUsageModificationCommandInput | BatchUpdateWorkloadEstimateUsageCommandInput | CreateBillEstimateCommandInput | CreateBillScenarioCommandInput | CreateWorkloadEstimateCommandInput | DeleteBillEstimateCommandInput | DeleteBillScenarioCommandInput | DeleteWorkloadEstimateCommandInput | GetBillEstimateCommandInput | GetBillScenarioCommandInput | GetPreferencesCommandInput | GetWorkloadEstimateCommandInput | ListBillEstimateCommitmentsCommandInput | ListBillEstimateInputCommitmentModificationsCommandInput | ListBillEstimateInputUsageModificationsCommandInput | ListBillEstimateLineItemsCommandInput | ListBillEstimatesCommandInput | ListBillScenarioCommitmentModificationsCommandInput | ListBillScenarioUsageModificationsCommandInput | ListBillScenariosCommandInput | ListTagsForResourceCommandInput | ListWorkloadEstimateUsageCommandInput | ListWorkloadEstimatesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillEstimateCommandInput | UpdateBillScenarioCommandInput | UpdatePreferencesCommandInput | UpdateWorkloadEstimateCommandInput;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type ServiceOutputTypes = BatchCreateBillScenarioCommitmentModificationCommandOutput | BatchCreateBillScenarioUsageModificationCommandOutput | BatchCreateWorkloadEstimateUsageCommandOutput | BatchDeleteBillScenarioCommitmentModificationCommandOutput | BatchDeleteBillScenarioUsageModificationCommandOutput | BatchDeleteWorkloadEstimateUsageCommandOutput | BatchUpdateBillScenarioCommitmentModificationCommandOutput | BatchUpdateBillScenarioUsageModificationCommandOutput | BatchUpdateWorkloadEstimateUsageCommandOutput | CreateBillEstimateCommandOutput | CreateBillScenarioCommandOutput | CreateWorkloadEstimateCommandOutput | DeleteBillEstimateCommandOutput | DeleteBillScenarioCommandOutput | DeleteWorkloadEstimateCommandOutput | GetBillEstimateCommandOutput | GetBillScenarioCommandOutput | GetPreferencesCommandOutput | GetWorkloadEstimateCommandOutput | ListBillEstimateCommitmentsCommandOutput | ListBillEstimateInputCommitmentModificationsCommandOutput | ListBillEstimateInputUsageModificationsCommandOutput | ListBillEstimateLineItemsCommandOutput | ListBillEstimatesCommandOutput | ListBillScenarioCommitmentModificationsCommandOutput | ListBillScenarioUsageModificationsCommandOutput | ListBillScenariosCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadEstimateUsageCommandOutput | ListWorkloadEstimatesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillEstimateCommandOutput | UpdateBillScenarioCommandOutput | UpdatePreferencesCommandOutput | UpdateWorkloadEstimateCommandOutput;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
61
|
+
/**
|
|
62
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
63
|
+
*/
|
|
64
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
65
|
+
/**
|
|
66
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
67
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
urlParser?: __UrlParser;
|
|
76
|
+
/**
|
|
77
|
+
* A function that can calculate the length of a request body.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
81
|
+
/**
|
|
82
|
+
* A function that converts a stream into an array of bytes.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
streamCollector?: __StreamCollector;
|
|
86
|
+
/**
|
|
87
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
base64Decoder?: __Decoder;
|
|
91
|
+
/**
|
|
92
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
base64Encoder?: __Encoder;
|
|
96
|
+
/**
|
|
97
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
utf8Decoder?: __Decoder;
|
|
101
|
+
/**
|
|
102
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
utf8Encoder?: __Encoder;
|
|
106
|
+
/**
|
|
107
|
+
* The runtime environment.
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
runtime?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
113
|
+
* trait of an operation.
|
|
114
|
+
*/
|
|
115
|
+
disableHostPrefix?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Unique service identifier.
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
serviceId?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
123
|
+
*/
|
|
124
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
125
|
+
/**
|
|
126
|
+
* Enables FIPS compatible endpoints.
|
|
127
|
+
*/
|
|
128
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* The AWS region to which this client will send requests
|
|
131
|
+
*/
|
|
132
|
+
region?: string | __Provider<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
138
|
+
/**
|
|
139
|
+
* Default credentials provider; Not available in browser runtime.
|
|
140
|
+
* @deprecated
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
144
|
+
/**
|
|
145
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
146
|
+
*/
|
|
147
|
+
maxAttempts?: number | __Provider<number>;
|
|
148
|
+
/**
|
|
149
|
+
* Specifies which retry algorithm to use.
|
|
150
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
retryMode?: string | __Provider<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Optional logger for logging debug/info/warn/error.
|
|
156
|
+
*/
|
|
157
|
+
logger?: __Logger;
|
|
158
|
+
/**
|
|
159
|
+
* Optional extensions
|
|
160
|
+
*/
|
|
161
|
+
extensions?: RuntimeExtension[];
|
|
162
|
+
/**
|
|
163
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
164
|
+
*/
|
|
165
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type BCMPricingCalculatorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*
|
|
174
|
+
* The configuration interface of BCMPricingCalculatorClient class constructor that set the region, credentials and other options.
|
|
175
|
+
*/
|
|
176
|
+
export interface BCMPricingCalculatorClientConfig extends BCMPricingCalculatorClientConfigType {
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export type BCMPricingCalculatorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*
|
|
185
|
+
* The resolved configuration interface of BCMPricingCalculatorClient class. This is resolved and normalized from the {@link BCMPricingCalculatorClientConfig | constructor configuration interface}.
|
|
186
|
+
*/
|
|
187
|
+
export interface BCMPricingCalculatorClientResolvedConfig extends BCMPricingCalculatorClientResolvedConfigType {
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* <p>
|
|
191
|
+
* 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
|
|
192
|
+
* Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
|
|
193
|
+
* </p>
|
|
194
|
+
* <p>The Pricing Calculator API provides the following endpoint:</p>
|
|
195
|
+
* <ul>
|
|
196
|
+
* <li>
|
|
197
|
+
* <p>
|
|
198
|
+
* <code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
|
|
199
|
+
* </p>
|
|
200
|
+
* </li>
|
|
201
|
+
* </ul>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class BCMPricingCalculatorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BCMPricingCalculatorClientResolvedConfig> {
|
|
205
|
+
/**
|
|
206
|
+
* The resolved configuration of BCMPricingCalculatorClient class. This is resolved and normalized from the {@link BCMPricingCalculatorClientConfig | constructor configuration interface}.
|
|
207
|
+
*/
|
|
208
|
+
readonly config: BCMPricingCalculatorClientResolvedConfig;
|
|
209
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<BCMPricingCalculatorClientConfig>);
|
|
210
|
+
/**
|
|
211
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
212
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
213
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
214
|
+
*/
|
|
215
|
+
destroy(): void;
|
|
216
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { BCMPricingCalculatorHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: BCMPricingCalculatorHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): BCMPricingCalculatorHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: BCMPricingCalculatorHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { BCMPricingCalculatorClientResolvedConfig } from "../BCMPricingCalculatorClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface BCMPricingCalculatorHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface BCMPricingCalculatorHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BCMPricingCalculatorClientResolvedConfig, HandlerExecutionContext, BCMPricingCalculatorHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultBCMPricingCalculatorHttpAuthSchemeParametersProvider: (config: BCMPricingCalculatorClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BCMPricingCalculatorHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface BCMPricingCalculatorHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BCMPricingCalculatorHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultBCMPricingCalculatorHttpAuthSchemeProvider: BCMPricingCalculatorHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: BCMPricingCalculatorHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: BCMPricingCalculatorHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,162 @@
|
|
|
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 { BatchCreateBillScenarioCommitmentModificationRequest, BatchCreateBillScenarioCommitmentModificationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchCreateBillScenarioCommitmentModificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateBillScenarioCommitmentModificationCommandInput extends BatchCreateBillScenarioCommitmentModificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateBillScenarioCommitmentModificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateBillScenarioCommitmentModificationCommandOutput extends BatchCreateBillScenarioCommitmentModificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateBillScenarioCommitmentModificationCommand_base: {
|
|
25
|
+
new (input: BatchCreateBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateBillScenarioCommitmentModificationCommandInput, BatchCreateBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BatchCreateBillScenarioCommitmentModificationCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateBillScenarioCommitmentModificationCommandInput, BatchCreateBillScenarioCommitmentModificationCommandOutput, BCMPricingCalculatorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BCMPricingCalculatorClient, BatchCreateBillScenarioCommitmentModificationCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import
|
|
37
|
+
* // const { BCMPricingCalculatorClient, BatchCreateBillScenarioCommitmentModificationCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import
|
|
38
|
+
* const client = new BCMPricingCalculatorClient(config);
|
|
39
|
+
* const input = { // BatchCreateBillScenarioCommitmentModificationRequest
|
|
40
|
+
* billScenarioId: "STRING_VALUE", // required
|
|
41
|
+
* commitmentModifications: [ // BatchCreateBillScenarioCommitmentModificationEntries // required
|
|
42
|
+
* { // BatchCreateBillScenarioCommitmentModificationEntry
|
|
43
|
+
* key: "STRING_VALUE", // required
|
|
44
|
+
* group: "STRING_VALUE",
|
|
45
|
+
* usageAccountId: "STRING_VALUE", // required
|
|
46
|
+
* commitmentAction: { // BillScenarioCommitmentModificationAction Union: only one key present
|
|
47
|
+
* addReservedInstanceAction: { // AddReservedInstanceAction
|
|
48
|
+
* reservedInstancesOfferingId: "STRING_VALUE",
|
|
49
|
+
* instanceCount: Number("int"),
|
|
50
|
+
* },
|
|
51
|
+
* addSavingsPlanAction: { // AddSavingsPlanAction
|
|
52
|
+
* savingsPlanOfferingId: "STRING_VALUE",
|
|
53
|
+
* commitment: Number("double"),
|
|
54
|
+
* },
|
|
55
|
+
* negateReservedInstanceAction: { // NegateReservedInstanceAction
|
|
56
|
+
* reservedInstancesId: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* negateSavingsPlanAction: { // NegateSavingsPlanAction
|
|
59
|
+
* savingsPlanId: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* clientToken: "STRING_VALUE",
|
|
65
|
+
* };
|
|
66
|
+
* const command = new BatchCreateBillScenarioCommitmentModificationCommand(input);
|
|
67
|
+
* const response = await client.send(command);
|
|
68
|
+
* // { // BatchCreateBillScenarioCommitmentModificationResponse
|
|
69
|
+
* // items: [ // BatchCreateBillScenarioCommitmentModificationItems
|
|
70
|
+
* // { // BatchCreateBillScenarioCommitmentModificationItem
|
|
71
|
+
* // key: "STRING_VALUE",
|
|
72
|
+
* // id: "STRING_VALUE",
|
|
73
|
+
* // group: "STRING_VALUE",
|
|
74
|
+
* // usageAccountId: "STRING_VALUE",
|
|
75
|
+
* // commitmentAction: { // BillScenarioCommitmentModificationAction Union: only one key present
|
|
76
|
+
* // addReservedInstanceAction: { // AddReservedInstanceAction
|
|
77
|
+
* // reservedInstancesOfferingId: "STRING_VALUE",
|
|
78
|
+
* // instanceCount: Number("int"),
|
|
79
|
+
* // },
|
|
80
|
+
* // addSavingsPlanAction: { // AddSavingsPlanAction
|
|
81
|
+
* // savingsPlanOfferingId: "STRING_VALUE",
|
|
82
|
+
* // commitment: Number("double"),
|
|
83
|
+
* // },
|
|
84
|
+
* // negateReservedInstanceAction: { // NegateReservedInstanceAction
|
|
85
|
+
* // reservedInstancesId: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // negateSavingsPlanAction: { // NegateSavingsPlanAction
|
|
88
|
+
* // savingsPlanId: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // errors: [ // BatchCreateBillScenarioCommitmentModificationErrors
|
|
94
|
+
* // { // BatchCreateBillScenarioCommitmentModificationError
|
|
95
|
+
* // key: "STRING_VALUE",
|
|
96
|
+
* // errorMessage: "STRING_VALUE",
|
|
97
|
+
* // errorCode: "CONFLICT" || "INTERNAL_SERVER_ERROR" || "INVALID_ACCOUNT",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param BatchCreateBillScenarioCommitmentModificationCommandInput - {@link BatchCreateBillScenarioCommitmentModificationCommandInput}
|
|
105
|
+
* @returns {@link BatchCreateBillScenarioCommitmentModificationCommandOutput}
|
|
106
|
+
* @see {@link BatchCreateBillScenarioCommitmentModificationCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link BatchCreateBillScenarioCommitmentModificationCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ConflictException} (client fault)
|
|
111
|
+
* <p>
|
|
112
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
113
|
+
* </p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link DataUnavailableException} (client fault)
|
|
116
|
+
* <p>
|
|
117
|
+
* The requested data is currently unavailable.
|
|
118
|
+
* </p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
121
|
+
* <p>
|
|
122
|
+
* The specified resource was not found.
|
|
123
|
+
* </p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
126
|
+
* <p>
|
|
127
|
+
* You do not have sufficient access to perform this action.
|
|
128
|
+
* </p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link InternalServerException} (server fault)
|
|
131
|
+
* <p>
|
|
132
|
+
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
|
|
133
|
+
* </p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
136
|
+
* <p>
|
|
137
|
+
* The request was denied due to request throttling.
|
|
138
|
+
* </p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link ValidationException} (client fault)
|
|
141
|
+
* <p>
|
|
142
|
+
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
143
|
+
* </p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link BCMPricingCalculatorServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class BatchCreateBillScenarioCommitmentModificationCommand extends BatchCreateBillScenarioCommitmentModificationCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: BatchCreateBillScenarioCommitmentModificationRequest;
|
|
155
|
+
output: BatchCreateBillScenarioCommitmentModificationResponse;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: BatchCreateBillScenarioCommitmentModificationCommandInput;
|
|
159
|
+
output: BatchCreateBillScenarioCommitmentModificationCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|