@aws-sdk/client-cost-explorer 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/CostExplorer.js +149 -142
- package/dist-es/CostExplorerClient.js +28 -22
- package/dist-es/commands/CreateAnomalyMonitorCommand.js +28 -21
- package/dist-es/commands/CreateAnomalySubscriptionCommand.js +28 -21
- package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteAnomalyMonitorCommand.js +28 -21
- package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +28 -21
- package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +28 -21
- package/dist-es/commands/GetAnomaliesCommand.js +28 -21
- package/dist-es/commands/GetAnomalyMonitorsCommand.js +28 -21
- package/dist-es/commands/GetAnomalySubscriptionsCommand.js +28 -21
- package/dist-es/commands/GetCostAndUsageCommand.js +28 -21
- package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +28 -21
- package/dist-es/commands/GetCostCategoriesCommand.js +28 -21
- package/dist-es/commands/GetCostForecastCommand.js +28 -21
- package/dist-es/commands/GetDimensionValuesCommand.js +28 -21
- package/dist-es/commands/GetReservationCoverageCommand.js +28 -21
- package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +28 -21
- package/dist-es/commands/GetReservationUtilizationCommand.js +28 -21
- package/dist-es/commands/GetRightsizingRecommendationCommand.js +28 -21
- package/dist-es/commands/GetSavingsPlansCoverageCommand.js +28 -21
- package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +28 -21
- package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +28 -21
- package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +28 -21
- package/dist-es/commands/GetTagsCommand.js +28 -21
- package/dist-es/commands/GetUsageForecastCommand.js +28 -21
- package/dist-es/commands/ListCostAllocationTagsCommand.js +28 -21
- package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAnomalyMonitorCommand.js +28 -21
- package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +28 -21
- package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +28 -21
- package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CostExplorerServiceException.js +10 -5
- package/dist-es/models/models_0.js +286 -587
- package/dist-es/pagination/GetSavingsPlansCoveragePaginator.js +68 -25
- package/dist-es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +68 -25
- package/dist-es/pagination/ListCostAllocationTagsPaginator.js +68 -25
- package/dist-es/pagination/ListCostCategoryDefinitionsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +3081 -2582
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetAnomalySubscriptionsRequestFilterSensitiveLog, GetAnomalySubscriptionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetAnomalySubscriptionsCommand, serializeAws_json1_1GetAnomalySubscriptionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetAnomalySubscriptionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetAnomalySubscriptionsCommand, _super);
|
|
8
|
+
function GetAnomalySubscriptionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetAnomalySubscriptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetAnomalySubscriptionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetAnomalySubscriptionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetAnomalySubscriptionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetAnomalySubscriptionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetAnomalySubscriptionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetAnomalySubscriptionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetAnomalySubscriptionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetAnomalySubscriptionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetAnomalySubscriptionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetCostAndUsageRequestFilterSensitiveLog, GetCostAndUsageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetCostAndUsageCommand, serializeAws_json1_1GetCostAndUsageCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCostAndUsageCommand = (function (_super) {
|
|
7
|
+
__extends(GetCostAndUsageCommand, _super);
|
|
8
|
+
function GetCostAndUsageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCostAndUsageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetCostAndUsageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCostAndUsageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCostAndUsageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCostAndUsageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetCostAndUsageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCostAndUsageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetCostAndUsageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCostAndUsageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCostAndUsageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetCostAndUsageWithResourcesRequestFilterSensitiveLog, GetCostAndUsageWithResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetCostAndUsageWithResourcesCommand, serializeAws_json1_1GetCostAndUsageWithResourcesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCostAndUsageWithResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(GetCostAndUsageWithResourcesCommand, _super);
|
|
8
|
+
function GetCostAndUsageWithResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCostAndUsageWithResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetCostAndUsageWithResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCostAndUsageWithResourcesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCostAndUsageWithResourcesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCostAndUsageWithResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetCostAndUsageWithResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCostAndUsageWithResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetCostAndUsageWithResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCostAndUsageWithResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCostAndUsageWithResourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetCostCategoriesRequestFilterSensitiveLog, GetCostCategoriesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetCostCategoriesCommand, serializeAws_json1_1GetCostCategoriesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCostCategoriesCommand = (function (_super) {
|
|
7
|
+
__extends(GetCostCategoriesCommand, _super);
|
|
8
|
+
function GetCostCategoriesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCostCategoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetCostCategoriesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCostCategoriesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCostCategoriesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCostCategoriesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetCostCategoriesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCostCategoriesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetCostCategoriesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCostCategoriesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCostCategoriesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetCostForecastRequestFilterSensitiveLog, GetCostForecastResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetCostForecastCommand, serializeAws_json1_1GetCostForecastCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCostForecastCommand = (function (_super) {
|
|
7
|
+
__extends(GetCostForecastCommand, _super);
|
|
8
|
+
function GetCostForecastCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCostForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetCostForecastCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCostForecastRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCostForecastResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCostForecastCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetCostForecastCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCostForecastCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetCostForecastCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCostForecastCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCostForecastCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetDimensionValuesRequestFilterSensitiveLog, GetDimensionValuesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetDimensionValuesCommand, serializeAws_json1_1GetDimensionValuesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDimensionValuesCommand = (function (_super) {
|
|
7
|
+
__extends(GetDimensionValuesCommand, _super);
|
|
8
|
+
function GetDimensionValuesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDimensionValuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetDimensionValuesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDimensionValuesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetDimensionValuesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDimensionValuesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetDimensionValuesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDimensionValuesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetDimensionValuesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDimensionValuesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDimensionValuesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetReservationCoverageRequestFilterSensitiveLog, GetReservationCoverageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetReservationCoverageCommand, serializeAws_json1_1GetReservationCoverageCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetReservationCoverageCommand = (function (_super) {
|
|
7
|
+
__extends(GetReservationCoverageCommand, _super);
|
|
8
|
+
function GetReservationCoverageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetReservationCoverageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetReservationCoverageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetReservationCoverageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetReservationCoverageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetReservationCoverageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetReservationCoverageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetReservationCoverageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetReservationCoverageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetReservationCoverageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetReservationCoverageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetReservationPurchaseRecommendationRequestFilterSensitiveLog, GetReservationPurchaseRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetReservationPurchaseRecommendationCommand, serializeAws_json1_1GetReservationPurchaseRecommendationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetReservationPurchaseRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(GetReservationPurchaseRecommendationCommand, _super);
|
|
8
|
+
function GetReservationPurchaseRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetReservationPurchaseRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetReservationPurchaseRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetReservationPurchaseRecommendationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetReservationPurchaseRecommendationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetReservationPurchaseRecommendationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetReservationPurchaseRecommendationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetReservationPurchaseRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetReservationPurchaseRecommendationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetReservationPurchaseRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetReservationPurchaseRecommendationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetReservationUtilizationRequestFilterSensitiveLog, GetReservationUtilizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetReservationUtilizationCommand, serializeAws_json1_1GetReservationUtilizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetReservationUtilizationCommand = (function (_super) {
|
|
7
|
+
__extends(GetReservationUtilizationCommand, _super);
|
|
8
|
+
function GetReservationUtilizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetReservationUtilizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetReservationUtilizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetReservationUtilizationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetReservationUtilizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetReservationUtilizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetReservationUtilizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetReservationUtilizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetReservationUtilizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetReservationUtilizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetReservationUtilizationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetRightsizingRecommendationRequestFilterSensitiveLog, GetRightsizingRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRightsizingRecommendationCommand, serializeAws_json1_1GetRightsizingRecommendationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRightsizingRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(GetRightsizingRecommendationCommand, _super);
|
|
8
|
+
function GetRightsizingRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRightsizingRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CostExplorerClient";
|
|
18
|
+
var commandName = "GetRightsizingRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRightsizingRecommendationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRightsizingRecommendationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetRightsizingRecommendationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRightsizingRecommendationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRightsizingRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRightsizingRecommendationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRightsizingRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRightsizingRecommendationCommand };
|