amazonka-cost-explorer-2.0: Amazon Cost Explorer Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CostExplorer.Lens

Contents

Description

 
Synopsis

Operations

CreateAnomalyMonitor

createAnomalyMonitor_resourceTags :: Lens' CreateAnomalyMonitor (Maybe [ResourceTag]) Source #

An optional list of tags to associate with the specified AnomalyMonitor . You can use resource tags to control access to your monitor using IAM policies.

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

  • Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
  • The maximum length of a key is 128 characters
  • The maximum length of a value is 256 characters
  • Keys and values can only contain alphanumeric characters, spaces, and any of the following: _.:/=+@-
  • Keys and values are case sensitive
  • Keys and values are trimmed for any leading or trailing whitespaces
  • Don’t use aws: as a prefix for your keys. This prefix is reserved for Amazon Web Services use

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.

CreateAnomalySubscription

createAnomalySubscription_resourceTags :: Lens' CreateAnomalySubscription (Maybe [ResourceTag]) Source #

An optional list of tags to associate with the specified AnomalySubscription . You can use resource tags to control access to your subscription using IAM policies.

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

  • Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
  • The maximum length of a key is 128 characters
  • The maximum length of a value is 256 characters
  • Keys and values can only contain alphanumeric characters, spaces, and any of the following: _.:/=+@-
  • Keys and values are case sensitive
  • Keys and values are trimmed for any leading or trailing whitespaces
  • Don’t use aws: as a prefix for your keys. This prefix is reserved for Amazon Web Services use

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.

CreateCostCategoryDefinition

createCostCategoryDefinition_effectiveStart :: Lens' CreateCostCategoryDefinition (Maybe Text) Source #

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.

createCostCategoryDefinition_resourceTags :: Lens' CreateCostCategoryDefinition (Maybe [ResourceTag]) Source #

An optional list of tags to associate with the specified CostCategory . You can use resource tags to control access to your cost category using IAM policies.

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

  • Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
  • The maximum length of a key is 128 characters
  • The maximum length of a value is 256 characters
  • Keys and values can only contain alphanumeric characters, spaces, and any of the following: _.:/=+@-
  • Keys and values are case sensitive
  • Keys and values are trimmed for any leading or trailing whitespaces
  • Don’t use aws: as a prefix for your keys. This prefix is reserved for Amazon Web Services use

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.

createCostCategoryDefinitionResponse_effectiveStart :: Lens' CreateCostCategoryDefinitionResponse (Maybe Text) Source #

The Cost Category's effective start date. It can only be a billing start date (first day of the month).

DeleteAnomalyMonitor

deleteAnomalyMonitor_monitorArn :: Lens' DeleteAnomalyMonitor Text Source #

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

DeleteAnomalySubscription

deleteAnomalySubscription_subscriptionArn :: Lens' DeleteAnomalySubscription Text Source #

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

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 is categorized by the deleted Cost Category.

DescribeCostCategoryDefinition

GetAnomalies

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

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

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

The number of entries a paginated response contains.

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_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_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.

GetAnomalyMonitors

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

The number of entries that a paginated response contains.

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

A list of cost anomaly monitor ARNs.

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.

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.

GetAnomalySubscriptions

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

The number of entries a paginated response contains.

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.

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.

GetCostAndUsage

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.

Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.

Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE. Default values are EQUALS and CASE_SENSITIVE.

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, INVOICING_ENTITY, 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_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_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.

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_resultsByTime :: Lens' GetCostAndUsageResponse (Maybe [ResultByTime]) Source #

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

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_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, hour or GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups.

Metrics is required for GetCostAndUsageWithResources requests.

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_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.

Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.

Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE. Default values are EQUALS and CASE_SENSITIVE.

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.

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.

GetCostCategories

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

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

The maximum number of objects that are returned for this request. If MaxResults isn't specified with the SortBy value, the request returns 1000 results as the default value for this parameter.

For GetCostCategories, MaxResults has an upper quota of 1000.

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

If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the previous 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 don't specify a CostCategoryName, SearchString is used to filter Cost Category names that match the SearchString pattern. If you specify a CostCategoryName, SearchString is used to filter Cost Category values that match the SearchString pattern.

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

The value that you sort the data by.

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

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

The supported key values for the SortOrder value are ASCENDING and DESCENDING.

When you use the SortBy value, the NextPageToken and SearchString key values aren't supported.

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

The Cost Category values.

If the CostCategoryName key isn't specified in the request, the CostCategoryValues fields aren't returned.

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

If the number of objects that are still available for retrieval exceeds the quota, 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.

GetCostForecast

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_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_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_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.
  • BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:

    • Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.
    • AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Services in India.
    • Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
  • 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.
  • 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.
  • INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are Compute Optimized (for example, C4, C5, C6g, and C7g), Memory Optimization (for example, R4, R5n, R5b, and R6g).
  • INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.
  • 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 that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.
  • RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.
  • SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
  • SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
  • SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
  • TENANCY - The tenancy of a resource. Examples are shared or dedicated.
  • 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 Reserved Instance (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 - The 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 Plans.

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 are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.

For GetDimensionValues, MaxResults has an upper limit of 1000.

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_searchString :: Lens' GetDimensionValues (Maybe Text) Source #

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

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

The value that you want to sort the data by.

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

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

The supported values for the SortOrder key are ASCENDING or DESCENDING.

When you specify a SortBy paramater, the context must be COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString aren't 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. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.

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. You can opt-in by enabling Hourly and Resource Level Data in Cost Management Console preferences.

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.

GetReservationCoverage

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_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_groupBy :: Lens' GetReservationCoverage (Maybe [GroupDefinition]) Source #

You can group the data by the following attributes:

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

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_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_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_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.

GetReservationPurchaseRecommendation

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_lookbackPeriodInDays :: Lens' GetReservationPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #

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

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

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

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

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

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.

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.

GetReservationUtilization

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_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_groupBy :: Lens' GetReservationUtilization (Maybe [GroupDefinition]) Source #

Groups only by SUBSCRIPTION_ID. Metadata is included.

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_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_sortBy :: Lens' GetReservationUtilization (Maybe SortDefinition) Source #

The value that you want to sort the data by.

The following values are supported for Key:

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

The supported values for SortOrder are ASCENDING and DESCENDING.

getReservationUtilization_timePeriod :: Lens' GetReservationUtilization DateInterval Source #

Sets the start and end dates for retrieving Reserved Instance (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.

getReservationUtilizationResponse_total :: Lens' GetReservationUtilizationResponse (Maybe ReservationAggregates) Source #

The total amount of time that you used your Reserved Instances (RIs).

GetRightsizingRecommendation

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

You can use Configuration 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 that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

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

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

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 #

You can use Configuration 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 that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

GetSavingsPlansCoverage

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_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_groupBy :: Lens' GetSavingsPlansCoverage (Maybe [GroupDefinition]) Source #

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

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_metrics :: Lens' GetSavingsPlansCoverage (Maybe [Text]) Source #

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

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_sortBy :: Lens' GetSavingsPlansCoverage (Maybe SortDefinition) Source #

The value that you want to sort the data by.

The following values are supported for Key:

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

The supported values for SortOrder are ASCENDING and 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.

GetSavingsPlansPurchaseRecommendation

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) that you want to see Savings Plans purchase recommendations for.

For GetSavingsPlansPurchaseRecommendation, the Filter doesn't 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 that you want to see Savings Plans Purchase Recommendations for. AND and OR operators are not supported.

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_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 that's 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.

GetSavingsPlansUtilization

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_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_sortBy :: Lens' GetSavingsPlansUtilization (Maybe SortDefinition) Source #

The value that you want to sort the data by.

The following values are supported for Key:

  • UtilizationPercentage
  • TotalCommitment
  • UsedCommitment
  • UnusedCommitment
  • NetSavings

The supported values for SortOrder are ASCENDING and 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 that you used your Savings Plans. You can use it 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.

GetSavingsPlansUtilizationDetails

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_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_sortBy :: Lens' GetSavingsPlansUtilizationDetails (Maybe SortDefinition) Source #

The value that you want to sort the data by.

The following values are supported for Key:

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

The supported values for SortOrder are ASCENDING and 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.

GetTags

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 are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.

For GetTags, MaxResults has an upper quota of 1000.

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_sortBy :: Lens' GetTags (Maybe [SortDefinition]) Source #

The value that you want to sort the data by.

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

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

The supported values for SortOrder are ASCENDING and DESCENDING.

When you use SortBy, NextPageToken and SearchString aren't supported.

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

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

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.

GetUsageForecast

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_predictionIntervalLevel :: Lens' GetUsageForecast (Maybe Natural) Source #

Amazon Web Services 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_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 included in the period, but the end date isn't included in the period. 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.

ListCostAllocationTags

listCostAllocationTags_maxResults :: Lens' ListCostAllocationTags (Maybe Natural) Source #

The maximum number of objects that are returned for this request. By default, the request returns 100 results.

listCostAllocationTags_nextToken :: Lens' ListCostAllocationTags (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.

listCostAllocationTags_status :: Lens' ListCostAllocationTags (Maybe CostAllocationTagStatus) Source #

The status of cost allocation tag keys that are returned for this request.

listCostAllocationTags_tagKeys :: Lens' ListCostAllocationTags (Maybe (NonEmpty Text)) Source #

The list of cost allocation tag keys that are returned for this request.

listCostAllocationTags_type :: Lens' ListCostAllocationTags (Maybe CostAllocationTagType) Source #

The type of CostAllocationTag object that are returned for this request. The AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web Services resources for cost allocation purposes. The UserDefined type tags are tags that you define, create, and apply to resources.

listCostAllocationTagsResponse_costAllocationTags :: Lens' ListCostAllocationTagsResponse (Maybe [CostAllocationTag]) Source #

A list of cost allocation tags that includes the detailed metadata for each one.

listCostAllocationTagsResponse_nextToken :: Lens' ListCostAllocationTagsResponse (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

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

The number of entries a paginated response contains.

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.

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

A reference to a Cost Category that contains 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.

ListSavingsPlansPurchaseRecommendationGeneration

listSavingsPlansPurchaseRecommendationGeneration_pageSize :: Lens' ListSavingsPlansPurchaseRecommendationGeneration (Maybe Natural) Source #

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

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

listTagsForResourceResponse_resourceTags :: Lens' ListTagsForResourceResponse (Maybe [ResourceTag]) Source #

A list of tag key value pairs that are associated with the resource.

ProvideAnomalyFeedback

provideAnomalyFeedback_feedback :: Lens' ProvideAnomalyFeedback AnomalyFeedbackType Source #

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

StartSavingsPlansPurchaseRecommendationGeneration

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

tagResource_resourceTags :: Lens' TagResource [ResourceTag] Source #

A list of tag key-value pairs to be added to the resource.

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

  • Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
  • The maximum length of a key is 128 characters
  • The maximum length of a value is 256 characters
  • Keys and values can only contain alphanumeric characters, spaces, and any of the following: _.:/=+@-
  • Keys and values are case sensitive
  • Keys and values are trimmed for any leading or trailing whitespaces
  • Don’t use aws: as a prefix for your keys. This prefix is reserved for Amazon Web Services use

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

untagResource_resourceTagKeys :: Lens' UntagResource [Text] Source #

A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

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).

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 #

(deprecated)

The update to the threshold value for receiving notifications.

This field has been deprecated. To update a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.

updateAnomalySubscription_thresholdExpression :: Lens' UpdateAnomalySubscription (Maybe Expression) Source #

The update to the Expression object used to specify the anomalies that you want to generate alerts for. This supports dimensions and nested expressions. The supported dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE. The supported nested expression types are AND and OR. The match option GREATER_THAN_OR_EQUAL is required. Values must be numbers between 0 and 10,000,000,000.

The following are examples of valid ThresholdExpressions:

  • Absolute threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
  • Percentage threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
  • AND two thresholds together: { "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
  • OR two thresholds together: { "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }

updateAnomalySubscription_subscriptionArn :: Lens' UpdateAnomalySubscription Text Source #

A cost anomaly subscription Amazon Resource Name (ARN).

UpdateCostAllocationTagsStatus

updateCostAllocationTagsStatus_costAllocationTagsStatus :: Lens' UpdateCostAllocationTagsStatus (NonEmpty CostAllocationTagStatusEntry) Source #

The list of CostAllocationTagStatusEntry objects that are used to update cost allocation tags status for this request.

updateCostAllocationTagsStatusResponse_errors :: Lens' UpdateCostAllocationTagsStatusResponse (Maybe [UpdateCostAllocationTagsStatusError]) Source #

A list of UpdateCostAllocationTagsStatusError objects with error details about each cost allocation tag that can't be updated. If there's no failure, an empty array returns.

UpdateCostCategoryDefinition

updateCostCategoryDefinition_effectiveStart :: Lens' UpdateCostCategoryDefinition (Maybe Text) Source #

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.

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 .

updateCostCategoryDefinitionResponse_effectiveStart :: Lens' UpdateCostCategoryDefinitionResponse (Maybe Text) Source #

The Cost Category's effective start date. It can only be a billing start date (first day of the month).

Types

Anomaly

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

The last day the anomaly is detected.

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 Service in a service monitor).

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

The list of identified root causes for the anomaly.

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_lastEvaluatedDate :: Lens' AnomalyMonitor (Maybe Text) Source #

The date when the monitor last evaluated for anomalies.

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

The date when the monitor was last updated.

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 (Maybe Double) Source #

(deprecated)

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

This field has been deprecated. To specify a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.

One of Threshold or ThresholdExpression is required for this resource.

anomalySubscription_thresholdExpression :: Lens' AnomalySubscription (Maybe Expression) Source #

An Expression object used to specify the anomalies that you want to generate alerts for. This supports dimensions and nested expressions. The supported dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE. The supported nested expression types are AND and OR. The match option GREATER_THAN_OR_EQUAL is required. Values must be numbers between 0 and 10,000,000,000.

One of Threshold or ThresholdExpression is required for this resource.

The following are examples of valid ThresholdExpressions:

  • Absolute threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
  • Percentage threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
  • AND two thresholds together: { "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
  • OR two thresholds together: { "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }

anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency Source #

The frequency that anomaly reports are sent over email.

CostAllocationTag

costAllocationTag_tagKey :: Lens' CostAllocationTag Text Source #

The key for the cost allocation tag.

costAllocationTag_type :: Lens' CostAllocationTag CostAllocationTagType Source #

The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags that you define, create, and apply to resources.

CostAllocationTagStatusEntry

CostCategory

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

The effective end date of your Cost Category.

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

The list of processing statuses for Cost Management products for a specific 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 start date 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 is based on the value of the specified tag key.

CostCategoryProcessingStatus

CostCategoryReference

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

The unique identifier for your Cost Category.

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

The Cost Category's effective start date.

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

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

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

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

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

A list of unique cost category values in 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 to define a rule that dynamically inherits the cost category value. This value is from the dimension value that's defined by CostCategoryInheritedValueDimension. For example, suppose that you want to costs to be dynamically grouped based on the value of a specific tag key. First, choose an inherited value rule type, and 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_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.

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

The specific value of the Cost Category.

Coverage

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

The amount of cost that the reservation covered.

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

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

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

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

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_reservedHours :: Lens' CoverageHours (Maybe Text) Source #

The number of instance running hours that reservations covered.

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

The total instance usage, in hours.

CoverageNormalizedUnits

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.

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

The number of normalized units that a reservation covers.

CurrentInstance

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

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

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_monthlyCost :: Lens' CurrentInstance (Maybe Text) Source #

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

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

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

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

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

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

Details about the resource and utilization.

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

Resource ID of the current instance.

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

Utilization information of the current instance during the lookback period.

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.

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

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

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_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.

Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported.

LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.

ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE can only be used in AnomalySubscriptions.

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 and Anomaly Subscriptions. Refer to the documentation for each specific API to see what is supported.

The default values for MatchOptions are EQUALS and CASE_SENSITIVE.

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.

DimensionValuesWithAttributes

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

The value of a dimension with a specific attribute.

DiskResourceUtilization

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

The maximum read throughput 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_diskWriteOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #

The maximum number of write operations per second.

EBSResourceUtilization

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

The maximum number of read operations per second.

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.

EC2InstanceDetails

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

The Availability Zone of the recommended reservation.

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

Determines whether the recommendation is for a current-generation 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_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_region :: Lens' EC2InstanceDetails (Maybe Text) Source #

The Amazon Web Services Region 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.

EC2ResourceDetails

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

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

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

The type of Amazon Web Services instance.

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

The memory capacity of the Amazon Web Services instance.

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

The network performance capacity of the Amazon Web Services instance.

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_region :: Lens' EC2ResourceDetails (Maybe Text) Source #

The Amazon Web Services Region of the instance.

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

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

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

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

EC2ResourceUtilization

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.

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_maxCpuUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #

The maximum observed or expected CPU utilization of the instance.

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

The maximum observed or expected memory utilization of the 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_networkResourceUtilization :: Lens' EC2ResourceUtilization (Maybe NetworkResourceUtilization) Source #

The network field that contains a list of network 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_region :: Lens' ESInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

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

Determines whether the recommended reservation is size flexible.

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_nodeType :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #

The type of node that Amazon Web Services recommends.

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

The Amazon Web Services Region of the recommended reservation.

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

Determines whether the recommended reservation is size flexible.

Expression

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

Return results that match both Dimension objects.

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_not :: Lens' Expression (Maybe Expression) Source #

Return results that don't match a Dimension object.

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

Return results that match either Dimension object.

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

The specific Tag to use for Expression.

ForecastResult

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

The mean value of the forecast.

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

The lower limit for the prediction interval.

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

The upper limit for the prediction interval.

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

The period of time that the forecast covers.

GenerationSummary

generationSummary_estimatedCompletionTime :: Lens' GenerationSummary (Maybe Text) Source #

Indicates the estimated time for when the recommendation generation will complete.

generationSummary_generationCompletionTime :: Lens' GenerationSummary (Maybe Text) Source #

Indicates the completion time of the recommendation generation.

generationSummary_generationStartedTime :: Lens' GenerationSummary (Maybe Text) Source #

Indicates the start time of the recommendation generation.

generationSummary_generationStatus :: Lens' GenerationSummary (Maybe GenerationStatus) Source #

Indicates whether the recommendation generation succeeded, is processing, or failed.

generationSummary_recommendationId :: Lens' GenerationSummary (Maybe Text) Source #

Indicates the ID for this specific recommendation.

Group

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

The keys that are included in this group.

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

The metrics 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_totalActualSpend :: Lens' Impact (Maybe Double) Source #

The cumulative dollar amount that was actually spent during the anomaly.

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

The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.

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

The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.

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

The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.

impact_maxImpact :: Lens' Impact Double Source #

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

InstanceDetails

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

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

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

The Amazon OpenSearch Service 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_rDSInstanceDetails :: Lens' InstanceDetails (Maybe RDSInstanceDetails) Source #

The Amazon RDS 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_networkInBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #

The network inbound throughput utilization measured in Bytes per second (Bps).

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

The network outbound throughput utilization measured in Bytes per second (Bps).

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

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

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

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

RDSInstanceDetails

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

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

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

The database edition that the recommended reservation supports.

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

The database engine that the recommended reservation supports.

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_region :: Lens' RDSInstanceDetails (Maybe Text) Source #

The Amazon Web Services Region of the recommended reservation.

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

Determines whether the recommended reservation is size flexible.

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_nodeType :: Lens' RedshiftInstanceDetails (Maybe Text) Source #

The type of node that Amazon Web Services recommends.

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

The Amazon Web Services Region of the recommended reservation.

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

Determines whether the recommended reservation is size flexible.

ReservationAggregates

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

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

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

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

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_purchasedHours :: Lens' ReservationAggregates (Maybe Text) Source #

How many reservation hours that you purchased.

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_rICostForUnusedHours :: Lens' ReservationAggregates (Maybe Text) Source #

The cost of unused hours for your reservation.

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

The realized savings because of purchasing and using a reservation.

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

The total number of reservation hours that you used.

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.

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

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

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

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

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

The unrealized savings because of purchasing and using a reservation.

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

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

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_utilizationPercentage :: Lens' ReservationAggregates (Maybe Text) Source #

The percentage of reservation time that you used.

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.

ReservationCoverageGroup

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

The attributes for this group of reservations.

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

How much instance usage this group of reservations covered.

ReservationPurchaseRecommendation

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).

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

Hardware specifications for the service that you want recommendations for.

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

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

ReservationPurchaseRecommendationDetail

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

The account that this Reserved Instance (RI) recommendation is for.

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_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_averageUtilization :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

The average utilization of your instances. 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_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.

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

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

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

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

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

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

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

How much Amazon Web Services estimates that you might spend 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_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_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_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_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_recommendedNormalizedUnitsToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #

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

ReservationPurchaseRecommendationMetadata

ReservationPurchaseRecommendationSummary

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

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

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.

ReservationUtilizationGroup

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

The key for a specific reservation attribute.

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

The value of a specific reservation attribute.

ResourceDetails

ResourceTag

resourceTag_key :: Lens' ResourceTag Text Source #

The key that's associated with the tag.

resourceTag_value :: Lens' ResourceTag Text Source #

The value that's associated with the tag.

ResourceUtilization

ResultByTime

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

Determines whether the result is estimated.

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.

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_additionalMetadata :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #

Additional metadata that might be applicable to the recommendation.

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

The timestamp for when Amazon Web Services made this 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_estimatedTotalMonthlySavingsAmount :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #

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

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

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

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.

RootCause

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

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

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

The member account name 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.

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

The Amazon Web 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.

SavingsPlansAmortizedCommitment

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.

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.

SavingsPlansCoverage

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

The attribute that applies to a specific Dimension.

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

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

SavingsPlansCoverageData

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_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's covered by a Savings Plans.

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_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.

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

Details for the Savings Plans that 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.

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_currentMaximumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

The highest 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_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 expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.

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_estimatedSPCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #

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

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_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.

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

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

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_currentOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

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

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 expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own.

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_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_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_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #

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

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

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

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_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_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_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.

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

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

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 that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and also 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 that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and also 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 and also the onDemandCostEquivalent of the Savings Plans when considering the utilization rate.

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

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

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.

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_address :: Lens' Subscriber (Maybe Text) Source #

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

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

Indicates if the subscriber accepts the notifications.

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

The notification delivery channel.

TagValues

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.

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

The specific value of the tag.

TargetInstance

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

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

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.

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

Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended 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.

UpdateCostAllocationTagsStatusError

updateCostAllocationTagsStatusError_code :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text) Source #

An error code representing why the action failed on this entry.

updateCostAllocationTagsStatusError_message :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text) Source #

A message explaining why the action failed on this entry.

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.