@aws-sdk/client-cost-explorer 3.222.0 → 3.224.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.
Files changed (51) hide show
  1. package/README.md +4 -4
  2. package/dist-cjs/CostExplorer.js +30 -0
  3. package/dist-cjs/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +46 -0
  4. package/dist-cjs/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +11 -20
  7. package/dist-cjs/models/models_0.js +45 -4
  8. package/dist-cjs/protocols/Aws_json1_1.js +168 -2
  9. package/dist-es/CostExplorer.js +30 -0
  10. package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +42 -0
  11. package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +42 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/endpoint/ruleset.js +11 -20
  14. package/dist-es/models/models_0.js +34 -0
  15. package/dist-es/protocols/Aws_json1_1.js +163 -1
  16. package/dist-types/CostExplorer.d.ts +110 -53
  17. package/dist-types/CostExplorerClient.d.ts +14 -12
  18. package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -1
  19. package/dist-types/commands/GetCostAndUsageCommand.d.ts +2 -1
  20. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +11 -9
  21. package/dist-types/commands/GetCostCategoriesCommand.d.ts +2 -1
  22. package/dist-types/commands/GetCostForecastCommand.d.ts +2 -1
  23. package/dist-types/commands/GetDimensionValuesCommand.d.ts +2 -1
  24. package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -5
  25. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
  26. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +4 -3
  27. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -3
  28. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +8 -3
  29. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -1
  30. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +7 -3
  31. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +10 -3
  32. package/dist-types/commands/GetTagsCommand.d.ts +2 -1
  33. package/dist-types/commands/GetUsageForecastCommand.d.ts +2 -1
  34. package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +38 -0
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  36. package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +45 -0
  37. package/dist-types/commands/TagResourceCommand.d.ts +4 -1
  38. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +3 -1
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  41. package/dist-types/models/models_0.d.ts +589 -317
  42. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  43. package/dist-types/ts3.4/CostExplorer.d.ts +46 -0
  44. package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
  45. package/dist-types/ts3.4/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +43 -0
  46. package/dist-types/ts3.4/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +43 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  48. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  49. package/dist-types/ts3.4/models/models_0.d.ts +51 -0
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  51. package/package.json +28 -29
@@ -34,8 +34,10 @@ import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCom
34
34
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
35
35
  import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "./commands/ListCostAllocationTagsCommand";
36
36
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
37
+ import { ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
37
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
38
39
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
40
+ import { StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "./commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
39
41
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
40
42
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
43
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
@@ -43,8 +45,8 @@ import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommand
43
45
  import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "./commands/UpdateCostAllocationTagsStatusCommand";
44
46
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
45
47
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
46
- export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostAllocationTagsCommandInput | ListCostCategoryDefinitionsCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostAllocationTagsStatusCommandInput | UpdateCostCategoryDefinitionCommandInput;
47
- export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostAllocationTagsCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostAllocationTagsStatusCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
48
+ export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostAllocationTagsCommandInput | ListCostCategoryDefinitionsCommandInput | ListSavingsPlansPurchaseRecommendationGenerationCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | StartSavingsPlansPurchaseRecommendationGenerationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostAllocationTagsStatusCommandInput | UpdateCostCategoryDefinitionCommandInput;
49
+ export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostAllocationTagsCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListSavingsPlansPurchaseRecommendationGenerationCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | StartSavingsPlansPurchaseRecommendationGenerationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostAllocationTagsStatusCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
48
50
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
49
51
  /**
50
52
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -158,20 +160,20 @@ declare type CostExplorerClientResolvedConfigType = __SmithyResolvedConfiguratio
158
160
  export interface CostExplorerClientResolvedConfig extends CostExplorerClientResolvedConfigType {
159
161
  }
160
162
  /**
161
- * <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
162
- * can query for aggregated data such as total monthly costs or total daily usage. You can also
163
- * query for granular data. This might include the number of daily write operations for Amazon
164
- * DynamoDB database tables in your production environment. </p>
165
- * <p>Service Endpoint</p>
166
- * <p>The Cost Explorer API provides the following endpoint:</p>
167
- * <ul>
163
+ * <p>You can use the Cost Explorer API to programmatically query your cost and usage data.
164
+ * You can query for aggregated data such as total monthly costs or total daily usage. You can
165
+ * also query for granular data. This might include the number of daily write operations for
166
+ * Amazon DynamoDB database tables in your production environment. </p>
167
+ * <p>Service Endpoint</p>
168
+ * <p>The Cost Explorer API provides the following endpoint:</p>
169
+ * <ul>
168
170
  * <li>
169
- * <p>
171
+ * <p>
170
172
  * <code>https://ce.us-east-1.amazonaws.com</code>
171
173
  * </p>
172
- * </li>
174
+ * </li>
173
175
  * </ul>
174
- * <p>For information about the costs that are associated with the Cost Explorer API, see
176
+ * <p>For information about the costs that are associated with the Cost Explorer API, see
175
177
  * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
176
178
  * Management Pricing</a>.</p>
177
179
  */
@@ -8,7 +8,8 @@ export interface DeleteCostCategoryDefinitionCommandInput extends DeleteCostCate
8
8
  export interface DeleteCostCategoryDefinitionCommandOutput extends DeleteCostCategoryDefinitionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category.</p>
11
+ * <p>Deletes a Cost Category. Expenses from this month going forward will no longer be
12
+ * categorized with this Cost Category.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -13,7 +13,8 @@ export interface GetCostAndUsageCommandOutput extends GetCostAndUsageResponse, _
13
13
  * <code>BlendedCosts</code> or <code>UsageQuantity</code>. You can also filter and group your
14
14
  * data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific
15
15
  * time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p>
16
- * <p>For information about filter limitations, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html">Quotas and restrictions</a> in the <i>Billing and Cost Management User Guide</i>.</p>
16
+ * <p>For information about filter limitations, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html">Quotas and restrictions</a>
17
+ * in the <i>Billing and Cost Management User Guide</i>.</p>
17
18
  * @example
18
19
  * Use a bare-bones client and the command you need to make an API call.
19
20
  * ```javascript
@@ -8,15 +8,17 @@ export interface GetCostAndUsageWithResourcesCommandInput extends GetCostAndUsag
8
8
  export interface GetCostAndUsageWithResourcesCommandOutput extends GetCostAndUsageWithResourcesResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and
12
- * usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that
13
- * you want the request to return. You can also filter and group your data by various dimensions,
14
- * such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list
15
- * of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.</p>
16
- * <note>
17
- * <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings
18
- * page. For information about how to access the Settings page, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html">Controlling Access for Cost
19
- * Explorer</a> in the <i>Billing and Cost Management User Guide</i>.</p>
11
+ * <p>Retrieves cost and usage metrics with resources for your account. You can specify which
12
+ * cost and usage-related metric, such as <code>BlendedCosts</code> or
13
+ * <code>UsageQuantity</code>, that you want the request to return. You can also filter and group
14
+ * your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a
15
+ * specific time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the
16
+ * Amazon Elastic Compute Cloud – Compute service only.</p>
17
+ * <note>
18
+ * <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer
19
+ * Settings page. For information about how to access the Settings page, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html">Controlling
20
+ * Access for Cost Explorer</a> in the <i>Billing and Cost Management User
21
+ * Guide</i>.</p>
20
22
  * </note>
21
23
  * @example
22
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,7 +10,8 @@ export interface GetCostCategoriesCommandOutput extends GetCostCategoriesRespons
10
10
  /**
11
11
  * <p>Retrieves an array of Cost Category names and values incurred cost.</p>
12
12
  * <note>
13
- * <p>If some Cost Category names and values are not associated with any cost, they will not be returned by this API.</p>
13
+ * <p>If some Cost Category names and values are not associated with any cost, they will not
14
+ * be returned by this API.</p>
14
15
  * </note>
15
16
  * @example
16
17
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,8 @@ export interface GetCostForecastCommandInput extends GetCostForecastRequest {
8
8
  export interface GetCostForecastCommandOutput extends GetCostForecastResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. </p>
11
+ * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over
12
+ * the forecast time period that you select, based on your past costs. </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,7 +8,8 @@ export interface GetDimensionValuesCommandInput extends GetDimensionValuesReques
8
8
  export interface GetDimensionValuesCommandOutput extends GetDimensionValuesResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. </p>
11
+ * <p>Retrieves all available filter values for a specified filter over a period of time. You
12
+ * can search the dimension values for an arbitrary string. </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,13 +8,13 @@ export interface GetReservationCoverageCommandInput extends GetReservationCovera
8
8
  export interface GetReservationCoverageCommandOutput extends GetReservationCoverageResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves the reservation coverage for your account, which you can use to see how much of
12
- * your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or
13
- * Amazon Redshift usage is covered by a reservation. An organization's management account can
11
+ * <p>Retrieves the reservation coverage for your account, which you can use to see how much
12
+ * of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service,
13
+ * or Amazon Redshift usage is covered by a reservation. An organization's management account can
14
14
  * see the coverage of the associated member accounts. This supports dimensions, Cost Categories,
15
15
  * and nested expressions. For any time period, you can filter data about reservation usage by
16
16
  * the following dimensions:</p>
17
- * <ul>
17
+ * <ul>
18
18
  * <li>
19
19
  * <p>AZ</p>
20
20
  * </li>
@@ -52,7 +52,8 @@ export interface GetReservationCoverageCommandOutput extends GetReservationCover
52
52
  * <p>TENANCY</p>
53
53
  * </li>
54
54
  * </ul>
55
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation. </p>
55
+ * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code>
56
+ * operation. </p>
56
57
  * @example
57
58
  * Use a bare-bones client and the command you need to make an API call.
58
59
  * ```javascript
@@ -11,12 +11,12 @@ export interface GetReservationPurchaseRecommendationCommandOutput extends GetRe
11
11
  * <p>Gets recommendations for reservation purchases. These recommendations might help you to
12
12
  * reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to
13
13
  * On-Demand pricing.</p>
14
- * <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage
14
+ * <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage
15
15
  * during a specific time period and collecting your usage into categories that are eligible for
16
16
  * a reservation. After Amazon Web Services has these categories, it simulates every combination
17
17
  * of reservations in each category of usage to identify the best number of each type of Reserved
18
18
  * Instance (RI) to purchase to maximize your estimated savings. </p>
19
- * <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
19
+ * <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
20
20
  * tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy
21
21
  * size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services
22
22
  * recommends the smallest size instance in an instance family. This makes it easier to purchase
@@ -8,9 +8,10 @@ export interface GetReservationUtilizationCommandInput extends GetReservationUti
8
8
  export interface GetReservationUtilizationCommandOutput extends GetReservationUtilizationResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts.
12
- * You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible
13
- * dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
11
+ * <p>Retrieves the reservation utilization for your account. Management account in an
12
+ * organization have access to member accounts. You can filter data by dimensions in a time
13
+ * period. You can use <code>GetDimensionValues</code> to determine the possible dimension
14
+ * values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -8,9 +8,8 @@ export interface GetRightsizingRecommendationCommandInput extends GetRightsizing
8
8
  export interface GetRightsizingRecommendationCommandOutput extends GetRightsizingRecommendationResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates recommendations that
12
- * help you save cost
13
- * by identifying idle and underutilized Amazon EC2 instances.</p>
11
+ * <p>Creates recommendations that help you save cost by identifying idle and underutilized
12
+ * Amazon EC2 instances.</p>
14
13
  * <p>Recommendations are generated to either downsize or terminate instances, along with
15
14
  * providing savings detail and metrics. For more information about calculation and function, see
16
15
  * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing Your Cost with Rightsizing Recommendations</a> in the <i>Billing and Cost Management User Guide</i>.</p>
@@ -8,8 +8,12 @@ export interface GetSavingsPlansCoverageCommandInput extends GetSavingsPlansCove
8
8
  export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCoverageResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <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>
12
- * <ul>
11
+ * <p>Retrieves the Savings Plans covered for your account. This enables you to see how much of
12
+ * your cost is covered by a Savings Plan. An organization’s management account can see the
13
+ * coverage of the associated member accounts. This supports dimensions, Cost Categories, and
14
+ * nested expressions. For any time period, you can filter data for Savings Plans usage with the
15
+ * following dimensions:</p>
16
+ * <ul>
13
17
  * <li>
14
18
  * <p>
15
19
  * <code>LINKED_ACCOUNT</code>
@@ -31,7 +35,8 @@ export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCov
31
35
  * </p>
32
36
  * </li>
33
37
  * </ul>
34
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
38
+ * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code>
39
+ * operation.</p>
35
40
  * @example
36
41
  * Use a bare-bones client and the command you need to make an API call.
37
42
  * ```javascript
@@ -8,7 +8,10 @@ export interface GetSavingsPlansPurchaseRecommendationCommandInput extends GetSa
8
8
  export interface GetSavingsPlansPurchaseRecommendationCommandOutput extends GetSavingsPlansPurchaseRecommendationResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves your request parameters, Savings Plan Recommendations Summary and Details. </p>
11
+ * <p>Retrieves the Savings Plans recommendations for your account. First use
12
+ * <code>StartSavingsPlansPurchaseRecommendationGeneration</code> to generate a new set of
13
+ * recommendations, and then use <code>GetSavingsPlansPurchaseRecommendation</code> to retrieve
14
+ * them.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -8,9 +8,13 @@ export interface GetSavingsPlansUtilizationCommandInput extends GetSavingsPlansU
8
8
  export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlansUtilizationResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <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>
12
- * <note>
13
- * <p>You can't group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
11
+ * <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or
12
+ * monthly granularity. Management account in an organization have access to member accounts. You
13
+ * can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the
14
+ * possible dimension values.</p>
15
+ * <note>
16
+ * <p>You can't group by any dimension values for
17
+ * <code>GetSavingsPlansUtilization</code>.</p>
14
18
  * </note>
15
19
  * @example
16
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,10 +8,17 @@ export interface GetSavingsPlansUtilizationDetailsCommandInput extends GetSaving
8
8
  export interface GetSavingsPlansUtilizationDetailsCommandOutput extends GetSavingsPlansUtilizationDetailsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <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>
12
- * <note>
11
+ * <p>Retrieves attribute data along with aggregate utilization and savings data for a given
12
+ * time period. This doesn't support granular or grouped data (daily/monthly) in response. You
13
+ * can't retrieve data by dates in a single response similar to
14
+ * <code>GetSavingsPlanUtilization</code>, but you have the option to make multiple calls to
15
+ * <code>GetSavingsPlanUtilizationDetails</code> by providing individual dates. You can use
16
+ * <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible
17
+ * dimension values.</p>
18
+ * <note>
13
19
  * <p>
14
- * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
20
+ * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by
21
+ * <code>SavingsPlansArn</code>.</p>
15
22
  * </note>
16
23
  * @example
17
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,8 @@ export interface GetTagsCommandInput extends GetTagsRequest {
8
8
  export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
11
+ * <p>Queries for available tag keys and tag values for a specified period. You can search
12
+ * the tag values for an arbitrary string. </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,7 +8,8 @@ export interface GetUsageForecastCommandInput extends GetUsageForecastRequest {
8
8
  export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <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>
11
+ * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will use
12
+ * over the forecast time period that you select, based on your past usage. </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
5
+ import { ListSavingsPlansPurchaseRecommendationGenerationRequest, ListSavingsPlansPurchaseRecommendationGenerationResponse } from "../models/models_0";
6
+ export interface ListSavingsPlansPurchaseRecommendationGenerationCommandInput extends ListSavingsPlansPurchaseRecommendationGenerationRequest {
7
+ }
8
+ export interface ListSavingsPlansPurchaseRecommendationGenerationCommandOutput extends ListSavingsPlansPurchaseRecommendationGenerationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves a list of your historical recommendation generations within the past 30
12
+ * days.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
17
+ * // const { CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
18
+ * const client = new CostExplorerClient(config);
19
+ * const command = new ListSavingsPlansPurchaseRecommendationGenerationCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListSavingsPlansPurchaseRecommendationGenerationCommandInput} for command's `input` shape.
24
+ * @see {@link ListSavingsPlansPurchaseRecommendationGenerationCommandOutput} for command's `response` shape.
25
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput, CostExplorerClientResolvedConfig> {
29
+ readonly input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -8,8 +8,8 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
8
8
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).
12
- * </p>
11
+ * <p>Returns a list of resource tags associated with the resource specified by the Amazon
12
+ * Resource Name (ARN). </p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -0,0 +1,45 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
5
+ import { StartSavingsPlansPurchaseRecommendationGenerationRequest, StartSavingsPlansPurchaseRecommendationGenerationResponse } from "../models/models_0";
6
+ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandInput extends StartSavingsPlansPurchaseRecommendationGenerationRequest {
7
+ }
8
+ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput extends StartSavingsPlansPurchaseRecommendationGenerationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Requests a Savings Plans recommendation generation. This enables you to calculate a fresh
12
+ * set of Savings Plans recommendations that takes your latest usage data and current Savings
13
+ * Plans inventory into account. You can refresh Savings Plans recommendations up to three times
14
+ * daily for a consolidated billing family.</p>
15
+ * <note>
16
+ * <p>
17
+ * <code>StartSavingsPlansPurchaseRecommendationGeneration</code> has no request syntax
18
+ * because no input parameters are needed to support this operation.</p>
19
+ * </note>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { CostExplorerClient, StartSavingsPlansPurchaseRecommendationGenerationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
24
+ * // const { CostExplorerClient, StartSavingsPlansPurchaseRecommendationGenerationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
25
+ * const client = new CostExplorerClient(config);
26
+ * const command = new StartSavingsPlansPurchaseRecommendationGenerationCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link StartSavingsPlansPurchaseRecommendationGenerationCommandInput} for command's `input` shape.
31
+ * @see {@link StartSavingsPlansPurchaseRecommendationGenerationCommandOutput} for command's `response` shape.
32
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class StartSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput, CostExplorerClientResolvedConfig> {
36
+ readonly input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ constructor(input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput);
39
+ /**
40
+ * @internal
41
+ */
42
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
43
+ private serialize;
44
+ private deserialize;
45
+ }
@@ -9,7 +9,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
9
9
  }
10
10
  /**
11
11
  * <p>An API operation for adding one or more tags (key-value pairs) to a resource.</p>
12
- * <p>You can use the <code>TagResource</code> operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.</p>
12
+ * <p>You can use the <code>TagResource</code> operation with a resource that already has tags.
13
+ * If you specify a new tag key for the resource, this tag is appended to the list of tags
14
+ * associated with the resource. If you specify a tag key that is already associated with the
15
+ * resource, the new tag value you specify replaces the previous value for that tag.</p>
13
16
  * <p>Although the maximum number of array members is 200, user-tag maximum is 50. The remaining
14
17
  * are reserved for Amazon Web Services use.</p>
15
18
  * @example
@@ -8,7 +8,9 @@ export interface UpdateCostCategoryDefinitionCommandInput extends UpdateCostCate
8
8
  export interface UpdateCostCategoryDefinitionCommandOutput extends UpdateCostCategoryDefinitionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.</p>
11
+ * <p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to
12
+ * categorize the current month’s expenses and future expenses. This won’t change categorization
13
+ * for the previous months.</p>
12
14
  * @example
13
15
  * Use a bare-bones client and the command you need to make an API call.
14
16
  * ```javascript
@@ -25,8 +25,10 @@ export * from "./GetTagsCommand";
25
25
  export * from "./GetUsageForecastCommand";
26
26
  export * from "./ListCostAllocationTagsCommand";
27
27
  export * from "./ListCostCategoryDefinitionsCommand";
28
+ export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
28
29
  export * from "./ListTagsForResourceCommand";
29
30
  export * from "./ProvideAnomalyFeedbackCommand";
31
+ export * from "./StartSavingsPlansPurchaseRecommendationGenerationCommand";
30
32
  export * from "./TagResourceCommand";
31
33
  export * from "./UntagResourceCommand";
32
34
  export * from "./UpdateAnomalyMonitorCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;