@aws-sdk/client-cost-explorer 3.478.0 → 3.481.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/commands/CreateAnomalyMonitorCommand.js +18 -41
- package/dist-cjs/commands/CreateAnomalySubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateCostCategoryDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DeleteAnomalyMonitorCommand.js +18 -41
- package/dist-cjs/commands/DeleteAnomalySubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteCostCategoryDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DescribeCostCategoryDefinitionCommand.js +18 -41
- package/dist-cjs/commands/GetAnomaliesCommand.js +18 -41
- package/dist-cjs/commands/GetAnomalyMonitorsCommand.js +18 -41
- package/dist-cjs/commands/GetAnomalySubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/GetCostAndUsageCommand.js +18 -41
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +18 -41
- package/dist-cjs/commands/GetCostCategoriesCommand.js +18 -41
- package/dist-cjs/commands/GetCostForecastCommand.js +18 -41
- package/dist-cjs/commands/GetDimensionValuesCommand.js +18 -41
- package/dist-cjs/commands/GetReservationCoverageCommand.js +18 -41
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +18 -41
- package/dist-cjs/commands/GetReservationUtilizationCommand.js +18 -41
- package/dist-cjs/commands/GetRightsizingRecommendationCommand.js +18 -41
- package/dist-cjs/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +18 -41
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +18 -41
- package/dist-cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +18 -41
- package/dist-cjs/commands/GetSavingsPlansUtilizationCommand.js +18 -41
- package/dist-cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +18 -41
- package/dist-cjs/commands/GetTagsCommand.js +18 -41
- package/dist-cjs/commands/GetUsageForecastCommand.js +18 -41
- package/dist-cjs/commands/ListCostAllocationTagsCommand.js +18 -41
- package/dist-cjs/commands/ListCostCategoryDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ProvideAnomalyFeedbackCommand.js +18 -41
- package/dist-cjs/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAnomalyMonitorCommand.js +18 -41
- package/dist-cjs/commands/UpdateAnomalySubscriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdateCostAllocationTagsStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdateCostCategoryDefinitionCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateAnomalyMonitorCommand.js +18 -41
- package/dist-es/commands/CreateAnomalySubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +18 -41
- package/dist-es/commands/DeleteAnomalyMonitorCommand.js +18 -41
- package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +18 -41
- package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +18 -41
- package/dist-es/commands/GetAnomaliesCommand.js +18 -41
- package/dist-es/commands/GetAnomalyMonitorsCommand.js +18 -41
- package/dist-es/commands/GetAnomalySubscriptionsCommand.js +18 -41
- package/dist-es/commands/GetCostAndUsageCommand.js +18 -41
- package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +18 -41
- package/dist-es/commands/GetCostCategoriesCommand.js +18 -41
- package/dist-es/commands/GetCostForecastCommand.js +18 -41
- package/dist-es/commands/GetDimensionValuesCommand.js +18 -41
- package/dist-es/commands/GetReservationCoverageCommand.js +18 -41
- package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +18 -41
- package/dist-es/commands/GetReservationUtilizationCommand.js +18 -41
- package/dist-es/commands/GetRightsizingRecommendationCommand.js +18 -41
- package/dist-es/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +18 -41
- package/dist-es/commands/GetSavingsPlansCoverageCommand.js +18 -41
- package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +18 -41
- package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +18 -41
- package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +18 -41
- package/dist-es/commands/GetTagsCommand.js +18 -41
- package/dist-es/commands/GetUsageForecastCommand.js +18 -41
- package/dist-es/commands/ListCostAllocationTagsCommand.js +18 -41
- package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +18 -41
- package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +18 -41
- package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAnomalyMonitorCommand.js +18 -41
- package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +18 -41
- package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +18 -41
- package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +6 -21
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/GetAnomaliesCommand.d.ts +6 -21
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +6 -21
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +6 -21
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +6 -21
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +6 -21
- package/dist-types/commands/GetCostForecastCommand.d.ts +6 -21
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +6 -21
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -21
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +6 -21
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.d.ts +6 -21
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +6 -21
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +6 -21
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +6 -21
- package/dist-types/commands/GetTagsCommand.d.ts +6 -21
- package/dist-types/commands/GetUsageForecastCommand.d.ts +6 -21
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +6 -21
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCostCategoryDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAnomalyMonitorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAnomalySubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteCostCategoryDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAnomaliesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCostAndUsageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCostCategoriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCostForecastCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDimensionValuesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetReservationCoverageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetUsageForecastCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCostAllocationTagsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ProvideAnomalyFeedbackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateAnomalySubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateCostAllocationTagsStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateCostAllocationTagsStatusCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CostExplorerClient";
|
|
29
|
-
const commandName = "UpdateCostAllocationTagsStatusCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSInsightsIndexService",
|
|
38
|
-
operation: "UpdateCostAllocationTagsStatus",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateCostAllocationTagsStatusCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateCostAllocationTagsStatusCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateCostAllocationTagsStatusCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSInsightsIndexService", "UpdateCostAllocationTagsStatus", {})
|
|
22
|
+
.n("CostExplorerClient", "UpdateCostAllocationTagsStatusCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateCostAllocationTagsStatusCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateCostAllocationTagsStatusCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateCostAllocationTagsStatusCommand = UpdateCostAllocationTagsStatusCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateCostCategoryDefinitionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CostExplorerClient";
|
|
29
|
-
const commandName = "UpdateCostCategoryDefinitionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSInsightsIndexService",
|
|
38
|
-
operation: "UpdateCostCategoryDefinition",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateCostCategoryDefinitionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateCostCategoryDefinitionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateCostCategoryDefinitionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSInsightsIndexService", "UpdateCostCategoryDefinition", {})
|
|
22
|
+
.n("CostExplorerClient", "UpdateCostCategoryDefinitionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateCostCategoryDefinitionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateCostCategoryDefinitionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateCostCategoryDefinitionCommand = UpdateCostCategoryDefinitionCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateAnomalyMonitorCommand, se_CreateAnomalyMonitorCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAnomalyMonitorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "CreateAnomalyMonitorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "CreateAnomalyMonitor",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateAnomalyMonitorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAnomalyMonitorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAnomalyMonitorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "CreateAnomalyMonitor", {})
|
|
19
|
+
.n("CostExplorerClient", "CreateAnomalyMonitorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAnomalyMonitorCommand)
|
|
22
|
+
.de(de_CreateAnomalyMonitorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateAnomalySubscriptionCommand, se_CreateAnomalySubscriptionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAnomalySubscriptionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "CreateAnomalySubscriptionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "CreateAnomalySubscription",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateAnomalySubscriptionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAnomalySubscriptionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAnomalySubscriptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "CreateAnomalySubscription", {})
|
|
19
|
+
.n("CostExplorerClient", "CreateAnomalySubscriptionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAnomalySubscriptionCommand)
|
|
22
|
+
.de(de_CreateAnomalySubscriptionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateCostCategoryDefinitionCommand, se_CreateCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateCostCategoryDefinitionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "CreateCostCategoryDefinitionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "CreateCostCategoryDefinition",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateCostCategoryDefinitionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateCostCategoryDefinitionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateCostCategoryDefinitionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "CreateCostCategoryDefinition", {})
|
|
19
|
+
.n("CostExplorerClient", "CreateCostCategoryDefinitionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCostCategoryDefinitionCommand)
|
|
22
|
+
.de(de_CreateCostCategoryDefinitionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAnomalyMonitorCommand, se_DeleteAnomalyMonitorCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAnomalyMonitorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "DeleteAnomalyMonitorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "DeleteAnomalyMonitor",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAnomalyMonitorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAnomalyMonitorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAnomalyMonitorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "DeleteAnomalyMonitor", {})
|
|
19
|
+
.n("CostExplorerClient", "DeleteAnomalyMonitorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAnomalyMonitorCommand)
|
|
22
|
+
.de(de_DeleteAnomalyMonitorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAnomalySubscriptionCommand, se_DeleteAnomalySubscriptionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAnomalySubscriptionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "DeleteAnomalySubscriptionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "DeleteAnomalySubscription",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAnomalySubscriptionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAnomalySubscriptionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAnomalySubscriptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "DeleteAnomalySubscription", {})
|
|
19
|
+
.n("CostExplorerClient", "DeleteAnomalySubscriptionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAnomalySubscriptionCommand)
|
|
22
|
+
.de(de_DeleteAnomalySubscriptionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteCostCategoryDefinitionCommand, se_DeleteCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteCostCategoryDefinitionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "DeleteCostCategoryDefinitionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "DeleteCostCategoryDefinition",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteCostCategoryDefinitionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteCostCategoryDefinitionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteCostCategoryDefinitionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "DeleteCostCategoryDefinition", {})
|
|
19
|
+
.n("CostExplorerClient", "DeleteCostCategoryDefinitionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteCostCategoryDefinitionCommand)
|
|
22
|
+
.de(de_DeleteCostCategoryDefinitionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeCostCategoryDefinitionCommand, se_DescribeCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeCostCategoryDefinitionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostExplorerClient";
|
|
26
|
-
const commandName = "DescribeCostCategoryDefinitionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSInsightsIndexService",
|
|
35
|
-
operation: "DescribeCostCategoryDefinition",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeCostCategoryDefinitionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeCostCategoryDefinitionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeCostCategoryDefinitionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSInsightsIndexService", "DescribeCostCategoryDefinition", {})
|
|
19
|
+
.n("CostExplorerClient", "DescribeCostCategoryDefinitionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeCostCategoryDefinitionCommand)
|
|
22
|
+
.de(de_DescribeCostCategoryDefinitionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|