diff --git a/clients/client-cost-explorer/README.md b/clients/client-cost-explorer/README.md
index c43451a99f5f..177f8c2ae449 100644
--- a/clients/client-cost-explorer/README.md
+++ b/clients/client-cost-explorer/README.md
@@ -305,6 +305,14 @@ GetApproximateUsageRecords
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetApproximateUsageRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetApproximateUsageRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetApproximateUsageRecordsCommandOutput/)
+
+ Retrieves a commitment purchase analysis result based on the
+ * The requested analysis can't be
+ * found. The requested data is unavailable. You made too many calls in a short period of time. Try again later. Base exception class for all service exceptions from CostExplorer service. Lists the commitment purchase analyses for your account based on the last 30
+ * days. The requested data is unavailable. The pagination token is invalid. Try again without a pagination token. You made too many calls in a short period of time. Try again later. Base exception class for all service exceptions from CostExplorer service. Specifies the parameters of a planned commitment purchase and starts the generation of the
+ * analysis. This enables you to estimate the cost, coverage, and utilization impact of your
+ * planned commitment purchases. You can request up to 20 analysis runs per
+ * day. The requested data is unavailable. A request to generate a recommendation is already in progress. You made too many calls in a short period of time. Try again later. You've reached the limit on the number of resources you can create, or exceeded the
+ * size of an individual resource. Base exception class for all service exceptions from CostExplorer service. Contains the hourly metrics for the given recommendation over the lookback period.
+ * The period of time that you want the usage and costs for. The remaining On-Demand cost estimated to not be covered by the recommended Savings
+ * Plan, over the length of the lookback period. The current amount of Savings Plans eligible usage that the Savings Plan
+ * covered. The estimated coverage amount based on the recommended Savings Plan. The estimated utilization for the recommended Savings Plan. Details about the Savings Plans purchase
+ * analysis. The currency code used for the
+ * analysis. The lookback period in hours that's used to generate the
+ * analysis. The average value of hourly coverage over the lookback
+ * period. The average value of hourly On-Demand spend over the lookback
+ * period. The highest value of hourly On-Demand spend over the lookback
+ * period. The lowest value of hourly On-Demand spend over the lookback
+ * period. The current total On-Demand spend over the lookback
+ * period. The existing hourly commitment for the Savings Plan
+ * type. The recommended or custom hourly
+ * commitment. The estimated coverage of the Savings
+ * Plan. The estimated utilization of the Savings
+ * Plan. The estimated monthly savings amount based on the Savings
+ * Plan. The remaining On-Demand cost estimated to not be covered by the commitment, over the
+ * length of the lookback period. The estimated On-Demand cost you expect with no additional commitment, based on your
+ * usage of the selected time period and the Savings Plan you
+ * own. The estimated return on investment that's based on the purchase commitment and
+ * estimated savings. This is calculated as
+ * estimatedSavingsAmount/estimatedSPCost*100. The estimated savings amount that's based on the purchase commitment over the length
+ * of the lookback period. The estimated savings percentage relative to the total cost over the cost calculation
+ * lookback period. The estimated cost of the purchase commitment over the length of the lookback
+ * period. The date and time of the last hour that went into the
+ * analysis. The upfront cost of the Savings Plan, based on the selected payment
+ * option. Additional metadata that might be applicable to the
+ * commitment. The related hourly cost, coverage, and utilization metrics over the lookback
+ * period. Details about the analysis. Details about the Savings Plans purchase
+ * analysis. The requested analysis can't be
+ * found. The time period of the request. The beginning of the time period. The start date is inclusive. For example, if
+ * The end of the time period. The end date is exclusive. For example, if
+ * The Savings Plans commitment
+ * details. The payment option for the Savings Plans
+ * commitment. The Savings Plans type. The Region associated with the Savings Plans
+ * commitment. The instance family of the Savings Plans
+ * commitment. The term that you want the Savings Plans commitment
+ * for. The Savings Plans commitment. The unique ID that's used to distinguish commitments from one
+ * another. The configuration for the Savings Plans purchase
+ * analysis. The account scope that you want your analysis
+ * for. The account that the analysis is
+ * for. The type of analysis. Savings Plans to include in the
+ * analysis. Savings Plans to exclude from the
+ * analysis. The time period associated with the
+ * analysis. The configuration for the commitment purchase
+ * analysis. The configuration for the Savings Plans purchase
+ * analysis. A summary of the analysis. The estimated time for when the analysis will
+ * complete. The completion time of the analysis. The start time of the analysis. The status of the analysis. The error code used for the
+ * analysis. The analysis ID that's associated with the commitment
+ * purchase. The analysis configuration for the commitment purchase
+ * analysis. Quantifies the anomaly. The higher score means that it's more anomalous. The combination of Amazon Web Servicesservice, linked account, linked account name,
+ * The combination of Amazon Web Services service, linked account, linked account name,
* Region, and usage type where a cost anomaly is observed. The linked account name will
* only be available when the account name can be identified. The Amazon Web Servicesservice name that's associated with the cost anomaly. The Amazon Web Services service name that's associated with the cost anomaly. The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service
+ * The dimension for the anomaly (for example, an Amazon Web Services service in a service
* monitor). The time period of the request. The beginning of the time period. The start date is inclusive. For example, if
- * The service metadata for the service or services in the response. The end of the time period. The end date is exclusive. For example, if
- * The total number of usage records for all services in the services list. The lookback period that's used for the estimation. The service metadata for the service or services in the response. The analysis ID that's associated with the commitment purchase
+ * analysis. The total number of usage records for all services in the services list. The estimated time for when the analysis will
+ * complete. The lookback period that's used for the estimation. The completion time of the analysis. The start time of the analysis. The analysis ID that's associated with the commitment purchase
+ * analysis. The status of the analysis. The error code used for the analysis. Details about the analysis. The configuration for the commitment purchase
+ * analysis. Information about a recommendation, such as the timestamp for when Amazon Web Services
* made a specific recommendation. Contains the hourly metrics for the given recommendation over the lookback period.
- * The period of time that you want the usage and costs for. The remaining On-Demand cost estimated to not be covered by the recommended Savings
- * Plan, over the length of the lookback period. The current amount of Savings Plans eligible usage that the Savings Plan
- * covered. The estimated coverage amount based on the recommended Savings Plan. The estimated utilization for the recommended Savings Plan. The details and metrics for the given recommendation. The status of the analysis. The token to retrieve the next set of
+ * results. The number of analyses that you want returned in a single response
+ * object. The analysis IDs associated with the commitment purchase
+ * analyses. The list of analyses. The token to retrieve the next set of
+ * results. A request to generate a recommendation is already in progress. The configuration for the commitment purchase
+ * analysis. The analysis ID that's associated with the commitment purchase
+ * analysis. The start time of the analysis. The estimated time for when the analysis will
+ * complete.
* A request to backfill is already in progress. Once the previous request is complete, you can create another request.
@@ -5084,28 +5674,6 @@ export interface StartCostAllocationTagBackfillResponse {
BackfillRequest?: CostAllocationTagBackfillRequest | undefined;
}
-/**
- * A request to generate a recommendation is already in progress.
+GetCommitmentPurchaseAnalysis
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCommitmentPurchaseAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCommitmentPurchaseAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCommitmentPurchaseAnalysisCommandOutput/)
+
@@ -433,6 +441,14 @@ GetUsageForecast
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetUsageForecastCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetUsageForecastCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetUsageForecastCommandOutput/)
+
+ListCommitmentPurchaseAnalyses
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ListCommitmentPurchaseAnalysesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCommitmentPurchaseAnalysesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCommitmentPurchaseAnalysesCommandOutput/)
+
@@ -481,6 +497,14 @@ ProvideAnomalyFeedback
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ProvideAnomalyFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ProvideAnomalyFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ProvideAnomalyFeedbackCommandOutput/)
+
+StartCommitmentPurchaseAnalysis
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/StartCommitmentPurchaseAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/StartCommitmentPurchaseAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/StartCommitmentPurchaseAnalysisCommandOutput/)
+
diff --git a/clients/client-cost-explorer/src/CostExplorer.ts b/clients/client-cost-explorer/src/CostExplorer.ts
index fc6d94835afc..f9fcf96bde06 100644
--- a/clients/client-cost-explorer/src/CostExplorer.ts
+++ b/clients/client-cost-explorer/src/CostExplorer.ts
@@ -57,6 +57,11 @@ import {
GetApproximateUsageRecordsCommandInput,
GetApproximateUsageRecordsCommandOutput,
} from "./commands/GetApproximateUsageRecordsCommand";
+import {
+ GetCommitmentPurchaseAnalysisCommand,
+ GetCommitmentPurchaseAnalysisCommandInput,
+ GetCommitmentPurchaseAnalysisCommandOutput,
+} from "./commands/GetCommitmentPurchaseAnalysisCommand";
import {
GetCostAndUsageCommand,
GetCostAndUsageCommandInput,
@@ -133,6 +138,11 @@ import {
GetUsageForecastCommandInput,
GetUsageForecastCommandOutput,
} from "./commands/GetUsageForecastCommand";
+import {
+ ListCommitmentPurchaseAnalysesCommand,
+ ListCommitmentPurchaseAnalysesCommandInput,
+ ListCommitmentPurchaseAnalysesCommandOutput,
+} from "./commands/ListCommitmentPurchaseAnalysesCommand";
import {
ListCostAllocationTagBackfillHistoryCommand,
ListCostAllocationTagBackfillHistoryCommandInput,
@@ -163,6 +173,11 @@ import {
ProvideAnomalyFeedbackCommandInput,
ProvideAnomalyFeedbackCommandOutput,
} from "./commands/ProvideAnomalyFeedbackCommand";
+import {
+ StartCommitmentPurchaseAnalysisCommand,
+ StartCommitmentPurchaseAnalysisCommandInput,
+ StartCommitmentPurchaseAnalysisCommandOutput,
+} from "./commands/StartCommitmentPurchaseAnalysisCommand";
import {
StartCostAllocationTagBackfillCommand,
StartCostAllocationTagBackfillCommandInput,
@@ -213,6 +228,7 @@ const commands = {
GetAnomalyMonitorsCommand,
GetAnomalySubscriptionsCommand,
GetApproximateUsageRecordsCommand,
+ GetCommitmentPurchaseAnalysisCommand,
GetCostAndUsageCommand,
GetCostAndUsageWithResourcesCommand,
GetCostCategoriesCommand,
@@ -229,12 +245,14 @@ const commands = {
GetSavingsPlansUtilizationDetailsCommand,
GetTagsCommand,
GetUsageForecastCommand,
+ ListCommitmentPurchaseAnalysesCommand,
ListCostAllocationTagBackfillHistoryCommand,
ListCostAllocationTagsCommand,
ListCostCategoryDefinitionsCommand,
ListSavingsPlansPurchaseRecommendationGenerationCommand,
ListTagsForResourceCommand,
ProvideAnomalyFeedbackCommand,
+ StartCommitmentPurchaseAnalysisCommand,
StartCostAllocationTagBackfillCommand,
StartSavingsPlansPurchaseRecommendationGenerationCommand,
TagResourceCommand,
@@ -429,6 +447,23 @@ export interface CostExplorer {
cb: (err: any, data?: GetApproximateUsageRecordsCommandOutput) => void
): void;
+ /**
+ * @see {@link GetCommitmentPurchaseAnalysisCommand}
+ */
+ getCommitmentPurchaseAnalysis(
+ args: GetCommitmentPurchaseAnalysisCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
AnalysisId
.start
is 2017-01-01
, Amazon Web Services retrieves cost and
+ * usage data starting at 2017-01-01
up to the end date. The start date must
+ * be equal to or no later than the current date to avoid a validation error.end
is 2017-05-01
, Amazon Web Services retrieves cost and
+ * usage data from the start date up to, but not including, 2017-05-01
.start
is 2017-01-01
, Amazon Web Services retrieves cost and
- * usage data starting at 2017-01-01
up to the end date. The start date must
- * be equal to or no later than the current date to avoid a validation error.end
is 2017-05-01
, Amazon Web Services retrieves cost and
- * usage data from the start date up to, but not including, 2017-05-01
.LINKED_ACCOUNT
,
*
- * SERVICE_CODE
, RECORD_TYPE
, LINKED_ACCOUNT_NAME
, REGION
, and USAGE_TYPE
.
SERVICE_CODE
, RECORD_TYPE
, LINKED_ACCOUNT_NAME
, REGION
, USAGE_TYPE
, and BILLING_ENTITY
.
*
* RECORD_TYPE
is a dimension used for Cost Explorer APIs, and is also
* supported for Cost Category expressions. This dimension uses different terms, depending
@@ -6490,9 +7058,9 @@ export interface GetDimensionValuesRequest {
*
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible * values are the following:
- *- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices.
+ *- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services services.
*- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting - * reseller for Amazon Web Servicesservices in India.
+ * reseller for Amazon Web Services services in India. *- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on * Amazon Web Services by third-party software providers.
*SERVICE
+ *If not specified, the SERVICE
filter defaults to Amazon Elastic
+ * Compute Cloud - Compute. Supported values for SERVICE
are Amazon Elastic
+ * Compute Cloud - Compute, Amazon Relational Database Service, Amazon ElastiCache, Amazon
+ * Redshift, and Amazon Elasticsearch Service. The value for the SERVICE
+ * filter should not exceed "1".
SCOPE
diff --git a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts index 1e72d047d8b9..11000cbed7fe 100644 --- a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts +++ b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts @@ -57,6 +57,10 @@ import { GetApproximateUsageRecordsCommandInput, GetApproximateUsageRecordsCommandOutput, } from "../commands/GetApproximateUsageRecordsCommand"; +import { + GetCommitmentPurchaseAnalysisCommandInput, + GetCommitmentPurchaseAnalysisCommandOutput, +} from "../commands/GetCommitmentPurchaseAnalysisCommand"; import { GetCostAndUsageCommandInput, GetCostAndUsageCommandOutput } from "../commands/GetCostAndUsageCommand"; import { GetCostAndUsageWithResourcesCommandInput, @@ -103,6 +107,10 @@ import { } from "../commands/GetSavingsPlansUtilizationDetailsCommand"; import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand"; import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand"; +import { + ListCommitmentPurchaseAnalysesCommandInput, + ListCommitmentPurchaseAnalysesCommandOutput, +} from "../commands/ListCommitmentPurchaseAnalysesCommand"; import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput, @@ -127,6 +135,10 @@ import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput, } from "../commands/ProvideAnomalyFeedbackCommand"; +import { + StartCommitmentPurchaseAnalysisCommandInput, + StartCommitmentPurchaseAnalysisCommandOutput, +} from "../commands/StartCommitmentPurchaseAnalysisCommand"; import { StartCostAllocationTagBackfillCommandInput, StartCostAllocationTagBackfillCommandOutput, @@ -155,6 +167,8 @@ import { } from "../commands/UpdateCostCategoryDefinitionCommand"; import { CostExplorerServiceException as __BaseException } from "../models/CostExplorerServiceException"; import { + AnalysisNotFoundException, + AnalysisSummary, Anomaly, AnomalyDateInterval, AnomalyMonitor, @@ -162,6 +176,7 @@ import { AnomalySubscription, BackfillLimitExceededException, BillExpirationException, + CommitmentPurchaseAnalysisConfiguration, CostAllocationTagStatusEntry, CostCategory, CostCategoryInheritedValueDimension, @@ -190,6 +205,8 @@ import { GetAnomalySubscriptionsRequest, GetAnomalySubscriptionsResponse, GetApproximateUsageRecordsRequest, + GetCommitmentPurchaseAnalysisRequest, + GetCommitmentPurchaseAnalysisResponse, GetCostAndUsageRequest, GetCostAndUsageWithResourcesRequest, GetCostCategoriesRequest, @@ -210,6 +227,8 @@ import { Impact, InvalidNextTokenException, LimitExceededException, + ListCommitmentPurchaseAnalysesRequest, + ListCommitmentPurchaseAnalysesResponse, ListCostAllocationTagBackfillHistoryRequest, ListCostAllocationTagsRequest, ListCostCategoryDefinitionsRequest, @@ -221,10 +240,13 @@ import { ResourceNotFoundException, ResourceTag, RightsizingRecommendationConfiguration, + SavingsPlans, SavingsPlansDataType, + SavingsPlansPurchaseAnalysisConfiguration, ServiceQuotaExceededException, ServiceSpecification, SortDefinition, + StartCommitmentPurchaseAnalysisRequest, StartCostAllocationTagBackfillRequest, StartSavingsPlansPurchaseRecommendationGenerationRequest, Subscriber, @@ -385,6 +407,19 @@ export const se_GetApproximateUsageRecordsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1GetCommitmentPurchaseAnalysisCommand + */ +export const se_GetCommitmentPurchaseAnalysisCommand = async ( + input: GetCommitmentPurchaseAnalysisCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("GetCommitmentPurchaseAnalysis"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1GetCostAndUsageCommand */ @@ -593,6 +628,19 @@ export const se_GetUsageForecastCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1ListCommitmentPurchaseAnalysesCommand + */ +export const se_ListCommitmentPurchaseAnalysesCommand = async ( + input: ListCommitmentPurchaseAnalysesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("ListCommitmentPurchaseAnalyses"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1ListCostAllocationTagBackfillHistoryCommand */ @@ -671,6 +719,19 @@ export const se_ProvideAnomalyFeedbackCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1StartCommitmentPurchaseAnalysisCommand + */ +export const se_StartCommitmentPurchaseAnalysisCommand = async ( + input: StartCommitmentPurchaseAnalysisCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("StartCommitmentPurchaseAnalysis"); + let body: any; + body = JSON.stringify(se_StartCommitmentPurchaseAnalysisRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1StartCostAllocationTagBackfillCommand */ @@ -995,6 +1056,26 @@ export const de_GetApproximateUsageRecordsCommand = async ( return response; }; +/** + * deserializeAws_json1_1GetCommitmentPurchaseAnalysisCommand + */ +export const de_GetCommitmentPurchaseAnalysisCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseDetails about the Savings Plans purchase\n analysis.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Details about the analysis.
" + } + }, + "com.amazonaws.costexplorer#AnalysisId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[\\S\\s]{8}-[\\S\\s]{4}-[\\S\\s]{4}-[\\S\\s]{4}-[\\S\\s]{12}$" + } + }, + "com.amazonaws.costexplorer#AnalysisIds": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#AnalysisId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 600 + } + } + }, + "com.amazonaws.costexplorer#AnalysisNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.costexplorer#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "The requested analysis can't be\n found.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.costexplorer#AnalysisStatus": { + "type": "enum", + "members": { + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "PROCESSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROCESSING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } + } + }, + "com.amazonaws.costexplorer#AnalysisSummary": { + "type": "structure", + "members": { + "EstimatedCompletionTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The estimated time for when the analysis will\n complete.
" + } + }, + "AnalysisCompletionTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The completion time of the analysis.
" + } + }, + "AnalysisStartedTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The start time of the analysis.
" + } + }, + "AnalysisStatus": { + "target": "com.amazonaws.costexplorer#AnalysisStatus", + "traits": { + "smithy.api#documentation": "The status of the analysis.
" + } + }, + "ErrorCode": { + "target": "com.amazonaws.costexplorer#ErrorCode", + "traits": { + "smithy.api#documentation": "The error code used for the\n analysis.
" + } + }, + "AnalysisId": { + "target": "com.amazonaws.costexplorer#AnalysisId", + "traits": { + "smithy.api#documentation": "The analysis ID that's associated with the commitment\n purchase.
" + } + }, + "CommitmentPurchaseAnalysisConfiguration": { + "target": "com.amazonaws.costexplorer#CommitmentPurchaseAnalysisConfiguration", + "traits": { + "smithy.api#documentation": "The analysis configuration for the commitment purchase\n analysis.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A summary of the analysis.
" + } + }, + "com.amazonaws.costexplorer#AnalysisSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#AnalysisSummary" + } + }, + "com.amazonaws.costexplorer#AnalysisType": { + "type": "enum", + "members": { + "MAX_SAVINGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_SAVINGS" + } + }, + "CUSTOM_COMMITMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM_COMMITMENT" + } + } + } + }, "com.amazonaws.costexplorer#Anomalies": { "type": "list", "member": { @@ -1020,7 +1184,7 @@ "DimensionValue": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service\n monitor).
" + "smithy.api#documentation": "The dimension for the anomaly (for example, an Amazon Web Services service in a service\n monitor).
" } }, "RootCauses": { @@ -1365,6 +1529,20 @@ "smithy.api#error": "client" } }, + "com.amazonaws.costexplorer#CommitmentPurchaseAnalysisConfiguration": { + "type": "structure", + "members": { + "SavingsPlansPurchaseAnalysisConfiguration": { + "target": "com.amazonaws.costexplorer#SavingsPlansPurchaseAnalysisConfiguration", + "traits": { + "smithy.api#documentation": "The configuration for the Savings Plans purchase\n analysis.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration for the commitment purchase\n analysis.
" + } + }, "com.amazonaws.costexplorer#Context": { "type": "enum", "members": { @@ -1820,7 +1998,7 @@ "Rule": { "target": "com.amazonaws.costexplorer#Expression", "traits": { - "smithy.api#documentation": "An Expression\n object used to categorize costs. This supports dimensions, tags, and nested expressions.\n Currently the only dimensions supported are LINKED_ACCOUNT
,\n\n SERVICE_CODE
, RECORD_TYPE
, LINKED_ACCOUNT_NAME
, REGION
, and USAGE_TYPE
.
\n RECORD_TYPE
is a dimension used for Cost Explorer APIs, and is also\n supported for Cost Category expressions. This dimension uses different terms, depending\n on whether you're using the console or API/JSON editor. For a detailed comparison, see\n Term Comparisons in the Billing and Cost Management User\n Guide.
An Expression\n object used to categorize costs. This supports dimensions, tags, and nested expressions.\n Currently the only dimensions supported are LINKED_ACCOUNT
,\n\n SERVICE_CODE
, RECORD_TYPE
, LINKED_ACCOUNT_NAME
, REGION
, USAGE_TYPE
, and BILLING_ENTITY
.
\n RECORD_TYPE
is a dimension used for Cost Explorer APIs, and is also\n supported for Cost Category expressions. This dimension uses different terms, depending\n on whether you're using the console or API/JSON editor. For a detailed comparison, see\n Term Comparisons in the Billing and Cost Management User\n Guide.
Retrieves a commitment purchase analysis result based on the\n AnalysisId
.
The analysis ID that's associated with the commitment purchase\n analysis.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.costexplorer#GetCommitmentPurchaseAnalysisResponse": { + "type": "structure", + "members": { + "EstimatedCompletionTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The estimated time for when the analysis will\n complete.
", + "smithy.api#required": {} + } + }, + "AnalysisCompletionTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The completion time of the analysis.
" + } + }, + "AnalysisStartedTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The start time of the analysis.
", + "smithy.api#required": {} + } + }, + "AnalysisId": { + "target": "com.amazonaws.costexplorer#AnalysisId", + "traits": { + "smithy.api#documentation": "The analysis ID that's associated with the commitment purchase\n analysis.
", + "smithy.api#required": {} + } + }, + "AnalysisStatus": { + "target": "com.amazonaws.costexplorer#AnalysisStatus", + "traits": { + "smithy.api#documentation": "The status of the analysis.
", + "smithy.api#required": {} + } + }, + "ErrorCode": { + "target": "com.amazonaws.costexplorer#ErrorCode", + "traits": { + "smithy.api#documentation": "The error code used for the analysis.
" + } + }, + "AnalysisDetails": { + "target": "com.amazonaws.costexplorer#AnalysisDetails", + "traits": { + "smithy.api#documentation": "Details about the analysis.
" + } + }, + "CommitmentPurchaseAnalysisConfiguration": { + "target": "com.amazonaws.costexplorer#CommitmentPurchaseAnalysisConfiguration", + "traits": { + "smithy.api#documentation": "The configuration for the commitment purchase\n analysis.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.costexplorer#GetCostAndUsage": { "type": "operation", "input": { @@ -4418,7 +4730,7 @@ "Context": { "target": "com.amazonaws.costexplorer#Context", "traits": { - "smithy.api#documentation": "The context for the call to GetDimensionValues
. This can be\n RESERVATIONS
or COST_AND_USAGE
. The default value is\n COST_AND_USAGE
. If the context is set to RESERVATIONS
, the\n resulting dimension values can be used in the GetReservationUtilization
\n operation. If the context is set to COST_AND_USAGE
, the resulting dimension\n values can be used in the GetCostAndUsage
operation.
If you set the context to COST_AND_USAGE
, you can use the following\n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a
.
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible\n values are the following:
\n- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices.
\n- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting\n reseller for Amazon Web Servicesservices in India.
\n- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on\n Amazon Web Services by third-party software providers.
\nCACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or\n Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.\n Valid values are SingleAZ
and MultiAZ
.
DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are\n Aurora or MySQL.
\nINSTANCE_TYPE - The type of Amazon EC2 instance. An example is\n m4.xlarge
.
INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use\n cases. Examples are Compute Optimized
(for example, C4
,\n C5
, C6g
, and C7g
), Memory\n Optimization
(for example, R4
, R5n
, R5b
,\n and R6g
).
INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services\n invoice.
\nLEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services\n services, such as Amazon Web Services.
\nLINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nOPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
\nOPERATION - The action performed. Examples include RunInstance
and\n CreateBucket
.
PLATFORM - The Amazon EC2 operating system. Examples are Windows or\n Linux.
\nPURCHASE_TYPE - The reservation type of the purchase that this usage is related to.\n Examples include On-Demand Instances and Standard Reserved Instances.
\nRESERVATION_ID - The unique identifier for an Amazon Web Services Reservation\n Instance.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nSAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
\nSERVICE - The Amazon Web Services service such as Amazon DynamoDB.
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nUSAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response\n for the GetDimensionValues
operation includes a unit attribute. Examples\n include GB and Hrs.
USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2:\n CloudWatch – Alarms. The response for this operation includes a unit attribute.
\nREGION - The Amazon Web Services Region.
\nRECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees,\n usage costs, tax refunds, and credits.
\nRESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in\n feature only available for last 14 days for EC2-Compute Service.
\nIf you set the context to RESERVATIONS
, you can use the following\n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a
.
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or\n Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.\n Valid values are SingleAZ
and MultiAZ
.
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is\n m4.xlarge
.
LINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nPLATFORM - The Amazon EC2 operating system. Examples are Windows or\n Linux.
\nREGION - The Amazon Web Services Region.
\nSCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are\n regional or a single Availability Zone.
\nTAG (Coverage only) - The tags that are associated with a Reserved Instance\n (RI).
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nIf you set the context to SAVINGS_PLANS
, you can use the following\n dimensions for searching:
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
\nPAYMENT_OPTION - The payment option for the given Savings Plans (for example, All\n Upfront)
\nREGION - The Amazon Web Services Region.
\nINSTANCE_TYPE_FAMILY - The family of instances (For example,\n m5
)
LINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nThe context for the call to GetDimensionValues
. This can be\n RESERVATIONS
or COST_AND_USAGE
. The default value is\n COST_AND_USAGE
. If the context is set to RESERVATIONS
, the\n resulting dimension values can be used in the GetReservationUtilization
\n operation. If the context is set to COST_AND_USAGE
, the resulting dimension\n values can be used in the GetCostAndUsage
operation.
If you set the context to COST_AND_USAGE
, you can use the following\n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a
.
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible\n values are the following:
\n- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services services.
\n- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting\n reseller for Amazon Web Services services in India.
\n- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on\n Amazon Web Services by third-party software providers.
\nCACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or\n Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.\n Valid values are SingleAZ
and MultiAZ
.
DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are\n Aurora or MySQL.
\nINSTANCE_TYPE - The type of Amazon EC2 instance. An example is\n m4.xlarge
.
INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use\n cases. Examples are Compute Optimized
(for example, C4
,\n C5
, C6g
, and C7g
), Memory\n Optimization
(for example, R4
, R5n
, R5b
,\n and R6g
).
INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services\n invoice.
\nLEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services\n services, such as Amazon Web Services.
\nLINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nOPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
\nOPERATION - The action performed. Examples include RunInstance
and\n CreateBucket
.
PLATFORM - The Amazon EC2 operating system. Examples are Windows or\n Linux.
\nPURCHASE_TYPE - The reservation type of the purchase that this usage is related to.\n Examples include On-Demand Instances and Standard Reserved Instances.
\nRESERVATION_ID - The unique identifier for an Amazon Web Services Reservation\n Instance.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nSAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
\nSERVICE - The Amazon Web Services service such as Amazon DynamoDB.
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nUSAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response\n for the GetDimensionValues
operation includes a unit attribute. Examples\n include GB and Hrs.
USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2:\n CloudWatch – Alarms. The response for this operation includes a unit attribute.
\nREGION - The Amazon Web Services Region.
\nRECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees,\n usage costs, tax refunds, and credits.
\nRESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in\n feature only available for last 14 days for EC2-Compute Service.
\nIf you set the context to RESERVATIONS
, you can use the following\n dimensions for searching:
AZ - The Availability Zone. An example is us-east-1a
.
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or\n Linux.
\nDEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.\n Valid values are SingleAZ
and MultiAZ
.
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is\n m4.xlarge
.
LINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nPLATFORM - The Amazon EC2 operating system. Examples are Windows or\n Linux.
\nREGION - The Amazon Web Services Region.
\nSCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are\n regional or a single Availability Zone.
\nTAG (Coverage only) - The tags that are associated with a Reserved Instance\n (RI).
\nTENANCY - The tenancy of a resource. Examples are shared or dedicated.
\nIf you set the context to SAVINGS_PLANS
, you can use the following\n dimensions for searching:
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
\nPAYMENT_OPTION - The payment option for the given Savings Plans (for example, All\n Upfront)
\nREGION - The Amazon Web Services Region.
\nINSTANCE_TYPE_FAMILY - The family of instances (For example,\n m5
)
LINKED_ACCOUNT - The description in the attribute map that includes the full name\n of the member account. The value field contains the Amazon Web Services ID of the member\n account.
\nSAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
\nFilters utilization data by dimensions. You can filter by the following\n dimensions:
\nAZ
\nCACHE_ENGINE
\nDEPLOYMENT_OPTION
\nINSTANCE_TYPE
\nLINKED_ACCOUNT
\nOPERATING_SYSTEM
\nPLATFORM
\nREGION
\nSERVICE
\nSCOPE
\nTENANCY
\n\n GetReservationUtilization
uses the same Expression object\n as the other operations, but only AND
is supported among each dimension, and\n nesting is supported up to only one level deep. If there are multiple values for a dimension,\n they are OR'd together.
Filters utilization data by dimensions. You can filter by the following\n dimensions:
\nAZ
\nCACHE_ENGINE
\nDEPLOYMENT_OPTION
\nINSTANCE_TYPE
\nLINKED_ACCOUNT
\nOPERATING_SYSTEM
\nPLATFORM
\nREGION
\nSERVICE
\nIf not specified, the SERVICE
filter defaults to Amazon Elastic\n Compute Cloud - Compute. Supported values for SERVICE
are Amazon Elastic\n Compute Cloud - Compute, Amazon Relational Database Service, Amazon ElastiCache, Amazon\n Redshift, and Amazon Elasticsearch Service. The value for the SERVICE
\n filter should not exceed \"1\".
SCOPE
\nTENANCY
\n\n GetReservationUtilization
uses the same Expression object\n as the other operations, but only AND
is supported among each dimension, and\n nesting is supported up to only one level deep. If there are multiple values for a dimension,\n they are OR'd together.
\n Retrieves a list of your historical cost allocation tag backfill requests.\n
", - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } + "smithy.api#documentation": "Lists the commitment purchase analyses for your account based on the last 30\n days.
" } }, - "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryRequest": { + "com.amazonaws.costexplorer#ListCommitmentPurchaseAnalysesRequest": { "type": "structure", "members": { - "NextToken": { + "AnalysisStatus": { + "target": "com.amazonaws.costexplorer#AnalysisStatus", + "traits": { + "smithy.api#documentation": "The status of the analysis.
" + } + }, + "NextPageToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n
" + "smithy.api#documentation": "The token to retrieve the next set of\n results.
" } }, - "MaxResults": { - "target": "com.amazonaws.costexplorer#CostAllocationTagsMaxResults", + "PageSize": { + "target": "com.amazonaws.costexplorer#NonNegativeInteger", "traits": { - "smithy.api#documentation": "\n The maximum number of objects that are returned for this request.\n
" + "smithy.api#default": 0, + "smithy.api#documentation": "The number of analyses that you want returned in a single response\n object.
" + } + }, + "AnalysisIds": { + "target": "com.amazonaws.costexplorer#AnalysisIds", + "traits": { + "smithy.api#documentation": "The analysis IDs associated with the commitment purchase\n analyses.
" } } }, @@ -5817,19 +6140,84 @@ "smithy.api#input": {} } }, - "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryResponse": { + "com.amazonaws.costexplorer#ListCommitmentPurchaseAnalysesResponse": { "type": "structure", "members": { - "BackfillRequests": { - "target": "com.amazonaws.costexplorer#CostAllocationTagBackfillRequestList", + "AnalysisSummaryList": { + "target": "com.amazonaws.costexplorer#AnalysisSummaryList", "traits": { - "smithy.api#documentation": "\n The list of historical cost allocation tag backfill requests.\n
" + "smithy.api#documentation": "The list of analyses.
" } }, - "NextToken": { + "NextPageToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n
" + "smithy.api#documentation": "The token to retrieve the next set of\n results.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistory": { + "type": "operation", + "input": { + "target": "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryRequest" + }, + "output": { + "target": "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryResponse" + }, + "errors": [ + { + "target": "com.amazonaws.costexplorer#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.costexplorer#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "\n Retrieves a list of your historical cost allocation tag backfill requests.\n
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryRequest": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.costexplorer#NextPageToken", + "traits": { + "smithy.api#documentation": "\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n
" + } + }, + "MaxResults": { + "target": "com.amazonaws.costexplorer#CostAllocationTagsMaxResults", + "traits": { + "smithy.api#documentation": "\n The maximum number of objects that are returned for this request.\n
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.costexplorer#ListCostAllocationTagBackfillHistoryResponse": { + "type": "structure", + "members": { + "BackfillRequests": { + "target": "com.amazonaws.costexplorer#CostAllocationTagBackfillRequestList", + "traits": { + "smithy.api#documentation": "\n The list of historical cost allocation tag backfill requests.\n
" + } + }, + "NextToken": { + "target": "com.amazonaws.costexplorer#NextPageToken", + "traits": { + "smithy.api#documentation": "\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n
" } } }, @@ -7841,7 +8229,7 @@ "Service": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "The Amazon Web Servicesservice name that's associated with the cost anomaly.
" + "smithy.api#documentation": "The Amazon Web Services service name that's associated with the cost anomaly.
" } }, "Region": { @@ -7870,7 +8258,7 @@ } }, "traits": { - "smithy.api#documentation": "The combination of Amazon Web Servicesservice, linked account, linked account name,\n Region, and usage type where a cost anomaly is observed. The linked account name will\n only be available when the account name can be identified.
" + "smithy.api#documentation": "The combination of Amazon Web Services service, linked account, linked account name,\n Region, and usage type where a cost anomaly is observed. The linked account name will\n only be available when the account name can be identified.
" } }, "com.amazonaws.costexplorer#RootCauses": { @@ -7882,6 +8270,56 @@ "com.amazonaws.costexplorer#SavingsPlanArn": { "type": "string" }, + "com.amazonaws.costexplorer#SavingsPlans": { + "type": "structure", + "members": { + "PaymentOption": { + "target": "com.amazonaws.costexplorer#PaymentOption", + "traits": { + "smithy.api#documentation": "The payment option for the Savings Plans\n commitment.
" + } + }, + "SavingsPlansType": { + "target": "com.amazonaws.costexplorer#SupportedSavingsPlansType", + "traits": { + "smithy.api#documentation": "The Savings Plans type.
" + } + }, + "Region": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The Region associated with the Savings Plans\n commitment.
" + } + }, + "InstanceFamily": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The instance family of the Savings Plans\n commitment.
" + } + }, + "TermInYears": { + "target": "com.amazonaws.costexplorer#TermInYears", + "traits": { + "smithy.api#documentation": "The term that you want the Savings Plans commitment\n for.
" + } + }, + "SavingsPlansCommitment": { + "target": "com.amazonaws.costexplorer#SavingsPlansCommitment", + "traits": { + "smithy.api#documentation": "The Savings Plans commitment.
" + } + }, + "OfferingId": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The unique ID that's used to distinguish commitments from one\n another.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The Savings Plans commitment\n details.
" + } + }, "com.amazonaws.costexplorer#SavingsPlansAmortizedCommitment": { "type": "structure", "members": { @@ -7908,6 +8346,15 @@ "smithy.api#documentation": "The amortized amount of Savings Plans purchased in a specific account during a\n specific time interval.
" } }, + "com.amazonaws.costexplorer#SavingsPlansCommitment": { + "type": "double", + "traits": { + "smithy.api#range": { + "min": 0.001, + "max": 5000 + } + } + }, "com.amazonaws.costexplorer#SavingsPlansCoverage": { "type": "structure", "members": { @@ -8030,6 +8477,203 @@ "smithy.api#documentation": "The attribute details on a specific Savings Plan.
" } }, + "com.amazonaws.costexplorer#SavingsPlansId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 36, + "max": 36 + }, + "smithy.api#pattern": "^[\\S\\s]{8}-[\\S\\s]{4}-[\\S\\s]{4}-[\\S\\s]{4}-[\\S\\s]{12}$" + } + }, + "com.amazonaws.costexplorer#SavingsPlansPurchaseAnalysisConfiguration": { + "type": "structure", + "members": { + "AccountScope": { + "target": "com.amazonaws.costexplorer#AccountScope", + "traits": { + "smithy.api#documentation": "The account scope that you want your analysis\n for.
" + } + }, + "AccountId": { + "target": "com.amazonaws.costexplorer#AccountId", + "traits": { + "smithy.api#documentation": "The account that the analysis is\n for.
" + } + }, + "AnalysisType": { + "target": "com.amazonaws.costexplorer#AnalysisType", + "traits": { + "smithy.api#documentation": "The type of analysis.
", + "smithy.api#required": {} + } + }, + "SavingsPlansToAdd": { + "target": "com.amazonaws.costexplorer#SavingsPlansToAdd", + "traits": { + "smithy.api#documentation": "Savings Plans to include in the\n analysis.
", + "smithy.api#required": {} + } + }, + "SavingsPlansToExclude": { + "target": "com.amazonaws.costexplorer#SavingsPlansToExclude", + "traits": { + "smithy.api#documentation": "Savings Plans to exclude from the\n analysis.
" + } + }, + "LookBackTimePeriod": { + "target": "com.amazonaws.costexplorer#DateInterval", + "traits": { + "smithy.api#documentation": "The time period associated with the\n analysis.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration for the Savings Plans purchase\n analysis.
" + } + }, + "com.amazonaws.costexplorer#SavingsPlansPurchaseAnalysisDetails": { + "type": "structure", + "members": { + "CurrencyCode": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The currency code used for the\n analysis.
" + } + }, + "LookbackPeriodInHours": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The lookback period in hours that's used to generate the\n analysis.
" + } + }, + "CurrentAverageCoverage": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The average value of hourly coverage over the lookback\n period.
" + } + }, + "CurrentAverageHourlyOnDemandSpend": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The average value of hourly On-Demand spend over the lookback\n period.
" + } + }, + "CurrentMaximumHourlyOnDemandSpend": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The highest value of hourly On-Demand spend over the lookback\n period.
" + } + }, + "CurrentMinimumHourlyOnDemandSpend": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The lowest value of hourly On-Demand spend over the lookback\n period.
" + } + }, + "CurrentOnDemandSpend": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The current total On-Demand spend over the lookback\n period.
" + } + }, + "ExistingHourlyCommitment": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The existing hourly commitment for the Savings Plan\n type.
" + } + }, + "HourlyCommitmentToPurchase": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The recommended or custom hourly\n commitment.
" + } + }, + "EstimatedAverageCoverage": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated coverage of the Savings\n Plan.
" + } + }, + "EstimatedAverageUtilization": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated utilization of the Savings\n Plan.
" + } + }, + "EstimatedMonthlySavingsAmount": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated monthly savings amount based on the Savings\n Plan.
" + } + }, + "EstimatedOnDemandCost": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The remaining On-Demand cost estimated to not be covered by the commitment, over the\n length of the lookback period.
" + } + }, + "EstimatedOnDemandCostWithCurrentCommitment": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated On-Demand cost you expect with no additional commitment, based on your\n usage of the selected time period and the Savings Plan you\n own.
" + } + }, + "EstimatedROI": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated return on investment that's based on the purchase commitment and\n estimated savings. This is calculated as\n estimatedSavingsAmount/estimatedSPCost*100.
" + } + }, + "EstimatedSavingsAmount": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated savings amount that's based on the purchase commitment over the length\n of the lookback period.
" + } + }, + "EstimatedSavingsPercentage": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated savings percentage relative to the total cost over the cost calculation\n lookback period.
" + } + }, + "EstimatedCommitmentCost": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The estimated cost of the purchase commitment over the length of the lookback\n period.
" + } + }, + "LatestUsageTimestamp": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The date and time of the last hour that went into the\n analysis.
" + } + }, + "UpfrontCost": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "The upfront cost of the Savings Plan, based on the selected payment\n option.
" + } + }, + "AdditionalMetadata": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "Additional metadata that might be applicable to the\n commitment.
" + } + }, + "MetricsOverLookbackPeriod": { + "target": "com.amazonaws.costexplorer#MetricsOverLookbackPeriod", + "traits": { + "smithy.api#documentation": "The related hourly cost, coverage, and utilization metrics over the lookback\n period.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Details about the Savings Plans purchase\n analysis.
" + } + }, "com.amazonaws.costexplorer#SavingsPlansPurchaseRecommendation": { "type": "structure", "members": { @@ -8316,6 +8960,30 @@ "smithy.api#documentation": "The amount of savings that you're accumulating, against the public On-Demand rate of\n the usage accrued in an account.
" } }, + "com.amazonaws.costexplorer#SavingsPlansToAdd": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#SavingsPlans" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.costexplorer#SavingsPlansToExclude": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#SavingsPlansId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + } + } + }, "com.amazonaws.costexplorer#SavingsPlansUtilization": { "type": "structure", "members": { @@ -8549,6 +9217,76 @@ } } }, + "com.amazonaws.costexplorer#StartCommitmentPurchaseAnalysis": { + "type": "operation", + "input": { + "target": "com.amazonaws.costexplorer#StartCommitmentPurchaseAnalysisRequest" + }, + "output": { + "target": "com.amazonaws.costexplorer#StartCommitmentPurchaseAnalysisResponse" + }, + "errors": [ + { + "target": "com.amazonaws.costexplorer#DataUnavailableException" + }, + { + "target": "com.amazonaws.costexplorer#GenerationExistsException" + }, + { + "target": "com.amazonaws.costexplorer#LimitExceededException" + }, + { + "target": "com.amazonaws.costexplorer#ServiceQuotaExceededException" + } + ], + "traits": { + "smithy.api#documentation": "Specifies the parameters of a planned commitment purchase and starts the generation of the\n analysis. This enables you to estimate the cost, coverage, and utilization impact of your\n planned commitment purchases. You can request up to 20 analysis runs per\n day.
" + } + }, + "com.amazonaws.costexplorer#StartCommitmentPurchaseAnalysisRequest": { + "type": "structure", + "members": { + "CommitmentPurchaseAnalysisConfiguration": { + "target": "com.amazonaws.costexplorer#CommitmentPurchaseAnalysisConfiguration", + "traits": { + "smithy.api#documentation": "The configuration for the commitment purchase\n analysis.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.costexplorer#StartCommitmentPurchaseAnalysisResponse": { + "type": "structure", + "members": { + "AnalysisId": { + "target": "com.amazonaws.costexplorer#AnalysisId", + "traits": { + "smithy.api#documentation": "The analysis ID that's associated with the commitment purchase\n analysis.
", + "smithy.api#required": {} + } + }, + "AnalysisStartedTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The start time of the analysis.
", + "smithy.api#required": {} + } + }, + "EstimatedCompletionTime": { + "target": "com.amazonaws.costexplorer#ZonedDateTime", + "traits": { + "smithy.api#documentation": "The estimated time for when the analysis will\n complete.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.costexplorer#StartCostAllocationTagBackfill": { "type": "operation", "input": {