@aws-sdk/client-cost-explorer 3.927.0 → 3.928.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/dist-cjs/index.js +2554 -2100
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CostExplorerClient.js +2 -0
- package/dist-es/commands/CreateAnomalyMonitorCommand.js +3 -9
- package/dist-es/commands/CreateAnomalySubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteAnomalyMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +3 -9
- package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +3 -9
- package/dist-es/commands/GetAnomaliesCommand.js +3 -9
- package/dist-es/commands/GetAnomalyMonitorsCommand.js +3 -9
- package/dist-es/commands/GetAnomalySubscriptionsCommand.js +3 -9
- package/dist-es/commands/GetApproximateUsageRecordsCommand.js +3 -9
- package/dist-es/commands/GetCommitmentPurchaseAnalysisCommand.js +3 -9
- package/dist-es/commands/GetCostAndUsageCommand.js +3 -9
- package/dist-es/commands/GetCostAndUsageComparisonsCommand.js +3 -9
- package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +3 -9
- package/dist-es/commands/GetCostCategoriesCommand.js +3 -9
- package/dist-es/commands/GetCostComparisonDriversCommand.js +3 -9
- package/dist-es/commands/GetCostForecastCommand.js +3 -9
- package/dist-es/commands/GetDimensionValuesCommand.js +3 -9
- package/dist-es/commands/GetReservationCoverageCommand.js +3 -9
- package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +3 -9
- package/dist-es/commands/GetReservationUtilizationCommand.js +3 -9
- package/dist-es/commands/GetRightsizingRecommendationCommand.js +3 -9
- package/dist-es/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +3 -9
- package/dist-es/commands/GetSavingsPlansCoverageCommand.js +3 -9
- package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -9
- package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +3 -9
- package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -9
- package/dist-es/commands/GetTagsCommand.js +3 -9
- package/dist-es/commands/GetUsageForecastCommand.js +3 -9
- package/dist-es/commands/ListCommitmentPurchaseAnalysesCommand.js +3 -9
- package/dist-es/commands/ListCostAllocationTagBackfillHistoryCommand.js +3 -9
- package/dist-es/commands/ListCostAllocationTagsCommand.js +3 -9
- package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +3 -9
- package/dist-es/commands/StartCommitmentPurchaseAnalysisCommand.js +3 -9
- package/dist-es/commands/StartCostAllocationTagBackfillCommand.js +3 -9
- package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAnomalyMonitorCommand.js +3 -9
- package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +3 -9
- package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +3 -9
- package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2437 -0
- package/dist-types/CostExplorerClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +320 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +326 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1737
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -416
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -557
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCostCategoryDefinition } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCostCategoryDefinitionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSInsightsIndexService", "UpdateCostCategoryDefinition", {})
|
|
17
13
|
.n("CostExplorerClient", "UpdateCostCategoryDefinitionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCostCategoryDefinitionCommand)
|
|
20
|
-
.de(de_UpdateCostCategoryDefinitionCommand)
|
|
14
|
+
.sc(UpdateCostCategoryDefinition)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.costexplorer",
|
|
29
|
+
serviceTarget: "AWSInsightsIndexService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Cost Explorer",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|