@aws-sdk/client-cost-explorer 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/CostExplorerClient.js +13 -13
- package/dist/cjs/CostExplorerClient.js.map +1 -1
- package/dist/cjs/commands/CreateAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomaliesCommand.js +3 -3
- package/dist/cjs/commands/GetAnomaliesCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomalyMonitorsCommand.js +3 -3
- package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js +3 -3
- package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostAndUsageCommand.js +3 -3
- package/dist/cjs/commands/GetCostAndUsageCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostCategoriesCommand.js +3 -3
- package/dist/cjs/commands/GetCostCategoriesCommand.js.map +1 -1
- package/dist/cjs/commands/GetCostForecastCommand.js +3 -3
- package/dist/cjs/commands/GetCostForecastCommand.js.map +1 -1
- package/dist/cjs/commands/GetDimensionValuesCommand.js +3 -3
- package/dist/cjs/commands/GetDimensionValuesCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationCoverageCommand.js +3 -3
- package/dist/cjs/commands/GetReservationCoverageCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetReservationUtilizationCommand.js +3 -3
- package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetRightsizingRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
- package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetTagsCommand.js +3 -3
- package/dist/cjs/commands/GetTagsCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsageForecastCommand.js +3 -3
- package/dist/cjs/commands/GetUsageForecastCommand.js.map +1 -1
- package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js +3 -3
- package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js +3 -3
- package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js +3 -3
- package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +314 -314
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/CostExplorer.js +1 -19
- package/dist/es/CostExplorer.js.map +1 -1
- package/dist/es/CostExplorerClient.js +1 -24
- package/dist/es/CostExplorerClient.js.map +1 -1
- package/dist/es/commands/CreateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js +2 -29
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/GetAnomaliesCommand.js +2 -28
- package/dist/es/commands/GetAnomaliesCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalyMonitorsCommand.js +2 -28
- package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js +2 -28
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageCommand.js +2 -32
- package/dist/es/commands/GetCostAndUsageCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js +2 -34
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
- package/dist/es/commands/GetCostCategoriesCommand.js +2 -30
- package/dist/es/commands/GetCostCategoriesCommand.js.map +1 -1
- package/dist/es/commands/GetCostForecastCommand.js +2 -27
- package/dist/es/commands/GetCostForecastCommand.js.map +1 -1
- package/dist/es/commands/GetDimensionValuesCommand.js +2 -27
- package/dist/es/commands/GetDimensionValuesCommand.js.map +1 -1
- package/dist/es/commands/GetReservationCoverageCommand.js +2 -68
- package/dist/es/commands/GetReservationCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js +2 -36
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetReservationUtilizationCommand.js +2 -29
- package/dist/es/commands/GetReservationUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetRightsizingRecommendationCommand.js +2 -36
- package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js +2 -50
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js +2 -30
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
- package/dist/es/commands/GetTagsCommand.js +2 -27
- package/dist/es/commands/GetTagsCommand.js.map +1 -1
- package/dist/es/commands/GetUsageForecastCommand.js +2 -27
- package/dist/es/commands/GetUsageForecastCommand.js.map +1 -1
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js +2 -27
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js +2 -27
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -441
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +1 -1
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +1 -1
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js +16 -28
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +550 -555
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -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/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,47 +3,13 @@ import { GetReservationPurchaseRecommendationRequest, GetReservationPurchaseReco
|
|
|
3
3
|
import { deserializeAws_json1_1GetReservationPurchaseRecommendationCommand, serializeAws_json1_1GetReservationPurchaseRecommendationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs.
|
|
8
|
-
* Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.</p>
|
|
9
|
-
* <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage
|
|
10
|
-
* into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations
|
|
11
|
-
* in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. </p>
|
|
12
|
-
* <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region
|
|
13
|
-
* and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance
|
|
14
|
-
* in an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units
|
|
15
|
-
* so that you can purchase any instance size that you want. For this example, your RI recommendation would be for <code>c4.large</code>
|
|
16
|
-
* because that is the smallest size instance in the c4 instance family.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { CostExplorerClient, GetReservationPurchaseRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
21
|
-
* // const { CostExplorerClient, GetReservationPurchaseRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
22
|
-
* const client = new CostExplorerClient(config);
|
|
23
|
-
* const command = new GetReservationPurchaseRecommendationCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link GetReservationPurchaseRecommendationCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link GetReservationPurchaseRecommendationCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var GetReservationPurchaseRecommendationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetReservationPurchaseRecommendationCommand = (function (_super) {
|
|
33
7
|
__extends(GetReservationPurchaseRecommendationCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function GetReservationPurchaseRecommendationCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
GetReservationPurchaseRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetReservationPurchaseRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationPurchaseRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iEAAiE,EACjE,+DAA+D,GAChE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetReservationPurchaseRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationPurchaseRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iEAAiE,EACjE,+DAA+D,GAChE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAA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5DD,CAAiE,QAAQ,GA4DxE"}
|
|
@@ -3,40 +3,13 @@ import { GetReservationUtilizationRequest, GetReservationUtilizationResponse } f
|
|
|
3
3
|
import { deserializeAws_json1_1GetReservationUtilizationCommand, serializeAws_json1_1GetReservationUtilizationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts.
|
|
8
|
-
* You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible
|
|
9
|
-
* dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CostExplorerClient, GetReservationUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
14
|
-
* // const { CostExplorerClient, GetReservationUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
15
|
-
* const client = new CostExplorerClient(config);
|
|
16
|
-
* const command = new GetReservationUtilizationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetReservationUtilizationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetReservationUtilizationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var GetReservationUtilizationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetReservationUtilizationCommand = (function (_super) {
|
|
26
7
|
__extends(GetReservationUtilizationCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function GetReservationUtilizationCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
GetReservationUtilizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetReservationUtilizationCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationUtilizationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetReservationUtilizationCommand.js","sourceRoot":"","sources":["../../../commands/GetReservationUtilizationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,47 +3,13 @@ import { GetRightsizingRecommendationRequest, GetRightsizingRecommendationRespon
|
|
|
3
3
|
import { deserializeAws_json1_1GetRightsizingRecommendationCommand, serializeAws_json1_1GetRightsizingRecommendationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates recommendations that
|
|
8
|
-
* help you save cost
|
|
9
|
-
* by identifying idle and underutilized Amazon EC2 instances.</p>
|
|
10
|
-
* <p>Recommendations are generated to either downsize or terminate instances, along with
|
|
11
|
-
* providing savings detail and metrics. For details on calculation and function, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing
|
|
13
|
-
* Your Cost with Rightsizing
|
|
14
|
-
* Recommendations</a>
|
|
15
|
-
* in the <i>Billing and Cost Management User
|
|
16
|
-
* Guide</i>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { CostExplorerClient, GetRightsizingRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
21
|
-
* // const { CostExplorerClient, GetRightsizingRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
22
|
-
* const client = new CostExplorerClient(config);
|
|
23
|
-
* const command = new GetRightsizingRecommendationCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link GetRightsizingRecommendationCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link GetRightsizingRecommendationCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var GetRightsizingRecommendationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetRightsizingRecommendationCommand = (function (_super) {
|
|
33
7
|
__extends(GetRightsizingRecommendationCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function GetRightsizingRecommendationCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
GetRightsizingRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRightsizingRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetRightsizingRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetRightsizingRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetRightsizingRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA0C7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK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and, serializeAws_json1_1GetSavingsPlansCoverageCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions:</p>
|
|
8
|
-
* <ul>
|
|
9
|
-
* <li>
|
|
10
|
-
* <p>
|
|
11
|
-
* <code>LINKED_ACCOUNT</code>
|
|
12
|
-
* </p>
|
|
13
|
-
* </li>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>
|
|
16
|
-
* <code>REGION</code>
|
|
17
|
-
* </p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <code>SERVICE</code>
|
|
22
|
-
* </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <code>INSTANCE_FAMILY</code>
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* </ul>
|
|
30
|
-
* <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CostExplorerClient, GetSavingsPlansCoverageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
35
|
-
* // const { CostExplorerClient, GetSavingsPlansCoverageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
36
|
-
* const client = new CostExplorerClient(config);
|
|
37
|
-
* const command = new GetSavingsPlansCoverageCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetSavingsPlansCoverageCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetSavingsPlansCoverageCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
var GetSavingsPlansCoverageCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetSavingsPlansCoverageCommand = (function (_super) {
|
|
47
7
|
__extends(GetSavingsPlansCoverageCommand, _super);
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
8
|
function GetSavingsPlansCoverageCommand(input) {
|
|
51
|
-
var _this =
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
54
10
|
_this.input = input;
|
|
55
11
|
return _this;
|
|
56
|
-
// End section: command_constructor
|
|
57
12
|
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
13
|
GetSavingsPlansCoverageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
62
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSavingsPlansCoverageCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansCoverageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetSavingsPlansCoverageCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansCo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OAAuB;QACnF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
|
|
@@ -3,38 +3,13 @@ import { GetSavingsPlansPurchaseRecommendationRequest, GetSavingsPlansPurchaseRe
|
|
|
3
3
|
import { deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand, serializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves your request parameters, Savings Plan Recommendations Summary and Details. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, GetSavingsPlansPurchaseRecommendationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new GetSavingsPlansPurchaseRecommendationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetSavingsPlansPurchaseRecommendationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetSavingsPlansPurchaseRecommendationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetSavingsPlansPurchaseRecommendationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetSavingsPlansPurchaseRecommendationCommand = (function (_super) {
|
|
24
7
|
__extends(GetSavingsPlansPurchaseRecommendationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetSavingsPlansPurchaseRecommendationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetSavingsPlansPurchaseRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSavingsPlansPurchaseRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansPurchaseRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kEAAkE,EAClE,gEAAgE,GACjE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetSavingsPlansPurchaseRecommendationCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansPurchaseRecommendationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kEAAkE,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AuB;QAEvB,OAAO,kEAAkE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAIH,mDAAC;AAAD,CAAC,AA5DD,CAAkE,QAAQ,GA4DzE"}
|
|
@@ -3,41 +3,13 @@ import { GetSavingsPlansUtilizationRequest, GetSavingsPlansUtilizationResponse }
|
|
|
3
3
|
import { deserializeAws_json1_1GetSavingsPlansUtilizationCommand, serializeAws_json1_1GetSavingsPlansUtilizationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, GetSavingsPlansUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, GetSavingsPlansUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new GetSavingsPlansUtilizationCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetSavingsPlansUtilizationCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetSavingsPlansUtilizationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var GetSavingsPlansUtilizationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetSavingsPlansUtilizationCommand = (function (_super) {
|
|
27
7
|
__extends(GetSavingsPlansUtilizationCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function GetSavingsPlansUtilizationCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
GetSavingsPlansUtilizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSavingsPlansUtilizationCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansUtilizationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetSavingsPlansUtilizationCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansUtilizationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC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AAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
|
|
@@ -3,42 +3,13 @@ import { GetSavingsPlansUtilizationDetailsRequest, GetSavingsPlansUtilizationDet
|
|
|
3
3
|
import { deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand, serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to <code>GetSavingsPlanUtilization</code>, but you have the option to make multiple calls to <code>GetSavingsPlanUtilizationDetails</code> by providing individual dates. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>
|
|
10
|
-
* <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
|
|
11
|
-
* </note>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
16
|
-
* // const { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
17
|
-
* const client = new CostExplorerClient(config);
|
|
18
|
-
* const command = new GetSavingsPlansUtilizationDetailsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetSavingsPlansUtilizationDetailsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetSavingsPlansUtilizationDetailsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var GetSavingsPlansUtilizationDetailsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetSavingsPlansUtilizationDetailsCommand = (function (_super) {
|
|
28
7
|
__extends(GetSavingsPlansUtilizationDetailsCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function GetSavingsPlansUtilizationDetailsCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
GetSavingsPlansUtilizationDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSavingsPlansUtilizationDetailsCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansUtilizationDetailsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetSavingsPlansUtilizationDetailsCommand.js","sourceRoot":"","sources":["../../../commands/GetSavingsPlansUtiliz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ACpD,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAEO,8DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAIH,+CAAC;AAAD,CAAC,AA5DD,CAA8D,QAAQ,GA4DrE"}
|
|
@@ -3,38 +3,13 @@ import { GetTagsRequest, GetTagsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1GetTagsCommand, serializeAws_json1_1GetTagsCommand } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, GetTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, GetTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new GetTagsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetTagsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetTagsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetTagsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetTagsCommand = (function (_super) {
|
|
24
7
|
__extends(GetTagsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetTagsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTagsCommand.js","sourceRoot":"","sources":["../../../commands/GetTagsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetTagsCommand.js","sourceRoot":"","sources":["../../../commands/GetTagsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAoC,kCAInC;IAIC,wBAAqB,KAA0B;QAA/C,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqB;;IAI/C,CAAC;IAKD,0CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,gBAAgB,CAAC;QACrC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,cAAc,CAAC,kBAAkB;YAC1D,wBAAwB,EAAE,eAAe,CAAC,kBAAkB;SAC7D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kCAAS,GAAjB,UAAkB,KAA0B,EAAE,OAAuB;QACnE,OAAO,kCAAkC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAEO,oCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAIH,qBAAC;AAAD,CAAC,AAtDD,CAAoC,QAAQ,GAsD3C"}
|
|
@@ -3,38 +3,13 @@ import { GetUsageForecastRequest, GetUsageForecastResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_json1_1GetUsageForecastCommand, serializeAws_json1_1GetUsageForecastCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, GetUsageForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, GetUsageForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new GetUsageForecastCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetUsageForecastCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetUsageForecastCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetUsageForecastCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetUsageForecastCommand = (function (_super) {
|
|
24
7
|
__extends(GetUsageForecastCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetUsageForecastCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetUsageForecastCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetUsageForecastCommand.js","sourceRoot":"","sources":["../../../commands/GetUsageForecastCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetUsageForecastCommand.js","sourceRoot":"","sources":["../../../commands/GetUsageForecastCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA6C,2CAI5C;IAIC,iCAAqB,KAAmC;QAAxD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;IAIxD,CAAC;IAKD,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,38 +3,13 @@ import { ListCostCategoryDefinitionsRequest, ListCostCategoryDefinitionsResponse
|
|
|
3
3
|
import { deserializeAws_json1_1ListCostCategoryDefinitionsCommand, serializeAws_json1_1ListCostCategoryDefinitionsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns the name, ARN, <code>NumberOfRules</code> and effective dates of all Cost Categories defined in the account. You have the option to use <code>EffectiveOn</code> to return a list of Cost Categories that were active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The request can have a <code>MaxResults</code> range up to 100.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, ListCostCategoryDefinitionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, ListCostCategoryDefinitionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new ListCostCategoryDefinitionsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link ListCostCategoryDefinitionsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link ListCostCategoryDefinitionsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var ListCostCategoryDefinitionsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListCostCategoryDefinitionsCommand = (function (_super) {
|
|
24
7
|
__extends(ListCostCategoryDefinitionsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function ListCostCategoryDefinitionsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
ListCostCategoryDefinitionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListCostCategoryDefinitionsCommand.js","sourceRoot":"","sources":["../../../commands/ListCostCategoryDefinitionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListCostCategoryDefinitionsCommand.js","sourceRoot":"","sources":["../../../commands/ListCostCategoryDefinitionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,38 +3,13 @@ import { ProvideAnomalyFeedbackRequest, ProvideAnomalyFeedbackResponse } from ".
|
|
|
3
3
|
import { deserializeAws_json1_1ProvideAnomalyFeedbackCommand, serializeAws_json1_1ProvideAnomalyFeedbackCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Modifies the feedback property of a given cost anomaly. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, ProvideAnomalyFeedbackCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, ProvideAnomalyFeedbackCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new ProvideAnomalyFeedbackCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link ProvideAnomalyFeedbackCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link ProvideAnomalyFeedbackCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var ProvideAnomalyFeedbackCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ProvideAnomalyFeedbackCommand = (function (_super) {
|
|
24
7
|
__extends(ProvideAnomalyFeedbackCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function ProvideAnomalyFeedbackCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
ProvideAnomalyFeedbackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|