@aws-sdk/client-cost-explorer 3.53.0 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/CostExplorerClient.js +13 -13
- package/dist-cjs/commands/CreateAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/CreateAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetAnomaliesCommand.js +3 -3
- package/dist-cjs/commands/GetAnomalyMonitorsCommand.js +3 -3
- package/dist-cjs/commands/GetAnomalySubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/GetCostAndUsageCommand.js +3 -3
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
- package/dist-cjs/commands/GetCostCategoriesCommand.js +3 -3
- package/dist-cjs/commands/GetCostForecastCommand.js +3 -3
- package/dist-cjs/commands/GetDimensionValuesCommand.js +3 -3
- package/dist-cjs/commands/GetReservationCoverageCommand.js +3 -3
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetReservationUtilizationCommand.js +3 -3
- package/dist-cjs/commands/GetRightsizingRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansUtilizationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetTagsCommand.js +3 -3
- package/dist-cjs/commands/GetUsageForecastCommand.js +3 -3
- package/dist-cjs/commands/ListCostCategoryDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ProvideAnomalyFeedbackCommand.js +3 -3
- package/dist-cjs/commands/UpdateAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/UpdateAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +354 -354
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CostExplorer.js +30 -30
- package/dist-es/pagination/GetSavingsPlansCoveragePaginator.js +4 -4
- package/dist-es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +4 -4
- package/dist-es/pagination/ListCostCategoryDefinitionsPaginator.js +4 -4
- package/dist-types/CostExplorerClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CostExplorerClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class GetUsageForecastCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class GetUsageForecastCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetUsageForecastCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetUsageForecastCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetUsageForecastCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetUsageForecastCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetUsageForecastCommand = GetUsageForecastCommand;
|
|
@@ -11,7 +11,7 @@ class ListCostCategoryDefinitionsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class ListCostCategoryDefinitionsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListCostCategoryDefinitionsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListCostCategoryDefinitionsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListCostCategoryDefinitionsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListCostCategoryDefinitionsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListCostCategoryDefinitionsCommand = ListCostCategoryDefinitionsCommand;
|
|
@@ -11,7 +11,7 @@ class ProvideAnomalyFeedbackCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class ProvideAnomalyFeedbackCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ProvideAnomalyFeedbackCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ProvideAnomalyFeedbackCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ProvideAnomalyFeedbackCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ProvideAnomalyFeedbackCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ProvideAnomalyFeedbackCommand = ProvideAnomalyFeedbackCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class UpdateAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateAnomalyMonitorCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateAnomalyMonitorCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateAnomalyMonitorCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateAnomalyMonitorCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateAnomalyMonitorCommand = UpdateAnomalyMonitorCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class UpdateAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateAnomalySubscriptionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateAnomalySubscriptionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateAnomalySubscriptionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateAnomalySubscriptionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateAnomalySubscriptionCommand = UpdateAnomalySubscriptionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CostExplorerClient";
|
|
@@ -27,10 +27,10 @@ class UpdateCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateCostCategoryDefinitionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateCostCategoryDefinitionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateCostCategoryDefinitionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateCostCategoryDefinitionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateCostCategoryDefinitionCommand = UpdateCostCategoryDefinitionCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -144,7 +144,7 @@ const partitionHash = {
|
|
|
144
144
|
],
|
|
145
145
|
},
|
|
146
146
|
};
|
|
147
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
147
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
148
148
|
...options,
|
|
149
149
|
signingService: "ce",
|
|
150
150
|
regionHash,
|