@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,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
awsCheckVersion(process.version);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
|
+
retryMode: config?.retryMode ??
|
|
35
|
+
loadNodeConfig({
|
|
36
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
+
}),
|
|
39
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
4
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
5
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
6
|
+
import { defaultBCMPricingCalculatorHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
7
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
8
|
+
export const getRuntimeConfig = (config) => {
|
|
9
|
+
return {
|
|
10
|
+
apiVersion: "2024-06-19",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
16
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBCMPricingCalculatorHttpAuthSchemeProvider,
|
|
17
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
18
|
+
{
|
|
19
|
+
schemeId: "aws.auth#sigv4",
|
|
20
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
21
|
+
signer: new AwsSdkSigV4Signer(),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
25
|
+
serviceId: config?.serviceId ?? "BCM Pricing Calculator",
|
|
26
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
27
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
28
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
+
};
|
|
13
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
+
return {
|
|
15
|
+
...runtimeConfig,
|
|
16
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BCMPricingCalculatorClient } from "./BCMPricingCalculatorClient";
|
|
3
|
+
import { BatchCreateBillScenarioCommitmentModificationCommandInput, BatchCreateBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchCreateBillScenarioCommitmentModificationCommand";
|
|
4
|
+
import { BatchCreateBillScenarioUsageModificationCommandInput, BatchCreateBillScenarioUsageModificationCommandOutput } from "./commands/BatchCreateBillScenarioUsageModificationCommand";
|
|
5
|
+
import { BatchCreateWorkloadEstimateUsageCommandInput, BatchCreateWorkloadEstimateUsageCommandOutput } from "./commands/BatchCreateWorkloadEstimateUsageCommand";
|
|
6
|
+
import { BatchDeleteBillScenarioCommitmentModificationCommandInput, BatchDeleteBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchDeleteBillScenarioCommitmentModificationCommand";
|
|
7
|
+
import { BatchDeleteBillScenarioUsageModificationCommandInput, BatchDeleteBillScenarioUsageModificationCommandOutput } from "./commands/BatchDeleteBillScenarioUsageModificationCommand";
|
|
8
|
+
import { BatchDeleteWorkloadEstimateUsageCommandInput, BatchDeleteWorkloadEstimateUsageCommandOutput } from "./commands/BatchDeleteWorkloadEstimateUsageCommand";
|
|
9
|
+
import { BatchUpdateBillScenarioCommitmentModificationCommandInput, BatchUpdateBillScenarioCommitmentModificationCommandOutput } from "./commands/BatchUpdateBillScenarioCommitmentModificationCommand";
|
|
10
|
+
import { BatchUpdateBillScenarioUsageModificationCommandInput, BatchUpdateBillScenarioUsageModificationCommandOutput } from "./commands/BatchUpdateBillScenarioUsageModificationCommand";
|
|
11
|
+
import { BatchUpdateWorkloadEstimateUsageCommandInput, BatchUpdateWorkloadEstimateUsageCommandOutput } from "./commands/BatchUpdateWorkloadEstimateUsageCommand";
|
|
12
|
+
import { CreateBillEstimateCommandInput, CreateBillEstimateCommandOutput } from "./commands/CreateBillEstimateCommand";
|
|
13
|
+
import { CreateBillScenarioCommandInput, CreateBillScenarioCommandOutput } from "./commands/CreateBillScenarioCommand";
|
|
14
|
+
import { CreateWorkloadEstimateCommandInput, CreateWorkloadEstimateCommandOutput } from "./commands/CreateWorkloadEstimateCommand";
|
|
15
|
+
import { DeleteBillEstimateCommandInput, DeleteBillEstimateCommandOutput } from "./commands/DeleteBillEstimateCommand";
|
|
16
|
+
import { DeleteBillScenarioCommandInput, DeleteBillScenarioCommandOutput } from "./commands/DeleteBillScenarioCommand";
|
|
17
|
+
import { DeleteWorkloadEstimateCommandInput, DeleteWorkloadEstimateCommandOutput } from "./commands/DeleteWorkloadEstimateCommand";
|
|
18
|
+
import { GetBillEstimateCommandInput, GetBillEstimateCommandOutput } from "./commands/GetBillEstimateCommand";
|
|
19
|
+
import { GetBillScenarioCommandInput, GetBillScenarioCommandOutput } from "./commands/GetBillScenarioCommand";
|
|
20
|
+
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
21
|
+
import { GetWorkloadEstimateCommandInput, GetWorkloadEstimateCommandOutput } from "./commands/GetWorkloadEstimateCommand";
|
|
22
|
+
import { ListBillEstimateCommitmentsCommandInput, ListBillEstimateCommitmentsCommandOutput } from "./commands/ListBillEstimateCommitmentsCommand";
|
|
23
|
+
import { ListBillEstimateInputCommitmentModificationsCommandInput, ListBillEstimateInputCommitmentModificationsCommandOutput } from "./commands/ListBillEstimateInputCommitmentModificationsCommand";
|
|
24
|
+
import { ListBillEstimateInputUsageModificationsCommandInput, ListBillEstimateInputUsageModificationsCommandOutput } from "./commands/ListBillEstimateInputUsageModificationsCommand";
|
|
25
|
+
import { ListBillEstimateLineItemsCommandInput, ListBillEstimateLineItemsCommandOutput } from "./commands/ListBillEstimateLineItemsCommand";
|
|
26
|
+
import { ListBillEstimatesCommandInput, ListBillEstimatesCommandOutput } from "./commands/ListBillEstimatesCommand";
|
|
27
|
+
import { ListBillScenarioCommitmentModificationsCommandInput, ListBillScenarioCommitmentModificationsCommandOutput } from "./commands/ListBillScenarioCommitmentModificationsCommand";
|
|
28
|
+
import { ListBillScenariosCommandInput, ListBillScenariosCommandOutput } from "./commands/ListBillScenariosCommand";
|
|
29
|
+
import { ListBillScenarioUsageModificationsCommandInput, ListBillScenarioUsageModificationsCommandOutput } from "./commands/ListBillScenarioUsageModificationsCommand";
|
|
30
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
31
|
+
import { ListWorkloadEstimatesCommandInput, ListWorkloadEstimatesCommandOutput } from "./commands/ListWorkloadEstimatesCommand";
|
|
32
|
+
import { ListWorkloadEstimateUsageCommandInput, ListWorkloadEstimateUsageCommandOutput } from "./commands/ListWorkloadEstimateUsageCommand";
|
|
33
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
|
+
import { UpdateBillEstimateCommandInput, UpdateBillEstimateCommandOutput } from "./commands/UpdateBillEstimateCommand";
|
|
36
|
+
import { UpdateBillScenarioCommandInput, UpdateBillScenarioCommandOutput } from "./commands/UpdateBillScenarioCommand";
|
|
37
|
+
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "./commands/UpdatePreferencesCommand";
|
|
38
|
+
import { UpdateWorkloadEstimateCommandInput, UpdateWorkloadEstimateCommandOutput } from "./commands/UpdateWorkloadEstimateCommand";
|
|
39
|
+
export interface BCMPricingCalculator {
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link BatchCreateBillScenarioCommitmentModificationCommand}
|
|
42
|
+
*/
|
|
43
|
+
batchCreateBillScenarioCommitmentModification(args: BatchCreateBillScenarioCommitmentModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateBillScenarioCommitmentModificationCommandOutput>;
|
|
44
|
+
batchCreateBillScenarioCommitmentModification(args: BatchCreateBillScenarioCommitmentModificationCommandInput, cb: (err: any, data?: BatchCreateBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
45
|
+
batchCreateBillScenarioCommitmentModification(args: BatchCreateBillScenarioCommitmentModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link BatchCreateBillScenarioUsageModificationCommand}
|
|
48
|
+
*/
|
|
49
|
+
batchCreateBillScenarioUsageModification(args: BatchCreateBillScenarioUsageModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateBillScenarioUsageModificationCommandOutput>;
|
|
50
|
+
batchCreateBillScenarioUsageModification(args: BatchCreateBillScenarioUsageModificationCommandInput, cb: (err: any, data?: BatchCreateBillScenarioUsageModificationCommandOutput) => void): void;
|
|
51
|
+
batchCreateBillScenarioUsageModification(args: BatchCreateBillScenarioUsageModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateBillScenarioUsageModificationCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link BatchCreateWorkloadEstimateUsageCommand}
|
|
54
|
+
*/
|
|
55
|
+
batchCreateWorkloadEstimateUsage(args: BatchCreateWorkloadEstimateUsageCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateWorkloadEstimateUsageCommandOutput>;
|
|
56
|
+
batchCreateWorkloadEstimateUsage(args: BatchCreateWorkloadEstimateUsageCommandInput, cb: (err: any, data?: BatchCreateWorkloadEstimateUsageCommandOutput) => void): void;
|
|
57
|
+
batchCreateWorkloadEstimateUsage(args: BatchCreateWorkloadEstimateUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateWorkloadEstimateUsageCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link BatchDeleteBillScenarioCommitmentModificationCommand}
|
|
60
|
+
*/
|
|
61
|
+
batchDeleteBillScenarioCommitmentModification(args: BatchDeleteBillScenarioCommitmentModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteBillScenarioCommitmentModificationCommandOutput>;
|
|
62
|
+
batchDeleteBillScenarioCommitmentModification(args: BatchDeleteBillScenarioCommitmentModificationCommandInput, cb: (err: any, data?: BatchDeleteBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
63
|
+
batchDeleteBillScenarioCommitmentModification(args: BatchDeleteBillScenarioCommitmentModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link BatchDeleteBillScenarioUsageModificationCommand}
|
|
66
|
+
*/
|
|
67
|
+
batchDeleteBillScenarioUsageModification(args: BatchDeleteBillScenarioUsageModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteBillScenarioUsageModificationCommandOutput>;
|
|
68
|
+
batchDeleteBillScenarioUsageModification(args: BatchDeleteBillScenarioUsageModificationCommandInput, cb: (err: any, data?: BatchDeleteBillScenarioUsageModificationCommandOutput) => void): void;
|
|
69
|
+
batchDeleteBillScenarioUsageModification(args: BatchDeleteBillScenarioUsageModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteBillScenarioUsageModificationCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link BatchDeleteWorkloadEstimateUsageCommand}
|
|
72
|
+
*/
|
|
73
|
+
batchDeleteWorkloadEstimateUsage(args: BatchDeleteWorkloadEstimateUsageCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteWorkloadEstimateUsageCommandOutput>;
|
|
74
|
+
batchDeleteWorkloadEstimateUsage(args: BatchDeleteWorkloadEstimateUsageCommandInput, cb: (err: any, data?: BatchDeleteWorkloadEstimateUsageCommandOutput) => void): void;
|
|
75
|
+
batchDeleteWorkloadEstimateUsage(args: BatchDeleteWorkloadEstimateUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteWorkloadEstimateUsageCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link BatchUpdateBillScenarioCommitmentModificationCommand}
|
|
78
|
+
*/
|
|
79
|
+
batchUpdateBillScenarioCommitmentModification(args: BatchUpdateBillScenarioCommitmentModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateBillScenarioCommitmentModificationCommandOutput>;
|
|
80
|
+
batchUpdateBillScenarioCommitmentModification(args: BatchUpdateBillScenarioCommitmentModificationCommandInput, cb: (err: any, data?: BatchUpdateBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
81
|
+
batchUpdateBillScenarioCommitmentModification(args: BatchUpdateBillScenarioCommitmentModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateBillScenarioCommitmentModificationCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link BatchUpdateBillScenarioUsageModificationCommand}
|
|
84
|
+
*/
|
|
85
|
+
batchUpdateBillScenarioUsageModification(args: BatchUpdateBillScenarioUsageModificationCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateBillScenarioUsageModificationCommandOutput>;
|
|
86
|
+
batchUpdateBillScenarioUsageModification(args: BatchUpdateBillScenarioUsageModificationCommandInput, cb: (err: any, data?: BatchUpdateBillScenarioUsageModificationCommandOutput) => void): void;
|
|
87
|
+
batchUpdateBillScenarioUsageModification(args: BatchUpdateBillScenarioUsageModificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateBillScenarioUsageModificationCommandOutput) => void): void;
|
|
88
|
+
/**
|
|
89
|
+
* @see {@link BatchUpdateWorkloadEstimateUsageCommand}
|
|
90
|
+
*/
|
|
91
|
+
batchUpdateWorkloadEstimateUsage(args: BatchUpdateWorkloadEstimateUsageCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateWorkloadEstimateUsageCommandOutput>;
|
|
92
|
+
batchUpdateWorkloadEstimateUsage(args: BatchUpdateWorkloadEstimateUsageCommandInput, cb: (err: any, data?: BatchUpdateWorkloadEstimateUsageCommandOutput) => void): void;
|
|
93
|
+
batchUpdateWorkloadEstimateUsage(args: BatchUpdateWorkloadEstimateUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateWorkloadEstimateUsageCommandOutput) => void): void;
|
|
94
|
+
/**
|
|
95
|
+
* @see {@link CreateBillEstimateCommand}
|
|
96
|
+
*/
|
|
97
|
+
createBillEstimate(args: CreateBillEstimateCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillEstimateCommandOutput>;
|
|
98
|
+
createBillEstimate(args: CreateBillEstimateCommandInput, cb: (err: any, data?: CreateBillEstimateCommandOutput) => void): void;
|
|
99
|
+
createBillEstimate(args: CreateBillEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillEstimateCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link CreateBillScenarioCommand}
|
|
102
|
+
*/
|
|
103
|
+
createBillScenario(args: CreateBillScenarioCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillScenarioCommandOutput>;
|
|
104
|
+
createBillScenario(args: CreateBillScenarioCommandInput, cb: (err: any, data?: CreateBillScenarioCommandOutput) => void): void;
|
|
105
|
+
createBillScenario(args: CreateBillScenarioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillScenarioCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link CreateWorkloadEstimateCommand}
|
|
108
|
+
*/
|
|
109
|
+
createWorkloadEstimate(args: CreateWorkloadEstimateCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkloadEstimateCommandOutput>;
|
|
110
|
+
createWorkloadEstimate(args: CreateWorkloadEstimateCommandInput, cb: (err: any, data?: CreateWorkloadEstimateCommandOutput) => void): void;
|
|
111
|
+
createWorkloadEstimate(args: CreateWorkloadEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkloadEstimateCommandOutput) => void): void;
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link DeleteBillEstimateCommand}
|
|
114
|
+
*/
|
|
115
|
+
deleteBillEstimate(args: DeleteBillEstimateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillEstimateCommandOutput>;
|
|
116
|
+
deleteBillEstimate(args: DeleteBillEstimateCommandInput, cb: (err: any, data?: DeleteBillEstimateCommandOutput) => void): void;
|
|
117
|
+
deleteBillEstimate(args: DeleteBillEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillEstimateCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link DeleteBillScenarioCommand}
|
|
120
|
+
*/
|
|
121
|
+
deleteBillScenario(args: DeleteBillScenarioCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillScenarioCommandOutput>;
|
|
122
|
+
deleteBillScenario(args: DeleteBillScenarioCommandInput, cb: (err: any, data?: DeleteBillScenarioCommandOutput) => void): void;
|
|
123
|
+
deleteBillScenario(args: DeleteBillScenarioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillScenarioCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link DeleteWorkloadEstimateCommand}
|
|
126
|
+
*/
|
|
127
|
+
deleteWorkloadEstimate(args: DeleteWorkloadEstimateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkloadEstimateCommandOutput>;
|
|
128
|
+
deleteWorkloadEstimate(args: DeleteWorkloadEstimateCommandInput, cb: (err: any, data?: DeleteWorkloadEstimateCommandOutput) => void): void;
|
|
129
|
+
deleteWorkloadEstimate(args: DeleteWorkloadEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkloadEstimateCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link GetBillEstimateCommand}
|
|
132
|
+
*/
|
|
133
|
+
getBillEstimate(args: GetBillEstimateCommandInput, options?: __HttpHandlerOptions): Promise<GetBillEstimateCommandOutput>;
|
|
134
|
+
getBillEstimate(args: GetBillEstimateCommandInput, cb: (err: any, data?: GetBillEstimateCommandOutput) => void): void;
|
|
135
|
+
getBillEstimate(args: GetBillEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillEstimateCommandOutput) => void): void;
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link GetBillScenarioCommand}
|
|
138
|
+
*/
|
|
139
|
+
getBillScenario(args: GetBillScenarioCommandInput, options?: __HttpHandlerOptions): Promise<GetBillScenarioCommandOutput>;
|
|
140
|
+
getBillScenario(args: GetBillScenarioCommandInput, cb: (err: any, data?: GetBillScenarioCommandOutput) => void): void;
|
|
141
|
+
getBillScenario(args: GetBillScenarioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillScenarioCommandOutput) => void): void;
|
|
142
|
+
/**
|
|
143
|
+
* @see {@link GetPreferencesCommand}
|
|
144
|
+
*/
|
|
145
|
+
getPreferences(): Promise<GetPreferencesCommandOutput>;
|
|
146
|
+
getPreferences(args: GetPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetPreferencesCommandOutput>;
|
|
147
|
+
getPreferences(args: GetPreferencesCommandInput, cb: (err: any, data?: GetPreferencesCommandOutput) => void): void;
|
|
148
|
+
getPreferences(args: GetPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPreferencesCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link GetWorkloadEstimateCommand}
|
|
151
|
+
*/
|
|
152
|
+
getWorkloadEstimate(args: GetWorkloadEstimateCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkloadEstimateCommandOutput>;
|
|
153
|
+
getWorkloadEstimate(args: GetWorkloadEstimateCommandInput, cb: (err: any, data?: GetWorkloadEstimateCommandOutput) => void): void;
|
|
154
|
+
getWorkloadEstimate(args: GetWorkloadEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkloadEstimateCommandOutput) => void): void;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link ListBillEstimateCommitmentsCommand}
|
|
157
|
+
*/
|
|
158
|
+
listBillEstimateCommitments(args: ListBillEstimateCommitmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillEstimateCommitmentsCommandOutput>;
|
|
159
|
+
listBillEstimateCommitments(args: ListBillEstimateCommitmentsCommandInput, cb: (err: any, data?: ListBillEstimateCommitmentsCommandOutput) => void): void;
|
|
160
|
+
listBillEstimateCommitments(args: ListBillEstimateCommitmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillEstimateCommitmentsCommandOutput) => void): void;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link ListBillEstimateInputCommitmentModificationsCommand}
|
|
163
|
+
*/
|
|
164
|
+
listBillEstimateInputCommitmentModifications(args: ListBillEstimateInputCommitmentModificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillEstimateInputCommitmentModificationsCommandOutput>;
|
|
165
|
+
listBillEstimateInputCommitmentModifications(args: ListBillEstimateInputCommitmentModificationsCommandInput, cb: (err: any, data?: ListBillEstimateInputCommitmentModificationsCommandOutput) => void): void;
|
|
166
|
+
listBillEstimateInputCommitmentModifications(args: ListBillEstimateInputCommitmentModificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillEstimateInputCommitmentModificationsCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link ListBillEstimateInputUsageModificationsCommand}
|
|
169
|
+
*/
|
|
170
|
+
listBillEstimateInputUsageModifications(args: ListBillEstimateInputUsageModificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillEstimateInputUsageModificationsCommandOutput>;
|
|
171
|
+
listBillEstimateInputUsageModifications(args: ListBillEstimateInputUsageModificationsCommandInput, cb: (err: any, data?: ListBillEstimateInputUsageModificationsCommandOutput) => void): void;
|
|
172
|
+
listBillEstimateInputUsageModifications(args: ListBillEstimateInputUsageModificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillEstimateInputUsageModificationsCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link ListBillEstimateLineItemsCommand}
|
|
175
|
+
*/
|
|
176
|
+
listBillEstimateLineItems(args: ListBillEstimateLineItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillEstimateLineItemsCommandOutput>;
|
|
177
|
+
listBillEstimateLineItems(args: ListBillEstimateLineItemsCommandInput, cb: (err: any, data?: ListBillEstimateLineItemsCommandOutput) => void): void;
|
|
178
|
+
listBillEstimateLineItems(args: ListBillEstimateLineItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillEstimateLineItemsCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link ListBillEstimatesCommand}
|
|
181
|
+
*/
|
|
182
|
+
listBillEstimates(): Promise<ListBillEstimatesCommandOutput>;
|
|
183
|
+
listBillEstimates(args: ListBillEstimatesCommandInput, options?: __HttpHandlerOptions): Promise<ListBillEstimatesCommandOutput>;
|
|
184
|
+
listBillEstimates(args: ListBillEstimatesCommandInput, cb: (err: any, data?: ListBillEstimatesCommandOutput) => void): void;
|
|
185
|
+
listBillEstimates(args: ListBillEstimatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillEstimatesCommandOutput) => void): void;
|
|
186
|
+
/**
|
|
187
|
+
* @see {@link ListBillScenarioCommitmentModificationsCommand}
|
|
188
|
+
*/
|
|
189
|
+
listBillScenarioCommitmentModifications(args: ListBillScenarioCommitmentModificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillScenarioCommitmentModificationsCommandOutput>;
|
|
190
|
+
listBillScenarioCommitmentModifications(args: ListBillScenarioCommitmentModificationsCommandInput, cb: (err: any, data?: ListBillScenarioCommitmentModificationsCommandOutput) => void): void;
|
|
191
|
+
listBillScenarioCommitmentModifications(args: ListBillScenarioCommitmentModificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillScenarioCommitmentModificationsCommandOutput) => void): void;
|
|
192
|
+
/**
|
|
193
|
+
* @see {@link ListBillScenariosCommand}
|
|
194
|
+
*/
|
|
195
|
+
listBillScenarios(): Promise<ListBillScenariosCommandOutput>;
|
|
196
|
+
listBillScenarios(args: ListBillScenariosCommandInput, options?: __HttpHandlerOptions): Promise<ListBillScenariosCommandOutput>;
|
|
197
|
+
listBillScenarios(args: ListBillScenariosCommandInput, cb: (err: any, data?: ListBillScenariosCommandOutput) => void): void;
|
|
198
|
+
listBillScenarios(args: ListBillScenariosCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillScenariosCommandOutput) => void): void;
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link ListBillScenarioUsageModificationsCommand}
|
|
201
|
+
*/
|
|
202
|
+
listBillScenarioUsageModifications(args: ListBillScenarioUsageModificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillScenarioUsageModificationsCommandOutput>;
|
|
203
|
+
listBillScenarioUsageModifications(args: ListBillScenarioUsageModificationsCommandInput, cb: (err: any, data?: ListBillScenarioUsageModificationsCommandOutput) => void): void;
|
|
204
|
+
listBillScenarioUsageModifications(args: ListBillScenarioUsageModificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillScenarioUsageModificationsCommandOutput) => void): void;
|
|
205
|
+
/**
|
|
206
|
+
* @see {@link ListTagsForResourceCommand}
|
|
207
|
+
*/
|
|
208
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
209
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
210
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
211
|
+
/**
|
|
212
|
+
* @see {@link ListWorkloadEstimatesCommand}
|
|
213
|
+
*/
|
|
214
|
+
listWorkloadEstimates(): Promise<ListWorkloadEstimatesCommandOutput>;
|
|
215
|
+
listWorkloadEstimates(args: ListWorkloadEstimatesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkloadEstimatesCommandOutput>;
|
|
216
|
+
listWorkloadEstimates(args: ListWorkloadEstimatesCommandInput, cb: (err: any, data?: ListWorkloadEstimatesCommandOutput) => void): void;
|
|
217
|
+
listWorkloadEstimates(args: ListWorkloadEstimatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkloadEstimatesCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* @see {@link ListWorkloadEstimateUsageCommand}
|
|
220
|
+
*/
|
|
221
|
+
listWorkloadEstimateUsage(args: ListWorkloadEstimateUsageCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkloadEstimateUsageCommandOutput>;
|
|
222
|
+
listWorkloadEstimateUsage(args: ListWorkloadEstimateUsageCommandInput, cb: (err: any, data?: ListWorkloadEstimateUsageCommandOutput) => void): void;
|
|
223
|
+
listWorkloadEstimateUsage(args: ListWorkloadEstimateUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkloadEstimateUsageCommandOutput) => void): void;
|
|
224
|
+
/**
|
|
225
|
+
* @see {@link TagResourceCommand}
|
|
226
|
+
*/
|
|
227
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
228
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
229
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
230
|
+
/**
|
|
231
|
+
* @see {@link UntagResourceCommand}
|
|
232
|
+
*/
|
|
233
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
234
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
235
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* @see {@link UpdateBillEstimateCommand}
|
|
238
|
+
*/
|
|
239
|
+
updateBillEstimate(args: UpdateBillEstimateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillEstimateCommandOutput>;
|
|
240
|
+
updateBillEstimate(args: UpdateBillEstimateCommandInput, cb: (err: any, data?: UpdateBillEstimateCommandOutput) => void): void;
|
|
241
|
+
updateBillEstimate(args: UpdateBillEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillEstimateCommandOutput) => void): void;
|
|
242
|
+
/**
|
|
243
|
+
* @see {@link UpdateBillScenarioCommand}
|
|
244
|
+
*/
|
|
245
|
+
updateBillScenario(args: UpdateBillScenarioCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillScenarioCommandOutput>;
|
|
246
|
+
updateBillScenario(args: UpdateBillScenarioCommandInput, cb: (err: any, data?: UpdateBillScenarioCommandOutput) => void): void;
|
|
247
|
+
updateBillScenario(args: UpdateBillScenarioCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillScenarioCommandOutput) => void): void;
|
|
248
|
+
/**
|
|
249
|
+
* @see {@link UpdatePreferencesCommand}
|
|
250
|
+
*/
|
|
251
|
+
updatePreferences(): Promise<UpdatePreferencesCommandOutput>;
|
|
252
|
+
updatePreferences(args: UpdatePreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePreferencesCommandOutput>;
|
|
253
|
+
updatePreferences(args: UpdatePreferencesCommandInput, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
254
|
+
updatePreferences(args: UpdatePreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
255
|
+
/**
|
|
256
|
+
* @see {@link UpdateWorkloadEstimateCommand}
|
|
257
|
+
*/
|
|
258
|
+
updateWorkloadEstimate(args: UpdateWorkloadEstimateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkloadEstimateCommandOutput>;
|
|
259
|
+
updateWorkloadEstimate(args: UpdateWorkloadEstimateCommandInput, cb: (err: any, data?: UpdateWorkloadEstimateCommandOutput) => void): void;
|
|
260
|
+
updateWorkloadEstimate(args: UpdateWorkloadEstimateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkloadEstimateCommandOutput) => void): void;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* <p>
|
|
264
|
+
* 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
|
|
265
|
+
* Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
|
|
266
|
+
* </p>
|
|
267
|
+
* <p>The Pricing Calculator API provides the following endpoint:</p>
|
|
268
|
+
* <ul>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>
|
|
271
|
+
* <code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
|
|
272
|
+
* </p>
|
|
273
|
+
* </li>
|
|
274
|
+
* </ul>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export declare class BCMPricingCalculator extends BCMPricingCalculatorClient implements BCMPricingCalculator {
|
|
278
|
+
}
|