libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CostExplorer.Lens

Contents

Description

 
Synopsis

Operations

GetReservationUtilization

getReservationUtilization_groupBy :: Lens' GetReservationUtilization (Maybe [GroupDefinition]) Source #

Groups only by SUBSCRIPTION_ID. Metadata is included.

getReservationUtilization_nextPageToken :: Lens' GetReservationUtilization (Maybe Text) Source #

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.

getReservationUtilization_granularity :: Lens' GetReservationUtilization (Maybe Granularity) Source #

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

getReservationUtilization_filter :: Lens' GetReservationUtilization (Maybe Expression) Source #

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ
  • CACHE_ENGINE
  • DEPLOYMENT_OPTION
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • OPERATING_SYSTEM
  • PLATFORM
  • REGION
  • SERVICE
  • SCOPE
  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

getReservationUtilization_maxResults :: Lens' GetReservationUtilization (Maybe Natural) Source #

The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

getReservationUtilization_sortBy :: Lens' GetReservationUtilization (Maybe SortDefinition) Source #

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage
  • UtilizationPercentageInUnits
  • PurchasedHours
  • PurchasedUnits
  • TotalActualHours
  • TotalActualUnits
  • UnusedHours
  • UnusedUnits
  • OnDemandCostOfRIHoursUsed
  • NetRISavings
  • TotalPotentialRISavings
  • AmortizedUpfrontFee
  • AmortizedRecurringFee
  • TotalAmortizedFee
  • RICostForUnusedHours
  • RealizedSavings
  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

getReservationUtilization_timePeriod :: Lens' GetReservationUtilization DateInterval Source #

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getReservationUtilizationResponse_nextPageToken :: Lens' GetReservationUtilizationResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

GetSavingsPlansCoverage

getSavingsPlansCoverage_groupBy :: Lens' GetSavingsPlansCoverage (Maybe [GroupDefinition]) Source #

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

getSavingsPlansCoverage_metrics :: Lens' GetSavingsPlansCoverage (Maybe [Text]) Source #

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

getSavingsPlansCoverage_granularity :: Lens' GetSavingsPlansCoverage (Maybe Granularity) Source #

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

getSavingsPlansCoverage_nextToken :: Lens' GetSavingsPlansCoverage (Maybe Text) Source #

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.

getSavingsPlansCoverage_filter :: Lens' GetSavingsPlansCoverage (Maybe Expression) Source #

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT
  • REGION
  • SERVICE
  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

getSavingsPlansCoverage_maxResults :: Lens' GetSavingsPlansCoverage (Maybe Natural) Source #

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

getSavingsPlansCoverage_sortBy :: Lens' GetSavingsPlansCoverage (Maybe SortDefinition) Source #

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan
  • OnDemandCost
  • CoveragePercentage
  • TotalCost
  • InstanceFamily
  • Region
  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

getSavingsPlansCoverage_timePeriod :: Lens' GetSavingsPlansCoverage DateInterval Source #

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

getSavingsPlansCoverageResponse_nextToken :: Lens' GetSavingsPlansCoverageResponse (Maybe Text) Source #

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.

GetTags

getTags_nextPageToken :: Lens' GetTags (Maybe Text) Source #

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.

getTags_searchString :: Lens' GetTags (Maybe Text) Source #

The value that you want to search for.

getTags_tagKey :: Lens' GetTags (Maybe Text) Source #

The key of the tag that you want to return values for.

getTags_maxResults :: Lens' GetTags (Maybe Natural) Source #

This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

For GetTags, MaxResults has an upper limit of 1000.

getTags_sortBy :: Lens' GetTags (Maybe [SortDefinition]) Source #

The value by which you want to sort the data.

The key represents cost and usage metrics. The following values are supported:

  • BlendedCost
  • UnblendedCost
  • AmortizedCost
  • NetAmortizedCost
  • NetUnblendedCost
  • UsageQuantity
  • NormalizedUsageAmount

Supported values for SortOrder are ASCENDING or DESCENDING.

When using SortBy, NextPageToken and SearchString are not supported.

getTags_timePeriod :: Lens' GetTags DateInterval Source #

The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getTagsResponse_nextPageToken :: Lens' GetTagsResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getTagsResponse_httpStatus :: Lens' GetTagsResponse Int Source #

The response's http status code.

getTagsResponse_tags :: Lens' GetTagsResponse [Text] Source #

The tags that match your request.

getTagsResponse_returnSize :: Lens' GetTagsResponse Int Source #

The number of query results that Amazon Web Services returns at a time.

getTagsResponse_totalSize :: Lens' GetTagsResponse Int Source #

The total number of query results.

GetRightsizingRecommendation

getRightsizingRecommendation_nextPageToken :: Lens' GetRightsizingRecommendation (Maybe Text) Source #

The pagination token that indicates the next set of results that you want to retrieve.

getRightsizingRecommendation_configuration :: Lens' GetRightsizingRecommendation (Maybe RightsizingRecommendationConfiguration) Source #

Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

getRightsizingRecommendation_pageSize :: Lens' GetRightsizingRecommendation (Maybe Natural) Source #

The number of recommendations that you want returned in a single response object.

getRightsizingRecommendation_service :: Lens' GetRightsizingRecommendation Text Source #

The specific service that you want recommendations for. The only valid value for GetRightsizingRecommendation is "AmazonEC2".

getRightsizingRecommendationResponse_configuration :: Lens' GetRightsizingRecommendationResponse (Maybe RightsizingRecommendationConfiguration) Source #

Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

GetCostAndUsageWithResources

getCostAndUsageWithResources_groupBy :: Lens' GetCostAndUsageWithResources (Maybe [GroupDefinition]) Source #

You can group Amazon Web Services costs using up to two different groups: DIMENSION, TAG, COST_CATEGORY.

getCostAndUsageWithResources_nextPageToken :: Lens' GetCostAndUsageWithResources (Maybe Text) Source #

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.

getCostAndUsageWithResources_metrics :: Lens' GetCostAndUsageWithResources (Maybe [Text]) Source #

Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?.

Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity.

If you return the UsageQuantity metric, the service aggregates all usage numbers without taking the units into account. For example, if you aggregate usageQuantity across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups.

Metrics is required for GetCostAndUsageWithResources requests.

getCostAndUsageWithResources_timePeriod :: Lens' GetCostAndUsageWithResources DateInterval Source #

Sets the start and end dates for retrieving Amazon Web Services costs. The range must be within the last 14 days (the start date cannot be earlier than 14 days ago). The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getCostAndUsageWithResources_granularity :: Lens' GetCostAndUsageWithResources Granularity Source #

Sets the Amazon Web Services cost granularity to MONTHLY, DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, MONTHLY, DAILY, or HOURLY.

getCostAndUsageWithResources_filter :: Lens' GetCostAndUsageWithResources Expression Source #

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter.

getCostAndUsageWithResourcesResponse_nextPageToken :: Lens' GetCostAndUsageWithResourcesResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getCostAndUsageWithResourcesResponse_dimensionValueAttributes :: Lens' GetCostAndUsageWithResourcesResponse (Maybe [DimensionValuesWithAttributes]) Source #

The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.

getCostAndUsageWithResourcesResponse_groupDefinitions :: Lens' GetCostAndUsageWithResourcesResponse (Maybe [GroupDefinition]) Source #

The groups that are specified by the Filter or GroupBy parameters in the request.

GetUsageForecast

getUsageForecast_predictionIntervalLevel :: Lens' GetUsageForecast (Maybe Natural) Source #

Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value falling in the prediction interval. Higher confidence levels result in wider prediction intervals.

getUsageForecast_filter :: Lens' GetUsageForecast (Maybe Expression) Source #

The filters that you want to use to filter your forecast. The GetUsageForecast API supports filtering by the following dimensions:

  • AZ
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • LINKED_ACCOUNT_NAME
  • OPERATION
  • PURCHASE_TYPE
  • REGION
  • SERVICE
  • USAGE_TYPE
  • USAGE_TYPE_GROUP
  • RECORD_TYPE
  • OPERATING_SYSTEM
  • TENANCY
  • SCOPE
  • PLATFORM
  • SUBSCRIPTION_ID
  • LEGAL_ENTITY_NAME
  • DEPLOYMENT_OPTION
  • DATABASE_ENGINE
  • INSTANCE_TYPE_FAMILY
  • BILLING_ENTITY
  • RESERVATION_ID
  • SAVINGS_PLAN_ARN

getUsageForecast_timePeriod :: Lens' GetUsageForecast DateInterval Source #

The start and end dates of the period that you want to retrieve usage forecast for. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. The start date must be equal to or later than the current date to avoid a validation error.

getUsageForecast_metric :: Lens' GetUsageForecast Metric Source #

Which metric Cost Explorer uses to create your forecast.

Valid values for a GetUsageForecast call are the following:

  • USAGE_QUANTITY
  • NORMALIZED_USAGE_AMOUNT

getUsageForecast_granularity :: Lens' GetUsageForecast Granularity Source #

How granular you want the forecast to be. You can get 3 months of DAILY forecasts or 12 months of MONTHLY forecasts.

The GetUsageForecast operation supports only DAILY and MONTHLY granularities.

getUsageForecastResponse_forecastResultsByTime :: Lens' GetUsageForecastResponse (Maybe [ForecastResult]) Source #

The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For MONTHLY forecasts, this is a list of months.

getUsageForecastResponse_total :: Lens' GetUsageForecastResponse (Maybe MetricValue) Source #

How much you're forecasted to use over the forecast period.

GetReservationCoverage

getReservationCoverage_groupBy :: Lens' GetReservationCoverage (Maybe [GroupDefinition]) Source #

You can group the data by the following attributes:

  • AZ
  • CACHE_ENGINE
  • DATABASE_ENGINE
  • DEPLOYMENT_OPTION
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • OPERATING_SYSTEM
  • PLATFORM
  • REGION
  • TENANCY

getReservationCoverage_nextPageToken :: Lens' GetReservationCoverage (Maybe Text) Source #

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.

getReservationCoverage_metrics :: Lens' GetReservationCoverage (Maybe [Text]) Source #

The measurement that you want your reservation coverage reported in.

Valid values are Hour, Unit, and Cost. You can use multiple values in a request.

getReservationCoverage_granularity :: Lens' GetReservationCoverage (Maybe Granularity) Source #

The granularity of the Amazon Web Services cost data for the reservation. Valid values are MONTHLY and DAILY.

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY.

The GetReservationCoverage operation supports only DAILY and MONTHLY granularities.

getReservationCoverage_filter :: Lens' GetReservationCoverage (Maybe Expression) Source #

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ
  • CACHE_ENGINE
  • DATABASE_ENGINE
  • DEPLOYMENT_OPTION
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • OPERATING_SYSTEM
  • PLATFORM
  • REGION
  • SERVICE
  • TAG
  • TENANCY

GetReservationCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. You can nest only one level deep. If there are multiple values for a dimension, they are OR'd together.

If you don't provide a SERVICE filter, Cost Explorer defaults to EC2.

Cost category is also supported.

getReservationCoverage_maxResults :: Lens' GetReservationCoverage (Maybe Natural) Source #

The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

getReservationCoverage_sortBy :: Lens' GetReservationCoverage (Maybe SortDefinition) Source #

The value by which you want to sort the data.

The following values are supported for Key:

  • OnDemandCost
  • CoverageHoursPercentage
  • OnDemandHours
  • ReservedHours
  • TotalRunningHours
  • CoverageNormalizedUnitsPercentage
  • OnDemandNormalizedUnits
  • ReservedNormalizedUnits
  • TotalRunningNormalizedUnits
  • Time

Supported values for SortOrder are ASCENDING or DESCENDING.

getReservationCoverage_timePeriod :: Lens' GetReservationCoverage DateInterval Source #

The start and end dates of the period that you want to retrieve data about reservation coverage for. You can retrieve data for a maximum of 13 months: the last 12 months and the current month. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getReservationCoverageResponse_nextPageToken :: Lens' GetReservationCoverageResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getReservationCoverageResponse_total :: Lens' GetReservationCoverageResponse (Maybe Coverage) Source #

The total amount of instance usage that a reservation covered.

GetCostCategories

getCostCategories_nextPageToken :: Lens' GetCostCategories (Maybe Text) Source #

If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.

getCostCategories_searchString :: Lens' GetCostCategories (Maybe Text) Source #

The value that you want to search the filter values for.

If you do not specify a CostCategoryName, SearchString will be used to filter Cost Category names that match the SearchString pattern. If you do specifiy a CostCategoryName, SearchString will be used to filter Cost Category values that match the SearchString pattern.

getCostCategories_maxResults :: Lens' GetCostCategories (Maybe Natural) Source #

This field is only used when SortBy is provided in the request.

The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

For GetCostCategories, MaxResults has an upper limit of 1000.

getCostCategories_sortBy :: Lens' GetCostCategories (Maybe [SortDefinition]) Source #

The value by which you want to sort the data.

The key represents cost and usage metrics. The following values are supported:

  • BlendedCost
  • UnblendedCost
  • AmortizedCost
  • NetAmortizedCost
  • NetUnblendedCost
  • UsageQuantity
  • NormalizedUsageAmount

Supported values for SortOrder are ASCENDING or DESCENDING.

When using SortBy, NextPageToken and SearchString are not supported.

getCostCategoriesResponse_nextPageToken :: Lens' GetCostCategoriesResponse (Maybe Text) Source #

If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

getCostCategoriesResponse_costCategoryValues :: Lens' GetCostCategoriesResponse (Maybe [Text]) Source #

The Cost Category values.

CostCategoryValues are not returned if CostCategoryName is not specified in the request.

GetCostForecast

getCostForecast_predictionIntervalLevel :: Lens' GetCostForecast (Maybe Natural) Source #

Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value falling in the prediction interval. Higher confidence levels result in wider prediction intervals.

getCostForecast_filter :: Lens' GetCostForecast (Maybe Expression) Source #

The filters that you want to use to filter your forecast. The GetCostForecast API supports filtering by the following dimensions:

  • AZ
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • LINKED_ACCOUNT_NAME
  • OPERATION
  • PURCHASE_TYPE
  • REGION
  • SERVICE
  • USAGE_TYPE
  • USAGE_TYPE_GROUP
  • RECORD_TYPE
  • OPERATING_SYSTEM
  • TENANCY
  • SCOPE
  • PLATFORM
  • SUBSCRIPTION_ID
  • LEGAL_ENTITY_NAME
  • DEPLOYMENT_OPTION
  • DATABASE_ENGINE
  • INSTANCE_TYPE_FAMILY
  • BILLING_ENTITY
  • RESERVATION_ID
  • SAVINGS_PLAN_ARN

getCostForecast_timePeriod :: Lens' GetCostForecast DateInterval Source #

The period of time that you want the forecast to cover. The start date must be equal to or no later than the current date to avoid a validation error.

getCostForecast_metric :: Lens' GetCostForecast Metric Source #

Which metric Cost Explorer uses to create your forecast. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?.

Valid values for a GetCostForecast call are the following:

  • AMORTIZED_COST
  • BLENDED_COST
  • NET_AMORTIZED_COST
  • NET_UNBLENDED_COST
  • UNBLENDED_COST

getCostForecast_granularity :: Lens' GetCostForecast Granularity Source #

How granular you want the forecast to be. You can get 3 months of DAILY forecasts or 12 months of MONTHLY forecasts.

The GetCostForecast operation supports only DAILY and MONTHLY granularities.

getCostForecastResponse_forecastResultsByTime :: Lens' GetCostForecastResponse (Maybe [ForecastResult]) Source #

The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For MONTHLY forecasts, this is a list of months.

getCostForecastResponse_total :: Lens' GetCostForecastResponse (Maybe MetricValue) Source #

How much you are forecasted to spend over the forecast period, in USD.

GetDimensionValues

getDimensionValues_nextPageToken :: Lens' GetDimensionValues (Maybe Text) Source #

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.

getDimensionValues_context :: Lens' GetDimensionValues (Maybe Context) Source #

The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation.

If you set the context to COST_AND_USAGE, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.
  • DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
  • INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
  • LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
  • OPERATION - The action performed. Examples include RunInstance and CreateBucket.
  • PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
  • PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances.
  • SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
  • USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs.
  • USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
  • REGION - The Amazon Web Services Region.
  • RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.
  • RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.

If you set the context to RESERVATIONS, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.
  • CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
  • DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ.
  • INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
  • REGION - The Amazon Web Services Region.
  • SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.
  • TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).
  • TENANCY - The tenancy of a resource. Examples are shared or dedicated.

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

  • SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
  • PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront)
  • REGION - The Amazon Web Services Region.
  • INSTANCE_TYPE_FAMILY - The family of instances (For example, m5)
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan

getDimensionValues_searchString :: Lens' GetDimensionValues (Maybe Text) Source #

The value that you want to search the filter values for.

getDimensionValues_maxResults :: Lens' GetDimensionValues (Maybe Natural) Source #

This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

For GetDimensionValues, MaxResults has an upper limit of 1000.

getDimensionValues_sortBy :: Lens' GetDimensionValues (Maybe [SortDefinition]) Source #

The value by which you want to sort the data.

The key represents cost and usage metrics. The following values are supported:

  • BlendedCost
  • UnblendedCost
  • AmortizedCost
  • NetAmortizedCost
  • NetUnblendedCost
  • UsageQuantity
  • NormalizedUsageAmount

Supported values for SortOrder are ASCENDING or DESCENDING.

When you specify a SortBy paramater, the context must be COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString are not supported.

getDimensionValues_timePeriod :: Lens' GetDimensionValues DateInterval Source #

The start date and end date for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getDimensionValues_dimension :: Lens' GetDimensionValues Dimension Source #

The name of the dimension. Each Dimension is available for a different Context. For more information, see Context.

getDimensionValuesResponse_nextPageToken :: Lens' GetDimensionValuesResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getDimensionValuesResponse_dimensionValues :: Lens' GetDimensionValuesResponse [DimensionValuesWithAttributes] Source #

The filters that you used to filter your request. Some dimensions are available only for a specific context.

If you set the context to COST_AND_USAGE, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.
  • DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
  • INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
  • LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
  • OPERATION - The action performed. Examples include RunInstance and CreateBucket.
  • PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
  • PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances.
  • SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
  • USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs.
  • USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
  • RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.
  • RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.

If you set the context to RESERVATIONS, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.
  • CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
  • DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ.
  • INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge.
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
  • REGION - The Amazon Web Services Region.
  • SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.
  • TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).
  • TENANCY - The tenancy of a resource. Examples are shared or dedicated.

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

  • SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
  • PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront)
  • REGION - The Amazon Web Services Region.
  • INSTANCE_TYPE_FAMILY - The family of instances (For example, m5)
  • LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
  • SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan

getDimensionValuesResponse_returnSize :: Lens' GetDimensionValuesResponse Int Source #

The number of results that Amazon Web Services returned at one time.

GetAnomalies

getAnomalies_nextPageToken :: Lens' GetAnomalies (Maybe Text) Source #

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.

getAnomalies_totalImpact :: Lens' GetAnomalies (Maybe TotalImpactFilter) Source #

Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies GREATER_THAN 200.00 to retrieve anomalies, with an estimated dollar impact greater than 200.

getAnomalies_maxResults :: Lens' GetAnomalies (Maybe Int) Source #

The number of entries a paginated response contains.

getAnomalies_feedback :: Lens' GetAnomalies (Maybe AnomalyFeedbackType) Source #

Filters anomaly results by the feedback field on the anomaly object.

getAnomalies_monitorArn :: Lens' GetAnomalies (Maybe Text) Source #

Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).

getAnomalies_dateInterval :: Lens' GetAnomalies AnomalyDateInterval Source #

Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an AnomalyEndDate in the specified time range.

getAnomaliesResponse_nextPageToken :: Lens' GetAnomaliesResponse (Maybe Text) Source #

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.

GetReservationPurchaseRecommendation

getReservationPurchaseRecommendation_nextPageToken :: Lens' GetReservationPurchaseRecommendation (Maybe Text) Source #

The pagination token that indicates the next set of results that you want to retrieve.

getReservationPurchaseRecommendation_serviceSpecification :: Lens' GetReservationPurchaseRecommendation (Maybe ServiceSpecification) Source #

The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.

getReservationPurchaseRecommendation_accountScope :: Lens' GetReservationPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

getReservationPurchaseRecommendation_accountId :: Lens' GetReservationPurchaseRecommendation (Maybe Text) Source #

The account ID that is associated with the recommendation.

getReservationPurchaseRecommendation_pageSize :: Lens' GetReservationPurchaseRecommendation (Maybe Natural) Source #

The number of recommendations that you want returned in a single response object.

getReservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' GetReservationPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #

The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.

getReservationPurchaseRecommendationResponse_metadata :: Lens' GetReservationPurchaseRecommendationResponse (Maybe ReservationPurchaseRecommendationMetadata) Source #

Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation.

DeleteAnomalyMonitor

deleteAnomalyMonitor_monitorArn :: Lens' DeleteAnomalyMonitor Text Source #

The unique identifier of the cost anomaly monitor that you want to delete.

UpdateAnomalyMonitor

updateAnomalyMonitor_monitorName :: Lens' UpdateAnomalyMonitor (Maybe Text) Source #

The new name for the cost anomaly monitor.

updateAnomalyMonitor_monitorArn :: Lens' UpdateAnomalyMonitor Text Source #

Cost anomaly monitor Amazon Resource Names (ARNs).

ListCostCategoryDefinitions

listCostCategoryDefinitions_nextToken :: Lens' ListCostCategoryDefinitions (Maybe Text) Source #

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.

listCostCategoryDefinitions_maxResults :: Lens' ListCostCategoryDefinitions (Maybe Natural) Source #

The number of entries a paginated response contains.

listCostCategoryDefinitionsResponse_costCategoryReferences :: Lens' ListCostCategoryDefinitionsResponse (Maybe [CostCategoryReference]) Source #

A reference to a Cost Category containing enough information to identify the Cost Category.

listCostCategoryDefinitionsResponse_nextToken :: Lens' ListCostCategoryDefinitionsResponse (Maybe Text) Source #

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.

UpdateCostCategoryDefinition

updateCostCategoryDefinition_splitChargeRules :: Lens' UpdateCostCategoryDefinition (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #

The split charge rules used to allocate your charges between your Cost Category values.

updateCostCategoryDefinition_rules :: Lens' UpdateCostCategoryDefinition (NonEmpty CostCategoryRule) Source #

The Expression object used to categorize costs. For more information, see CostCategoryRule .

DeleteCostCategoryDefinition

deleteCostCategoryDefinitionResponse_effectiveEnd :: Lens' DeleteCostCategoryDefinitionResponse (Maybe Text) Source #

The effective end date of the Cost Category as a result of deleting it. No costs after this date will be categorized by the deleted Cost Category.

GetAnomalySubscriptions

getAnomalySubscriptions_nextPageToken :: Lens' GetAnomalySubscriptions (Maybe Text) Source #

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.

getAnomalySubscriptions_maxResults :: Lens' GetAnomalySubscriptions (Maybe Int) Source #

The number of entries a paginated response contains.

getAnomalySubscriptionsResponse_nextPageToken :: Lens' GetAnomalySubscriptionsResponse (Maybe Text) Source #

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.

getAnomalySubscriptionsResponse_anomalySubscriptions :: Lens' GetAnomalySubscriptionsResponse [AnomalySubscription] Source #

A list of cost anomaly subscriptions that includes the detailed metadata for each one.

CreateCostCategoryDefinition

createCostCategoryDefinition_splitChargeRules :: Lens' CreateCostCategoryDefinition (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #

The split charge rules used to allocate your charges between your Cost Category values.

createCostCategoryDefinition_rules :: Lens' CreateCostCategoryDefinition (NonEmpty CostCategoryRule) Source #

The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.

GetAnomalyMonitors

getAnomalyMonitors_nextPageToken :: Lens' GetAnomalyMonitors (Maybe Text) Source #

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.

getAnomalyMonitors_monitorArnList :: Lens' GetAnomalyMonitors (Maybe [Text]) Source #

A list of cost anomaly monitor ARNs.

getAnomalyMonitors_maxResults :: Lens' GetAnomalyMonitors (Maybe Int) Source #

The number of entries that a paginated response contains.

getAnomalyMonitorsResponse_nextPageToken :: Lens' GetAnomalyMonitorsResponse (Maybe Text) Source #

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.

getAnomalyMonitorsResponse_anomalyMonitors :: Lens' GetAnomalyMonitorsResponse [AnomalyMonitor] Source #

A list of cost anomaly monitors that includes the detailed metadata for each monitor.

DeleteAnomalySubscription

deleteAnomalySubscription_subscriptionArn :: Lens' DeleteAnomalySubscription Text Source #

The unique identifier of the cost anomaly subscription that you want to delete.

UpdateAnomalySubscription

updateAnomalySubscription_frequency :: Lens' UpdateAnomalySubscription (Maybe AnomalySubscriptionFrequency) Source #

The update to the frequency value that subscribers receive notifications.

updateAnomalySubscription_threshold :: Lens' UpdateAnomalySubscription (Maybe Double) Source #

The update to the threshold value for receiving notifications.

updateAnomalySubscription_subscriptionArn :: Lens' UpdateAnomalySubscription Text Source #

A cost anomaly subscription Amazon Resource Name (ARN).

GetCostAndUsage

getCostAndUsage_groupBy :: Lens' GetCostAndUsage (Maybe [GroupDefinition]) Source #

You can group Amazon Web Services costs using up to two different groups, either dimensions, tag keys, cost categories, or any two group by types.

Valid values for the DIMENSION type are AZ, INSTANCE_TYPE, LEGAL_ENTITY_NAME, LINKED_ACCOUNT, OPERATION, PLATFORM, PURCHASE_TYPE, SERVICE, TENANCY, RECORD_TYPE, and USAGE_TYPE.

When you group by the TAG type and include a valid tag key, you get all tag values, including empty strings.

getCostAndUsage_nextPageToken :: Lens' GetCostAndUsage (Maybe Text) Source #

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.

getCostAndUsage_filter :: Lens' GetCostAndUsage (Maybe Expression) Source #

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

getCostAndUsage_timePeriod :: Lens' GetCostAndUsage DateInterval Source #

Sets the start date and end date for retrieving Amazon Web Services costs. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

getCostAndUsage_granularity :: Lens' GetCostAndUsage Granularity Source #

Sets the Amazon Web Services cost granularity to MONTHLY or DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, either MONTHLY or DAILY, or HOURLY.

getCostAndUsage_metrics :: Lens' GetCostAndUsage [Text] Source #

Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?.

Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity.

If you return the UsageQuantity metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate usageQuantity across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours and GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups.

Metrics is required for GetCostAndUsage requests.

getCostAndUsageResponse_resultsByTime :: Lens' GetCostAndUsageResponse (Maybe [ResultByTime]) Source #

The time period that's covered by the results in the response.

getCostAndUsageResponse_nextPageToken :: Lens' GetCostAndUsageResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getCostAndUsageResponse_dimensionValueAttributes :: Lens' GetCostAndUsageResponse (Maybe [DimensionValuesWithAttributes]) Source #

The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.

getCostAndUsageResponse_groupDefinitions :: Lens' GetCostAndUsageResponse (Maybe [GroupDefinition]) Source #

The groups that are specified by the Filter or GroupBy parameters in the request.

GetSavingsPlansPurchaseRecommendation

getSavingsPlansPurchaseRecommendation_nextPageToken :: Lens' GetSavingsPlansPurchaseRecommendation (Maybe Text) Source #

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.

getSavingsPlansPurchaseRecommendation_accountScope :: Lens' GetSavingsPlansPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

getSavingsPlansPurchaseRecommendation_filter :: Lens' GetSavingsPlansPurchaseRecommendation (Maybe Expression) Source #

You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter your recommendations by Account ID, specify Key as LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want to see Savings Plans purchase recommendations.

For GetSavingsPlansPurchaseRecommendation, the Filter does not include CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must be LINKED_ACCOUNT and Value can be a single Account ID or multiple comma-separated Account IDs for which you want to see Savings Plans Purchase Recommendations. AND and OR operators are not supported.

getSavingsPlansPurchaseRecommendation_pageSize :: Lens' GetSavingsPlansPurchaseRecommendation (Maybe Natural) Source #

The number of recommendations that you want returned in a single response object.

getSavingsPlansPurchaseRecommendation_termInYears :: Lens' GetSavingsPlansPurchaseRecommendation TermInYears Source #

The savings plan recommendation term used to generate these recommendations.

getSavingsPlansPurchaseRecommendationResponse_nextPageToken :: Lens' GetSavingsPlansPurchaseRecommendationResponse (Maybe Text) Source #

The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

ProvideAnomalyFeedback

provideAnomalyFeedback_feedback :: Lens' ProvideAnomalyFeedback AnomalyFeedbackType Source #

Describes whether the cost anomaly was a planned activity or you considered it an anomaly.

GetSavingsPlansUtilization

getSavingsPlansUtilization_granularity :: Lens' GetSavingsPlansUtilization (Maybe Granularity) Source #

The granularity of the Amazon Web Services utillization data for your Savings Plans.

The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY granularities.

getSavingsPlansUtilization_filter :: Lens' GetSavingsPlansUtilization (Maybe Expression) Source #

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

  • LINKED_ACCOUNT
  • SAVINGS_PLAN_ARN
  • SAVINGS_PLANS_TYPE
  • REGION
  • PAYMENT_OPTION
  • INSTANCE_TYPE_FAMILY

GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension.

getSavingsPlansUtilization_sortBy :: Lens' GetSavingsPlansUtilization (Maybe SortDefinition) Source #

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage
  • TotalCommitment
  • UsedCommitment
  • UnusedCommitment
  • NetSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

getSavingsPlansUtilization_timePeriod :: Lens' GetSavingsPlansUtilization DateInterval Source #

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

getSavingsPlansUtilizationResponse_savingsPlansUtilizationsByTime :: Lens' GetSavingsPlansUtilizationResponse (Maybe [SavingsPlansUtilizationByTime]) Source #

The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges.

getSavingsPlansUtilizationResponse_total :: Lens' GetSavingsPlansUtilizationResponse SavingsPlansUtilizationAggregates Source #

The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.

DescribeCostCategoryDefinition

CreateAnomalySubscription

createAnomalySubscription_anomalySubscription :: Lens' CreateAnomalySubscription AnomalySubscription Source #

The cost anomaly subscription object that you want to create.

createAnomalySubscriptionResponse_subscriptionArn :: Lens' CreateAnomalySubscriptionResponse Text Source #

The unique identifier of your newly created cost anomaly subscription.

CreateAnomalyMonitor

createAnomalyMonitor_anomalyMonitor :: Lens' CreateAnomalyMonitor AnomalyMonitor Source #

The cost anomaly detection monitor object that you want to create.

createAnomalyMonitorResponse_monitorArn :: Lens' CreateAnomalyMonitorResponse Text Source #

The unique identifier of your newly created cost anomaly detection monitor.

GetSavingsPlansUtilizationDetails

getSavingsPlansUtilizationDetails_nextToken :: Lens' GetSavingsPlansUtilizationDetails (Maybe Text) Source #

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.

getSavingsPlansUtilizationDetails_filter :: Lens' GetSavingsPlansUtilizationDetails (Maybe Expression) Source #

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

  • LINKED_ACCOUNT
  • SAVINGS_PLAN_ARN
  • REGION
  • PAYMENT_OPTION
  • INSTANCE_TYPE_FAMILY

GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each dimension.

getSavingsPlansUtilizationDetails_maxResults :: Lens' GetSavingsPlansUtilizationDetails (Maybe Natural) Source #

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

getSavingsPlansUtilizationDetails_sortBy :: Lens' GetSavingsPlansUtilizationDetails (Maybe SortDefinition) Source #

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage
  • TotalCommitment
  • UsedCommitment
  • UnusedCommitment
  • NetSavings
  • AmortizedRecurringCommitment
  • AmortizedUpfrontCommitment

Supported values for SortOrder are ASCENDING or DESCENDING.

getSavingsPlansUtilizationDetails_timePeriod :: Lens' GetSavingsPlansUtilizationDetails DateInterval Source #

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

getSavingsPlansUtilizationDetailsResponse_nextToken :: Lens' GetSavingsPlansUtilizationDetailsResponse (Maybe Text) Source #

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.

getSavingsPlansUtilizationDetailsResponse_savingsPlansUtilizationDetails :: Lens' GetSavingsPlansUtilizationDetailsResponse [SavingsPlansUtilizationDetail] Source #

Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.

Types

Anomaly

anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text) Source #

The first day the anomaly is detected.

anomaly_dimensionValue :: Lens' Anomaly (Maybe Text) Source #

The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor).

anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause]) Source #

The list of identified root causes for the anomaly.

anomaly_anomalyEndDate :: Lens' Anomaly (Maybe Text) Source #

The last day the anomaly is detected.

anomaly_anomalyId :: Lens' Anomaly Text Source #

The unique identifier for the anomaly.

anomaly_anomalyScore :: Lens' Anomaly AnomalyScore Source #

The latest and maximum score for the anomaly.

anomaly_impact :: Lens' Anomaly Impact Source #

The dollar impact for the anomaly.

anomaly_monitorArn :: Lens' Anomaly Text Source #

The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.

AnomalyDateInterval

anomalyDateInterval_endDate :: Lens' AnomalyDateInterval (Maybe Text) Source #

The last date an anomaly was observed.

anomalyDateInterval_startDate :: Lens' AnomalyDateInterval Text Source #

The first date an anomaly was observed.

AnomalyMonitor

anomalyMonitor_creationDate :: Lens' AnomalyMonitor (Maybe Text) Source #

The date when the monitor was created.

anomalyMonitor_lastUpdatedDate :: Lens' AnomalyMonitor (Maybe Text) Source #

The date when the monitor was last updated.

anomalyMonitor_lastEvaluatedDate :: Lens' AnomalyMonitor (Maybe Text) Source #

The date when the monitor last evaluated for anomalies.

anomalyMonitor_monitorArn :: Lens' AnomalyMonitor (Maybe Text) Source #

The Amazon Resource Name (ARN) value.

AnomalyScore

anomalyScore_maxScore :: Lens' AnomalyScore Double Source #

The maximum score that's observed during the AnomalyDateInterval.

AnomalySubscription

anomalySubscription_subscriptionArn :: Lens' AnomalySubscription (Maybe Text) Source #

The AnomalySubscription Amazon Resource Name (ARN).

anomalySubscription_threshold :: Lens' AnomalySubscription Double Source #

The dollar value that triggers a notification if the threshold is exceeded.

anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency Source #

The frequency that anomaly reports are sent over email.

CostCategory

costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus]) Source #

The list of processing statuses for Cost Management products for a specific cost category.

costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text) Source #

The effective end data of your Cost Category.

costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #

The split charge rules that are used to allocate your charges between your Cost Category values.

costCategory_costCategoryArn :: Lens' CostCategory Text Source #

The unique identifier for your Cost Category.

costCategory_effectiveStart :: Lens' CostCategory Text Source #

The effective state data of your Cost Category.

costCategory_rules :: Lens' CostCategory (NonEmpty CostCategoryRule) Source #

The rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.

CostCategoryInheritedValueDimension

costCategoryInheritedValueDimension_dimensionName :: Lens' CostCategoryInheritedValueDimension (Maybe CostCategoryInheritedValueDimensionName) Source #

The name of the dimension that's used to group costs.

If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key.

CostCategoryProcessingStatus

CostCategoryReference

costCategoryReference_effectiveStart :: Lens' CostCategoryReference (Maybe Text) Source #

The Cost Category's effective start date.

costCategoryReference_values :: Lens' CostCategoryReference (Maybe [Text]) Source #

A list of unique cost category values in a specific cost category.

costCategoryReference_costCategoryArn :: Lens' CostCategoryReference (Maybe Text) Source #

The unique identifier for your Cost Category.

costCategoryReference_processingStatus :: Lens' CostCategoryReference (Maybe [CostCategoryProcessingStatus]) Source #

The list of processing statuses for Cost Management products for a specific cost category.

costCategoryReference_numberOfRules :: Lens' CostCategoryReference (Maybe Natural) Source #

The number of rules that are associated with a specific Cost Category.

CostCategoryRule

costCategoryRule_inheritedValue :: Lens' CostCategoryRule (Maybe CostCategoryInheritedValueDimension) Source #

The value the line item is categorized as if the line item contains the matched dimension.

costCategoryRule_rule :: Lens' CostCategoryRule (Maybe Expression) Source #

An Expression object used to categorize costs. This supports dimensions, tags, and nested expressions. Currently the only dimensions supported are LINKED_ACCOUNT, SERVICE_CODE, RECORD_TYPE, and LINKED_ACCOUNT_NAME.

Root level OR isn't supported. We recommend that you create a separate rule instead.

RECORD_TYPE is a dimension used for Cost Explorer APIs, and is also supported for Cost Category expressions. This dimension uses different terms, depending on whether you're using the console or API/JSON editor. For a detailed comparison, see Term Comparisons in the Billing and Cost Management User Guide.

costCategoryRule_type :: Lens' CostCategoryRule (Maybe CostCategoryRuleType) Source #

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE. The INHERITED_VALUE rule type adds the flexibility of defining a rule that dynamically inherits the cost category value from the dimension value defined by CostCategoryInheritedValueDimension. For example, if you want to dynamically group costs based on the value of a specific tag key, first choose an inherited value rule type, then choose the tag dimension and specify the tag key to use.

CostCategorySplitChargeRule

costCategorySplitChargeRule_parameters :: Lens' CostCategorySplitChargeRule (Maybe (NonEmpty CostCategorySplitChargeRuleParameter)) Source #

The parameters for a split charge method. This is only required for the FIXED method.

costCategorySplitChargeRule_source :: Lens' CostCategorySplitChargeRule Text Source #

The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.

costCategorySplitChargeRule_targets :: Lens' CostCategorySplitChargeRule (NonEmpty Text) Source #

The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.

costCategorySplitChargeRule_method :: Lens' CostCategorySplitChargeRule CostCategorySplitChargeMethod Source #

The method that's used to define how to split your source costs across your targets.

Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

Fixed - Allocates charges across your targets based on your defined allocation percentage.

@Even@ - Allocates costs evenly across all targets.

CostCategorySplitChargeRuleParameter

CostCategoryValues

costCategoryValues_values :: Lens' CostCategoryValues (Maybe [Text]) Source #

The specific value of the Cost Category.

costCategoryValues_matchOptions :: Lens' CostCategoryValues (Maybe [MatchOption]) Source #

The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE.

Coverage

coverage_coverageNormalizedUnits :: Lens' Coverage (Maybe CoverageNormalizedUnits) Source #

The amount of instance usage that the reservation covered, in normalized units.

coverage_coverageHours :: Lens' Coverage (Maybe CoverageHours) Source #

The amount of instance usage that the reservation covered, in hours.

coverage_coverageCost :: Lens' Coverage (Maybe CoverageCost) Source #

The amount of cost that the reservation covered.

CoverageByTime

coverageByTime_groups :: Lens' CoverageByTime (Maybe [ReservationCoverageGroup]) Source #

The groups of instances that the reservation covered.

coverageByTime_timePeriod :: Lens' CoverageByTime (Maybe DateInterval) Source #

The period that this coverage was used over.

coverageByTime_total :: Lens' CoverageByTime (Maybe Coverage) Source #

The total reservation coverage, in hours.

CoverageCost

coverageCost_onDemandCost :: Lens' CoverageCost (Maybe Text) Source #

How much an On-Demand Instance costs.

CoverageHours

coverageHours_coverageHoursPercentage :: Lens' CoverageHours (Maybe Text) Source #

The percentage of instance hours that a reservation covered.

coverageHours_onDemandHours :: Lens' CoverageHours (Maybe Text) Source #

The number of instance running hours that On-Demand Instances covered.

coverageHours_totalRunningHours :: Lens' CoverageHours (Maybe Text) Source #

The total instance usage, in hours.

coverageHours_reservedHours :: Lens' CoverageHours (Maybe Text) Source #

The number of instance running hours that reservations covered.

CoverageNormalizedUnits

coverageNormalizedUnits_reservedNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The number of normalized units that a reservation covers.

coverageNormalizedUnits_coverageNormalizedUnitsPercentage :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The percentage of your used instance normalized units that a reservation covers.

coverageNormalizedUnits_onDemandNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The number of normalized units that are covered by On-Demand Instances instead of a reservation.

CurrentInstance

currentInstance_resourceId :: Lens' CurrentInstance (Maybe Text) Source #

Resource ID of the current instance.

currentInstance_currencyCode :: Lens' CurrentInstance (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the costs for this instance.

currentInstance_resourceUtilization :: Lens' CurrentInstance (Maybe ResourceUtilization) Source #

Utilization information of the current instance during the lookback period.

currentInstance_resourceDetails :: Lens' CurrentInstance (Maybe ResourceDetails) Source #

Details about the resource and utilization.

currentInstance_totalRunningHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The total number of hours that the instance ran during the lookback period.

currentInstance_reservationCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's covered by reservations.

currentInstance_onDemandHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's billed at On-Demand rates.

currentInstance_monthlyCost :: Lens' CurrentInstance (Maybe Text) Source #

The current On-Demand cost of operating this instance on a monthly basis.

currentInstance_instanceName :: Lens' CurrentInstance (Maybe Text) Source #

The name that you given an instance. This field shows as blank if you haven't given the instance a name.

currentInstance_savingsPlansCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's covered by Savings Plans.

currentInstance_tags :: Lens' CurrentInstance (Maybe [TagValues]) Source #

Cost allocation resource tags that are applied to the instance.

DateInterval

dateInterval_start :: Lens' DateInterval Text Source #

The beginning of the time period. The start date is inclusive. For example, if 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.

dateInterval_end :: Lens' DateInterval Text Source #

The end of the time period. The end date is exclusive. For example, if 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.

DimensionValues

dimensionValues_values :: Lens' DimensionValues (Maybe [Text]) Source #

The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values.

dimensionValues_key :: Lens' DimensionValues (Maybe Dimension) Source #

The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.

dimensionValues_matchOptions :: Lens' DimensionValues (Maybe [MatchOption]) Source #

The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category. The default values for MatchOptions are EQUALS and CASE_SENSITIVE.

DimensionValuesWithAttributes

dimensionValuesWithAttributes_value :: Lens' DimensionValuesWithAttributes (Maybe Text) Source #

The value of a dimension with a specific attribute.

DiskResourceUtilization

diskResourceUtilization_diskWriteOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #

The maximum number of write operations per second.

diskResourceUtilization_diskReadOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #

The maximum number of read operations per second.

diskResourceUtilization_diskWriteBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #

The maximum write throughput operations per second.

diskResourceUtilization_diskReadBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #

The maximum read throughput operations per second.

EBSResourceUtilization

eBSResourceUtilization_ebsWriteBytesPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #

The maximum size of write operations per second.

eBSResourceUtilization_ebsWriteOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #

The maximum number of write operations per second.

eBSResourceUtilization_ebsReadOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #

The maximum number of read operations per second.

EC2InstanceDetails

eC2InstanceDetails_currentGeneration :: Lens' EC2InstanceDetails (Maybe Bool) Source #

Determines whether the recommendation is for a current-generation instance.

eC2InstanceDetails_platform :: Lens' EC2InstanceDetails (Maybe Text) Source #

The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.

eC2InstanceDetails_family :: Lens' EC2InstanceDetails (Maybe Text) Source #

The instance family of the recommended reservation.

eC2InstanceDetails_instanceType :: Lens' EC2InstanceDetails (Maybe Text) Source #

The type of instance that Amazon Web Services recommends.

eC2InstanceDetails_availabilityZone :: Lens' EC2InstanceDetails (Maybe Text) Source #

The Availability Zone of the recommended reservation.

eC2InstanceDetails_sizeFlexEligible :: Lens' EC2InstanceDetails (Maybe Bool) Source #

Determines whether the recommended reservation is size flexible.

eC2InstanceDetails_tenancy :: Lens' EC2InstanceDetails (Maybe Text) Source #

Determines whether the recommended reservation is dedicated or shared.

eC2InstanceDetails_region :: Lens' EC2InstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

EC2ResourceDetails

eC2ResourceDetails_platform :: Lens' EC2ResourceDetails (Maybe Text) Source #

The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.

eC2ResourceDetails_vcpu :: Lens' EC2ResourceDetails (Maybe Text) Source #

The number of VCPU cores in the Amazon Web Services instance type.

eC2ResourceDetails_networkPerformance :: Lens' EC2ResourceDetails (Maybe Text) Source #

The network performance capacity of the Amazon Web Services instance.

eC2ResourceDetails_memory :: Lens' EC2ResourceDetails (Maybe Text) Source #

The memory capacity of the Amazon Web Services instance.

eC2ResourceDetails_instanceType :: Lens' EC2ResourceDetails (Maybe Text) Source #

The type of Amazon Web Services instance.

eC2ResourceDetails_storage :: Lens' EC2ResourceDetails (Maybe Text) Source #

The disk storage of the Amazon Web Services instance. This doesn't include EBS storage.

eC2ResourceDetails_region :: Lens' EC2ResourceDetails (Maybe Text) Source #

The Amazon Web Services Region of the instance.

eC2ResourceDetails_hourlyOnDemandRate :: Lens' EC2ResourceDetails (Maybe Text) Source #

The hourly public On-Demand rate for the instance type.

EC2ResourceUtilization

eC2ResourceUtilization_maxCpuUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #

The maximum observed or expected CPU utilization of the instance.

eC2ResourceUtilization_networkResourceUtilization :: Lens' EC2ResourceUtilization (Maybe NetworkResourceUtilization) Source #

The network field that contains a list of network metrics that are associated with the current instance.

eC2ResourceUtilization_eBSResourceUtilization :: Lens' EC2ResourceUtilization (Maybe EBSResourceUtilization) Source #

The EBS field that contains a list of EBS metrics that are associated with the current instance.

eC2ResourceUtilization_maxStorageUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #

The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.

eC2ResourceUtilization_maxMemoryUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #

The maximum observed or expected memory utilization of the instance.

eC2ResourceUtilization_diskResourceUtilization :: Lens' EC2ResourceUtilization (Maybe DiskResourceUtilization) Source #

The field that contains a list of disk (local storage) metrics that are associated with the current instance.

EC2Specification

eC2Specification_offeringClass :: Lens' EC2Specification (Maybe OfferingClass) Source #

Indicates whether you want a recommendation for standard or convertible reservations.

ESInstanceDetails

eSInstanceDetails_currentGeneration :: Lens' ESInstanceDetails (Maybe Bool) Source #

Determines whether the recommendation is for a current-generation instance.

eSInstanceDetails_instanceClass :: Lens' ESInstanceDetails (Maybe Text) Source #

The class of instance that Amazon Web Services recommends.

eSInstanceDetails_instanceSize :: Lens' ESInstanceDetails (Maybe Text) Source #

The size of instance that Amazon Web Services recommends.

eSInstanceDetails_sizeFlexEligible :: Lens' ESInstanceDetails (Maybe Bool) Source #

Determines whether the recommended reservation is size flexible.

eSInstanceDetails_region :: Lens' ESInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

ElastiCacheInstanceDetails

elastiCacheInstanceDetails_currentGeneration :: Lens' ElastiCacheInstanceDetails (Maybe Bool) Source #

Determines whether the recommendation is for a current generation instance.

elastiCacheInstanceDetails_family :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #

The instance family of the recommended reservation.

elastiCacheInstanceDetails_sizeFlexEligible :: Lens' ElastiCacheInstanceDetails (Maybe Bool) Source #

Determines whether the recommended reservation is size flexible.

elastiCacheInstanceDetails_region :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

elastiCacheInstanceDetails_nodeType :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #

The type of node that Amazon Web Services recommends.

Expression

expression_not :: Lens' Expression (Maybe Expression) Source #

Return results that don't match a Dimension object.

expression_and :: Lens' Expression (Maybe [Expression]) Source #

Return results that match both Dimension objects.

expression_or :: Lens' Expression (Maybe [Expression]) Source #

Return results that match either Dimension object.

expression_costCategories :: Lens' Expression (Maybe CostCategoryValues) Source #

The filter that's based on CostCategory values.

expression_dimensions :: Lens' Expression (Maybe DimensionValues) Source #

The specific Dimension to use for Expression.

expression_tags :: Lens' Expression (Maybe TagValues) Source #

The specific Tag to use for Expression.

ForecastResult

forecastResult_timePeriod :: Lens' ForecastResult (Maybe DateInterval) Source #

The period of time that the forecast covers.

forecastResult_meanValue :: Lens' ForecastResult (Maybe Text) Source #

The mean value of the forecast.

forecastResult_predictionIntervalUpperBound :: Lens' ForecastResult (Maybe Text) Source #

The upper limit for the prediction interval.

forecastResult_predictionIntervalLowerBound :: Lens' ForecastResult (Maybe Text) Source #

The lower limit for the prediction interval.

Group

group_metrics :: Lens' Group (Maybe (HashMap Text MetricValue)) Source #

The metrics that are included in this group.

group_keys :: Lens' Group (Maybe [Text]) Source #

The keys that are included in this group.

GroupDefinition

groupDefinition_key :: Lens' GroupDefinition (Maybe Text) Source #

The string that represents a key for a specified group.

groupDefinition_type :: Lens' GroupDefinition (Maybe GroupDefinitionType) Source #

The string that represents the type of group.

Impact

impact_totalImpact :: Lens' Impact (Maybe Double) Source #

The cumulative dollar value that's observed for an anomaly.

impact_maxImpact :: Lens' Impact Double Source #

The maximum dollar value that's observed for an anomaly.

InstanceDetails

instanceDetails_eSInstanceDetails :: Lens' InstanceDetails (Maybe ESInstanceDetails) Source #

The Amazon ES instances that Amazon Web Services recommends that you purchase.

instanceDetails_rDSInstanceDetails :: Lens' InstanceDetails (Maybe RDSInstanceDetails) Source #

The Amazon RDS instances that Amazon Web Services recommends that you purchase.

instanceDetails_elastiCacheInstanceDetails :: Lens' InstanceDetails (Maybe ElastiCacheInstanceDetails) Source #

The ElastiCache instances that Amazon Web Services recommends that you purchase.

instanceDetails_eC2InstanceDetails :: Lens' InstanceDetails (Maybe EC2InstanceDetails) Source #

The Amazon EC2 instances that Amazon Web Services recommends that you purchase.

instanceDetails_redshiftInstanceDetails :: Lens' InstanceDetails (Maybe RedshiftInstanceDetails) Source #

The Amazon Redshift instances that Amazon Web Services recommends that you purchase.

MetricValue

metricValue_amount :: Lens' MetricValue (Maybe Text) Source #

The actual number that represents the metric.

metricValue_unit :: Lens' MetricValue (Maybe Text) Source #

The unit that the metric is given in.

ModifyRecommendationDetail

modifyRecommendationDetail_targetInstances :: Lens' ModifyRecommendationDetail (Maybe [TargetInstance]) Source #

Determines whether this instance type is the Amazon Web Services default recommendation.

NetworkResourceUtilization

networkResourceUtilization_networkPacketsOutPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #

The network outgress packets that are measured in packets per second.

networkResourceUtilization_networkInBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #

The network inbound throughput utilization measured in Bytes per second.

networkResourceUtilization_networkPacketsInPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #

The network ingress packets that are measured in packets per second.

networkResourceUtilization_networkOutBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #

The network outbound throughput utilization measured in Bytes per second.

RDSInstanceDetails

rDSInstanceDetails_currentGeneration :: Lens' RDSInstanceDetails (Maybe Bool) Source #

Determines whether the recommendation is for a current-generation instance.

rDSInstanceDetails_deploymentOption :: Lens' RDSInstanceDetails (Maybe Text) Source #

Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.

rDSInstanceDetails_family :: Lens' RDSInstanceDetails (Maybe Text) Source #

The instance family of the recommended reservation.

rDSInstanceDetails_instanceType :: Lens' RDSInstanceDetails (Maybe Text) Source #

The type of instance that Amazon Web Services recommends.

rDSInstanceDetails_licenseModel :: Lens' RDSInstanceDetails (Maybe Text) Source #

The license model that the recommended reservation supports.

rDSInstanceDetails_sizeFlexEligible :: Lens' RDSInstanceDetails (Maybe Bool) Source #

Determines whether the recommended reservation is size flexible.

rDSInstanceDetails_region :: Lens' RDSInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

rDSInstanceDetails_databaseEngine :: Lens' RDSInstanceDetails (Maybe Text) Source #

The database engine that the recommended reservation supports.

rDSInstanceDetails_databaseEdition :: Lens' RDSInstanceDetails (Maybe Text) Source #

The database edition that the recommended reservation supports.

RedshiftInstanceDetails

redshiftInstanceDetails_currentGeneration :: Lens' RedshiftInstanceDetails (Maybe Bool) Source #

Determines whether the recommendation is for a current-generation instance.

redshiftInstanceDetails_family :: Lens' RedshiftInstanceDetails (Maybe Text) Source #

The instance family of the recommended reservation.

redshiftInstanceDetails_sizeFlexEligible :: Lens' RedshiftInstanceDetails (Maybe Bool) Source #

Determines whether the recommended reservation is size flexible.

redshiftInstanceDetails_region :: Lens' RedshiftInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

redshiftInstanceDetails_nodeType :: Lens' RedshiftInstanceDetails (Maybe Text) Source #

The type of node that Amazon Web Services recommends.

ReservationAggregates

reservationAggregates_purchasedHours :: Lens' ReservationAggregates (Maybe Text) Source #

How many reservation hours that you purchased.

reservationAggregates_totalActualHours :: Lens' ReservationAggregates (Maybe Text) Source #

The total number of reservation hours that you used.

reservationAggregates_utilizationPercentage :: Lens' ReservationAggregates (Maybe Text) Source #

The percentage of reservation time that you used.

reservationAggregates_totalAmortizedFee :: Lens' ReservationAggregates (Maybe Text) Source #

The total cost of your reservation. It's amortized over the reservation period.

reservationAggregates_unusedUnits :: Lens' ReservationAggregates (Maybe Text) Source #

The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

reservationAggregates_unrealizedSavings :: Lens' ReservationAggregates (Maybe Text) Source #

The unrealized savings because of purchasing and using a reservation.

reservationAggregates_rICostForUnusedHours :: Lens' ReservationAggregates (Maybe Text) Source #

The cost of unused hours for your reservation.

reservationAggregates_unusedHours :: Lens' ReservationAggregates (Maybe Text) Source #

The number of reservation hours that you didn't use.

reservationAggregates_realizedSavings :: Lens' ReservationAggregates (Maybe Text) Source #

The realized savings because of purchasing and using a reservation.

reservationAggregates_purchasedUnits :: Lens' ReservationAggregates (Maybe Text) Source #

The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

reservationAggregates_amortizedUpfrontFee :: Lens' ReservationAggregates (Maybe Text) Source #

The upfront cost of your reservation. It's amortized over the reservation period.

reservationAggregates_amortizedRecurringFee :: Lens' ReservationAggregates (Maybe Text) Source #

The monthly cost of your reservation. It's amortized over the reservation period.

reservationAggregates_utilizationPercentageInUnits :: Lens' ReservationAggregates (Maybe Text) Source #

The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

reservationAggregates_netRISavings :: Lens' ReservationAggregates (Maybe Text) Source #

How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting TotalAmortizedFee from OnDemandCostOfRIHoursUsed.

reservationAggregates_onDemandCostOfRIHoursUsed :: Lens' ReservationAggregates (Maybe Text) Source #

How much your reservation costs if charged On-Demand rates.

reservationAggregates_totalPotentialRISavings :: Lens' ReservationAggregates (Maybe Text) Source #

How much you might save if you use your entire reservation.

reservationAggregates_totalActualUnits :: Lens' ReservationAggregates (Maybe Text) Source #

The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

ReservationCoverageGroup

reservationCoverageGroup_coverage :: Lens' ReservationCoverageGroup (Maybe Coverage) Source #

How much instance usage this group of reservations covered.

reservationCoverageGroup_attributes :: Lens' ReservationCoverageGroup (Maybe (HashMap Text Text)) Source #

The attributes for this group of reservations.

ReservationPurchaseRecommendation

reservationPurchaseRecommendation_termInYears :: Lens' ReservationPurchaseRecommendation (Maybe TermInYears) Source #

The term of the reservation that you want recommendations for, in years.

reservationPurchaseRecommendation_serviceSpecification :: Lens' ReservationPurchaseRecommendation (Maybe ServiceSpecification) Source #

Hardware specifications for the service that you want recommendations for.

reservationPurchaseRecommendation_accountScope :: Lens' ReservationPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.

reservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' ReservationPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #

How many days of previous usage that Amazon Web Services considers when making this recommendation.

reservationPurchaseRecommendation_paymentOption :: Lens' ReservationPurchaseRecommendation (Maybe PaymentOption) Source #

The payment option for the reservation (for example, AllUpfront or NoUpfront).

ReservationPurchaseRecommendationDetail

reservationPurchaseRecommendationDetail_maximumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_averageNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_currencyCode :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the costs for this instance.

reservationPurchaseRecommendationDetail_estimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

How much Amazon Web Services estimates that this specific recommendation could save you in a month, as a percentage of your overall costs.

reservationPurchaseRecommendationDetail_recommendedNormalizedUnitsToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The number of normalized units that Amazon Web Services recommends that you purchase.

reservationPurchaseRecommendationDetail_averageUtilization :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_estimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

How much Amazon Web Services estimates that this specific recommendation could save you in a month.

reservationPurchaseRecommendationDetail_minimumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_estimatedMonthlyOnDemandCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.

reservationPurchaseRecommendationDetail_maximumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_estimatedReservationCostForLookbackPeriod :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

How much Amazon Web Services estimates that you would have spent for all usage during the specified historical period if you had a reservation.

reservationPurchaseRecommendationDetail_instanceDetails :: Lens' ReservationPurchaseRecommendationDetail (Maybe InstanceDetails) Source #

Details about the instances that Amazon Web Services recommends that you purchase.

reservationPurchaseRecommendationDetail_averageNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_minimumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

reservationPurchaseRecommendationDetail_estimatedBreakEvenInMonths :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.

ReservationPurchaseRecommendationMetadata

ReservationPurchaseRecommendationSummary

reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text) Source #

The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.

reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text) Source #

The total amount that Amazon Web Services estimates that this recommendation could save you in a month.

ReservationUtilizationGroup

reservationUtilizationGroup_value :: Lens' ReservationUtilizationGroup (Maybe Text) Source #

The value of a specific reservation attribute.

reservationUtilizationGroup_key :: Lens' ReservationUtilizationGroup (Maybe Text) Source #

The key for a specific reservation attribute.

ResourceDetails

ResourceUtilization

ResultByTime

resultByTime_groups :: Lens' ResultByTime (Maybe [Group]) Source #

The groups that this time period includes.

resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval) Source #

The time period that the result covers.

resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue)) Source #

The total amount of cost or usage accrued during the time period.

resultByTime_estimated :: Lens' ResultByTime (Maybe Bool) Source #

Determines whether the result is estimated.

RightsizingRecommendation

rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text) Source #

The account that this recommendation is for.

rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode]) Source #

The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).

rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType) Source #

A recommendation to either terminate or modify the resource.

RightsizingRecommendationConfiguration

rightsizingRecommendationConfiguration_recommendationTarget :: Lens' RightsizingRecommendationConfiguration RecommendationTarget Source #

The option to see recommendations within the same instance family or recommendations for instances across other families. The default value is SAME_INSTANCE_FAMILY.

rightsizingRecommendationConfiguration_benefitsConsidered :: Lens' RightsizingRecommendationConfiguration Bool Source #

The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is TRUE.

RightsizingRecommendationMetadata

rightsizingRecommendationMetadata_generationTimestamp :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #

The timestamp for when Amazon Web Services made this recommendation.

rightsizingRecommendationMetadata_additionalMetadata :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #

Additional metadata that might be applicable to the recommendation.

rightsizingRecommendationMetadata_lookbackPeriodInDays :: Lens' RightsizingRecommendationMetadata (Maybe LookbackPeriodInDays) Source #

The number of days of previous usage that Amazon Web Services considers when making this recommendation.

RightsizingRecommendationSummary

rightsizingRecommendationSummary_savingsPercentage :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #

The savings percentage based on the recommended modifications. It's relative to the total On-Demand costs that are associated with these instances.

rightsizingRecommendationSummary_savingsCurrencyCode :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the savings.

rightsizingRecommendationSummary_estimatedTotalMonthlySavingsAmount :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #

The estimated total savings resulting from modifications, on a monthly basis.

RootCause

rootCause_service :: Lens' RootCause (Maybe Text) Source #

The Amazon Web Services service name that's associated with the cost anomaly.

rootCause_usageType :: Lens' RootCause (Maybe Text) Source #

The UsageType value that's associated with the cost anomaly.

rootCause_linkedAccount :: Lens' RootCause (Maybe Text) Source #

The member account value that's associated with the cost anomaly.

rootCause_region :: Lens' RootCause (Maybe Text) Source #

The Amazon Web Services Region that's associated with the cost anomaly.

SavingsPlansAmortizedCommitment

savingsPlansAmortizedCommitment_amortizedUpfrontCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #

The amortized amount of your Savings Plans commitment that was purchased with an Upfront or PartialUpfront Savings Plans.

savingsPlansAmortizedCommitment_totalAmortizedCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #

The total amortized amount of your Savings Plans commitment, regardless of your Savings Plans purchase method.

savingsPlansAmortizedCommitment_amortizedRecurringCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #

The amortized amount of your Savings Plans commitment that was purchased with either a Partial or a NoUpfront.

SavingsPlansCoverage

savingsPlansCoverage_coverage :: Lens' SavingsPlansCoverage (Maybe SavingsPlansCoverageData) Source #

The amount of Savings Plans eligible usage that the Savings Plans covered.

savingsPlansCoverage_attributes :: Lens' SavingsPlansCoverage (Maybe (HashMap Text Text)) Source #

The attribute that applies to a specific Dimension.

SavingsPlansCoverageData

savingsPlansCoverageData_onDemandCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The cost of your Amazon Web Services usage at the public On-Demand rate.

savingsPlansCoverageData_spendCoveredBySavingsPlans :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The amount of your Amazon Web Services usage that is covered by a Savings Plans.

savingsPlansCoverageData_coveragePercentage :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).

savingsPlansCoverageData_totalCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The total cost of your Amazon Web Services usage, regardless of your purchase option.

SavingsPlansDetails

savingsPlansDetails_instanceFamily :: Lens' SavingsPlansDetails (Maybe Text) Source #

A group of instance types that Savings Plans applies to.

savingsPlansDetails_offeringId :: Lens' SavingsPlansDetails (Maybe Text) Source #

The unique ID that's used to distinguish Savings Plans from one another.

savingsPlansDetails_region :: Lens' SavingsPlansDetails (Maybe Text) Source #

A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.

SavingsPlansPurchaseRecommendation

savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails :: Lens' SavingsPlansPurchaseRecommendation (Maybe [SavingsPlansPurchaseRecommendationDetail]) Source #

Details for the Savings Plans we recommend that you purchase to cover existing Savings Plans eligible workloads.

savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears) Source #

The Savings Plans recommendation term in years. It's used to generate the recommendation.

savingsPlansPurchaseRecommendation_accountScope :: Lens' SavingsPlansPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that include the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

SavingsPlansPurchaseRecommendationDetail

savingsPlansPurchaseRecommendationDetail_currencyCode :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The currency code that Amazon Web Services used to generate the recommendations and present potential savings.

savingsPlansPurchaseRecommendationDetail_currentAverageHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The average value of hourly On-Demand spend over the lookback period of the applicable usage type.

savingsPlansPurchaseRecommendationDetail_currentMinimumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.

savingsPlansPurchaseRecommendationDetail_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The estimated return on investment that's based on the recommended Savings Plans that you purchased. This is calculated as estimatedSavingsAmount/ estimatedSPCost*100.

savingsPlansPurchaseRecommendationDetail_currentMaximumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.

savingsPlansPurchaseRecommendationDetail_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.

savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.

savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The estimated On-Demand costs you would expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.

savingsPlansPurchaseRecommendationDetail_upfrontCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The upfront cost of the recommended Savings Plans, based on the selected payment option.

savingsPlansPurchaseRecommendationDetail_estimatedSPCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The cost of the recommended Savings Plans over the length of the lookback period.

savingsPlansPurchaseRecommendationDetail_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.

savingsPlansPurchaseRecommendationDetail_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.

SavingsPlansPurchaseRecommendationMetadata

SavingsPlansPurchaseRecommendationSummary

savingsPlansPurchaseRecommendationSummary_currencyCode :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The currency code that Amazon Web Services used to generate the recommendations and present potential savings.

savingsPlansPurchaseRecommendationSummary_estimatedTotalCost :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated total cost of the usage after purchasing the recommended Savings Plans. This is a sum of the cost of Savings Plans during this term, and the remaining On-Demand usage.

savingsPlansPurchaseRecommendationSummary_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated return on investment that's based on the recommended Savings Plans and estimated savings.

savingsPlansPurchaseRecommendationSummary_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.

savingsPlansPurchaseRecommendationSummary_estimatedMonthlySavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated monthly savings amount that's based on the recommended Savings Plans purchase.

savingsPlansPurchaseRecommendationSummary_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated On-Demand costs you would expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own.

savingsPlansPurchaseRecommendationSummary_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The estimated savings relative to the total cost of On-Demand usage, over the lookback period. This is calculated as estimatedSavingsAmount/ CurrentOnDemandSpend*100.

savingsPlansPurchaseRecommendationSummary_totalRecommendationCount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The aggregate number of Savings Plans recommendations that exist for your account.

savingsPlansPurchaseRecommendationSummary_currentOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The current total on demand spend of the applicable usage types over the lookback period.

savingsPlansPurchaseRecommendationSummary_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

The recommended hourly commitment that's based on the recommendation parameters.

SavingsPlansSavings

savingsPlansSavings_netSavings :: Lens' SavingsPlansSavings (Maybe Text) Source #

The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.

savingsPlansSavings_onDemandCostEquivalent :: Lens' SavingsPlansSavings (Maybe Text) Source #

How much the amount that the usage would have cost if it was accrued at the On-Demand rate.

SavingsPlansUtilization

savingsPlansUtilization_unusedCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #

The amount of your Savings Plans commitment that wasn't consumed from Savings Plans eligible usage in a specific period.

savingsPlansUtilization_utilizationPercentage :: Lens' SavingsPlansUtilization (Maybe Text) Source #

The amount of UsedCommitment divided by the TotalCommitment for your Savings Plans.

savingsPlansUtilization_totalCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #

The total amount of Savings Plans commitment that's been purchased in an account (or set of accounts).

savingsPlansUtilization_usedCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #

The amount of your Savings Plans commitment that was consumed from Savings Plans eligible usage in a specific period.

SavingsPlansUtilizationAggregates

savingsPlansUtilizationAggregates_amortizedCommitment :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansAmortizedCommitment) Source #

The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.

savingsPlansUtilizationAggregates_savings :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansSavings) Source #

The amount saved by using existing Savings Plans. Savings returns both net savings from Savings Plans, as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate.

savingsPlansUtilizationAggregates_utilization :: Lens' SavingsPlansUtilizationAggregates SavingsPlansUtilization Source #

A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.

SavingsPlansUtilizationByTime

savingsPlansUtilizationByTime_amortizedCommitment :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansAmortizedCommitment) Source #

The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.

savingsPlansUtilizationByTime_savings :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansSavings) Source #

The amount saved by using existing Savings Plans. Savings returns both net savings from Savings Plans as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate.

savingsPlansUtilizationByTime_utilization :: Lens' SavingsPlansUtilizationByTime SavingsPlansUtilization Source #

A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.

SavingsPlansUtilizationDetail

savingsPlansUtilizationDetail_amortizedCommitment :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansAmortizedCommitment) Source #

The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.

savingsPlansUtilizationDetail_savings :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansSavings) Source #

The amount saved by using existing Savings Plans. Savings returns both net savings from savings plans as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate.

savingsPlansUtilizationDetail_utilization :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansUtilization) Source #

A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.

savingsPlansUtilizationDetail_savingsPlanArn :: Lens' SavingsPlansUtilizationDetail (Maybe Text) Source #

The unique Amazon Resource Name (ARN) for a particular Savings Plan.

ServiceSpecification

serviceSpecification_eC2Specification :: Lens' ServiceSpecification (Maybe EC2Specification) Source #

The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for.

SortDefinition

sortDefinition_sortOrder :: Lens' SortDefinition (Maybe SortOrder) Source #

The order that's used to sort the data.

sortDefinition_key :: Lens' SortDefinition Text Source #

The key that's used to sort the data.

Subscriber

subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus) Source #

Indicates if the subscriber accepts the notifications.

subscriber_address :: Lens' Subscriber (Maybe Text) Source #

The email address or SNS Amazon Resource Name (ARN). This depends on the Type.

subscriber_type :: Lens' Subscriber (Maybe SubscriberType) Source #

The notification delivery channel.

TagValues

tagValues_values :: Lens' TagValues (Maybe [Text]) Source #

The specific value of the tag.

tagValues_key :: Lens' TagValues (Maybe Text) Source #

The key for the tag.

tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption]) Source #

The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category. The default values for MatchOptions are EQUALS and CASE_SENSITIVE.

TargetInstance

targetInstance_currencyCode :: Lens' TargetInstance (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the costs for this instance.

targetInstance_platformDifferences :: Lens' TargetInstance (Maybe [PlatformDifference]) Source #

Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.

targetInstance_defaultTargetInstance :: Lens' TargetInstance (Maybe Bool) Source #

Determines whether this recommendation is the defaulted Amazon Web Services recommendation.

targetInstance_estimatedMonthlyCost :: Lens' TargetInstance (Maybe Text) Source #

The expected cost to operate this instance type on a monthly basis.

targetInstance_estimatedMonthlySavings :: Lens' TargetInstance (Maybe Text) Source #

The estimated savings that result from modification, on a monthly basis.

targetInstance_expectedResourceUtilization :: Lens' TargetInstance (Maybe ResourceUtilization) Source #

The expected utilization metrics for target instance type.

TerminateRecommendationDetail

terminateRecommendationDetail_currencyCode :: Lens' TerminateRecommendationDetail (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the costs for this instance.

terminateRecommendationDetail_estimatedMonthlySavings :: Lens' TerminateRecommendationDetail (Maybe Text) Source #

The estimated savings that result from modification, on a monthly basis.

TotalImpactFilter

totalImpactFilter_endValue :: Lens' TotalImpactFilter (Maybe Double) Source #

The upper bound dollar value that's used in the filter.

totalImpactFilter_numericOperator :: Lens' TotalImpactFilter NumericOperator Source #

The comparing value that's used in the filter.

totalImpactFilter_startValue :: Lens' TotalImpactFilter Double Source #

The lower bound dollar value that's used in the filter.

UtilizationByTime

utilizationByTime_groups :: Lens' UtilizationByTime (Maybe [ReservationUtilizationGroup]) Source #

The groups that this utilization result uses.

utilizationByTime_timePeriod :: Lens' UtilizationByTime (Maybe DateInterval) Source #

The period of time that this utilization was used for.

utilizationByTime_total :: Lens' UtilizationByTime (Maybe ReservationAggregates) Source #

The total number of reservation hours that were used.