Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- GetReservationUtilization
- GetSavingsPlansCoverage
- GetTags
- GetRightsizingRecommendation
- GetCostAndUsageWithResources
- GetUsageForecast
- GetReservationCoverage
- GetCostCategories
- GetCostForecast
- GetDimensionValues
- GetAnomalies
- GetReservationPurchaseRecommendation
- DeleteAnomalyMonitor
- UpdateAnomalyMonitor
- ListCostCategoryDefinitions
- UpdateCostCategoryDefinition
- DeleteCostCategoryDefinition
- GetAnomalySubscriptions
- CreateCostCategoryDefinition
- GetAnomalyMonitors
- DeleteAnomalySubscription
- UpdateAnomalySubscription
- GetCostAndUsage
- GetSavingsPlansPurchaseRecommendation
- ProvideAnomalyFeedback
- GetSavingsPlansUtilization
- DescribeCostCategoryDefinition
- CreateAnomalySubscription
- CreateAnomalyMonitor
- GetSavingsPlansUtilizationDetails
- Types
- AccountScope
- AnomalyFeedbackType
- AnomalySubscriptionFrequency
- Context
- CostCategoryInheritedValueDimensionName
- CostCategoryRuleType
- CostCategoryRuleVersion
- CostCategorySplitChargeMethod
- CostCategorySplitChargeRuleParameterType
- CostCategoryStatus
- CostCategoryStatusComponent
- Dimension
- FindingReasonCode
- Granularity
- GroupDefinitionType
- LookbackPeriodInDays
- MatchOption
- Metric
- MonitorDimension
- MonitorType
- NumericOperator
- OfferingClass
- PaymentOption
- PlatformDifference
- RecommendationTarget
- RightsizingType
- SavingsPlansDataType
- SortOrder
- SubscriberStatus
- SubscriberType
- SupportedSavingsPlansType
- TermInYears
- Anomaly
- AnomalyDateInterval
- AnomalyMonitor
- AnomalyScore
- AnomalySubscription
- CostCategory
- CostCategoryInheritedValueDimension
- CostCategoryProcessingStatus
- CostCategoryReference
- CostCategoryRule
- CostCategorySplitChargeRule
- CostCategorySplitChargeRuleParameter
- CostCategoryValues
- Coverage
- CoverageByTime
- CoverageCost
- CoverageHours
- CoverageNormalizedUnits
- CurrentInstance
- DateInterval
- DimensionValues
- DimensionValuesWithAttributes
- DiskResourceUtilization
- EBSResourceUtilization
- EC2InstanceDetails
- EC2ResourceDetails
- EC2ResourceUtilization
- EC2Specification
- ESInstanceDetails
- ElastiCacheInstanceDetails
- Expression
- ForecastResult
- Group
- GroupDefinition
- Impact
- InstanceDetails
- MetricValue
- ModifyRecommendationDetail
- NetworkResourceUtilization
- RDSInstanceDetails
- RedshiftInstanceDetails
- ReservationAggregates
- ReservationCoverageGroup
- ReservationPurchaseRecommendation
- ReservationPurchaseRecommendationDetail
- ReservationPurchaseRecommendationMetadata
- ReservationPurchaseRecommendationSummary
- ReservationUtilizationGroup
- ResourceDetails
- ResourceUtilization
- ResultByTime
- RightsizingRecommendation
- RightsizingRecommendationConfiguration
- RightsizingRecommendationMetadata
- RightsizingRecommendationSummary
- RootCause
- SavingsPlansAmortizedCommitment
- SavingsPlansCoverage
- SavingsPlansCoverageData
- SavingsPlansDetails
- SavingsPlansPurchaseRecommendation
- SavingsPlansPurchaseRecommendationDetail
- SavingsPlansPurchaseRecommendationMetadata
- SavingsPlansPurchaseRecommendationSummary
- SavingsPlansSavings
- SavingsPlansUtilization
- SavingsPlansUtilizationAggregates
- SavingsPlansUtilizationByTime
- SavingsPlansUtilizationDetail
- ServiceSpecification
- SortDefinition
- Subscriber
- TagValues
- TargetInstance
- TerminateRecommendationDetail
- TotalImpactFilter
- UtilizationByTime
Derived from API version 2017-10-25
of the AWS service descriptions, licensed under Apache 2.0.
You can use the Cost Explorer API to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data. This might include the number of daily write operations for Amazon DynamoDB database tables in your production environment.
Service Endpoint
The Cost Explorer API provides the following endpoint:
https://ce.us-east-1.amazonaws.com
For information about the costs that are associated with the Cost Explorer API, see Amazon Web Services Cost Management Pricing.
Synopsis
- defaultService :: Service
- _UnknownSubscriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _BillExpirationException :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestChangedException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnresolvableUsageUnitException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _DataUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnknownMonitorException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data GetReservationUtilization = GetReservationUtilization' (Maybe [GroupDefinition]) (Maybe Text) (Maybe Granularity) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval
- newGetReservationUtilization :: DateInterval -> GetReservationUtilization
- data GetReservationUtilizationResponse = GetReservationUtilizationResponse' (Maybe Text) (Maybe ReservationAggregates) Int [UtilizationByTime]
- newGetReservationUtilizationResponse :: Int -> GetReservationUtilizationResponse
- data GetSavingsPlansCoverage = GetSavingsPlansCoverage' (Maybe [GroupDefinition]) (Maybe [Text]) (Maybe Granularity) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansCoverage :: DateInterval -> GetSavingsPlansCoverage
- data GetSavingsPlansCoverageResponse = GetSavingsPlansCoverageResponse' (Maybe Text) Int [SavingsPlansCoverage]
- newGetSavingsPlansCoverageResponse :: Int -> GetSavingsPlansCoverageResponse
- data GetTags = GetTags' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval
- newGetTags :: DateInterval -> GetTags
- data GetTagsResponse = GetTagsResponse' (Maybe Text) Int [Text] Int Int
- newGetTagsResponse :: Int -> Int -> Int -> GetTagsResponse
- data GetRightsizingRecommendation = GetRightsizingRecommendation' (Maybe Text) (Maybe RightsizingRecommendationConfiguration) (Maybe Expression) (Maybe Natural) Text
- newGetRightsizingRecommendation :: Text -> GetRightsizingRecommendation
- data GetRightsizingRecommendationResponse = GetRightsizingRecommendationResponse' (Maybe RightsizingRecommendationSummary) (Maybe Text) (Maybe [RightsizingRecommendation]) (Maybe RightsizingRecommendationMetadata) (Maybe RightsizingRecommendationConfiguration) Int
- newGetRightsizingRecommendationResponse :: Int -> GetRightsizingRecommendationResponse
- data GetCostAndUsageWithResources = GetCostAndUsageWithResources' (Maybe [GroupDefinition]) (Maybe Text) (Maybe [Text]) DateInterval Granularity Expression
- newGetCostAndUsageWithResources :: DateInterval -> Granularity -> Expression -> GetCostAndUsageWithResources
- data GetCostAndUsageWithResourcesResponse = GetCostAndUsageWithResourcesResponse' (Maybe [ResultByTime]) (Maybe Text) (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) Int
- newGetCostAndUsageWithResourcesResponse :: Int -> GetCostAndUsageWithResourcesResponse
- data GetUsageForecast = GetUsageForecast' (Maybe Natural) (Maybe Expression) DateInterval Metric Granularity
- newGetUsageForecast :: DateInterval -> Metric -> Granularity -> GetUsageForecast
- data GetUsageForecastResponse = GetUsageForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int
- newGetUsageForecastResponse :: Int -> GetUsageForecastResponse
- data GetReservationCoverage = GetReservationCoverage' (Maybe [GroupDefinition]) (Maybe Text) (Maybe [Text]) (Maybe Granularity) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval
- newGetReservationCoverage :: DateInterval -> GetReservationCoverage
- data GetReservationCoverageResponse = GetReservationCoverageResponse' (Maybe Text) (Maybe Coverage) Int [CoverageByTime]
- newGetReservationCoverageResponse :: Int -> GetReservationCoverageResponse
- data GetCostCategories = GetCostCategories' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval
- newGetCostCategories :: DateInterval -> GetCostCategories
- data GetCostCategoriesResponse = GetCostCategoriesResponse' (Maybe Text) (Maybe [Text]) (Maybe [Text]) Int Int Int
- newGetCostCategoriesResponse :: Int -> Int -> Int -> GetCostCategoriesResponse
- data GetCostForecast = GetCostForecast' (Maybe Natural) (Maybe Expression) DateInterval Metric Granularity
- newGetCostForecast :: DateInterval -> Metric -> Granularity -> GetCostForecast
- data GetCostForecastResponse = GetCostForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int
- newGetCostForecastResponse :: Int -> GetCostForecastResponse
- data GetDimensionValues = GetDimensionValues' (Maybe Text) (Maybe Context) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval Dimension
- newGetDimensionValues :: DateInterval -> Dimension -> GetDimensionValues
- data GetDimensionValuesResponse = GetDimensionValuesResponse' (Maybe Text) Int [DimensionValuesWithAttributes] Int Int
- newGetDimensionValuesResponse :: Int -> Int -> Int -> GetDimensionValuesResponse
- data GetAnomalies = GetAnomalies' (Maybe Text) (Maybe TotalImpactFilter) (Maybe Int) (Maybe AnomalyFeedbackType) (Maybe Text) AnomalyDateInterval
- newGetAnomalies :: AnomalyDateInterval -> GetAnomalies
- data GetAnomaliesResponse = GetAnomaliesResponse' (Maybe Text) Int [Anomaly]
- newGetAnomaliesResponse :: Int -> GetAnomaliesResponse
- data GetReservationPurchaseRecommendation = GetReservationPurchaseRecommendation' (Maybe Text) (Maybe TermInYears) (Maybe ServiceSpecification) (Maybe AccountScope) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe LookbackPeriodInDays) (Maybe PaymentOption) Text
- newGetReservationPurchaseRecommendation :: Text -> GetReservationPurchaseRecommendation
- data GetReservationPurchaseRecommendationResponse = GetReservationPurchaseRecommendationResponse' (Maybe Text) (Maybe [ReservationPurchaseRecommendation]) (Maybe ReservationPurchaseRecommendationMetadata) Int
- newGetReservationPurchaseRecommendationResponse :: Int -> GetReservationPurchaseRecommendationResponse
- data DeleteAnomalyMonitor = DeleteAnomalyMonitor' Text
- newDeleteAnomalyMonitor :: Text -> DeleteAnomalyMonitor
- data DeleteAnomalyMonitorResponse = DeleteAnomalyMonitorResponse' Int
- newDeleteAnomalyMonitorResponse :: Int -> DeleteAnomalyMonitorResponse
- data UpdateAnomalyMonitor = UpdateAnomalyMonitor' (Maybe Text) Text
- newUpdateAnomalyMonitor :: Text -> UpdateAnomalyMonitor
- data UpdateAnomalyMonitorResponse = UpdateAnomalyMonitorResponse' Int Text
- newUpdateAnomalyMonitorResponse :: Int -> Text -> UpdateAnomalyMonitorResponse
- data ListCostCategoryDefinitions = ListCostCategoryDefinitions' (Maybe Text) (Maybe Text) (Maybe Natural)
- newListCostCategoryDefinitions :: ListCostCategoryDefinitions
- data ListCostCategoryDefinitionsResponse = ListCostCategoryDefinitionsResponse' (Maybe [CostCategoryReference]) (Maybe Text) Int
- newListCostCategoryDefinitionsResponse :: Int -> ListCostCategoryDefinitionsResponse
- data UpdateCostCategoryDefinition = UpdateCostCategoryDefinition' (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newUpdateCostCategoryDefinition :: Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> UpdateCostCategoryDefinition
- data UpdateCostCategoryDefinitionResponse = UpdateCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newUpdateCostCategoryDefinitionResponse :: Int -> UpdateCostCategoryDefinitionResponse
- data DeleteCostCategoryDefinition = DeleteCostCategoryDefinition' Text
- newDeleteCostCategoryDefinition :: Text -> DeleteCostCategoryDefinition
- data DeleteCostCategoryDefinitionResponse = DeleteCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newDeleteCostCategoryDefinitionResponse :: Int -> DeleteCostCategoryDefinitionResponse
- data GetAnomalySubscriptions = GetAnomalySubscriptions' (Maybe [Text]) (Maybe Text) (Maybe Int) (Maybe Text)
- newGetAnomalySubscriptions :: GetAnomalySubscriptions
- data GetAnomalySubscriptionsResponse = GetAnomalySubscriptionsResponse' (Maybe Text) Int [AnomalySubscription]
- newGetAnomalySubscriptionsResponse :: Int -> GetAnomalySubscriptionsResponse
- data CreateCostCategoryDefinition = CreateCostCategoryDefinition' (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newCreateCostCategoryDefinition :: Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CreateCostCategoryDefinition
- data CreateCostCategoryDefinitionResponse = CreateCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newCreateCostCategoryDefinitionResponse :: Int -> CreateCostCategoryDefinitionResponse
- data GetAnomalyMonitors = GetAnomalyMonitors' (Maybe Text) (Maybe [Text]) (Maybe Int)
- newGetAnomalyMonitors :: GetAnomalyMonitors
- data GetAnomalyMonitorsResponse = GetAnomalyMonitorsResponse' (Maybe Text) Int [AnomalyMonitor]
- newGetAnomalyMonitorsResponse :: Int -> GetAnomalyMonitorsResponse
- data DeleteAnomalySubscription = DeleteAnomalySubscription' Text
- newDeleteAnomalySubscription :: Text -> DeleteAnomalySubscription
- data DeleteAnomalySubscriptionResponse = DeleteAnomalySubscriptionResponse' Int
- newDeleteAnomalySubscriptionResponse :: Int -> DeleteAnomalySubscriptionResponse
- data UpdateAnomalySubscription = UpdateAnomalySubscription' (Maybe Text) (Maybe AnomalySubscriptionFrequency) (Maybe Double) (Maybe [Text]) (Maybe [Subscriber]) Text
- newUpdateAnomalySubscription :: Text -> UpdateAnomalySubscription
- data UpdateAnomalySubscriptionResponse = UpdateAnomalySubscriptionResponse' Int Text
- newUpdateAnomalySubscriptionResponse :: Int -> Text -> UpdateAnomalySubscriptionResponse
- data GetCostAndUsage = GetCostAndUsage' (Maybe [GroupDefinition]) (Maybe Text) (Maybe Expression) DateInterval Granularity [Text]
- newGetCostAndUsage :: DateInterval -> Granularity -> GetCostAndUsage
- data GetCostAndUsageResponse = GetCostAndUsageResponse' (Maybe [ResultByTime]) (Maybe Text) (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) Int
- newGetCostAndUsageResponse :: Int -> GetCostAndUsageResponse
- data GetSavingsPlansPurchaseRecommendation = GetSavingsPlansPurchaseRecommendation' (Maybe Text) (Maybe AccountScope) (Maybe Expression) (Maybe Natural) SupportedSavingsPlansType TermInYears PaymentOption LookbackPeriodInDays
- newGetSavingsPlansPurchaseRecommendation :: SupportedSavingsPlansType -> TermInYears -> PaymentOption -> LookbackPeriodInDays -> GetSavingsPlansPurchaseRecommendation
- data GetSavingsPlansPurchaseRecommendationResponse = GetSavingsPlansPurchaseRecommendationResponse' (Maybe Text) (Maybe SavingsPlansPurchaseRecommendation) (Maybe SavingsPlansPurchaseRecommendationMetadata) Int
- newGetSavingsPlansPurchaseRecommendationResponse :: Int -> GetSavingsPlansPurchaseRecommendationResponse
- data ProvideAnomalyFeedback = ProvideAnomalyFeedback' Text AnomalyFeedbackType
- newProvideAnomalyFeedback :: Text -> AnomalyFeedbackType -> ProvideAnomalyFeedback
- data ProvideAnomalyFeedbackResponse = ProvideAnomalyFeedbackResponse' Int Text
- newProvideAnomalyFeedbackResponse :: Int -> Text -> ProvideAnomalyFeedbackResponse
- data GetSavingsPlansUtilization = GetSavingsPlansUtilization' (Maybe Granularity) (Maybe Expression) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansUtilization :: DateInterval -> GetSavingsPlansUtilization
- data GetSavingsPlansUtilizationResponse = GetSavingsPlansUtilizationResponse' (Maybe [SavingsPlansUtilizationByTime]) Int SavingsPlansUtilizationAggregates
- newGetSavingsPlansUtilizationResponse :: Int -> SavingsPlansUtilizationAggregates -> GetSavingsPlansUtilizationResponse
- data DescribeCostCategoryDefinition = DescribeCostCategoryDefinition' (Maybe Text) Text
- newDescribeCostCategoryDefinition :: Text -> DescribeCostCategoryDefinition
- data DescribeCostCategoryDefinitionResponse = DescribeCostCategoryDefinitionResponse' (Maybe CostCategory) Int
- newDescribeCostCategoryDefinitionResponse :: Int -> DescribeCostCategoryDefinitionResponse
- data CreateAnomalySubscription = CreateAnomalySubscription' AnomalySubscription
- newCreateAnomalySubscription :: AnomalySubscription -> CreateAnomalySubscription
- data CreateAnomalySubscriptionResponse = CreateAnomalySubscriptionResponse' Int Text
- newCreateAnomalySubscriptionResponse :: Int -> Text -> CreateAnomalySubscriptionResponse
- data CreateAnomalyMonitor = CreateAnomalyMonitor' AnomalyMonitor
- newCreateAnomalyMonitor :: AnomalyMonitor -> CreateAnomalyMonitor
- data CreateAnomalyMonitorResponse = CreateAnomalyMonitorResponse' Int Text
- newCreateAnomalyMonitorResponse :: Int -> Text -> CreateAnomalyMonitorResponse
- data GetSavingsPlansUtilizationDetails = GetSavingsPlansUtilizationDetails' (Maybe Text) (Maybe [SavingsPlansDataType]) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansUtilizationDetails :: DateInterval -> GetSavingsPlansUtilizationDetails
- data GetSavingsPlansUtilizationDetailsResponse = GetSavingsPlansUtilizationDetailsResponse' (Maybe Text) (Maybe SavingsPlansUtilizationAggregates) Int [SavingsPlansUtilizationDetail] DateInterval
- newGetSavingsPlansUtilizationDetailsResponse :: Int -> DateInterval -> GetSavingsPlansUtilizationDetailsResponse
- newtype AccountScope where
- AccountScope' { }
- pattern AccountScope_LINKED :: AccountScope
- pattern AccountScope_PAYER :: AccountScope
- newtype AnomalyFeedbackType where
- newtype AnomalySubscriptionFrequency where
- newtype Context where
- Context' {
- fromContext :: Text
- pattern Context_COST_AND_USAGE :: Context
- pattern Context_RESERVATIONS :: Context
- pattern Context_SAVINGS_PLANS :: Context
- Context' {
- newtype CostCategoryInheritedValueDimensionName where
- newtype CostCategoryRuleType where
- newtype CostCategoryRuleVersion where
- newtype CostCategorySplitChargeMethod where
- newtype CostCategorySplitChargeRuleParameterType where
- newtype CostCategoryStatus where
- newtype CostCategoryStatusComponent where
- newtype Dimension where
- Dimension' { }
- pattern Dimension_AGREEMENT_END_DATE_TIME_AFTER :: Dimension
- pattern Dimension_AGREEMENT_END_DATE_TIME_BEFORE :: Dimension
- pattern Dimension_AZ :: Dimension
- pattern Dimension_BILLING_ENTITY :: Dimension
- pattern Dimension_CACHE_ENGINE :: Dimension
- pattern Dimension_DATABASE_ENGINE :: Dimension
- pattern Dimension_DEPLOYMENT_OPTION :: Dimension
- pattern Dimension_INSTANCE_TYPE :: Dimension
- pattern Dimension_INSTANCE_TYPE_FAMILY :: Dimension
- pattern Dimension_LEGAL_ENTITY_NAME :: Dimension
- pattern Dimension_LINKED_ACCOUNT :: Dimension
- pattern Dimension_LINKED_ACCOUNT_NAME :: Dimension
- pattern Dimension_OPERATING_SYSTEM :: Dimension
- pattern Dimension_OPERATION :: Dimension
- pattern Dimension_PAYMENT_OPTION :: Dimension
- pattern Dimension_PLATFORM :: Dimension
- pattern Dimension_PURCHASE_TYPE :: Dimension
- pattern Dimension_RECORD_TYPE :: Dimension
- pattern Dimension_REGION :: Dimension
- pattern Dimension_RESERVATION_ID :: Dimension
- pattern Dimension_RESOURCE_ID :: Dimension
- pattern Dimension_RIGHTSIZING_TYPE :: Dimension
- pattern Dimension_SAVINGS_PLANS_TYPE :: Dimension
- pattern Dimension_SAVINGS_PLAN_ARN :: Dimension
- pattern Dimension_SCOPE :: Dimension
- pattern Dimension_SERVICE :: Dimension
- pattern Dimension_SERVICE_CODE :: Dimension
- pattern Dimension_SUBSCRIPTION_ID :: Dimension
- pattern Dimension_TENANCY :: Dimension
- pattern Dimension_USAGE_TYPE :: Dimension
- pattern Dimension_USAGE_TYPE_GROUP :: Dimension
- newtype FindingReasonCode where
- FindingReasonCode' { }
- pattern FindingReasonCode_CPU_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_CPU_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_DISK_IOPS_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_DISK_IOPS_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_DISK_THROUGHPUT_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_DISK_THROUGHPUT_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_EBS_IOPS_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_EBS_IOPS_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_EBS_THROUGHPUT_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_EBS_THROUGHPUT_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_MEMORY_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_MEMORY_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_NETWORK_BANDWIDTH_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_NETWORK_BANDWIDTH_UNDER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_NETWORK_PPS_OVER_PROVISIONED :: FindingReasonCode
- pattern FindingReasonCode_NETWORK_PPS_UNDER_PROVISIONED :: FindingReasonCode
- newtype Granularity where
- Granularity' { }
- pattern Granularity_DAILY :: Granularity
- pattern Granularity_HOURLY :: Granularity
- pattern Granularity_MONTHLY :: Granularity
- newtype GroupDefinitionType where
- newtype LookbackPeriodInDays where
- newtype MatchOption where
- MatchOption' { }
- pattern MatchOption_ABSENT :: MatchOption
- pattern MatchOption_CASE_INSENSITIVE :: MatchOption
- pattern MatchOption_CASE_SENSITIVE :: MatchOption
- pattern MatchOption_CONTAINS :: MatchOption
- pattern MatchOption_ENDS_WITH :: MatchOption
- pattern MatchOption_EQUALS :: MatchOption
- pattern MatchOption_STARTS_WITH :: MatchOption
- newtype Metric where
- Metric' {
- fromMetric :: Text
- pattern Metric_AMORTIZED_COST :: Metric
- pattern Metric_BLENDED_COST :: Metric
- pattern Metric_NET_AMORTIZED_COST :: Metric
- pattern Metric_NET_UNBLENDED_COST :: Metric
- pattern Metric_NORMALIZED_USAGE_AMOUNT :: Metric
- pattern Metric_UNBLENDED_COST :: Metric
- pattern Metric_USAGE_QUANTITY :: Metric
- Metric' {
- newtype MonitorDimension where
- MonitorDimension' { }
- pattern MonitorDimension_SERVICE :: MonitorDimension
- newtype MonitorType where
- MonitorType' { }
- pattern MonitorType_CUSTOM :: MonitorType
- pattern MonitorType_DIMENSIONAL :: MonitorType
- newtype NumericOperator where
- NumericOperator' { }
- pattern NumericOperator_BETWEEN :: NumericOperator
- pattern NumericOperator_EQUAL :: NumericOperator
- pattern NumericOperator_GREATER_THAN :: NumericOperator
- pattern NumericOperator_GREATER_THAN_OR_EQUAL :: NumericOperator
- pattern NumericOperator_LESS_THAN :: NumericOperator
- pattern NumericOperator_LESS_THAN_OR_EQUAL :: NumericOperator
- newtype OfferingClass where
- OfferingClass' { }
- pattern OfferingClass_CONVERTIBLE :: OfferingClass
- pattern OfferingClass_STANDARD :: OfferingClass
- newtype PaymentOption where
- PaymentOption' { }
- pattern PaymentOption_ALL_UPFRONT :: PaymentOption
- pattern PaymentOption_HEAVY_UTILIZATION :: PaymentOption
- pattern PaymentOption_LIGHT_UTILIZATION :: PaymentOption
- pattern PaymentOption_MEDIUM_UTILIZATION :: PaymentOption
- pattern PaymentOption_NO_UPFRONT :: PaymentOption
- pattern PaymentOption_PARTIAL_UPFRONT :: PaymentOption
- newtype PlatformDifference where
- PlatformDifference' { }
- pattern PlatformDifference_HYPERVISOR :: PlatformDifference
- pattern PlatformDifference_INSTANCE_STORE_AVAILABILITY :: PlatformDifference
- pattern PlatformDifference_NETWORK_INTERFACE :: PlatformDifference
- pattern PlatformDifference_STORAGE_INTERFACE :: PlatformDifference
- pattern PlatformDifference_VIRTUALIZATION_TYPE :: PlatformDifference
- newtype RecommendationTarget where
- newtype RightsizingType where
- RightsizingType' { }
- pattern RightsizingType_MODIFY :: RightsizingType
- pattern RightsizingType_TERMINATE :: RightsizingType
- newtype SavingsPlansDataType where
- newtype SortOrder where
- SortOrder' { }
- pattern SortOrder_ASCENDING :: SortOrder
- pattern SortOrder_DESCENDING :: SortOrder
- newtype SubscriberStatus where
- SubscriberStatus' { }
- pattern SubscriberStatus_CONFIRMED :: SubscriberStatus
- pattern SubscriberStatus_DECLINED :: SubscriberStatus
- newtype SubscriberType where
- SubscriberType' { }
- pattern SubscriberType_EMAIL :: SubscriberType
- pattern SubscriberType_SNS :: SubscriberType
- newtype SupportedSavingsPlansType where
- newtype TermInYears where
- TermInYears' { }
- pattern TermInYears_ONE_YEAR :: TermInYears
- pattern TermInYears_THREE_YEARS :: TermInYears
- data Anomaly = Anomaly' (Maybe Text) (Maybe Text) (Maybe [RootCause]) (Maybe Text) (Maybe AnomalyFeedbackType) Text AnomalyScore Impact Text
- newAnomaly :: Text -> AnomalyScore -> Impact -> Text -> Anomaly
- data AnomalyDateInterval = AnomalyDateInterval' (Maybe Text) Text
- newAnomalyDateInterval :: Text -> AnomalyDateInterval
- data AnomalyMonitor = AnomalyMonitor' (Maybe Natural) (Maybe Expression) (Maybe MonitorDimension) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text MonitorType
- newAnomalyMonitor :: Text -> MonitorType -> AnomalyMonitor
- data AnomalyScore = AnomalyScore' Double Double
- newAnomalyScore :: Double -> Double -> AnomalyScore
- data AnomalySubscription = AnomalySubscription' (Maybe Text) (Maybe Text) [Text] [Subscriber] Double AnomalySubscriptionFrequency Text
- newAnomalySubscription :: Double -> AnomalySubscriptionFrequency -> Text -> AnomalySubscription
- data CostCategory = CostCategory' (Maybe [CostCategoryProcessingStatus]) (Maybe Text) (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text Text Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newCostCategory :: Text -> Text -> Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CostCategory
- data CostCategoryInheritedValueDimension = CostCategoryInheritedValueDimension' (Maybe CostCategoryInheritedValueDimensionName) (Maybe Text)
- newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension
- data CostCategoryProcessingStatus = CostCategoryProcessingStatus' (Maybe CostCategoryStatus) (Maybe CostCategoryStatusComponent)
- newCostCategoryProcessingStatus :: CostCategoryProcessingStatus
- data CostCategoryReference = CostCategoryReference' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe [CostCategoryProcessingStatus]) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text)
- newCostCategoryReference :: CostCategoryReference
- data CostCategoryRule = CostCategoryRule' (Maybe CostCategoryInheritedValueDimension) (Maybe Text) (Maybe Expression) (Maybe CostCategoryRuleType)
- newCostCategoryRule :: CostCategoryRule
- data CostCategorySplitChargeRule = CostCategorySplitChargeRule' (Maybe (NonEmpty CostCategorySplitChargeRuleParameter)) Text (NonEmpty Text) CostCategorySplitChargeMethod
- newCostCategorySplitChargeRule :: Text -> NonEmpty Text -> CostCategorySplitChargeMethod -> CostCategorySplitChargeRule
- data CostCategorySplitChargeRuleParameter = CostCategorySplitChargeRuleParameter' CostCategorySplitChargeRuleParameterType (NonEmpty Text)
- newCostCategorySplitChargeRuleParameter :: CostCategorySplitChargeRuleParameterType -> NonEmpty Text -> CostCategorySplitChargeRuleParameter
- data CostCategoryValues = CostCategoryValues' (Maybe [Text]) (Maybe Text) (Maybe [MatchOption])
- newCostCategoryValues :: CostCategoryValues
- data Coverage = Coverage' (Maybe CoverageNormalizedUnits) (Maybe CoverageHours) (Maybe CoverageCost)
- newCoverage :: Coverage
- data CoverageByTime = CoverageByTime' (Maybe [ReservationCoverageGroup]) (Maybe DateInterval) (Maybe Coverage)
- newCoverageByTime :: CoverageByTime
- data CoverageCost = CoverageCost' (Maybe Text)
- newCoverageCost :: CoverageCost
- data CoverageHours = CoverageHours' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newCoverageHours :: CoverageHours
- data CoverageNormalizedUnits = CoverageNormalizedUnits' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newCoverageNormalizedUnits :: CoverageNormalizedUnits
- data CurrentInstance = CurrentInstance' (Maybe Text) (Maybe Text) (Maybe ResourceUtilization) (Maybe ResourceDetails) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [TagValues])
- newCurrentInstance :: CurrentInstance
- data DateInterval = DateInterval' Text Text
- newDateInterval :: Text -> Text -> DateInterval
- data DimensionValues = DimensionValues' (Maybe [Text]) (Maybe Dimension) (Maybe [MatchOption])
- newDimensionValues :: DimensionValues
- data DimensionValuesWithAttributes = DimensionValuesWithAttributes' (Maybe Text) (Maybe (HashMap Text Text))
- newDimensionValuesWithAttributes :: DimensionValuesWithAttributes
- data DiskResourceUtilization = DiskResourceUtilization' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newDiskResourceUtilization :: DiskResourceUtilization
- data EBSResourceUtilization = EBSResourceUtilization' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newEBSResourceUtilization :: EBSResourceUtilization
- data EC2InstanceDetails = EC2InstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text)
- newEC2InstanceDetails :: EC2InstanceDetails
- data EC2ResourceDetails = EC2ResourceDetails' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newEC2ResourceDetails :: EC2ResourceDetails
- data EC2ResourceUtilization = EC2ResourceUtilization' (Maybe Text) (Maybe NetworkResourceUtilization) (Maybe EBSResourceUtilization) (Maybe Text) (Maybe Text) (Maybe DiskResourceUtilization)
- newEC2ResourceUtilization :: EC2ResourceUtilization
- data EC2Specification = EC2Specification' (Maybe OfferingClass)
- newEC2Specification :: EC2Specification
- data ESInstanceDetails = ESInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text)
- newESInstanceDetails :: ESInstanceDetails
- data ElastiCacheInstanceDetails = ElastiCacheInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text)
- newElastiCacheInstanceDetails :: ElastiCacheInstanceDetails
- data Expression = Expression' (Maybe Expression) (Maybe [Expression]) (Maybe [Expression]) (Maybe CostCategoryValues) (Maybe DimensionValues) (Maybe TagValues)
- newExpression :: Expression
- data ForecastResult = ForecastResult' (Maybe DateInterval) (Maybe Text) (Maybe Text) (Maybe Text)
- newForecastResult :: ForecastResult
- data Group = Group' (Maybe (HashMap Text MetricValue)) (Maybe [Text])
- newGroup :: Group
- data GroupDefinition = GroupDefinition' (Maybe Text) (Maybe GroupDefinitionType)
- newGroupDefinition :: GroupDefinition
- data Impact = Impact' (Maybe Double) Double
- newImpact :: Double -> Impact
- data InstanceDetails = InstanceDetails' (Maybe ESInstanceDetails) (Maybe RDSInstanceDetails) (Maybe ElastiCacheInstanceDetails) (Maybe EC2InstanceDetails) (Maybe RedshiftInstanceDetails)
- newInstanceDetails :: InstanceDetails
- data MetricValue = MetricValue' (Maybe Text) (Maybe Text)
- newMetricValue :: MetricValue
- data ModifyRecommendationDetail = ModifyRecommendationDetail' (Maybe [TargetInstance])
- newModifyRecommendationDetail :: ModifyRecommendationDetail
- data NetworkResourceUtilization = NetworkResourceUtilization' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newNetworkResourceUtilization :: NetworkResourceUtilization
- data RDSInstanceDetails = RDSInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text)
- newRDSInstanceDetails :: RDSInstanceDetails
- data RedshiftInstanceDetails = RedshiftInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text)
- newRedshiftInstanceDetails :: RedshiftInstanceDetails
- data ReservationAggregates = ReservationAggregates' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newReservationAggregates :: ReservationAggregates
- data ReservationCoverageGroup = ReservationCoverageGroup' (Maybe Coverage) (Maybe (HashMap Text Text))
- newReservationCoverageGroup :: ReservationCoverageGroup
- data ReservationPurchaseRecommendation = ReservationPurchaseRecommendation' (Maybe TermInYears) (Maybe ReservationPurchaseRecommendationSummary) (Maybe ServiceSpecification) (Maybe AccountScope) (Maybe [ReservationPurchaseRecommendationDetail]) (Maybe LookbackPeriodInDays) (Maybe PaymentOption)
- newReservationPurchaseRecommendation :: ReservationPurchaseRecommendation
- data ReservationPurchaseRecommendationDetail = ReservationPurchaseRecommendationDetail' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceDetails) (Maybe Text) (Maybe Text) (Maybe Text)
- newReservationPurchaseRecommendationDetail :: ReservationPurchaseRecommendationDetail
- data ReservationPurchaseRecommendationMetadata = ReservationPurchaseRecommendationMetadata' (Maybe Text) (Maybe Text)
- newReservationPurchaseRecommendationMetadata :: ReservationPurchaseRecommendationMetadata
- data ReservationPurchaseRecommendationSummary = ReservationPurchaseRecommendationSummary' (Maybe Text) (Maybe Text) (Maybe Text)
- newReservationPurchaseRecommendationSummary :: ReservationPurchaseRecommendationSummary
- data ReservationUtilizationGroup = ReservationUtilizationGroup' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe ReservationAggregates)
- newReservationUtilizationGroup :: ReservationUtilizationGroup
- data ResourceDetails = ResourceDetails' (Maybe EC2ResourceDetails)
- newResourceDetails :: ResourceDetails
- data ResourceUtilization = ResourceUtilization' (Maybe EC2ResourceUtilization)
- newResourceUtilization :: ResourceUtilization
- data ResultByTime = ResultByTime' (Maybe [Group]) (Maybe DateInterval) (Maybe (HashMap Text MetricValue)) (Maybe Bool)
- newResultByTime :: ResultByTime
- data RightsizingRecommendation = RightsizingRecommendation' (Maybe Text) (Maybe [FindingReasonCode]) (Maybe ModifyRecommendationDetail) (Maybe CurrentInstance) (Maybe RightsizingType) (Maybe TerminateRecommendationDetail)
- newRightsizingRecommendation :: RightsizingRecommendation
- data RightsizingRecommendationConfiguration = RightsizingRecommendationConfiguration' RecommendationTarget Bool
- newRightsizingRecommendationConfiguration :: RecommendationTarget -> Bool -> RightsizingRecommendationConfiguration
- data RightsizingRecommendationMetadata = RightsizingRecommendationMetadata' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LookbackPeriodInDays)
- newRightsizingRecommendationMetadata :: RightsizingRecommendationMetadata
- data RightsizingRecommendationSummary = RightsizingRecommendationSummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newRightsizingRecommendationSummary :: RightsizingRecommendationSummary
- data RootCause = RootCause' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newRootCause :: RootCause
- data SavingsPlansAmortizedCommitment = SavingsPlansAmortizedCommitment' (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansAmortizedCommitment :: SavingsPlansAmortizedCommitment
- data SavingsPlansCoverage = SavingsPlansCoverage' (Maybe DateInterval) (Maybe SavingsPlansCoverageData) (Maybe (HashMap Text Text))
- newSavingsPlansCoverage :: SavingsPlansCoverage
- data SavingsPlansCoverageData = SavingsPlansCoverageData' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansCoverageData :: SavingsPlansCoverageData
- data SavingsPlansDetails = SavingsPlansDetails' (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansDetails :: SavingsPlansDetails
- data SavingsPlansPurchaseRecommendation = SavingsPlansPurchaseRecommendation' (Maybe [SavingsPlansPurchaseRecommendationDetail]) (Maybe TermInYears) (Maybe AccountScope) (Maybe SupportedSavingsPlansType) (Maybe LookbackPeriodInDays) (Maybe PaymentOption) (Maybe SavingsPlansPurchaseRecommendationSummary)
- newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation
- data SavingsPlansPurchaseRecommendationDetail = SavingsPlansPurchaseRecommendationDetail' (Maybe Text) (Maybe Text) (Maybe SavingsPlansDetails) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansPurchaseRecommendationDetail :: SavingsPlansPurchaseRecommendationDetail
- data SavingsPlansPurchaseRecommendationMetadata = SavingsPlansPurchaseRecommendationMetadata' (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansPurchaseRecommendationMetadata :: SavingsPlansPurchaseRecommendationMetadata
- data SavingsPlansPurchaseRecommendationSummary = SavingsPlansPurchaseRecommendationSummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansPurchaseRecommendationSummary :: SavingsPlansPurchaseRecommendationSummary
- data SavingsPlansSavings = SavingsPlansSavings' (Maybe Text) (Maybe Text)
- newSavingsPlansSavings :: SavingsPlansSavings
- data SavingsPlansUtilization = SavingsPlansUtilization' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansUtilization :: SavingsPlansUtilization
- data SavingsPlansUtilizationAggregates = SavingsPlansUtilizationAggregates' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) SavingsPlansUtilization
- newSavingsPlansUtilizationAggregates :: SavingsPlansUtilization -> SavingsPlansUtilizationAggregates
- data SavingsPlansUtilizationByTime = SavingsPlansUtilizationByTime' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) DateInterval SavingsPlansUtilization
- newSavingsPlansUtilizationByTime :: DateInterval -> SavingsPlansUtilization -> SavingsPlansUtilizationByTime
- data SavingsPlansUtilizationDetail = SavingsPlansUtilizationDetail' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) (Maybe (HashMap Text Text)) (Maybe SavingsPlansUtilization) (Maybe Text)
- newSavingsPlansUtilizationDetail :: SavingsPlansUtilizationDetail
- data ServiceSpecification = ServiceSpecification' (Maybe EC2Specification)
- newServiceSpecification :: ServiceSpecification
- data SortDefinition = SortDefinition' (Maybe SortOrder) Text
- newSortDefinition :: Text -> SortDefinition
- data Subscriber = Subscriber' (Maybe SubscriberStatus) (Maybe Text) (Maybe SubscriberType)
- newSubscriber :: Subscriber
- data TagValues = TagValues' (Maybe [Text]) (Maybe Text) (Maybe [MatchOption])
- newTagValues :: TagValues
- data TargetInstance = TargetInstance' (Maybe Text) (Maybe ResourceDetails) (Maybe [PlatformDifference]) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe ResourceUtilization)
- newTargetInstance :: TargetInstance
- data TerminateRecommendationDetail = TerminateRecommendationDetail' (Maybe Text) (Maybe Text)
- newTerminateRecommendationDetail :: TerminateRecommendationDetail
- data TotalImpactFilter = TotalImpactFilter' (Maybe Double) NumericOperator Double
- newTotalImpactFilter :: NumericOperator -> Double -> TotalImpactFilter
- data UtilizationByTime = UtilizationByTime' (Maybe [ReservationUtilizationGroup]) (Maybe DateInterval) (Maybe ReservationAggregates)
- newUtilizationByTime :: UtilizationByTime
Service Configuration
defaultService :: Service Source #
API version 2017-10-25
of the Amazon Cost Explorer Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CostExplorer
.
UnknownSubscriptionException
_UnknownSubscriptionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The cost anomaly subscription does not exist for the account.
BillExpirationException
_BillExpirationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested report expired. Update the date interval and try again.
RequestChangedException
_RequestChangedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request parameters changed between pages. Try again with the old parameters or without a pagination token.
UnresolvableUsageUnitException
_UnresolvableUsageUnitException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cost Explorer was unable to identify the usage unit. Provide
UsageType/UsageTypeGroup
filter selections that contain matching
units, for example: hours
.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.
InvalidNextTokenException
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The pagination token is invalid. Try again without a pagination token.
DataUnavailableException
_DataUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested data is unavailable.
UnknownMonitorException
_UnknownMonitorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The cost anomaly monitor does not exist for the account.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified ARN in the request doesn't exist.
LimitExceededException
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You made too many calls in a short period of time. Try again later.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
GetReservationUtilization
data GetReservationUtilization Source #
See: newGetReservationUtilization
smart constructor.
GetReservationUtilization' (Maybe [GroupDefinition]) (Maybe Text) (Maybe Granularity) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval |
Instances
newGetReservationUtilization Source #
Create a value of GetReservationUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupBy:GetReservationUtilization'
, getReservationUtilization_groupBy
- Groups only by SUBSCRIPTION_ID
. Metadata is included.
$sel:nextPageToken:GetReservationUtilization'
, getReservationUtilization_nextPageToken
- 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.
$sel:granularity:GetReservationUtilization'
, getReservationUtilization_granularity
- 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.
$sel:filter':GetReservationUtilization'
, getReservationUtilization_filter
- 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.
$sel:maxResults:GetReservationUtilization'
, getReservationUtilization_maxResults
- 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.
$sel:sortBy:GetReservationUtilization'
, getReservationUtilization_sortBy
- The value by which you want to sort the data.
The following values are supported for Key
:
UtilizationPercentage
UtilizationPercentageInUnits
PurchasedHours
PurchasedUnits
TotalActualHours
TotalActualUnits
UnusedHours
UnusedUnits
OnDemandCostOfRIHoursUsed
NetRISavings
TotalPotentialRISavings
AmortizedUpfrontFee
AmortizedRecurringFee
TotalAmortizedFee
RICostForUnusedHours
RealizedSavings
UnrealizedSavings
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
$sel:timePeriod:GetReservationUtilization'
, getReservationUtilization_timePeriod
- Sets the start and end dates for retrieving RI utilization. The start
date is inclusive, but the end date is exclusive. For example, if
start
is 2017-01-01
and end
is 2017-05-01
, then the cost and
usage data is retrieved from 2017-01-01
up to and including
2017-04-30
but not including 2017-05-01
.
data GetReservationUtilizationResponse Source #
See: newGetReservationUtilizationResponse
smart constructor.
GetReservationUtilizationResponse' (Maybe Text) (Maybe ReservationAggregates) Int [UtilizationByTime] |
Instances
newGetReservationUtilizationResponse Source #
Create a value of GetReservationUtilizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetReservationUtilization'
, getReservationUtilizationResponse_nextPageToken
- 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.
$sel:total:GetReservationUtilizationResponse'
, getReservationUtilizationResponse_total
- The total amount of time that you used your RIs.
$sel:httpStatus:GetReservationUtilizationResponse'
, getReservationUtilizationResponse_httpStatus
- The response's http status code.
$sel:utilizationsByTime:GetReservationUtilizationResponse'
, getReservationUtilizationResponse_utilizationsByTime
- The amount of time that you used your RIs.
GetSavingsPlansCoverage
data GetSavingsPlansCoverage Source #
See: newGetSavingsPlansCoverage
smart constructor.
GetSavingsPlansCoverage' (Maybe [GroupDefinition]) (Maybe [Text]) (Maybe Granularity) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval |
Instances
newGetSavingsPlansCoverage Source #
Create a value of GetSavingsPlansCoverage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupBy:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_groupBy
- You can group the data using the attributes INSTANCE_FAMILY
, REGION
,
or SERVICE
.
$sel:metrics:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_metrics
- The measurement that you want your Savings Plans coverage reported in.
The only valid value is SpendCoveredBySavingsPlans
.
$sel:granularity:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_granularity
- 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.
$sel:nextToken:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_nextToken
- 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.
$sel:filter':GetSavingsPlansCoverage'
, getSavingsPlansCoverage_filter
- 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.
$sel:maxResults:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_maxResults
- The number of items to be returned in a response. The default is 20
,
with a minimum value of 1
.
$sel:sortBy:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_sortBy
- The value by which you want to sort the data.
The following values are supported for Key
:
SpendCoveredBySavingsPlan
OnDemandCost
CoveragePercentage
TotalCost
InstanceFamily
Region
Service
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
$sel:timePeriod:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_timePeriod
- 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.
data GetSavingsPlansCoverageResponse Source #
See: newGetSavingsPlansCoverageResponse
smart constructor.
Instances
newGetSavingsPlansCoverageResponse Source #
Create a value of GetSavingsPlansCoverageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetSavingsPlansCoverage'
, getSavingsPlansCoverageResponse_nextToken
- 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.
$sel:httpStatus:GetSavingsPlansCoverageResponse'
, getSavingsPlansCoverageResponse_httpStatus
- The response's http status code.
$sel:savingsPlansCoverages:GetSavingsPlansCoverageResponse'
, getSavingsPlansCoverageResponse_savingsPlansCoverages
- The amount of spend that your Savings Plans covered.
GetTags
See: newGetTags
smart constructor.
GetTags' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval |
Instances
Create a value of GetTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetTags'
, getTags_nextPageToken
- 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.
$sel:searchString:GetTags'
, getTags_searchString
- The value that you want to search for.
$sel:tagKey:GetTags'
, getTags_tagKey
- The key of the tag that you want to return values for.
$sel:filter':GetTags'
, getTags_filter
- Undocumented member.
$sel:maxResults:GetTags'
, getTags_maxResults
- This field is only used when SortBy is provided in the request. The
maximum number of objects that to be returned for this request. If
MaxResults is not specified with SortBy, the request will return 1000
results as the default value for this parameter.
For GetTags
, MaxResults has an upper limit of 1000.
$sel:sortBy:GetTags'
, getTags_sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
$sel:timePeriod:GetTags'
, getTags_timePeriod
- 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
.
data GetTagsResponse Source #
See: newGetTagsResponse
smart constructor.
Instances
:: Int | |
-> Int | |
-> Int | |
-> GetTagsResponse |
Create a value of GetTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetTags'
, getTagsResponse_nextPageToken
- 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.
$sel:httpStatus:GetTagsResponse'
, getTagsResponse_httpStatus
- The response's http status code.
$sel:tags:GetTagsResponse'
, getTagsResponse_tags
- The tags that match your request.
$sel:returnSize:GetTagsResponse'
, getTagsResponse_returnSize
- The number of query results that Amazon Web Services returns at a time.
$sel:totalSize:GetTagsResponse'
, getTagsResponse_totalSize
- The total number of query results.
GetRightsizingRecommendation
data GetRightsizingRecommendation Source #
See: newGetRightsizingRecommendation
smart constructor.
GetRightsizingRecommendation' (Maybe Text) (Maybe RightsizingRecommendationConfiguration) (Maybe Expression) (Maybe Natural) Text |
Instances
newGetRightsizingRecommendation Source #
Create a value of GetRightsizingRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetRightsizingRecommendation'
, getRightsizingRecommendation_nextPageToken
- The pagination token that indicates the next set of results that you
want to retrieve.
$sel:configuration:GetRightsizingRecommendation'
, getRightsizingRecommendation_configuration
- Enables you to customize recommendations across two attributes. You can
choose to view recommendations for instances within the same instance
families or across different instance families. You can also choose to
view your estimated savings associated with recommendations with
consideration of existing Savings Plans or RI benefits, or neither.
$sel:filter':GetRightsizingRecommendation'
, getRightsizingRecommendation_filter
- Undocumented member.
$sel:pageSize:GetRightsizingRecommendation'
, getRightsizingRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
$sel:service:GetRightsizingRecommendation'
, getRightsizingRecommendation_service
- The specific service that you want recommendations for. The only valid
value for GetRightsizingRecommendation
is "AmazonEC2
".
data GetRightsizingRecommendationResponse Source #
See: newGetRightsizingRecommendationResponse
smart constructor.
Instances
newGetRightsizingRecommendationResponse Source #
Create a value of GetRightsizingRecommendationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:summary:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_summary
- Summary of this recommendation set.
$sel:nextPageToken:GetRightsizingRecommendation'
, getRightsizingRecommendationResponse_nextPageToken
- The token to retrieve the next set of results.
$sel:rightsizingRecommendations:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_rightsizingRecommendations
- Recommendations to rightsize resources.
$sel:metadata:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_metadata
- Information regarding this specific recommendation set.
$sel:configuration:GetRightsizingRecommendation'
, getRightsizingRecommendationResponse_configuration
- Enables you to customize recommendations across two attributes. You can
choose to view recommendations for instances within the same instance
families or across different instance families. You can also choose to
view your estimated savings associated with recommendations with
consideration of existing Savings Plans or RI benefits, or neither.
$sel:httpStatus:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_httpStatus
- The response's http status code.
GetCostAndUsageWithResources
data GetCostAndUsageWithResources Source #
See: newGetCostAndUsageWithResources
smart constructor.
GetCostAndUsageWithResources' (Maybe [GroupDefinition]) (Maybe Text) (Maybe [Text]) DateInterval Granularity Expression |
Instances
newGetCostAndUsageWithResources Source #
Create a value of GetCostAndUsageWithResources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupBy:GetCostAndUsageWithResources'
, getCostAndUsageWithResources_groupBy
- You can group Amazon Web Services costs using up to two different
groups: DIMENSION
, TAG
, COST_CATEGORY
.
$sel:nextPageToken:GetCostAndUsageWithResources'
, getCostAndUsageWithResources_nextPageToken
- 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.
$sel:metrics:GetCostAndUsageWithResources'
, getCostAndUsageWithResources_metrics
- Which metrics are returned in the query. For more information about
blended and unblended rates, see
Why does the "blended" annotation appear on some line items in my bill?.
Valid values are AmortizedCost
, BlendedCost
, NetAmortizedCost
,
NetUnblendedCost
, NormalizedUsageAmount
, UnblendedCost
, and
UsageQuantity
.
If you return the UsageQuantity
metric, the service aggregates all
usage numbers without taking the units into account. For example, if you
aggregate usageQuantity
across all of Amazon EC2, the results aren't
meaningful because Amazon EC2 compute hours and data transfer are
measured in different units (for example, hours vs. GB). To get more
meaningful UsageQuantity
metrics, filter by UsageType
or
UsageTypeGroups
.
Metrics
is required for GetCostAndUsageWithResources
requests.
$sel:timePeriod:GetCostAndUsageWithResources'
, getCostAndUsageWithResources_timePeriod
- 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
.
$sel:granularity:GetCostAndUsageWithResources'
, getCostAndUsageWithResources_granularity
- 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
.
$sel:filter':GetCostAndUsageWithResources'
, getCostAndUsageWithResources_filter
- 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.
data GetCostAndUsageWithResourcesResponse Source #
See: newGetCostAndUsageWithResourcesResponse
smart constructor.
GetCostAndUsageWithResourcesResponse' (Maybe [ResultByTime]) (Maybe Text) (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) Int |
Instances
newGetCostAndUsageWithResourcesResponse Source #
Create a value of GetCostAndUsageWithResourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resultsByTime:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_resultsByTime
- The time period that is covered by the results in the response.
$sel:nextPageToken:GetCostAndUsageWithResources'
, getCostAndUsageWithResourcesResponse_nextPageToken
- 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.
$sel:dimensionValueAttributes:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_dimensionValueAttributes
- The attributes that apply to a specific dimension value. For example, if
the value is a linked account, the attribute is that account name.
$sel:groupDefinitions:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_groupDefinitions
- The groups that are specified by the Filter
or GroupBy
parameters in
the request.
$sel:httpStatus:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_httpStatus
- The response's http status code.
GetUsageForecast
data GetUsageForecast Source #
See: newGetUsageForecast
smart constructor.
Instances
:: DateInterval | |
-> Metric | |
-> Granularity | |
-> GetUsageForecast |
Create a value of GetUsageForecast
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:predictionIntervalLevel:GetUsageForecast'
, getUsageForecast_predictionIntervalLevel
- 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.
$sel:filter':GetUsageForecast'
, getUsageForecast_filter
- 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
$sel:timePeriod:GetUsageForecast'
, getUsageForecast_timePeriod
- The start and end dates of the period that you want to retrieve usage
forecast for. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from
2017-01-01
up to and including 2017-04-30
but not including
2017-05-01
. The start date must be equal to or later than the current
date to avoid a validation error.
$sel:metric:GetUsageForecast'
, getUsageForecast_metric
- Which metric Cost Explorer uses to create your forecast.
Valid values for a GetUsageForecast
call are the following:
- USAGE_QUANTITY
- NORMALIZED_USAGE_AMOUNT
$sel:granularity:GetUsageForecast'
, getUsageForecast_granularity
- 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.
data GetUsageForecastResponse Source #
See: newGetUsageForecastResponse
smart constructor.
Instances
newGetUsageForecastResponse Source #
Create a value of GetUsageForecastResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:forecastResultsByTime:GetUsageForecastResponse'
, getUsageForecastResponse_forecastResultsByTime
- 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.
$sel:total:GetUsageForecastResponse'
, getUsageForecastResponse_total
- How much you're forecasted to use over the forecast period.
$sel:httpStatus:GetUsageForecastResponse'
, getUsageForecastResponse_httpStatus
- The response's http status code.
GetReservationCoverage
data GetReservationCoverage Source #
You can use the following request parameters to query for how much of your instance usage a reservation covered.
See: newGetReservationCoverage
smart constructor.
GetReservationCoverage' (Maybe [GroupDefinition]) (Maybe Text) (Maybe [Text]) (Maybe Granularity) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval |
Instances
newGetReservationCoverage Source #
Create a value of GetReservationCoverage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupBy:GetReservationCoverage'
, getReservationCoverage_groupBy
- You can group the data by the following attributes:
- AZ
- CACHE_ENGINE
- DATABASE_ENGINE
- DEPLOYMENT_OPTION
- INSTANCE_TYPE
- LINKED_ACCOUNT
- OPERATING_SYSTEM
- PLATFORM
- REGION
- TENANCY
$sel:nextPageToken:GetReservationCoverage'
, getReservationCoverage_nextPageToken
- 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.
$sel:metrics:GetReservationCoverage'
, getReservationCoverage_metrics
- 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.
$sel:granularity:GetReservationCoverage'
, getReservationCoverage_granularity
- 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.
$sel:filter':GetReservationCoverage'
, getReservationCoverage_filter
- 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.
$sel:maxResults:GetReservationCoverage'
, getReservationCoverage_maxResults
- 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.
$sel:sortBy:GetReservationCoverage'
, getReservationCoverage_sortBy
- 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
.
$sel:timePeriod:GetReservationCoverage'
, getReservationCoverage_timePeriod
- 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
.
data GetReservationCoverageResponse Source #
See: newGetReservationCoverageResponse
smart constructor.
Instances
newGetReservationCoverageResponse Source #
Create a value of GetReservationCoverageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetReservationCoverage'
, getReservationCoverageResponse_nextPageToken
- 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.
$sel:total:GetReservationCoverageResponse'
, getReservationCoverageResponse_total
- The total amount of instance usage that a reservation covered.
$sel:httpStatus:GetReservationCoverageResponse'
, getReservationCoverageResponse_httpStatus
- The response's http status code.
$sel:coveragesByTime:GetReservationCoverageResponse'
, getReservationCoverageResponse_coveragesByTime
- The amount of time that your reservations covered.
GetCostCategories
data GetCostCategories Source #
See: newGetCostCategories
smart constructor.
GetCostCategories' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval |
Instances
Create a value of GetCostCategories
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetCostCategories'
, getCostCategories_nextPageToken
- If the number of objects that are still available for retrieval exceeds
the limit, Amazon Web Services returns a NextPageToken value in the
response. To retrieve the next batch of objects, provide the
NextPageToken from the prior call in your next request.
$sel:searchString:GetCostCategories'
, getCostCategories_searchString
- The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used
to filter Cost Category names that match the SearchString
pattern. If
you do specifiy a CostCategoryName
, SearchString
will be used to
filter Cost Category values that match the SearchString
pattern.
$sel:costCategoryName:GetCostCategories'
, getCostCategories_costCategoryName
- Undocumented member.
$sel:filter':GetCostCategories'
, getCostCategories_filter
- Undocumented member.
$sel:maxResults:GetCostCategories'
, getCostCategories_maxResults
- This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If
MaxResults
is not specified with SortBy
, the request will return
1000 results as the default value for this parameter.
For GetCostCategories
, MaxResults has an upper limit of 1000.
$sel:sortBy:GetCostCategories'
, getCostCategories_sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
$sel:timePeriod:GetCostCategories'
, getCostCategories_timePeriod
- Undocumented member.
data GetCostCategoriesResponse Source #
See: newGetCostCategoriesResponse
smart constructor.
Instances
newGetCostCategoriesResponse Source #
:: Int | |
-> Int | |
-> Int | |
-> GetCostCategoriesResponse |
Create a value of GetCostCategoriesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetCostCategories'
, getCostCategoriesResponse_nextPageToken
- If the number of objects that are still available for retrieval exceeds
the limit, Amazon Web Services returns a NextPageToken value in the
response. To retrieve the next batch of objects, provide the marker from
the prior call in your next request.
$sel:costCategoryNames:GetCostCategoriesResponse'
, getCostCategoriesResponse_costCategoryNames
- The names of the Cost Categories.
$sel:costCategoryValues:GetCostCategoriesResponse'
, getCostCategoriesResponse_costCategoryValues
- The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not
specified in the request.
$sel:httpStatus:GetCostCategoriesResponse'
, getCostCategoriesResponse_httpStatus
- The response's http status code.
$sel:returnSize:GetCostCategoriesResponse'
, getCostCategoriesResponse_returnSize
- The number of objects returned.
$sel:totalSize:GetCostCategoriesResponse'
, getCostCategoriesResponse_totalSize
- The total number of objects.
GetCostForecast
data GetCostForecast Source #
See: newGetCostForecast
smart constructor.
Instances
:: DateInterval | |
-> Metric | |
-> Granularity | |
-> GetCostForecast |
Create a value of GetCostForecast
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:predictionIntervalLevel:GetCostForecast'
, getCostForecast_predictionIntervalLevel
- 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.
$sel:filter':GetCostForecast'
, getCostForecast_filter
- 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
$sel:timePeriod:GetCostForecast'
, getCostForecast_timePeriod
- 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.
$sel:metric:GetCostForecast'
, getCostForecast_metric
- 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
$sel:granularity:GetCostForecast'
, getCostForecast_granularity
- 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.
data GetCostForecastResponse Source #
See: newGetCostForecastResponse
smart constructor.
Instances
newGetCostForecastResponse Source #
Create a value of GetCostForecastResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:forecastResultsByTime:GetCostForecastResponse'
, getCostForecastResponse_forecastResultsByTime
- 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.
$sel:total:GetCostForecastResponse'
, getCostForecastResponse_total
- How much you are forecasted to spend over the forecast period, in USD
.
$sel:httpStatus:GetCostForecastResponse'
, getCostForecastResponse_httpStatus
- The response's http status code.
GetDimensionValues
data GetDimensionValues Source #
See: newGetDimensionValues
smart constructor.
GetDimensionValues' (Maybe Text) (Maybe Context) (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe [SortDefinition]) DateInterval Dimension |
Instances
newGetDimensionValues Source #
Create a value of GetDimensionValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetDimensionValues'
, getDimensionValues_nextPageToken
- 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.
$sel:context:GetDimensionValues'
, getDimensionValues_context
- The context for the call to GetDimensionValues
. This can be
RESERVATIONS
or COST_AND_USAGE
. The default value is
COST_AND_USAGE
. If the context is set to RESERVATIONS
, the resulting
dimension values can be used in the GetReservationUtilization
operation. If the context is set to COST_AND_USAGE
, the resulting
dimension values can be used in the GetCostAndUsage
operation.
If you set the context to COST_AND_USAGE
, you can use the following
dimensions for searching:
- AZ - The Availability Zone. An example is
us-east-1a
. - DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
- INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
m4.xlarge
. - LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
- LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
- OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
- OPERATION - The action performed. Examples include
RunInstance
andCreateBucket
. - PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
- PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances.
- SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
- USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes.
The response for the
GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs. - USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
- REGION - The Amazon Web Services Region.
- RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.
- RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
If you set the context to RESERVATIONS
, you can use the following
dimensions for searching:
- AZ - The Availability Zone. An example is
us-east-1a
. - CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
- DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service
deployments. Valid values are
SingleAZ
andMultiAZ
. - 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
$sel:searchString:GetDimensionValues'
, getDimensionValues_searchString
- The value that you want to search the filter values for.
$sel:filter':GetDimensionValues'
, getDimensionValues_filter
- Undocumented member.
$sel:maxResults:GetDimensionValues'
, getDimensionValues_maxResults
- This field is only used when SortBy is provided in the request. The
maximum number of objects that to be returned for this request. If
MaxResults is not specified with SortBy, the request will return 1000
results as the default value for this parameter.
For GetDimensionValues
, MaxResults has an upper limit of 1000.
$sel:sortBy:GetDimensionValues'
, getDimensionValues_sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When you specify a SortBy
paramater, the context must be
COST_AND_USAGE
. Further, when using SortBy
, NextPageToken
and
SearchString
are not supported.
$sel:timePeriod:GetDimensionValues'
, getDimensionValues_timePeriod
- 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
.
$sel:dimension:GetDimensionValues'
, getDimensionValues_dimension
- The name of the dimension. Each Dimension
is available for a different
Context
. For more information, see Context
.
data GetDimensionValuesResponse Source #
See: newGetDimensionValuesResponse
smart constructor.
Instances
newGetDimensionValuesResponse Source #
:: Int | |
-> Int | |
-> Int | |
-> GetDimensionValuesResponse |
Create a value of GetDimensionValuesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetDimensionValues'
, getDimensionValuesResponse_nextPageToken
- 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.
$sel:httpStatus:GetDimensionValuesResponse'
, getDimensionValuesResponse_httpStatus
- The response's http status code.
$sel:dimensionValues:GetDimensionValuesResponse'
, getDimensionValuesResponse_dimensionValues
- 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
andCreateBucket
. - PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
- PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances.
- SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
- USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes.
The response for the
GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs. - USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
- RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.
- RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
If you set the context to RESERVATIONS
, you can use the following
dimensions for searching:
- AZ - The Availability Zone. An example is
us-east-1a
. - CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
- DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service
deployments. Valid values are
SingleAZ
andMultiAZ
. - 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
$sel:returnSize:GetDimensionValuesResponse'
, getDimensionValuesResponse_returnSize
- The number of results that Amazon Web Services returned at one time.
$sel:totalSize:GetDimensionValuesResponse'
, getDimensionValuesResponse_totalSize
- The total number of search results.
GetAnomalies
data GetAnomalies Source #
See: newGetAnomalies
smart constructor.
GetAnomalies' (Maybe Text) (Maybe TotalImpactFilter) (Maybe Int) (Maybe AnomalyFeedbackType) (Maybe Text) AnomalyDateInterval |
Instances
Create a value of GetAnomalies
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetAnomalies'
, getAnomalies_nextPageToken
- 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.
$sel:totalImpact:GetAnomalies'
, getAnomalies_totalImpact
- 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.
$sel:maxResults:GetAnomalies'
, getAnomalies_maxResults
- The number of entries a paginated response contains.
$sel:feedback:GetAnomalies'
, getAnomalies_feedback
- Filters anomaly results by the feedback field on the anomaly object.
$sel:monitorArn:GetAnomalies'
, getAnomalies_monitorArn
- Retrieves all of the cost anomalies detected for a specific cost anomaly
monitor Amazon Resource Name (ARN).
$sel:dateInterval:GetAnomalies'
, getAnomalies_dateInterval
- Assigns the start and end dates for retrieving cost anomalies. The
returned anomaly object will have an AnomalyEndDate
in the specified
time range.
data GetAnomaliesResponse Source #
See: newGetAnomaliesResponse
smart constructor.
Instances
newGetAnomaliesResponse Source #
Create a value of GetAnomaliesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetAnomalies'
, getAnomaliesResponse_nextPageToken
- 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.
$sel:httpStatus:GetAnomaliesResponse'
, getAnomaliesResponse_httpStatus
- The response's http status code.
$sel:anomalies:GetAnomaliesResponse'
, getAnomaliesResponse_anomalies
- A list of cost anomalies.
GetReservationPurchaseRecommendation
data GetReservationPurchaseRecommendation Source #
See: newGetReservationPurchaseRecommendation
smart constructor.
Instances
newGetReservationPurchaseRecommendation Source #
Create a value of GetReservationPurchaseRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_nextPageToken
- The pagination token that indicates the next set of results that you
want to retrieve.
$sel:termInYears:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_termInYears
- The reservation term that you want recommendations for.
$sel:serviceSpecification:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_serviceSpecification
- The hardware specifications for the service instances that you want
recommendations for, such as standard or convertible Amazon EC2
instances.
$sel:accountScope:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_accountScope
- 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.
$sel:accountId:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_accountId
- The account ID that is associated with the recommendation.
$sel:filter':GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_filter
- Undocumented member.
$sel:pageSize:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
$sel:lookbackPeriodInDays:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_lookbackPeriodInDays
- The number of previous days that you want Amazon Web Services to
consider when it calculates your recommendations.
$sel:paymentOption:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_paymentOption
- The reservation purchase option that you want recommendations for.
$sel:service:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_service
- The specific service that you want recommendations for.
data GetReservationPurchaseRecommendationResponse Source #
See: newGetReservationPurchaseRecommendationResponse
smart constructor.
GetReservationPurchaseRecommendationResponse' (Maybe Text) (Maybe [ReservationPurchaseRecommendation]) (Maybe ReservationPurchaseRecommendationMetadata) Int |
Instances
newGetReservationPurchaseRecommendationResponse Source #
:: Int |
|
-> GetReservationPurchaseRecommendationResponse |
Create a value of GetReservationPurchaseRecommendationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendationResponse_nextPageToken
- The pagination token for the next set of retrievable results.
$sel:recommendations:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_recommendations
- Recommendations for reservations to purchase.
$sel:metadata:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_metadata
- Information about this specific recommendation call, such as the time
stamp for when Cost Explorer generated this recommendation.
$sel:httpStatus:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_httpStatus
- The response's http status code.
DeleteAnomalyMonitor
data DeleteAnomalyMonitor Source #
See: newDeleteAnomalyMonitor
smart constructor.
Instances
newDeleteAnomalyMonitor Source #
Create a value of DeleteAnomalyMonitor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:monitorArn:DeleteAnomalyMonitor'
, deleteAnomalyMonitor_monitorArn
- The unique identifier of the cost anomaly monitor that you want to
delete.
data DeleteAnomalyMonitorResponse Source #
See: newDeleteAnomalyMonitorResponse
smart constructor.
Instances
newDeleteAnomalyMonitorResponse Source #
Create a value of DeleteAnomalyMonitorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteAnomalyMonitorResponse'
, deleteAnomalyMonitorResponse_httpStatus
- The response's http status code.
UpdateAnomalyMonitor
data UpdateAnomalyMonitor Source #
See: newUpdateAnomalyMonitor
smart constructor.
Instances
newUpdateAnomalyMonitor Source #
Create a value of UpdateAnomalyMonitor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:monitorName:UpdateAnomalyMonitor'
, updateAnomalyMonitor_monitorName
- The new name for the cost anomaly monitor.
$sel:monitorArn:UpdateAnomalyMonitor'
, updateAnomalyMonitor_monitorArn
- Cost anomaly monitor Amazon Resource Names (ARNs).
data UpdateAnomalyMonitorResponse Source #
See: newUpdateAnomalyMonitorResponse
smart constructor.
Instances
newUpdateAnomalyMonitorResponse Source #
:: Int | |
-> Text | |
-> UpdateAnomalyMonitorResponse |
Create a value of UpdateAnomalyMonitorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateAnomalyMonitorResponse'
, updateAnomalyMonitorResponse_httpStatus
- The response's http status code.
$sel:monitorArn:UpdateAnomalyMonitor'
, updateAnomalyMonitorResponse_monitorArn
- A cost anomaly monitor ARN.
ListCostCategoryDefinitions
data ListCostCategoryDefinitions Source #
See: newListCostCategoryDefinitions
smart constructor.
Instances
newListCostCategoryDefinitions :: ListCostCategoryDefinitions Source #
Create a value of ListCostCategoryDefinitions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:effectiveOn:ListCostCategoryDefinitions'
, listCostCategoryDefinitions_effectiveOn
- The date when the Cost Category was effective.
$sel:nextToken:ListCostCategoryDefinitions'
, listCostCategoryDefinitions_nextToken
- 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.
$sel:maxResults:ListCostCategoryDefinitions'
, listCostCategoryDefinitions_maxResults
- The number of entries a paginated response contains.
data ListCostCategoryDefinitionsResponse Source #
See: newListCostCategoryDefinitionsResponse
smart constructor.
Instances
newListCostCategoryDefinitionsResponse Source #
Create a value of ListCostCategoryDefinitionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:costCategoryReferences:ListCostCategoryDefinitionsResponse'
, listCostCategoryDefinitionsResponse_costCategoryReferences
- A reference to a Cost Category containing enough information to identify
the Cost Category.
$sel:nextToken:ListCostCategoryDefinitions'
, listCostCategoryDefinitionsResponse_nextToken
- 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.
$sel:httpStatus:ListCostCategoryDefinitionsResponse'
, listCostCategoryDefinitionsResponse_httpStatus
- The response's http status code.
UpdateCostCategoryDefinition
data UpdateCostCategoryDefinition Source #
See: newUpdateCostCategoryDefinition
smart constructor.
UpdateCostCategoryDefinition' (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
newUpdateCostCategoryDefinition Source #
Create a value of UpdateCostCategoryDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:splitChargeRules:UpdateCostCategoryDefinition'
, updateCostCategoryDefinition_splitChargeRules
- The split charge rules used to allocate your charges between your Cost
Category values.
$sel:defaultValue:UpdateCostCategoryDefinition'
, updateCostCategoryDefinition_defaultValue
- Undocumented member.
$sel:costCategoryArn:UpdateCostCategoryDefinition'
, updateCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
$sel:ruleVersion:UpdateCostCategoryDefinition'
, updateCostCategoryDefinition_ruleVersion
- Undocumented member.
$sel:rules:UpdateCostCategoryDefinition'
, updateCostCategoryDefinition_rules
- The Expression
object used to categorize costs. For more information,
see
CostCategoryRule
.
data UpdateCostCategoryDefinitionResponse Source #
See: newUpdateCostCategoryDefinitionResponse
smart constructor.
Instances
newUpdateCostCategoryDefinitionResponse Source #
Create a value of UpdateCostCategoryDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:effectiveStart:UpdateCostCategoryDefinitionResponse'
, updateCostCategoryDefinitionResponse_effectiveStart
- The Cost Category's effective start date.
$sel:costCategoryArn:UpdateCostCategoryDefinition'
, updateCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your Cost Category.
$sel:httpStatus:UpdateCostCategoryDefinitionResponse'
, updateCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
DeleteCostCategoryDefinition
data DeleteCostCategoryDefinition Source #
See: newDeleteCostCategoryDefinition
smart constructor.
Instances
newDeleteCostCategoryDefinition Source #
Create a value of DeleteCostCategoryDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:costCategoryArn:DeleteCostCategoryDefinition'
, deleteCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
data DeleteCostCategoryDefinitionResponse Source #
See: newDeleteCostCategoryDefinitionResponse
smart constructor.
Instances
newDeleteCostCategoryDefinitionResponse Source #
Create a value of DeleteCostCategoryDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:costCategoryArn:DeleteCostCategoryDefinition'
, deleteCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveEnd:DeleteCostCategoryDefinitionResponse'
, deleteCostCategoryDefinitionResponse_effectiveEnd
- The effective end date of the Cost Category as a result of deleting it.
No costs after this date will be categorized by the deleted Cost
Category.
$sel:httpStatus:DeleteCostCategoryDefinitionResponse'
, deleteCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
GetAnomalySubscriptions
data GetAnomalySubscriptions Source #
See: newGetAnomalySubscriptions
smart constructor.
Instances
newGetAnomalySubscriptions :: GetAnomalySubscriptions Source #
Create a value of GetAnomalySubscriptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subscriptionArnList:GetAnomalySubscriptions'
, getAnomalySubscriptions_subscriptionArnList
- A list of cost anomaly subscription ARNs.
$sel:nextPageToken:GetAnomalySubscriptions'
, getAnomalySubscriptions_nextPageToken
- 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.
$sel:maxResults:GetAnomalySubscriptions'
, getAnomalySubscriptions_maxResults
- The number of entries a paginated response contains.
$sel:monitorArn:GetAnomalySubscriptions'
, getAnomalySubscriptions_monitorArn
- Cost anomaly monitor ARNs.
data GetAnomalySubscriptionsResponse Source #
See: newGetAnomalySubscriptionsResponse
smart constructor.
Instances
newGetAnomalySubscriptionsResponse Source #
Create a value of GetAnomalySubscriptionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetAnomalySubscriptions'
, getAnomalySubscriptionsResponse_nextPageToken
- 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.
$sel:httpStatus:GetAnomalySubscriptionsResponse'
, getAnomalySubscriptionsResponse_httpStatus
- The response's http status code.
$sel:anomalySubscriptions:GetAnomalySubscriptionsResponse'
, getAnomalySubscriptionsResponse_anomalySubscriptions
- A list of cost anomaly subscriptions that includes the detailed metadata
for each one.
CreateCostCategoryDefinition
data CreateCostCategoryDefinition Source #
See: newCreateCostCategoryDefinition
smart constructor.
CreateCostCategoryDefinition' (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
newCreateCostCategoryDefinition Source #
Create a value of CreateCostCategoryDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:splitChargeRules:CreateCostCategoryDefinition'
, createCostCategoryDefinition_splitChargeRules
- The split charge rules used to allocate your charges between your Cost
Category values.
$sel:defaultValue:CreateCostCategoryDefinition'
, createCostCategoryDefinition_defaultValue
- Undocumented member.
$sel:name:CreateCostCategoryDefinition'
, createCostCategoryDefinition_name
- Undocumented member.
$sel:ruleVersion:CreateCostCategoryDefinition'
, createCostCategoryDefinition_ruleVersion
- Undocumented member.
$sel:rules:CreateCostCategoryDefinition'
, createCostCategoryDefinition_rules
- The Cost Category rules used to categorize costs. For more information,
see
CostCategoryRule.
data CreateCostCategoryDefinitionResponse Source #
See: newCreateCostCategoryDefinitionResponse
smart constructor.
Instances
newCreateCostCategoryDefinitionResponse Source #
Create a value of CreateCostCategoryDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:effectiveStart:CreateCostCategoryDefinitionResponse'
, createCostCategoryDefinitionResponse_effectiveStart
- The Cost Category's effective start date.
$sel:costCategoryArn:CreateCostCategoryDefinitionResponse'
, createCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your newly created Cost Category.
$sel:httpStatus:CreateCostCategoryDefinitionResponse'
, createCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
GetAnomalyMonitors
data GetAnomalyMonitors Source #
See: newGetAnomalyMonitors
smart constructor.
Instances
newGetAnomalyMonitors :: GetAnomalyMonitors Source #
Create a value of GetAnomalyMonitors
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetAnomalyMonitors'
, getAnomalyMonitors_nextPageToken
- 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.
$sel:monitorArnList:GetAnomalyMonitors'
, getAnomalyMonitors_monitorArnList
- A list of cost anomaly monitor ARNs.
$sel:maxResults:GetAnomalyMonitors'
, getAnomalyMonitors_maxResults
- The number of entries that a paginated response contains.
data GetAnomalyMonitorsResponse Source #
See: newGetAnomalyMonitorsResponse
smart constructor.
Instances
newGetAnomalyMonitorsResponse Source #
Create a value of GetAnomalyMonitorsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetAnomalyMonitors'
, getAnomalyMonitorsResponse_nextPageToken
- 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.
$sel:httpStatus:GetAnomalyMonitorsResponse'
, getAnomalyMonitorsResponse_httpStatus
- The response's http status code.
$sel:anomalyMonitors:GetAnomalyMonitorsResponse'
, getAnomalyMonitorsResponse_anomalyMonitors
- A list of cost anomaly monitors that includes the detailed metadata for
each monitor.
DeleteAnomalySubscription
data DeleteAnomalySubscription Source #
See: newDeleteAnomalySubscription
smart constructor.
Instances
newDeleteAnomalySubscription Source #
Create a value of DeleteAnomalySubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subscriptionArn:DeleteAnomalySubscription'
, deleteAnomalySubscription_subscriptionArn
- The unique identifier of the cost anomaly subscription that you want to
delete.
data DeleteAnomalySubscriptionResponse Source #
See: newDeleteAnomalySubscriptionResponse
smart constructor.
Instances
Eq DeleteAnomalySubscriptionResponse Source # | |
Read DeleteAnomalySubscriptionResponse Source # | |
Show DeleteAnomalySubscriptionResponse Source # | |
Generic DeleteAnomalySubscriptionResponse Source # | |
NFData DeleteAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.DeleteAnomalySubscription rnf :: DeleteAnomalySubscriptionResponse -> () # | |
type Rep DeleteAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.DeleteAnomalySubscription type Rep DeleteAnomalySubscriptionResponse = D1 ('MetaData "DeleteAnomalySubscriptionResponse" "Amazonka.CostExplorer.DeleteAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "DeleteAnomalySubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteAnomalySubscriptionResponse Source #
Create a value of DeleteAnomalySubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteAnomalySubscriptionResponse'
, deleteAnomalySubscriptionResponse_httpStatus
- The response's http status code.
UpdateAnomalySubscription
data UpdateAnomalySubscription Source #
See: newUpdateAnomalySubscription
smart constructor.
UpdateAnomalySubscription' (Maybe Text) (Maybe AnomalySubscriptionFrequency) (Maybe Double) (Maybe [Text]) (Maybe [Subscriber]) Text |
Instances
newUpdateAnomalySubscription Source #
Create a value of UpdateAnomalySubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subscriptionName:UpdateAnomalySubscription'
, updateAnomalySubscription_subscriptionName
- The new name of the subscription.
$sel:frequency:UpdateAnomalySubscription'
, updateAnomalySubscription_frequency
- The update to the frequency value that subscribers receive
notifications.
$sel:threshold:UpdateAnomalySubscription'
, updateAnomalySubscription_threshold
- The update to the threshold value for receiving notifications.
$sel:monitorArnList:UpdateAnomalySubscription'
, updateAnomalySubscription_monitorArnList
- A list of cost anomaly monitor ARNs.
$sel:subscribers:UpdateAnomalySubscription'
, updateAnomalySubscription_subscribers
- The update to the subscriber list.
$sel:subscriptionArn:UpdateAnomalySubscription'
, updateAnomalySubscription_subscriptionArn
- A cost anomaly subscription Amazon Resource Name (ARN).
data UpdateAnomalySubscriptionResponse Source #
See: newUpdateAnomalySubscriptionResponse
smart constructor.
Instances
Eq UpdateAnomalySubscriptionResponse Source # | |
Read UpdateAnomalySubscriptionResponse Source # | |
Show UpdateAnomalySubscriptionResponse Source # | |
Generic UpdateAnomalySubscriptionResponse Source # | |
NFData UpdateAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.UpdateAnomalySubscription rnf :: UpdateAnomalySubscriptionResponse -> () # | |
type Rep UpdateAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.UpdateAnomalySubscription type Rep UpdateAnomalySubscriptionResponse = D1 ('MetaData "UpdateAnomalySubscriptionResponse" "Amazonka.CostExplorer.UpdateAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "UpdateAnomalySubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newUpdateAnomalySubscriptionResponse Source #
Create a value of UpdateAnomalySubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateAnomalySubscriptionResponse'
, updateAnomalySubscriptionResponse_httpStatus
- The response's http status code.
$sel:subscriptionArn:UpdateAnomalySubscription'
, updateAnomalySubscriptionResponse_subscriptionArn
- A cost anomaly subscription ARN.
GetCostAndUsage
data GetCostAndUsage Source #
See: newGetCostAndUsage
smart constructor.
GetCostAndUsage' (Maybe [GroupDefinition]) (Maybe Text) (Maybe Expression) DateInterval Granularity [Text] |
Instances
Create a value of GetCostAndUsage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupBy:GetCostAndUsage'
, getCostAndUsage_groupBy
- You can group Amazon Web Services costs using up to two different
groups, either dimensions, tag keys, cost categories, or any two group
by types.
Valid values for the DIMENSION
type are AZ
, INSTANCE_TYPE
,
LEGAL_ENTITY_NAME
, LINKED_ACCOUNT
, OPERATION
, PLATFORM
,
PURCHASE_TYPE
, SERVICE
, TENANCY
, RECORD_TYPE
, and USAGE_TYPE
.
When you group by the TAG
type and include a valid tag key, you get
all tag values, including empty strings.
$sel:nextPageToken:GetCostAndUsage'
, getCostAndUsage_nextPageToken
- 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.
$sel:filter':GetCostAndUsage'
, getCostAndUsage_filter
- 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.
$sel:timePeriod:GetCostAndUsage'
, getCostAndUsage_timePeriod
- 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
.
$sel:granularity:GetCostAndUsage'
, getCostAndUsage_granularity
- 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
.
$sel:metrics:GetCostAndUsage'
, getCostAndUsage_metrics
- 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.
data GetCostAndUsageResponse Source #
See: newGetCostAndUsageResponse
smart constructor.
GetCostAndUsageResponse' (Maybe [ResultByTime]) (Maybe Text) (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) Int |
Instances
newGetCostAndUsageResponse Source #
Create a value of GetCostAndUsageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resultsByTime:GetCostAndUsageResponse'
, getCostAndUsageResponse_resultsByTime
- The time period that's covered by the results in the response.
$sel:nextPageToken:GetCostAndUsage'
, getCostAndUsageResponse_nextPageToken
- 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.
$sel:dimensionValueAttributes:GetCostAndUsageResponse'
, getCostAndUsageResponse_dimensionValueAttributes
- The attributes that apply to a specific dimension value. For example, if
the value is a linked account, the attribute is that account name.
$sel:groupDefinitions:GetCostAndUsageResponse'
, getCostAndUsageResponse_groupDefinitions
- The groups that are specified by the Filter
or GroupBy
parameters in
the request.
$sel:httpStatus:GetCostAndUsageResponse'
, getCostAndUsageResponse_httpStatus
- The response's http status code.
GetSavingsPlansPurchaseRecommendation
data GetSavingsPlansPurchaseRecommendation Source #
See: newGetSavingsPlansPurchaseRecommendation
smart constructor.
GetSavingsPlansPurchaseRecommendation' (Maybe Text) (Maybe AccountScope) (Maybe Expression) (Maybe Natural) SupportedSavingsPlansType TermInYears PaymentOption LookbackPeriodInDays |
Instances
newGetSavingsPlansPurchaseRecommendation Source #
Create a value of GetSavingsPlansPurchaseRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_nextPageToken
- 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.
$sel:accountScope:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_accountScope
- 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.
$sel:filter':GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_filter
- You can filter your recommendations by Account ID with the
LINKED_ACCOUNT
dimension. To filter your recommendations by Account
ID, specify Key
as LINKED_ACCOUNT
and Value
as the comma-separated
Acount ID(s) for which you want to see Savings Plans purchase
recommendations.
For GetSavingsPlansPurchaseRecommendation, the Filter
does not include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can be a single
Account ID or multiple comma-separated Account IDs for which you want to
see Savings Plans Purchase Recommendations. AND
and OR
operators are
not supported.
$sel:pageSize:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
$sel:savingsPlansType:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_savingsPlansType
- The Savings Plans recommendation type requested.
$sel:termInYears:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_termInYears
- The savings plan recommendation term used to generate these
recommendations.
$sel:paymentOption:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_paymentOption
- The payment option used to generate these recommendations.
$sel:lookbackPeriodInDays:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_lookbackPeriodInDays
- The lookback period used to generate the recommendation.
data GetSavingsPlansPurchaseRecommendationResponse Source #
See: newGetSavingsPlansPurchaseRecommendationResponse
smart constructor.
GetSavingsPlansPurchaseRecommendationResponse' (Maybe Text) (Maybe SavingsPlansPurchaseRecommendation) (Maybe SavingsPlansPurchaseRecommendationMetadata) Int |
Instances
newGetSavingsPlansPurchaseRecommendationResponse Source #
:: Int |
|
-> GetSavingsPlansPurchaseRecommendationResponse |
Create a value of GetSavingsPlansPurchaseRecommendationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendationResponse_nextPageToken
- 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.
$sel:savingsPlansPurchaseRecommendation:GetSavingsPlansPurchaseRecommendationResponse'
, getSavingsPlansPurchaseRecommendationResponse_savingsPlansPurchaseRecommendation
- Contains your request parameters, Savings Plan Recommendations Summary,
and Details.
$sel:metadata:GetSavingsPlansPurchaseRecommendationResponse'
, getSavingsPlansPurchaseRecommendationResponse_metadata
- Information regarding this specific recommendation set.
$sel:httpStatus:GetSavingsPlansPurchaseRecommendationResponse'
, getSavingsPlansPurchaseRecommendationResponse_httpStatus
- The response's http status code.
ProvideAnomalyFeedback
data ProvideAnomalyFeedback Source #
See: newProvideAnomalyFeedback
smart constructor.
Instances
newProvideAnomalyFeedback Source #
Create a value of ProvideAnomalyFeedback
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalyId:ProvideAnomalyFeedback'
, provideAnomalyFeedback_anomalyId
- A cost anomaly ID.
$sel:feedback:ProvideAnomalyFeedback'
, provideAnomalyFeedback_feedback
- Describes whether the cost anomaly was a planned activity or you
considered it an anomaly.
data ProvideAnomalyFeedbackResponse Source #
See: newProvideAnomalyFeedbackResponse
smart constructor.
Instances
Eq ProvideAnomalyFeedbackResponse Source # | |
Read ProvideAnomalyFeedbackResponse Source # | |
Show ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback | |
Generic ProvideAnomalyFeedbackResponse Source # | |
NFData ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback rnf :: ProvideAnomalyFeedbackResponse -> () # | |
type Rep ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback type Rep ProvideAnomalyFeedbackResponse = D1 ('MetaData "ProvideAnomalyFeedbackResponse" "Amazonka.CostExplorer.ProvideAnomalyFeedback" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ProvideAnomalyFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "anomalyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newProvideAnomalyFeedbackResponse Source #
Create a value of ProvideAnomalyFeedbackResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:ProvideAnomalyFeedbackResponse'
, provideAnomalyFeedbackResponse_httpStatus
- The response's http status code.
$sel:anomalyId:ProvideAnomalyFeedback'
, provideAnomalyFeedbackResponse_anomalyId
- The ID of the modified cost anomaly.
GetSavingsPlansUtilization
data GetSavingsPlansUtilization Source #
See: newGetSavingsPlansUtilization
smart constructor.
GetSavingsPlansUtilization' (Maybe Granularity) (Maybe Expression) (Maybe SortDefinition) DateInterval |
Instances
newGetSavingsPlansUtilization Source #
Create a value of GetSavingsPlansUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:granularity:GetSavingsPlansUtilization'
, getSavingsPlansUtilization_granularity
- The granularity of the Amazon Web Services utillization data for your
Savings Plans.
The GetSavingsPlansUtilization
operation supports only DAILY
and
MONTHLY
granularities.
$sel:filter':GetSavingsPlansUtilization'
, getSavingsPlansUtilization_filter
- 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.
$sel:sortBy:GetSavingsPlansUtilization'
, getSavingsPlansUtilization_sortBy
- The value by which you want to sort the data.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
$sel:timePeriod:GetSavingsPlansUtilization'
, getSavingsPlansUtilization_timePeriod
- 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.
data GetSavingsPlansUtilizationResponse Source #
See: newGetSavingsPlansUtilizationResponse
smart constructor.
GetSavingsPlansUtilizationResponse' (Maybe [SavingsPlansUtilizationByTime]) Int SavingsPlansUtilizationAggregates |
Instances
newGetSavingsPlansUtilizationResponse Source #
Create a value of GetSavingsPlansUtilizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlansUtilizationsByTime:GetSavingsPlansUtilizationResponse'
, getSavingsPlansUtilizationResponse_savingsPlansUtilizationsByTime
- The amount of cost/commitment you used your Savings Plans. This allows
you to specify date ranges.
$sel:httpStatus:GetSavingsPlansUtilizationResponse'
, getSavingsPlansUtilizationResponse_httpStatus
- The response's http status code.
$sel:total:GetSavingsPlansUtilizationResponse'
, getSavingsPlansUtilizationResponse_total
- The total amount of cost/commitment that you used your Savings Plans,
regardless of date ranges.
DescribeCostCategoryDefinition
data DescribeCostCategoryDefinition Source #
See: newDescribeCostCategoryDefinition
smart constructor.
Instances
newDescribeCostCategoryDefinition Source #
Create a value of DescribeCostCategoryDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:effectiveOn:DescribeCostCategoryDefinition'
, describeCostCategoryDefinition_effectiveOn
- The date when the Cost Category was effective.
$sel:costCategoryArn:DescribeCostCategoryDefinition'
, describeCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
data DescribeCostCategoryDefinitionResponse Source #
See: newDescribeCostCategoryDefinitionResponse
smart constructor.
Instances
newDescribeCostCategoryDefinitionResponse Source #
Create a value of DescribeCostCategoryDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:costCategory:DescribeCostCategoryDefinitionResponse'
, describeCostCategoryDefinitionResponse_costCategory
- Undocumented member.
$sel:httpStatus:DescribeCostCategoryDefinitionResponse'
, describeCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
CreateAnomalySubscription
data CreateAnomalySubscription Source #
See: newCreateAnomalySubscription
smart constructor.
Instances
newCreateAnomalySubscription Source #
Create a value of CreateAnomalySubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalySubscription:CreateAnomalySubscription'
, createAnomalySubscription_anomalySubscription
- The cost anomaly subscription object that you want to create.
data CreateAnomalySubscriptionResponse Source #
See: newCreateAnomalySubscriptionResponse
smart constructor.
Instances
Eq CreateAnomalySubscriptionResponse Source # | |
Read CreateAnomalySubscriptionResponse Source # | |
Show CreateAnomalySubscriptionResponse Source # | |
Generic CreateAnomalySubscriptionResponse Source # | |
NFData CreateAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.CreateAnomalySubscription rnf :: CreateAnomalySubscriptionResponse -> () # | |
type Rep CreateAnomalySubscriptionResponse Source # | |
Defined in Amazonka.CostExplorer.CreateAnomalySubscription type Rep CreateAnomalySubscriptionResponse = D1 ('MetaData "CreateAnomalySubscriptionResponse" "Amazonka.CostExplorer.CreateAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CreateAnomalySubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newCreateAnomalySubscriptionResponse Source #
Create a value of CreateAnomalySubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateAnomalySubscriptionResponse'
, createAnomalySubscriptionResponse_httpStatus
- The response's http status code.
$sel:subscriptionArn:CreateAnomalySubscriptionResponse'
, createAnomalySubscriptionResponse_subscriptionArn
- The unique identifier of your newly created cost anomaly subscription.
CreateAnomalyMonitor
data CreateAnomalyMonitor Source #
See: newCreateAnomalyMonitor
smart constructor.
Instances
newCreateAnomalyMonitor Source #
Create a value of CreateAnomalyMonitor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalyMonitor:CreateAnomalyMonitor'
, createAnomalyMonitor_anomalyMonitor
- The cost anomaly detection monitor object that you want to create.
data CreateAnomalyMonitorResponse Source #
See: newCreateAnomalyMonitorResponse
smart constructor.
Instances
newCreateAnomalyMonitorResponse Source #
:: Int | |
-> Text | |
-> CreateAnomalyMonitorResponse |
Create a value of CreateAnomalyMonitorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateAnomalyMonitorResponse'
, createAnomalyMonitorResponse_httpStatus
- The response's http status code.
$sel:monitorArn:CreateAnomalyMonitorResponse'
, createAnomalyMonitorResponse_monitorArn
- The unique identifier of your newly created cost anomaly detection
monitor.
GetSavingsPlansUtilizationDetails
data GetSavingsPlansUtilizationDetails Source #
See: newGetSavingsPlansUtilizationDetails
smart constructor.
GetSavingsPlansUtilizationDetails' (Maybe Text) (Maybe [SavingsPlansDataType]) (Maybe Expression) (Maybe Natural) (Maybe SortDefinition) DateInterval |
Instances
newGetSavingsPlansUtilizationDetails Source #
Create a value of GetSavingsPlansUtilizationDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_nextToken
- 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.
$sel:dataType:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_dataType
- The data type.
$sel:filter':GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_filter
- 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.
$sel:maxResults:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_maxResults
- The number of items to be returned in a response. The default is 20
,
with a minimum value of 1
.
$sel:sortBy:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_sortBy
- The value by which you want to sort the data.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
$sel:timePeriod:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_timePeriod
- 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.
data GetSavingsPlansUtilizationDetailsResponse Source #
See: newGetSavingsPlansUtilizationDetailsResponse
smart constructor.
GetSavingsPlansUtilizationDetailsResponse' (Maybe Text) (Maybe SavingsPlansUtilizationAggregates) Int [SavingsPlansUtilizationDetail] DateInterval |
Instances
newGetSavingsPlansUtilizationDetailsResponse Source #
Create a value of GetSavingsPlansUtilizationDetailsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetailsResponse_nextToken
- 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.
$sel:total:GetSavingsPlansUtilizationDetailsResponse'
, getSavingsPlansUtilizationDetailsResponse_total
- The total Savings Plans utilization, regardless of time period.
$sel:httpStatus:GetSavingsPlansUtilizationDetailsResponse'
, getSavingsPlansUtilizationDetailsResponse_httpStatus
- The response's http status code.
$sel:savingsPlansUtilizationDetails:GetSavingsPlansUtilizationDetailsResponse'
, getSavingsPlansUtilizationDetailsResponse_savingsPlansUtilizationDetails
- Retrieves a single daily or monthly Savings Plans utilization rate and
details for your account.
$sel:timePeriod:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetailsResponse_timePeriod
- Undocumented member.
Types
AccountScope
newtype AccountScope Source #
pattern AccountScope_LINKED :: AccountScope | |
pattern AccountScope_PAYER :: AccountScope |
Instances
AnomalyFeedbackType
newtype AnomalyFeedbackType Source #
pattern AnomalyFeedbackType_NO :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_PLANNED_ACTIVITY :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_YES :: AnomalyFeedbackType |
Instances
AnomalySubscriptionFrequency
newtype AnomalySubscriptionFrequency Source #
Instances
Context
pattern Context_COST_AND_USAGE :: Context | |
pattern Context_RESERVATIONS :: Context | |
pattern Context_SAVINGS_PLANS :: Context |
Instances
CostCategoryInheritedValueDimensionName
newtype CostCategoryInheritedValueDimensionName Source #
Instances
CostCategoryRuleType
newtype CostCategoryRuleType Source #
pattern CostCategoryRuleType_INHERITED_VALUE :: CostCategoryRuleType | |
pattern CostCategoryRuleType_REGULAR :: CostCategoryRuleType |
Instances
CostCategoryRuleVersion
newtype CostCategoryRuleVersion Source #
The rule schema version in this particular Cost Category.
Instances
CostCategorySplitChargeMethod
newtype CostCategorySplitChargeMethod Source #
Instances
CostCategorySplitChargeRuleParameterType
newtype CostCategorySplitChargeRuleParameterType Source #
pattern CostCategorySplitChargeRuleParameterType_ALLOCATION_PERCENTAGES :: CostCategorySplitChargeRuleParameterType |
Instances
CostCategoryStatus
newtype CostCategoryStatus Source #
pattern CostCategoryStatus_APPLIED :: CostCategoryStatus | |
pattern CostCategoryStatus_PROCESSING :: CostCategoryStatus |
Instances
CostCategoryStatusComponent
newtype CostCategoryStatusComponent Source #
Instances
Dimension
Instances
FindingReasonCode
newtype FindingReasonCode Source #
Instances
Granularity
newtype Granularity Source #
pattern Granularity_DAILY :: Granularity | |
pattern Granularity_HOURLY :: Granularity | |
pattern Granularity_MONTHLY :: Granularity |
Instances
GroupDefinitionType
newtype GroupDefinitionType Source #
pattern GroupDefinitionType_COST_CATEGORY :: GroupDefinitionType | |
pattern GroupDefinitionType_DIMENSION :: GroupDefinitionType | |
pattern GroupDefinitionType_TAG :: GroupDefinitionType |
Instances
LookbackPeriodInDays
newtype LookbackPeriodInDays Source #
pattern LookbackPeriodInDays_SEVEN_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_SIXTY_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_THIRTY_DAYS :: LookbackPeriodInDays |
Instances
MatchOption
newtype MatchOption Source #
pattern MatchOption_ABSENT :: MatchOption | |
pattern MatchOption_CASE_INSENSITIVE :: MatchOption | |
pattern MatchOption_CASE_SENSITIVE :: MatchOption | |
pattern MatchOption_CONTAINS :: MatchOption | |
pattern MatchOption_ENDS_WITH :: MatchOption | |
pattern MatchOption_EQUALS :: MatchOption | |
pattern MatchOption_STARTS_WITH :: MatchOption |
Instances
Metric
pattern Metric_AMORTIZED_COST :: Metric | |
pattern Metric_BLENDED_COST :: Metric | |
pattern Metric_NET_AMORTIZED_COST :: Metric | |
pattern Metric_NET_UNBLENDED_COST :: Metric | |
pattern Metric_NORMALIZED_USAGE_AMOUNT :: Metric | |
pattern Metric_UNBLENDED_COST :: Metric | |
pattern Metric_USAGE_QUANTITY :: Metric |
Instances
MonitorDimension
newtype MonitorDimension Source #
pattern MonitorDimension_SERVICE :: MonitorDimension |
Instances
MonitorType
newtype MonitorType Source #
pattern MonitorType_CUSTOM :: MonitorType | |
pattern MonitorType_DIMENSIONAL :: MonitorType |
Instances
NumericOperator
newtype NumericOperator Source #
pattern NumericOperator_BETWEEN :: NumericOperator | |
pattern NumericOperator_EQUAL :: NumericOperator | |
pattern NumericOperator_GREATER_THAN :: NumericOperator | |
pattern NumericOperator_GREATER_THAN_OR_EQUAL :: NumericOperator | |
pattern NumericOperator_LESS_THAN :: NumericOperator | |
pattern NumericOperator_LESS_THAN_OR_EQUAL :: NumericOperator |
Instances
OfferingClass
newtype OfferingClass Source #
pattern OfferingClass_CONVERTIBLE :: OfferingClass | |
pattern OfferingClass_STANDARD :: OfferingClass |
Instances
PaymentOption
newtype PaymentOption Source #
pattern PaymentOption_ALL_UPFRONT :: PaymentOption | |
pattern PaymentOption_HEAVY_UTILIZATION :: PaymentOption | |
pattern PaymentOption_LIGHT_UTILIZATION :: PaymentOption | |
pattern PaymentOption_MEDIUM_UTILIZATION :: PaymentOption | |
pattern PaymentOption_NO_UPFRONT :: PaymentOption | |
pattern PaymentOption_PARTIAL_UPFRONT :: PaymentOption |
Instances
PlatformDifference
newtype PlatformDifference Source #
Instances
RecommendationTarget
newtype RecommendationTarget Source #
pattern RecommendationTarget_CROSS_INSTANCE_FAMILY :: RecommendationTarget | |
pattern RecommendationTarget_SAME_INSTANCE_FAMILY :: RecommendationTarget |
Instances
RightsizingType
newtype RightsizingType Source #
pattern RightsizingType_MODIFY :: RightsizingType | |
pattern RightsizingType_TERMINATE :: RightsizingType |
Instances
SavingsPlansDataType
newtype SavingsPlansDataType Source #
Instances
SortOrder
pattern SortOrder_ASCENDING :: SortOrder | |
pattern SortOrder_DESCENDING :: SortOrder |
Instances
SubscriberStatus
newtype SubscriberStatus Source #
pattern SubscriberStatus_CONFIRMED :: SubscriberStatus | |
pattern SubscriberStatus_DECLINED :: SubscriberStatus |
Instances
SubscriberType
newtype SubscriberType Source #
pattern SubscriberType_EMAIL :: SubscriberType | |
pattern SubscriberType_SNS :: SubscriberType |
Instances
SupportedSavingsPlansType
newtype SupportedSavingsPlansType Source #
Instances
TermInYears
newtype TermInYears Source #
pattern TermInYears_ONE_YEAR :: TermInYears | |
pattern TermInYears_THREE_YEARS :: TermInYears |
Instances
Anomaly
An unusual cost pattern. This consists of the detailed metadata and the current status of the anomaly object.
See: newAnomaly
smart constructor.
Anomaly' (Maybe Text) (Maybe Text) (Maybe [RootCause]) (Maybe Text) (Maybe AnomalyFeedbackType) Text AnomalyScore Impact Text |
Instances
:: Text | |
-> AnomalyScore | |
-> Impact | |
-> Text | |
-> Anomaly |
Create a value of Anomaly
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalyStartDate:Anomaly'
, anomaly_anomalyStartDate
- The first day the anomaly is detected.
$sel:dimensionValue:Anomaly'
, anomaly_dimensionValue
- The dimension for the anomaly (for example, an Amazon Web Services
service in a service monitor).
$sel:rootCauses:Anomaly'
, anomaly_rootCauses
- The list of identified root causes for the anomaly.
$sel:anomalyEndDate:Anomaly'
, anomaly_anomalyEndDate
- The last day the anomaly is detected.
$sel:feedback:Anomaly'
, anomaly_feedback
- The feedback value.
$sel:anomalyId:Anomaly'
, anomaly_anomalyId
- The unique identifier for the anomaly.
$sel:anomalyScore:Anomaly'
, anomaly_anomalyScore
- The latest and maximum score for the anomaly.
$sel:impact:Anomaly'
, anomaly_impact
- The dollar impact for the anomaly.
$sel:monitorArn:Anomaly'
, anomaly_monitorArn
- The Amazon Resource Name (ARN) for the cost monitor that generated this
anomaly.
AnomalyDateInterval
data AnomalyDateInterval Source #
The time period for an anomaly.
See: newAnomalyDateInterval
smart constructor.
Instances
newAnomalyDateInterval Source #
Create a value of AnomalyDateInterval
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endDate:AnomalyDateInterval'
, anomalyDateInterval_endDate
- The last date an anomaly was observed.
$sel:startDate:AnomalyDateInterval'
, anomalyDateInterval_startDate
- The first date an anomaly was observed.
AnomalyMonitor
data AnomalyMonitor Source #
This object continuously inspects your account's cost data for
anomalies. It's based on MonitorType
and MonitorSpecification
. The
content consists of detailed metadata and the current status of the
monitor object.
See: newAnomalyMonitor
smart constructor.
AnomalyMonitor' (Maybe Natural) (Maybe Expression) (Maybe MonitorDimension) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text MonitorType |
Instances
:: Text | |
-> MonitorType | |
-> AnomalyMonitor |
Create a value of AnomalyMonitor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dimensionalValueCount:AnomalyMonitor'
, anomalyMonitor_dimensionalValueCount
- The value for evaluated dimensions.
$sel:monitorSpecification:AnomalyMonitor'
, anomalyMonitor_monitorSpecification
- Undocumented member.
$sel:monitorDimension:AnomalyMonitor'
, anomalyMonitor_monitorDimension
- The dimensions to evaluate.
$sel:creationDate:AnomalyMonitor'
, anomalyMonitor_creationDate
- The date when the monitor was created.
$sel:lastUpdatedDate:AnomalyMonitor'
, anomalyMonitor_lastUpdatedDate
- The date when the monitor was last updated.
$sel:lastEvaluatedDate:AnomalyMonitor'
, anomalyMonitor_lastEvaluatedDate
- The date when the monitor last evaluated for anomalies.
$sel:monitorArn:AnomalyMonitor'
, anomalyMonitor_monitorArn
- The Amazon Resource Name (ARN) value.
$sel:monitorName:AnomalyMonitor'
, anomalyMonitor_monitorName
- The name of the monitor.
$sel:monitorType:AnomalyMonitor'
, anomalyMonitor_monitorType
- The possible type values.
AnomalyScore
data AnomalyScore Source #
Quantifies the anomaly. The higher score means that it's more anomalous.
See: newAnomalyScore
smart constructor.
Instances
Create a value of AnomalyScore
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxScore:AnomalyScore'
, anomalyScore_maxScore
- The maximum score that's observed during the AnomalyDateInterval
.
$sel:currentScore:AnomalyScore'
, anomalyScore_currentScore
- The last observed score.
AnomalySubscription
data AnomalySubscription Source #
The association between a monitor, threshold, and list of subscribers
used to deliver notifications about anomalies detected by a monitor that
exceeds a threshold. The content consists of the detailed metadata and
the current status of the AnomalySubscription
object.
See: newAnomalySubscription
smart constructor.
AnomalySubscription' (Maybe Text) (Maybe Text) [Text] [Subscriber] Double AnomalySubscriptionFrequency Text |
Instances
newAnomalySubscription Source #
Create a value of AnomalySubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:AnomalySubscription'
, anomalySubscription_accountId
- Your unique account identifier.
$sel:subscriptionArn:AnomalySubscription'
, anomalySubscription_subscriptionArn
- The AnomalySubscription
Amazon Resource Name (ARN).
$sel:monitorArnList:AnomalySubscription'
, anomalySubscription_monitorArnList
- A list of cost anomaly monitors.
$sel:subscribers:AnomalySubscription'
, anomalySubscription_subscribers
- A list of subscribers to notify.
$sel:threshold:AnomalySubscription'
, anomalySubscription_threshold
- The dollar value that triggers a notification if the threshold is
exceeded.
$sel:frequency:AnomalySubscription'
, anomalySubscription_frequency
- The frequency that anomaly reports are sent over email.
$sel:subscriptionName:AnomalySubscription'
, anomalySubscription_subscriptionName
- The name for the subscription.
CostCategory
data CostCategory Source #
The structure of Cost Categories. This includes detailed metadata and
the set of rules for the CostCategory
object.
See: newCostCategory
smart constructor.
CostCategory' (Maybe [CostCategoryProcessingStatus]) (Maybe Text) (Maybe (NonEmpty CostCategorySplitChargeRule)) (Maybe Text) Text Text Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
:: Text | |
-> Text | |
-> Text | |
-> CostCategoryRuleVersion | |
-> NonEmpty CostCategoryRule | |
-> CostCategory |
Create a value of CostCategory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:processingStatus:CostCategory'
, costCategory_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:effectiveEnd:CostCategory'
, costCategory_effectiveEnd
- The effective end data of your Cost Category.
$sel:splitChargeRules:CostCategory'
, costCategory_splitChargeRules
- The split charge rules that are used to allocate your charges between
your Cost Category values.
$sel:defaultValue:CostCategory'
, costCategory_defaultValue
- Undocumented member.
$sel:costCategoryArn:CostCategory'
, costCategory_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveStart:CostCategory'
, costCategory_effectiveStart
- The effective state data of your Cost Category.
$sel:name:CostCategory'
, costCategory_name
- Undocumented member.
$sel:ruleVersion:CostCategory'
, costCategory_ruleVersion
- Undocumented member.
$sel:rules:CostCategory'
, costCategory_rules
- 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
data CostCategoryInheritedValueDimension Source #
When creating or updating a cost category, you can define the
CostCategoryRule
rule type as INHERITED_VALUE
. This rule type adds
the flexibility of defining a rule that dynamically inherits the cost
category value from the dimension value defined by
CostCategoryInheritedValueDimension
. For example, if you want to
dynamically group costs that are based on the value of a specific tag
key, first choose an inherited value rule type, then choose the tag
dimension and specify the tag key to use.
See: newCostCategoryInheritedValueDimension
smart constructor.
Instances
newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension Source #
Create a value of CostCategoryInheritedValueDimension
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dimensionName:CostCategoryInheritedValueDimension'
, costCategoryInheritedValueDimension_dimensionName
- The name of the dimension that's used to group costs.
If you specify LINKED_ACCOUNT_NAME
, the cost category value is based
on account name. If you specify TAG
, the cost category value will be
based on the value of the specified tag key.
$sel:dimensionKey:CostCategoryInheritedValueDimension'
, costCategoryInheritedValueDimension_dimensionKey
- The key to extract cost category values.
CostCategoryProcessingStatus
data CostCategoryProcessingStatus Source #
The list of processing statuses for Cost Management products for a specific cost category.
See: newCostCategoryProcessingStatus
smart constructor.
Instances
newCostCategoryProcessingStatus :: CostCategoryProcessingStatus Source #
Create a value of CostCategoryProcessingStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:CostCategoryProcessingStatus'
, costCategoryProcessingStatus_status
- The process status for a specific cost category.
$sel:component:CostCategoryProcessingStatus'
, costCategoryProcessingStatus_component
- The Cost Management product name of the applied status.
CostCategoryReference
data CostCategoryReference Source #
A reference to a Cost Category containing only enough information to identify the Cost Category.
You can use this information to retrieve the full Cost Category
information using DescribeCostCategory
.
See: newCostCategoryReference
smart constructor.
CostCategoryReference' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe [CostCategoryProcessingStatus]) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newCostCategoryReference :: CostCategoryReference Source #
Create a value of CostCategoryReference
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:effectiveStart:CostCategoryReference'
, costCategoryReference_effectiveStart
- The Cost Category's effective start date.
$sel:values:CostCategoryReference'
, costCategoryReference_values
- A list of unique cost category values in a specific cost category.
$sel:costCategoryArn:CostCategoryReference'
, costCategoryReference_costCategoryArn
- The unique identifier for your Cost Category.
$sel:processingStatus:CostCategoryReference'
, costCategoryReference_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:numberOfRules:CostCategoryReference'
, costCategoryReference_numberOfRules
- The number of rules that are associated with a specific Cost Category.
$sel:name:CostCategoryReference'
, costCategoryReference_name
- Undocumented member.
$sel:effectiveEnd:CostCategoryReference'
, costCategoryReference_effectiveEnd
- The Cost Category's effective end date.
$sel:defaultValue:CostCategoryReference'
, costCategoryReference_defaultValue
- Undocumented member.
CostCategoryRule
data CostCategoryRule Source #
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.
See: newCostCategoryRule
smart constructor.
CostCategoryRule' (Maybe CostCategoryInheritedValueDimension) (Maybe Text) (Maybe Expression) (Maybe CostCategoryRuleType) |
Instances
newCostCategoryRule :: CostCategoryRule Source #
Create a value of CostCategoryRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inheritedValue:CostCategoryRule'
, costCategoryRule_inheritedValue
- The value the line item is categorized as if the line item contains the
matched dimension.
$sel:value:CostCategoryRule'
, costCategoryRule_value
- Undocumented member.
$sel:rule:CostCategoryRule'
, costCategoryRule_rule
- 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.
$sel:type':CostCategoryRule'
, costCategoryRule_type
- You can define the CostCategoryRule
rule type as either REGULAR
or
INHERITED_VALUE
. The INHERITED_VALUE
rule type adds the flexibility
of defining a rule that dynamically inherits the cost category value
from the dimension value defined by
CostCategoryInheritedValueDimension
. For example, if you want to
dynamically group costs based on the value of a specific tag key, first
choose an inherited value rule type, then choose the tag dimension and
specify the tag key to use.
CostCategorySplitChargeRule
data CostCategorySplitChargeRule Source #
Use the split charge rule to split the cost of one Cost Category value across several other target values.
See: newCostCategorySplitChargeRule
smart constructor.
CostCategorySplitChargeRule' (Maybe (NonEmpty CostCategorySplitChargeRuleParameter)) Text (NonEmpty Text) CostCategorySplitChargeMethod |
Instances
newCostCategorySplitChargeRule Source #
Create a value of CostCategorySplitChargeRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parameters:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_parameters
- The parameters for a split charge method. This is only required for the
FIXED
method.
$sel:source:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_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.
$sel:targets:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_targets
- 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.
$sel:method:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_method
- 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
data CostCategorySplitChargeRuleParameter Source #
The parameters for a split charge method.
See: newCostCategorySplitChargeRuleParameter
smart constructor.
Instances
newCostCategorySplitChargeRuleParameter Source #
Create a value of CostCategorySplitChargeRuleParameter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':CostCategorySplitChargeRuleParameter'
, costCategorySplitChargeRuleParameter_type
- The parameter type.
$sel:values:CostCategorySplitChargeRuleParameter'
, costCategorySplitChargeRuleParameter_values
- The parameter values.
CostCategoryValues
data CostCategoryValues Source #
The Cost Categories values used for filtering the costs.
If Values
and Key
are not specified, the ABSENT
MatchOption
is
applied to all Cost Categories. That is, it filters on resources that
aren't mapped to any Cost Categories.
If Values
is provided and Key
isn't specified, the ABSENT
MatchOption
is applied to the Cost Categories Key
only. That is, it
filters on resources without the given Cost Categories key.
See: newCostCategoryValues
smart constructor.
CostCategoryValues' (Maybe [Text]) (Maybe Text) (Maybe [MatchOption]) |
Instances
newCostCategoryValues :: CostCategoryValues Source #
Create a value of CostCategoryValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:values:CostCategoryValues'
, costCategoryValues_values
- The specific value of the Cost Category.
$sel:key:CostCategoryValues'
, costCategoryValues_key
- Undocumented member.
$sel:matchOptions:CostCategoryValues'
, costCategoryValues_matchOptions
- The match options that you can use to filter your results. MatchOptions
is only applicable for actions related to cost category. The default
values for MatchOptions
is EQUALS
and CASE_SENSITIVE
.
Coverage
The amount of instance usage that a reservation covered.
See: newCoverage
smart constructor.
Instances
Eq Coverage Source # | |
Read Coverage Source # | |
Show Coverage Source # | |
Generic Coverage Source # | |
NFData Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
Hashable Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
FromJSON Coverage Source # | |
type Rep Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage type Rep Coverage = D1 ('MetaData "Coverage" "Amazonka.CostExplorer.Types.Coverage" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Coverage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coverageNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageNormalizedUnits)) :*: (S1 ('MetaSel ('Just "coverageHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageHours)) :*: S1 ('MetaSel ('Just "coverageCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageCost))))) |
newCoverage :: Coverage Source #
Create a value of Coverage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coverageNormalizedUnits:Coverage'
, coverage_coverageNormalizedUnits
- The amount of instance usage that the reservation covered, in normalized
units.
$sel:coverageHours:Coverage'
, coverage_coverageHours
- The amount of instance usage that the reservation covered, in hours.
$sel:coverageCost:Coverage'
, coverage_coverageCost
- The amount of cost that the reservation covered.
CoverageByTime
data CoverageByTime Source #
Reservation coverage for a specified period, in hours.
See: newCoverageByTime
smart constructor.
Instances
newCoverageByTime :: CoverageByTime Source #
Create a value of CoverageByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:CoverageByTime'
, coverageByTime_groups
- The groups of instances that the reservation covered.
$sel:timePeriod:CoverageByTime'
, coverageByTime_timePeriod
- The period that this coverage was used over.
$sel:total:CoverageByTime'
, coverageByTime_total
- The total reservation coverage, in hours.
CoverageCost
data CoverageCost Source #
How much it costs to run an instance.
See: newCoverageCost
smart constructor.
Instances
newCoverageCost :: CoverageCost Source #
Create a value of CoverageCost
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onDemandCost:CoverageCost'
, coverageCost_onDemandCost
- How much an On-Demand Instance costs.
CoverageHours
data CoverageHours Source #
How long a running instance either used a reservation or was On-Demand.
See: newCoverageHours
smart constructor.
Instances
newCoverageHours :: CoverageHours Source #
Create a value of CoverageHours
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coverageHoursPercentage:CoverageHours'
, coverageHours_coverageHoursPercentage
- The percentage of instance hours that a reservation covered.
$sel:onDemandHours:CoverageHours'
, coverageHours_onDemandHours
- The number of instance running hours that On-Demand Instances covered.
$sel:totalRunningHours:CoverageHours'
, coverageHours_totalRunningHours
- The total instance usage, in hours.
$sel:reservedHours:CoverageHours'
, coverageHours_reservedHours
- The number of instance running hours that reservations covered.
CoverageNormalizedUnits
data CoverageNormalizedUnits Source #
The amount of instance usage, in normalized units. You can use normalized units to see your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose that you run an xlarge instance and a 2xlarge instance. If you run both instances for the same amount of time, the 2xlarge instance uses twice as much of your reservation as the xlarge instance, even though both instances show only one instance-hour. When you use normalized units instead of instance-hours, the xlarge instance used 8 normalized units, and the 2xlarge instance used 16 normalized units.
For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
See: newCoverageNormalizedUnits
smart constructor.
Instances
newCoverageNormalizedUnits :: CoverageNormalizedUnits Source #
Create a value of CoverageNormalizedUnits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedNormalizedUnits:CoverageNormalizedUnits'
, coverageNormalizedUnits_reservedNormalizedUnits
- The number of normalized units that a reservation covers.
$sel:totalRunningNormalizedUnits:CoverageNormalizedUnits'
, coverageNormalizedUnits_totalRunningNormalizedUnits
- The total number of normalized units that you used.
$sel:coverageNormalizedUnitsPercentage:CoverageNormalizedUnits'
, coverageNormalizedUnits_coverageNormalizedUnitsPercentage
- The percentage of your used instance normalized units that a reservation
covers.
$sel:onDemandNormalizedUnits:CoverageNormalizedUnits'
, coverageNormalizedUnits_onDemandNormalizedUnits
- The number of normalized units that are covered by On-Demand Instances
instead of a reservation.
CurrentInstance
data CurrentInstance Source #
Context about the current instance.
See: newCurrentInstance
smart constructor.
CurrentInstance' (Maybe Text) (Maybe Text) (Maybe ResourceUtilization) (Maybe ResourceDetails) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [TagValues]) |
Instances
newCurrentInstance :: CurrentInstance Source #
Create a value of CurrentInstance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceId:CurrentInstance'
, currentInstance_resourceId
- Resource ID of the current instance.
$sel:currencyCode:CurrentInstance'
, currentInstance_currencyCode
- The currency code that Amazon Web Services used to calculate the costs
for this instance.
$sel:resourceUtilization:CurrentInstance'
, currentInstance_resourceUtilization
- Utilization information of the current instance during the lookback
period.
$sel:resourceDetails:CurrentInstance'
, currentInstance_resourceDetails
- Details about the resource and utilization.
$sel:totalRunningHoursInLookbackPeriod:CurrentInstance'
, currentInstance_totalRunningHoursInLookbackPeriod
- The total number of hours that the instance ran during the lookback
period.
$sel:reservationCoveredHoursInLookbackPeriod:CurrentInstance'
, currentInstance_reservationCoveredHoursInLookbackPeriod
- The number of hours during the lookback period that's covered by
reservations.
$sel:onDemandHoursInLookbackPeriod:CurrentInstance'
, currentInstance_onDemandHoursInLookbackPeriod
- The number of hours during the lookback period that's billed at
On-Demand rates.
$sel:monthlyCost:CurrentInstance'
, currentInstance_monthlyCost
- The current On-Demand cost of operating this instance on a monthly
basis.
$sel:instanceName:CurrentInstance'
, currentInstance_instanceName
- The name that you given an instance. This field shows as blank if you
haven't given the instance a name.
$sel:savingsPlansCoveredHoursInLookbackPeriod:CurrentInstance'
, currentInstance_savingsPlansCoveredHoursInLookbackPeriod
- The number of hours during the lookback period that's covered by
Savings Plans.
$sel:tags:CurrentInstance'
, currentInstance_tags
- Cost allocation resource tags that are applied to the instance.
DateInterval
data DateInterval Source #
The time period of the request.
See: newDateInterval
smart constructor.
Instances
Create a value of DateInterval
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:start:DateInterval'
, dateInterval_start
- 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.
$sel:end:DateInterval'
, dateInterval_end
- 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
data DimensionValues Source #
The metadata that you can use to filter and group your results. You can
use GetDimensionValues
to find specific values.
See: newDimensionValues
smart constructor.
DimensionValues' (Maybe [Text]) (Maybe Dimension) (Maybe [MatchOption]) |
Instances
newDimensionValues :: DimensionValues Source #
Create a value of DimensionValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:values:DimensionValues'
, dimensionValues_values
- The metadata values that you can use to filter and group your results.
You can use GetDimensionValues
to find specific values.
$sel:key:DimensionValues'
, dimensionValues_key
- 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.
$sel:matchOptions:DimensionValues'
, dimensionValues_matchOptions
- The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
DimensionValuesWithAttributes
data DimensionValuesWithAttributes Source #
The metadata of a specific type that you can use to filter and group
your results. You can use GetDimensionValues
to find specific values.
See: newDimensionValuesWithAttributes
smart constructor.
Instances
newDimensionValuesWithAttributes :: DimensionValuesWithAttributes Source #
Create a value of DimensionValuesWithAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:DimensionValuesWithAttributes'
, dimensionValuesWithAttributes_value
- The value of a dimension with a specific attribute.
$sel:attributes:DimensionValuesWithAttributes'
, dimensionValuesWithAttributes_attributes
- The attribute that applies to a specific Dimension
.
DiskResourceUtilization
data DiskResourceUtilization Source #
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
See: newDiskResourceUtilization
smart constructor.
Instances
newDiskResourceUtilization :: DiskResourceUtilization Source #
Create a value of DiskResourceUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:diskWriteOpsPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskWriteOpsPerSecond
- The maximum number of write operations per second.
$sel:diskReadOpsPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskReadOpsPerSecond
- The maximum number of read operations per second.
$sel:diskWriteBytesPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskWriteBytesPerSecond
- The maximum write throughput operations per second.
$sel:diskReadBytesPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskReadBytesPerSecond
- The maximum read throughput operations per second.
EBSResourceUtilization
data EBSResourceUtilization Source #
The EBS field that contains a list of EBS metrics that are associated with the current instance.
See: newEBSResourceUtilization
smart constructor.
Instances
newEBSResourceUtilization :: EBSResourceUtilization Source #
Create a value of EBSResourceUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ebsWriteBytesPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsWriteBytesPerSecond
- The maximum size of write operations per second.
$sel:ebsWriteOpsPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsWriteOpsPerSecond
- The maximum number of write operations per second.
$sel:ebsReadOpsPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsReadOpsPerSecond
- The maximum number of read operations per second.
$sel:ebsReadBytesPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsReadBytesPerSecond
- The maximum size of read operations per second
EC2InstanceDetails
data EC2InstanceDetails Source #
Details about the Amazon EC2 instances that Amazon Web Services recommends that you purchase.
See: newEC2InstanceDetails
smart constructor.
EC2InstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) |
Instances
newEC2InstanceDetails :: EC2InstanceDetails Source #
Create a value of EC2InstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentGeneration:EC2InstanceDetails'
, eC2InstanceDetails_currentGeneration
- Determines whether the recommendation is for a current-generation
instance.
$sel:platform:EC2InstanceDetails'
, eC2InstanceDetails_platform
- The platform of the recommended reservation. The platform is the
specific combination of operating system, license model, and software on
an instance.
$sel:family:EC2InstanceDetails'
, eC2InstanceDetails_family
- The instance family of the recommended reservation.
$sel:instanceType:EC2InstanceDetails'
, eC2InstanceDetails_instanceType
- The type of instance that Amazon Web Services recommends.
$sel:availabilityZone:EC2InstanceDetails'
, eC2InstanceDetails_availabilityZone
- The Availability Zone of the recommended reservation.
$sel:sizeFlexEligible:EC2InstanceDetails'
, eC2InstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
$sel:tenancy:EC2InstanceDetails'
, eC2InstanceDetails_tenancy
- Determines whether the recommended reservation is dedicated or shared.
$sel:region:EC2InstanceDetails'
, eC2InstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
EC2ResourceDetails
data EC2ResourceDetails Source #
Details on the Amazon EC2 Resource.
See: newEC2ResourceDetails
smart constructor.
EC2ResourceDetails' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newEC2ResourceDetails :: EC2ResourceDetails Source #
Create a value of EC2ResourceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:platform:EC2ResourceDetails'
, eC2ResourceDetails_platform
- The platform of the Amazon Web Services instance. The platform is the
specific combination of operating system, license model, and software on
an instance.
$sel:vcpu:EC2ResourceDetails'
, eC2ResourceDetails_vcpu
- The number of VCPU cores in the Amazon Web Services instance type.
$sel:networkPerformance:EC2ResourceDetails'
, eC2ResourceDetails_networkPerformance
- The network performance capacity of the Amazon Web Services instance.
$sel:memory:EC2ResourceDetails'
, eC2ResourceDetails_memory
- The memory capacity of the Amazon Web Services instance.
$sel:instanceType:EC2ResourceDetails'
, eC2ResourceDetails_instanceType
- The type of Amazon Web Services instance.
$sel:storage:EC2ResourceDetails'
, eC2ResourceDetails_storage
- The disk storage of the Amazon Web Services instance. This doesn't
include EBS storage.
$sel:sku:EC2ResourceDetails'
, eC2ResourceDetails_sku
- The SKU of the product.
$sel:region:EC2ResourceDetails'
, eC2ResourceDetails_region
- The Amazon Web Services Region of the instance.
$sel:hourlyOnDemandRate:EC2ResourceDetails'
, eC2ResourceDetails_hourlyOnDemandRate
- The hourly public On-Demand rate for the instance type.
EC2ResourceUtilization
data EC2ResourceUtilization Source #
Utilization metrics of the instance.
See: newEC2ResourceUtilization
smart constructor.
EC2ResourceUtilization' (Maybe Text) (Maybe NetworkResourceUtilization) (Maybe EBSResourceUtilization) (Maybe Text) (Maybe Text) (Maybe DiskResourceUtilization) |
Instances
newEC2ResourceUtilization :: EC2ResourceUtilization Source #
Create a value of EC2ResourceUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxCpuUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxCpuUtilizationPercentage
- The maximum observed or expected CPU utilization of the instance.
$sel:networkResourceUtilization:EC2ResourceUtilization'
, eC2ResourceUtilization_networkResourceUtilization
- The network field that contains a list of network metrics that are
associated with the current instance.
$sel:eBSResourceUtilization:EC2ResourceUtilization'
, eC2ResourceUtilization_eBSResourceUtilization
- The EBS field that contains a list of EBS metrics that are associated
with the current instance.
$sel:maxStorageUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxStorageUtilizationPercentage
- The maximum observed or expected storage utilization of the instance.
This doesn't include EBS storage.
$sel:maxMemoryUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxMemoryUtilizationPercentage
- The maximum observed or expected memory utilization of the instance.
$sel:diskResourceUtilization:EC2ResourceUtilization'
, eC2ResourceUtilization_diskResourceUtilization
- The field that contains a list of disk (local storage) metrics that are
associated with the current instance.
EC2Specification
data EC2Specification Source #
The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for.
See: newEC2Specification
smart constructor.
Instances
newEC2Specification :: EC2Specification Source #
Create a value of EC2Specification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:offeringClass:EC2Specification'
, eC2Specification_offeringClass
- Indicates whether you want a recommendation for standard or convertible
reservations.
ESInstanceDetails
data ESInstanceDetails Source #
Details about the Amazon ES instances that Amazon Web Services recommends that you purchase.
See: newESInstanceDetails
smart constructor.
Instances
newESInstanceDetails :: ESInstanceDetails Source #
Create a value of ESInstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentGeneration:ESInstanceDetails'
, eSInstanceDetails_currentGeneration
- Determines whether the recommendation is for a current-generation
instance.
$sel:instanceClass:ESInstanceDetails'
, eSInstanceDetails_instanceClass
- The class of instance that Amazon Web Services recommends.
$sel:instanceSize:ESInstanceDetails'
, eSInstanceDetails_instanceSize
- The size of instance that Amazon Web Services recommends.
$sel:sizeFlexEligible:ESInstanceDetails'
, eSInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
$sel:region:ESInstanceDetails'
, eSInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
ElastiCacheInstanceDetails
data ElastiCacheInstanceDetails Source #
Details about the Amazon ElastiCache instances that Amazon Web Services recommends that you purchase.
See: newElastiCacheInstanceDetails
smart constructor.
ElastiCacheInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) |
Instances
newElastiCacheInstanceDetails :: ElastiCacheInstanceDetails Source #
Create a value of ElastiCacheInstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentGeneration:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_currentGeneration
- Determines whether the recommendation is for a current generation
instance.
$sel:productDescription:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_productDescription
- The description of the recommended reservation.
$sel:family:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_family
- The instance family of the recommended reservation.
$sel:sizeFlexEligible:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
$sel:region:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:nodeType:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_nodeType
- The type of node that Amazon Web Services recommends.
Expression
data Expression Source #
Use Expression
to filter by cost or by usage. There are two patterns:
Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for
REGION==us-east-1 OR REGION==us-west-1
. ForGetRightsizingRecommendation
, the Region is a full name (for example,REGION==US East (N. Virginia)
. TheExpression
example is as follows:{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } }
The list of dimension values are OR'd together to retrieve cost or usage data. You can create
Expression
andDimensionValues
objects using eitherwith*
methods orset*
methods in multiple lines.Compound dimension values with logical operations - You can use multiple
Expression
types and the logical operatorsAND/OR/NOT
to create a list of one or moreExpression
objects. By doing this, you can filter on more advanced options. For example, you can filter on((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)
. TheExpression
for that is as follows:{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] }
Because each
Expression
can have only one operator, the service returns an error if more than one is specified. The following example shows anExpression
object that creates an error.{ "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", "Values": [ "DataTransfer" ] } }
For the GetRightsizingRecommendation
action, a combination of OR and
NOT isn't supported. OR isn't supported between different dimensions,
or dimensions and tags. NOT operators aren't supported. Dimensions are
also limited to LINKED_ACCOUNT
, REGION
, or RIGHTSIZING_TYPE
.
For the GetReservationPurchaseRecommendation
action, only NOT is
supported. AND and OR aren't supported. Dimensions are limited to
LINKED_ACCOUNT
.
See: newExpression
smart constructor.
Expression' (Maybe Expression) (Maybe [Expression]) (Maybe [Expression]) (Maybe CostCategoryValues) (Maybe DimensionValues) (Maybe TagValues) |
Instances
newExpression :: Expression Source #
Create a value of Expression
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:not:Expression'
, expression_not
- Return results that don't match a Dimension
object.
$sel:and:Expression'
, expression_and
- Return results that match both Dimension
objects.
$sel:or:Expression'
, expression_or
- Return results that match either Dimension
object.
$sel:costCategories:Expression'
, expression_costCategories
- The filter that's based on CostCategory
values.
$sel:dimensions:Expression'
, expression_dimensions
- The specific Dimension
to use for Expression
.
$sel:tags:Expression'
, expression_tags
- The specific Tag
to use for Expression
.
ForecastResult
data ForecastResult Source #
The forecast that's created for your query.
See: newForecastResult
smart constructor.
ForecastResult' (Maybe DateInterval) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newForecastResult :: ForecastResult Source #
Create a value of ForecastResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timePeriod:ForecastResult'
, forecastResult_timePeriod
- The period of time that the forecast covers.
$sel:meanValue:ForecastResult'
, forecastResult_meanValue
- The mean value of the forecast.
$sel:predictionIntervalUpperBound:ForecastResult'
, forecastResult_predictionIntervalUpperBound
- The upper limit for the prediction interval.
$sel:predictionIntervalLowerBound:ForecastResult'
, forecastResult_predictionIntervalLowerBound
- The lower limit for the prediction interval.
Group
One level of grouped data in the results.
See: newGroup
smart constructor.
Instances
Eq Group Source # | |
Read Group Source # | |
Show Group Source # | |
Generic Group Source # | |
NFData Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group | |
Hashable Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group | |
FromJSON Group Source # | |
type Rep Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group type Rep Group = D1 ('MetaData "Group" "Amazonka.CostExplorer.Types.Group" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MetricValue))) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
Create a value of Group
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metrics:Group'
, group_metrics
- The metrics that are included in this group.
$sel:keys:Group'
, group_keys
- The keys that are included in this group.
GroupDefinition
data GroupDefinition Source #
Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.
See: newGroupDefinition
smart constructor.
Instances
newGroupDefinition :: GroupDefinition Source #
Create a value of GroupDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:GroupDefinition'
, groupDefinition_key
- The string that represents a key for a specified group.
$sel:type':GroupDefinition'
, groupDefinition_type
- The string that represents the type of group.
Impact
The dollar value of the anomaly.
See: newImpact
smart constructor.
Instances
Eq Impact Source # | |
Read Impact Source # | |
Show Impact Source # | |
Generic Impact Source # | |
NFData Impact Source # | |
Defined in Amazonka.CostExplorer.Types.Impact | |
Hashable Impact Source # | |
Defined in Amazonka.CostExplorer.Types.Impact | |
FromJSON Impact Source # | |
type Rep Impact Source # | |
Defined in Amazonka.CostExplorer.Types.Impact type Rep Impact = D1 ('MetaData "Impact" "Amazonka.CostExplorer.Types.Impact" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Impact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalImpact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "maxImpact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))) |
Create a value of Impact
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:totalImpact:Impact'
, impact_totalImpact
- The cumulative dollar value that's observed for an anomaly.
$sel:maxImpact:Impact'
, impact_maxImpact
- The maximum dollar value that's observed for an anomaly.
InstanceDetails
data InstanceDetails Source #
Details about the instances that Amazon Web Services recommends that you purchase.
See: newInstanceDetails
smart constructor.
InstanceDetails' (Maybe ESInstanceDetails) (Maybe RDSInstanceDetails) (Maybe ElastiCacheInstanceDetails) (Maybe EC2InstanceDetails) (Maybe RedshiftInstanceDetails) |
Instances
newInstanceDetails :: InstanceDetails Source #
Create a value of InstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eSInstanceDetails:InstanceDetails'
, instanceDetails_eSInstanceDetails
- The Amazon ES instances that Amazon Web Services recommends that you
purchase.
$sel:rDSInstanceDetails:InstanceDetails'
, instanceDetails_rDSInstanceDetails
- The Amazon RDS instances that Amazon Web Services recommends that you
purchase.
$sel:elastiCacheInstanceDetails:InstanceDetails'
, instanceDetails_elastiCacheInstanceDetails
- The ElastiCache instances that Amazon Web Services recommends that you
purchase.
$sel:eC2InstanceDetails:InstanceDetails'
, instanceDetails_eC2InstanceDetails
- The Amazon EC2 instances that Amazon Web Services recommends that you
purchase.
$sel:redshiftInstanceDetails:InstanceDetails'
, instanceDetails_redshiftInstanceDetails
- The Amazon Redshift instances that Amazon Web Services recommends that
you purchase.
MetricValue
data MetricValue Source #
The aggregated value for a metric.
See: newMetricValue
smart constructor.
MetricValue' (Maybe Text) (Maybe Text) |
Instances
newMetricValue :: MetricValue Source #
Create a value of MetricValue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amount:MetricValue'
, metricValue_amount
- The actual number that represents the metric.
$sel:unit:MetricValue'
, metricValue_unit
- The unit that the metric is given in.
ModifyRecommendationDetail
data ModifyRecommendationDetail Source #
Details on the modification recommendation.
See: newModifyRecommendationDetail
smart constructor.
Instances
newModifyRecommendationDetail :: ModifyRecommendationDetail Source #
Create a value of ModifyRecommendationDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetInstances:ModifyRecommendationDetail'
, modifyRecommendationDetail_targetInstances
- Determines whether this instance type is the Amazon Web Services default
recommendation.
NetworkResourceUtilization
data NetworkResourceUtilization Source #
The network field that contains a list of network metrics that are associated with the current instance.
See: newNetworkResourceUtilization
smart constructor.
Instances
newNetworkResourceUtilization :: NetworkResourceUtilization Source #
Create a value of NetworkResourceUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:networkPacketsOutPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkPacketsOutPerSecond
- The network outgress packets that are measured in packets per second.
$sel:networkInBytesPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkInBytesPerSecond
- The network inbound throughput utilization measured in Bytes per second.
$sel:networkPacketsInPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkPacketsInPerSecond
- The network ingress packets that are measured in packets per second.
$sel:networkOutBytesPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkOutBytesPerSecond
- The network outbound throughput utilization measured in Bytes per
second.
RDSInstanceDetails
data RDSInstanceDetails Source #
Details about the Amazon RDS instances that Amazon Web Services recommends that you purchase.
See: newRDSInstanceDetails
smart constructor.
RDSInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newRDSInstanceDetails :: RDSInstanceDetails Source #
Create a value of RDSInstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentGeneration:RDSInstanceDetails'
, rDSInstanceDetails_currentGeneration
- Determines whether the recommendation is for a current-generation
instance.
$sel:deploymentOption:RDSInstanceDetails'
, rDSInstanceDetails_deploymentOption
- Determines whether the recommendation is for a reservation in a single
Availability Zone or a reservation with a backup in a second
Availability Zone.
$sel:family:RDSInstanceDetails'
, rDSInstanceDetails_family
- The instance family of the recommended reservation.
$sel:instanceType:RDSInstanceDetails'
, rDSInstanceDetails_instanceType
- The type of instance that Amazon Web Services recommends.
$sel:licenseModel:RDSInstanceDetails'
, rDSInstanceDetails_licenseModel
- The license model that the recommended reservation supports.
$sel:sizeFlexEligible:RDSInstanceDetails'
, rDSInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
$sel:region:RDSInstanceDetails'
, rDSInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:databaseEngine:RDSInstanceDetails'
, rDSInstanceDetails_databaseEngine
- The database engine that the recommended reservation supports.
$sel:databaseEdition:RDSInstanceDetails'
, rDSInstanceDetails_databaseEdition
- The database edition that the recommended reservation supports.
RedshiftInstanceDetails
data RedshiftInstanceDetails Source #
Details about the Amazon Redshift instances that Amazon Web Services recommends that you purchase.
See: newRedshiftInstanceDetails
smart constructor.
Instances
newRedshiftInstanceDetails :: RedshiftInstanceDetails Source #
Create a value of RedshiftInstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentGeneration:RedshiftInstanceDetails'
, redshiftInstanceDetails_currentGeneration
- Determines whether the recommendation is for a current-generation
instance.
$sel:family:RedshiftInstanceDetails'
, redshiftInstanceDetails_family
- The instance family of the recommended reservation.
$sel:sizeFlexEligible:RedshiftInstanceDetails'
, redshiftInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
$sel:region:RedshiftInstanceDetails'
, redshiftInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:nodeType:RedshiftInstanceDetails'
, redshiftInstanceDetails_nodeType
- The type of node that Amazon Web Services recommends.
ReservationAggregates
data ReservationAggregates Source #
The aggregated numbers for your reservation usage.
See: newReservationAggregates
smart constructor.
ReservationAggregates' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newReservationAggregates :: ReservationAggregates Source #
Create a value of ReservationAggregates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:purchasedHours:ReservationAggregates'
, reservationAggregates_purchasedHours
- How many reservation hours that you purchased.
$sel:totalActualHours:ReservationAggregates'
, reservationAggregates_totalActualHours
- The total number of reservation hours that you used.
$sel:utilizationPercentage:ReservationAggregates'
, reservationAggregates_utilizationPercentage
- The percentage of reservation time that you used.
$sel:totalAmortizedFee:ReservationAggregates'
, reservationAggregates_totalAmortizedFee
- The total cost of your reservation. It's amortized over the reservation
period.
$sel:unusedUnits:ReservationAggregates'
, reservationAggregates_unusedUnits
- 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.
$sel:unrealizedSavings:ReservationAggregates'
, reservationAggregates_unrealizedSavings
- The unrealized savings because of purchasing and using a reservation.
$sel:rICostForUnusedHours:ReservationAggregates'
, reservationAggregates_rICostForUnusedHours
- The cost of unused hours for your reservation.
$sel:unusedHours:ReservationAggregates'
, reservationAggregates_unusedHours
- The number of reservation hours that you didn't use.
$sel:realizedSavings:ReservationAggregates'
, reservationAggregates_realizedSavings
- The realized savings because of purchasing and using a reservation.
$sel:purchasedUnits:ReservationAggregates'
, reservationAggregates_purchasedUnits
- 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.
$sel:amortizedUpfrontFee:ReservationAggregates'
, reservationAggregates_amortizedUpfrontFee
- The upfront cost of your reservation. It's amortized over the
reservation period.
$sel:amortizedRecurringFee:ReservationAggregates'
, reservationAggregates_amortizedRecurringFee
- The monthly cost of your reservation. It's amortized over the
reservation period.
$sel:utilizationPercentageInUnits:ReservationAggregates'
, reservationAggregates_utilizationPercentageInUnits
- 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.
$sel:netRISavings:ReservationAggregates'
, reservationAggregates_netRISavings
- How much you saved due to purchasing and utilizing reservation. Amazon
Web Services calculates this by subtracting TotalAmortizedFee
from
OnDemandCostOfRIHoursUsed
.
$sel:onDemandCostOfRIHoursUsed:ReservationAggregates'
, reservationAggregates_onDemandCostOfRIHoursUsed
- How much your reservation costs if charged On-Demand rates.
$sel:totalPotentialRISavings:ReservationAggregates'
, reservationAggregates_totalPotentialRISavings
- How much you might save if you use your entire reservation.
$sel:totalActualUnits:ReservationAggregates'
, reservationAggregates_totalActualUnits
- The total number of Amazon EC2 reservation hours that you used. It's
converted to normalized units. Normalized units are available only for
Amazon EC2 usage after November 11, 2017.
ReservationCoverageGroup
data ReservationCoverageGroup Source #
A group of reservations that share a set of attributes.
See: newReservationCoverageGroup
smart constructor.
Instances
newReservationCoverageGroup :: ReservationCoverageGroup Source #
Create a value of ReservationCoverageGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coverage:ReservationCoverageGroup'
, reservationCoverageGroup_coverage
- How much instance usage this group of reservations covered.
$sel:attributes:ReservationCoverageGroup'
, reservationCoverageGroup_attributes
- The attributes for this group of reservations.
ReservationPurchaseRecommendation
data ReservationPurchaseRecommendation Source #
A specific reservation that Amazon Web Services recommends for purchase.
See: newReservationPurchaseRecommendation
smart constructor.
Instances
newReservationPurchaseRecommendation :: ReservationPurchaseRecommendation Source #
Create a value of ReservationPurchaseRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:termInYears:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_termInYears
- The term of the reservation that you want recommendations for, in years.
$sel:recommendationSummary:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_recommendationSummary
- A summary about the recommended purchase.
$sel:serviceSpecification:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_serviceSpecification
- Hardware specifications for the service that you want recommendations
for.
$sel:accountScope:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_accountScope
- 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.
$sel:recommendationDetails:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_recommendationDetails
- Details about the recommended purchases.
$sel:lookbackPeriodInDays:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_lookbackPeriodInDays
- How many days of previous usage that Amazon Web Services considers when
making this recommendation.
$sel:paymentOption:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_paymentOption
- The payment option for the reservation (for example, AllUpfront
or
NoUpfront
).
ReservationPurchaseRecommendationDetail
data ReservationPurchaseRecommendationDetail Source #
Details about your recommended reservation purchase.
See: newReservationPurchaseRecommendationDetail
smart constructor.
ReservationPurchaseRecommendationDetail' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceDetails) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newReservationPurchaseRecommendationDetail :: ReservationPurchaseRecommendationDetail Source #
Create a value of ReservationPurchaseRecommendationDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumNormalizedUnitsUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_maximumNormalizedUnitsUsedPerHour
- 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.
$sel:recurringStandardMonthlyCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recurringStandardMonthlyCost
- How much purchasing this instance costs you on a monthly basis.
$sel:averageNormalizedUnitsUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_averageNormalizedUnitsUsedPerHour
- 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.
$sel:currencyCode:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_currencyCode
- The currency code that Amazon Web Services used to calculate the costs
for this instance.
$sel:estimatedMonthlySavingsPercentage:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlySavingsPercentage
- How much Amazon Web Services estimates that this specific recommendation
could save you in a month, as a percentage of your overall costs.
$sel:recommendedNormalizedUnitsToPurchase:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recommendedNormalizedUnitsToPurchase
- The number of normalized units that Amazon Web Services recommends that
you purchase.
$sel:averageUtilization:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_averageUtilization
- The average utilization of your instances. Amazon Web Services uses this
to calculate your recommended reservation purchases.
$sel:accountId:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_accountId
- The account that this RI recommendation is for.
$sel:estimatedMonthlySavingsAmount:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlySavingsAmount
- How much Amazon Web Services estimates that this specific recommendation
could save you in a month.
$sel:upfrontCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_upfrontCost
- How much purchasing this instance costs you upfront.
$sel:minimumNormalizedUnitsUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_minimumNormalizedUnitsUsedPerHour
- 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.
$sel:estimatedMonthlyOnDemandCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlyOnDemandCost
- How much Amazon Web Services estimates that you spend on On-Demand
Instances in a month.
$sel:recommendedNumberOfInstancesToPurchase:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recommendedNumberOfInstancesToPurchase
- The number of instances that Amazon Web Services recommends that you
purchase.
$sel:maximumNumberOfInstancesUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_maximumNumberOfInstancesUsedPerHour
- 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.
$sel:estimatedReservationCostForLookbackPeriod:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedReservationCostForLookbackPeriod
- How much Amazon Web Services estimates that you would have spent for all
usage during the specified historical period if you had a reservation.
$sel:instanceDetails:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_instanceDetails
- Details about the instances that Amazon Web Services recommends that you
purchase.
$sel:averageNumberOfInstancesUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_averageNumberOfInstancesUsedPerHour
- 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.
$sel:minimumNumberOfInstancesUsedPerHour:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_minimumNumberOfInstancesUsedPerHour
- 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.
$sel:estimatedBreakEvenInMonths:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedBreakEvenInMonths
- How long Amazon Web Services estimates that it takes for this instance
to start saving you money, in months.
ReservationPurchaseRecommendationMetadata
data ReservationPurchaseRecommendationMetadata Source #
Information about this specific recommendation, such as the timestamp for when Amazon Web Services made a specific recommendation.
See: newReservationPurchaseRecommendationMetadata
smart constructor.
Instances
newReservationPurchaseRecommendationMetadata :: ReservationPurchaseRecommendationMetadata Source #
Create a value of ReservationPurchaseRecommendationMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationId:ReservationPurchaseRecommendationMetadata'
, reservationPurchaseRecommendationMetadata_recommendationId
- The ID for this specific recommendation.
$sel:generationTimestamp:ReservationPurchaseRecommendationMetadata'
, reservationPurchaseRecommendationMetadata_generationTimestamp
- The timestamp for when Amazon Web Services made this recommendation.
ReservationPurchaseRecommendationSummary
data ReservationPurchaseRecommendationSummary Source #
A summary about this recommendation, such as the currency code, the amount that Amazon Web Services estimates that you could save, and the total amount of reservation to purchase.
See: newReservationPurchaseRecommendationSummary
smart constructor.
Instances
newReservationPurchaseRecommendationSummary :: ReservationPurchaseRecommendationSummary Source #
Create a value of ReservationPurchaseRecommendationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currencyCode:ReservationPurchaseRecommendationSummary'
, reservationPurchaseRecommendationSummary_currencyCode
- The currency code used for this recommendation.
$sel:totalEstimatedMonthlySavingsPercentage:ReservationPurchaseRecommendationSummary'
, reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsPercentage
- The total amount that Amazon Web Services estimates that this
recommendation could save you in a month, as a percentage of your costs.
$sel:totalEstimatedMonthlySavingsAmount:ReservationPurchaseRecommendationSummary'
, reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsAmount
- The total amount that Amazon Web Services estimates that this
recommendation could save you in a month.
ReservationUtilizationGroup
data ReservationUtilizationGroup Source #
A group of reservations that share a set of attributes.
See: newReservationUtilizationGroup
smart constructor.
ReservationUtilizationGroup' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe ReservationAggregates) |
Instances
newReservationUtilizationGroup :: ReservationUtilizationGroup Source #
Create a value of ReservationUtilizationGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:ReservationUtilizationGroup'
, reservationUtilizationGroup_value
- The value of a specific reservation attribute.
$sel:key:ReservationUtilizationGroup'
, reservationUtilizationGroup_key
- The key for a specific reservation attribute.
$sel:attributes:ReservationUtilizationGroup'
, reservationUtilizationGroup_attributes
- The attributes for this group of reservations.
$sel:utilization:ReservationUtilizationGroup'
, reservationUtilizationGroup_utilization
- How much you used this group of reservations.
ResourceDetails
data ResourceDetails Source #
Details on the resource.
See: newResourceDetails
smart constructor.
Instances
newResourceDetails :: ResourceDetails Source #
Create a value of ResourceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eC2ResourceDetails:ResourceDetails'
, resourceDetails_eC2ResourceDetails
- Details on the Amazon EC2 resource.
ResourceUtilization
data ResourceUtilization Source #
Resource utilization of current resource.
See: newResourceUtilization
smart constructor.
Instances
newResourceUtilization :: ResourceUtilization Source #
Create a value of ResourceUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eC2ResourceUtilization:ResourceUtilization'
, resourceUtilization_eC2ResourceUtilization
- The utilization of current Amazon EC2 instance.
ResultByTime
data ResultByTime Source #
The result that's associated with a time period.
See: newResultByTime
smart constructor.
ResultByTime' (Maybe [Group]) (Maybe DateInterval) (Maybe (HashMap Text MetricValue)) (Maybe Bool) |
Instances
newResultByTime :: ResultByTime Source #
Create a value of ResultByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:ResultByTime'
, resultByTime_groups
- The groups that this time period includes.
$sel:timePeriod:ResultByTime'
, resultByTime_timePeriod
- The time period that the result covers.
$sel:total:ResultByTime'
, resultByTime_total
- The total amount of cost or usage accrued during the time period.
$sel:estimated:ResultByTime'
, resultByTime_estimated
- Determines whether the result is estimated.
RightsizingRecommendation
data RightsizingRecommendation Source #
Recommendations to rightsize resources.
See: newRightsizingRecommendation
smart constructor.
RightsizingRecommendation' (Maybe Text) (Maybe [FindingReasonCode]) (Maybe ModifyRecommendationDetail) (Maybe CurrentInstance) (Maybe RightsizingType) (Maybe TerminateRecommendationDetail) |
Instances
newRightsizingRecommendation :: RightsizingRecommendation Source #
Create a value of RightsizingRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:RightsizingRecommendation'
, rightsizingRecommendation_accountId
- The account that this recommendation is for.
$sel:findingReasonCodes:RightsizingRecommendation'
, rightsizingRecommendation_findingReasonCodes
- The list of possible reasons why the recommendation is generated such as
under or over utilization of specific metrics (for example, CPU, Memory,
Network).
$sel:modifyRecommendationDetail:RightsizingRecommendation'
, rightsizingRecommendation_modifyRecommendationDetail
- The details for the modification recommendations.
$sel:currentInstance:RightsizingRecommendation'
, rightsizingRecommendation_currentInstance
- Context regarding the current instance.
$sel:rightsizingType:RightsizingRecommendation'
, rightsizingRecommendation_rightsizingType
- A recommendation to either terminate or modify the resource.
$sel:terminateRecommendationDetail:RightsizingRecommendation'
, rightsizingRecommendation_terminateRecommendationDetail
- The details for termination recommendations.
RightsizingRecommendationConfiguration
data RightsizingRecommendationConfiguration Source #
You can use RightsizingRecommendationConfiguration
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.
See: newRightsizingRecommendationConfiguration
smart constructor.
Instances
newRightsizingRecommendationConfiguration Source #
:: RecommendationTarget |
|
-> Bool |
|
-> RightsizingRecommendationConfiguration |
Create a value of RightsizingRecommendationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationTarget:RightsizingRecommendationConfiguration'
, rightsizingRecommendationConfiguration_recommendationTarget
- The option to see recommendations within the same instance family or
recommendations for instances across other families. The default value
is SAME_INSTANCE_FAMILY
.
$sel:benefitsConsidered:RightsizingRecommendationConfiguration'
, rightsizingRecommendationConfiguration_benefitsConsidered
- The option to consider RI or Savings Plans discount benefits in your
savings calculation. The default value is TRUE
.
RightsizingRecommendationMetadata
data RightsizingRecommendationMetadata Source #
Metadata for this recommendation set.
See: newRightsizingRecommendationMetadata
smart constructor.
RightsizingRecommendationMetadata' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LookbackPeriodInDays) |
Instances
newRightsizingRecommendationMetadata :: RightsizingRecommendationMetadata Source #
Create a value of RightsizingRecommendationMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationId:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_recommendationId
- The ID for this specific recommendation.
$sel:generationTimestamp:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_generationTimestamp
- The timestamp for when Amazon Web Services made this recommendation.
$sel:additionalMetadata:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_additionalMetadata
- Additional metadata that might be applicable to the recommendation.
$sel:lookbackPeriodInDays:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_lookbackPeriodInDays
- The number of days of previous usage that Amazon Web Services considers
when making this recommendation.
RightsizingRecommendationSummary
data RightsizingRecommendationSummary Source #
The summary of rightsizing recommendations
See: newRightsizingRecommendationSummary
smart constructor.
Instances
newRightsizingRecommendationSummary :: RightsizingRecommendationSummary Source #
Create a value of RightsizingRecommendationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPercentage:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_savingsPercentage
- The savings percentage based on the recommended modifications. It's
relative to the total On-Demand costs that are associated with these
instances.
$sel:savingsCurrencyCode:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_savingsCurrencyCode
- The currency code that Amazon Web Services used to calculate the
savings.
$sel:totalRecommendationCount:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_totalRecommendationCount
- The total number of instance recommendations.
$sel:estimatedTotalMonthlySavingsAmount:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_estimatedTotalMonthlySavingsAmount
- The estimated total savings resulting from modifications, on a monthly
basis.
RootCause
The combination of Amazon Web Services service, linked account, Region, and usage type where a cost anomaly is observed.
See: newRootCause
smart constructor.
Instances
newRootCause :: RootCause Source #
Create a value of RootCause
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:service:RootCause'
, rootCause_service
- The Amazon Web Services service name that's associated with the cost
anomaly.
$sel:usageType:RootCause'
, rootCause_usageType
- The UsageType
value that's associated with the cost anomaly.
$sel:linkedAccount:RootCause'
, rootCause_linkedAccount
- The member account value that's associated with the cost anomaly.
$sel:region:RootCause'
, rootCause_region
- The Amazon Web Services Region that's associated with the cost anomaly.
SavingsPlansAmortizedCommitment
data SavingsPlansAmortizedCommitment Source #
The amortized amount of Savings Plans purchased in a specific account during a specific time interval.
See: newSavingsPlansAmortizedCommitment
smart constructor.
Instances
newSavingsPlansAmortizedCommitment :: SavingsPlansAmortizedCommitment Source #
Create a value of SavingsPlansAmortizedCommitment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedUpfrontCommitment:SavingsPlansAmortizedCommitment'
, savingsPlansAmortizedCommitment_amortizedUpfrontCommitment
- The amortized amount of your Savings Plans commitment that was purchased
with an Upfront
or PartialUpfront
Savings Plans.
$sel:totalAmortizedCommitment:SavingsPlansAmortizedCommitment'
, savingsPlansAmortizedCommitment_totalAmortizedCommitment
- The total amortized amount of your Savings Plans commitment, regardless
of your Savings Plans purchase method.
$sel:amortizedRecurringCommitment:SavingsPlansAmortizedCommitment'
, savingsPlansAmortizedCommitment_amortizedRecurringCommitment
- The amortized amount of your Savings Plans commitment that was purchased
with either a Partial
or a NoUpfront
.
SavingsPlansCoverage
data SavingsPlansCoverage Source #
The amount of Savings Plans eligible usage that is covered by Savings Plans. All calculations consider the On-Demand equivalent of your Savings Plans usage.
See: newSavingsPlansCoverage
smart constructor.
SavingsPlansCoverage' (Maybe DateInterval) (Maybe SavingsPlansCoverageData) (Maybe (HashMap Text Text)) |
Instances
newSavingsPlansCoverage :: SavingsPlansCoverage Source #
Create a value of SavingsPlansCoverage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timePeriod:SavingsPlansCoverage'
, savingsPlansCoverage_timePeriod
- Undocumented member.
$sel:coverage:SavingsPlansCoverage'
, savingsPlansCoverage_coverage
- The amount of Savings Plans eligible usage that the Savings Plans
covered.
$sel:attributes:SavingsPlansCoverage'
, savingsPlansCoverage_attributes
- The attribute that applies to a specific Dimension
.
SavingsPlansCoverageData
data SavingsPlansCoverageData Source #
Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and total Savings Plans costs for an account.
See: newSavingsPlansCoverageData
smart constructor.
Instances
newSavingsPlansCoverageData :: SavingsPlansCoverageData Source #
Create a value of SavingsPlansCoverageData
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onDemandCost:SavingsPlansCoverageData'
, savingsPlansCoverageData_onDemandCost
- The cost of your Amazon Web Services usage at the public On-Demand rate.
$sel:spendCoveredBySavingsPlans:SavingsPlansCoverageData'
, savingsPlansCoverageData_spendCoveredBySavingsPlans
- The amount of your Amazon Web Services usage that is covered by a
Savings Plans.
$sel:coveragePercentage:SavingsPlansCoverageData'
, savingsPlansCoverageData_coveragePercentage
- 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).
$sel:totalCost:SavingsPlansCoverageData'
, savingsPlansCoverageData_totalCost
- The total cost of your Amazon Web Services usage, regardless of your
purchase option.
SavingsPlansDetails
data SavingsPlansDetails Source #
The attribute details on a specific Savings Plan.
See: newSavingsPlansDetails
smart constructor.
Instances
newSavingsPlansDetails :: SavingsPlansDetails Source #
Create a value of SavingsPlansDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceFamily:SavingsPlansDetails'
, savingsPlansDetails_instanceFamily
- A group of instance types that Savings Plans applies to.
$sel:offeringId:SavingsPlansDetails'
, savingsPlansDetails_offeringId
- The unique ID that's used to distinguish Savings Plans from one
another.
$sel:region:SavingsPlansDetails'
, savingsPlansDetails_region
- 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
data SavingsPlansPurchaseRecommendation Source #
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
See: newSavingsPlansPurchaseRecommendation
smart constructor.
Instances
newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation Source #
Create a value of SavingsPlansPurchaseRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlansPurchaseRecommendationDetails:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails
- Details for the Savings Plans we recommend that you purchase to cover
existing Savings Plans eligible workloads.
$sel:termInYears:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_termInYears
- The Savings Plans recommendation term in years. It's used to generate
the recommendation.
$sel:accountScope:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_accountScope
- 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.
$sel:savingsPlansType:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansType
- The requested Savings Plans recommendation type.
$sel:lookbackPeriodInDays:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_lookbackPeriodInDays
- The lookback period in days, used to generate the recommendation.
$sel:paymentOption:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_paymentOption
- The payment option used to generate the recommendation.
$sel:savingsPlansPurchaseRecommendationSummary:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary
- Summary metrics for your Savings Plans Recommendations.
SavingsPlansPurchaseRecommendationDetail
data SavingsPlansPurchaseRecommendationDetail Source #
Details for your recommended Savings Plans.
See: newSavingsPlansPurchaseRecommendationDetail
smart constructor.
SavingsPlansPurchaseRecommendationDetail' (Maybe Text) (Maybe Text) (Maybe SavingsPlansDetails) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newSavingsPlansPurchaseRecommendationDetail :: SavingsPlansPurchaseRecommendationDetail Source #
Create a value of SavingsPlansPurchaseRecommendationDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currencyCode:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currencyCode
- The currency code that Amazon Web Services used to generate the
recommendations and present potential savings.
$sel:currentAverageHourlyOnDemandSpend:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currentAverageHourlyOnDemandSpend
- The average value of hourly On-Demand spend over the lookback period of
the applicable usage type.
$sel:savingsPlansDetails:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_savingsPlansDetails
- Details for your recommended Savings Plans.
$sel:currentMinimumHourlyOnDemandSpend:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currentMinimumHourlyOnDemandSpend
- The lowest value of hourly On-Demand spend over the lookback period of
the applicable usage type.
$sel:estimatedROI:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedROI
- The estimated return on investment that's based on the recommended
Savings Plans that you purchased. This is calculated as
estimatedSavingsAmount
/ estimatedSPCost
*100.
$sel:currentMaximumHourlyOnDemandSpend:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currentMaximumHourlyOnDemandSpend
- The highest value of hourly On-Demand spend over the lookback period of
the applicable usage type.
$sel:estimatedSavingsAmount:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedSavingsAmount
- The estimated savings amount that's based on the recommended Savings
Plans over the length of the lookback period.
$sel:accountId:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_accountId
- The AccountID
the recommendation is generated for.
$sel:estimatedMonthlySavingsAmount:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedMonthlySavingsAmount
- The estimated monthly savings amount based on the recommended Savings
Plans.
$sel:estimatedOnDemandCost:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCost
- The remaining On-Demand cost estimated to not be covered by the
recommended Savings Plans, over the length of the lookback period.
$sel:estimatedOnDemandCostWithCurrentCommitment:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCostWithCurrentCommitment
- The estimated On-Demand costs you would expect with no additional
commitment, based on your usage of the selected time period and the
Savings Plans you own.
$sel:upfrontCost:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_upfrontCost
- The upfront cost of the recommended Savings Plans, based on the selected
payment option.
$sel:estimatedSPCost:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedSPCost
- The cost of the recommended Savings Plans over the length of the
lookback period.
$sel:estimatedSavingsPercentage:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedSavingsPercentage
- The estimated savings percentage relative to the total cost of
applicable On-Demand usage over the lookback period.
$sel:estimatedAverageUtilization:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedAverageUtilization
- The estimated utilization of the recommended Savings Plans.
$sel:hourlyCommitmentToPurchase:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_hourlyCommitmentToPurchase
- The recommended hourly commitment level for the Savings Plans type and
the configuration that's based on the usage during the lookback period.
SavingsPlansPurchaseRecommendationMetadata
data SavingsPlansPurchaseRecommendationMetadata Source #
Metadata about your Savings Plans Purchase Recommendations.
See: newSavingsPlansPurchaseRecommendationMetadata
smart constructor.
Instances
newSavingsPlansPurchaseRecommendationMetadata :: SavingsPlansPurchaseRecommendationMetadata Source #
Create a value of SavingsPlansPurchaseRecommendationMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationId:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_recommendationId
- The unique identifier for the recommendation set.
$sel:generationTimestamp:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_generationTimestamp
- The timestamp showing when the recommendations were generated.
$sel:additionalMetadata:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_additionalMetadata
- Additional metadata that might be applicable to the recommendation.
SavingsPlansPurchaseRecommendationSummary
data SavingsPlansPurchaseRecommendationSummary Source #
Summary metrics for your Savings Plans Purchase Recommendations.
See: newSavingsPlansPurchaseRecommendationSummary
smart constructor.
SavingsPlansPurchaseRecommendationSummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newSavingsPlansPurchaseRecommendationSummary :: SavingsPlansPurchaseRecommendationSummary Source #
Create a value of SavingsPlansPurchaseRecommendationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currencyCode:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_currencyCode
- The currency code that Amazon Web Services used to generate the
recommendations and present potential savings.
$sel:dailyCommitmentToPurchase:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_dailyCommitmentToPurchase
- The recommended Savings Plans cost on a daily (24 hourly) basis.
$sel:estimatedTotalCost:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedTotalCost
- 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.
$sel:estimatedROI:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedROI
- The estimated return on investment that's based on the recommended
Savings Plans and estimated savings.
$sel:estimatedSavingsAmount:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedSavingsAmount
- The estimated total savings over the lookback period, based on the
purchase of the recommended Savings Plans.
$sel:estimatedMonthlySavingsAmount:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedMonthlySavingsAmount
- The estimated monthly savings amount that's based on the recommended
Savings Plans purchase.
$sel:estimatedOnDemandCostWithCurrentCommitment:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedOnDemandCostWithCurrentCommitment
- The estimated On-Demand costs you would expect with no additional
commitment. It's based on your usage of the selected time period and
the Savings Plans you own.
$sel:estimatedSavingsPercentage:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_estimatedSavingsPercentage
- The estimated savings relative to the total cost of On-Demand usage,
over the lookback period. This is calculated as
estimatedSavingsAmount
/ CurrentOnDemandSpend
*100.
$sel:totalRecommendationCount:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_totalRecommendationCount
- The aggregate number of Savings Plans recommendations that exist for
your account.
$sel:currentOnDemandSpend:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_currentOnDemandSpend
- The current total on demand spend of the applicable usage types over the
lookback period.
$sel:hourlyCommitmentToPurchase:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_hourlyCommitmentToPurchase
- The recommended hourly commitment that's based on the recommendation
parameters.
SavingsPlansSavings
data SavingsPlansSavings Source #
The amount of savings that you're accumulating, against the public On-Demand rate of the usage accrued in an account.
See: newSavingsPlansSavings
smart constructor.
Instances
newSavingsPlansSavings :: SavingsPlansSavings Source #
Create a value of SavingsPlansSavings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:netSavings:SavingsPlansSavings'
, savingsPlansSavings_netSavings
- 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.
$sel:onDemandCostEquivalent:SavingsPlansSavings'
, savingsPlansSavings_onDemandCostEquivalent
- How much the amount that the usage would have cost if it was accrued at
the On-Demand rate.
SavingsPlansUtilization
data SavingsPlansUtilization Source #
The measurement of how well you're using your existing Savings Plans.
See: newSavingsPlansUtilization
smart constructor.
Instances
newSavingsPlansUtilization :: SavingsPlansUtilization Source #
Create a value of SavingsPlansUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unusedCommitment:SavingsPlansUtilization'
, savingsPlansUtilization_unusedCommitment
- The amount of your Savings Plans commitment that wasn't consumed from
Savings Plans eligible usage in a specific period.
$sel:utilizationPercentage:SavingsPlansUtilization'
, savingsPlansUtilization_utilizationPercentage
- The amount of UsedCommitment
divided by the TotalCommitment
for your
Savings Plans.
$sel:totalCommitment:SavingsPlansUtilization'
, savingsPlansUtilization_totalCommitment
- The total amount of Savings Plans commitment that's been purchased in
an account (or set of accounts).
$sel:usedCommitment:SavingsPlansUtilization'
, savingsPlansUtilization_usedCommitment
- The amount of your Savings Plans commitment that was consumed from
Savings Plans eligible usage in a specific period.
SavingsPlansUtilizationAggregates
data SavingsPlansUtilizationAggregates Source #
The aggregated utilization metrics for your Savings Plans usage.
See: newSavingsPlansUtilizationAggregates
smart constructor.
SavingsPlansUtilizationAggregates' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) SavingsPlansUtilization |
Instances
newSavingsPlansUtilizationAggregates Source #
Create a value of SavingsPlansUtilizationAggregates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedCommitment:SavingsPlansUtilizationAggregates'
, savingsPlansUtilizationAggregates_amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the
sum of the upfront and recurring Savings Plans fees.
$sel:savings:SavingsPlansUtilizationAggregates'
, savingsPlansUtilizationAggregates_savings
- The amount saved by using existing Savings Plans. Savings returns both
net savings from Savings Plans, as well as the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
$sel:utilization:SavingsPlansUtilizationAggregates'
, savingsPlansUtilizationAggregates_utilization
- A ratio of your effectiveness of using existing Savings Plans to apply
to workloads that are Savings Plans eligible.
SavingsPlansUtilizationByTime
data SavingsPlansUtilizationByTime Source #
The amount of Savings Plans utilization, in hours.
See: newSavingsPlansUtilizationByTime
smart constructor.
SavingsPlansUtilizationByTime' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) DateInterval SavingsPlansUtilization |
Instances
newSavingsPlansUtilizationByTime Source #
Create a value of SavingsPlansUtilizationByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedCommitment:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the
sum of the upfront and recurring Savings Plans fees.
$sel:savings:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_savings
- The amount saved by using existing Savings Plans. Savings returns both
net savings from Savings Plans as well as the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
$sel:timePeriod:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_timePeriod
- Undocumented member.
$sel:utilization:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_utilization
- A ratio of your effectiveness of using existing Savings Plans to apply
to workloads that are Savings Plans eligible.
SavingsPlansUtilizationDetail
data SavingsPlansUtilizationDetail Source #
A single daily or monthly Savings Plans utilization rate, and details
for your account. A management account in an organization have access to
member accounts. You can use GetDimensionValues
to determine the
possible dimension values.
See: newSavingsPlansUtilizationDetail
smart constructor.
SavingsPlansUtilizationDetail' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) (Maybe (HashMap Text Text)) (Maybe SavingsPlansUtilization) (Maybe Text) |
Instances
newSavingsPlansUtilizationDetail :: SavingsPlansUtilizationDetail Source #
Create a value of SavingsPlansUtilizationDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedCommitment:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_amortizedCommitment
- The total amortized commitment for a Savings Plans. Includes the sum of
the upfront and recurring Savings Plans fees.
$sel:savings:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_savings
- The amount saved by using existing Savings Plans. Savings returns both
net savings from savings plans as well as the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
$sel:attributes:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_attributes
- The attribute that applies to a specific Dimension
.
$sel:utilization:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_utilization
- A ratio of your effectiveness of using existing Savings Plans to apply
to workloads that are Savings Plans eligible.
$sel:savingsPlanArn:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_savingsPlanArn
- The unique Amazon Resource Name (ARN) for a particular Savings Plan.
ServiceSpecification
data ServiceSpecification Source #
Hardware specifications for the service that you want recommendations for.
See: newServiceSpecification
smart constructor.
Instances
newServiceSpecification :: ServiceSpecification Source #
Create a value of ServiceSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eC2Specification:ServiceSpecification'
, serviceSpecification_eC2Specification
- The Amazon EC2 hardware specifications that you want Amazon Web Services
to provide recommendations for.
SortDefinition
data SortDefinition Source #
The details of how to sort the data.
See: newSortDefinition
smart constructor.
Instances
Create a value of SortDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sortOrder:SortDefinition'
, sortDefinition_sortOrder
- The order that's used to sort the data.
$sel:key:SortDefinition'
, sortDefinition_key
- The key that's used to sort the data.
Subscriber
data Subscriber Source #
The recipient of AnomalySubscription
notifications.
See: newSubscriber
smart constructor.
Instances
newSubscriber :: Subscriber Source #
Create a value of Subscriber
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:Subscriber'
, subscriber_status
- Indicates if the subscriber accepts the notifications.
$sel:address:Subscriber'
, subscriber_address
- The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
$sel:type':Subscriber'
, subscriber_type
- The notification delivery channel.
TagValues
The values that are available for a tag.
If Values
and Key
aren't specified, the ABSENT
MatchOption
is
applied to all tags. That is, it's filtered on resources with no tags.
If Values
is provided and Key
isn't specified, the ABSENT
MatchOption
is applied to the tag Key
only. That is, it's filtered
on resources without the given tag key.
See: newTagValues
smart constructor.
TagValues' (Maybe [Text]) (Maybe Text) (Maybe [MatchOption]) |
Instances
Eq TagValues Source # | |
Read TagValues Source # | |
Show TagValues Source # | |
Generic TagValues Source # | |
NFData TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Hashable TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
ToJSON TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
FromJSON TagValues Source # | |
type Rep TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues type Rep TagValues = D1 ('MetaData "TagValues" "Amazonka.CostExplorer.Types.TagValues" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "TagValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "matchOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchOption]))))) |
newTagValues :: TagValues Source #
Create a value of TagValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:values:TagValues'
, tagValues_values
- The specific value of the tag.
$sel:key:TagValues'
, tagValues_key
- The key for the tag.
$sel:matchOptions:TagValues'
, tagValues_matchOptions
- The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
TargetInstance
data TargetInstance Source #
Details on recommended instance.
See: newTargetInstance
smart constructor.
TargetInstance' (Maybe Text) (Maybe ResourceDetails) (Maybe [PlatformDifference]) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe ResourceUtilization) |
Instances
newTargetInstance :: TargetInstance Source #
Create a value of TargetInstance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currencyCode:TargetInstance'
, targetInstance_currencyCode
- The currency code that Amazon Web Services used to calculate the costs
for this instance.
$sel:resourceDetails:TargetInstance'
, targetInstance_resourceDetails
- Details on the target instance type.
$sel:platformDifferences:TargetInstance'
, targetInstance_platformDifferences
- Explains the actions you might need to take in order to successfully
migrate your workloads from the current instance type to the recommended
instance type.
$sel:defaultTargetInstance:TargetInstance'
, targetInstance_defaultTargetInstance
- Determines whether this recommendation is the defaulted Amazon Web
Services recommendation.
$sel:estimatedMonthlyCost:TargetInstance'
, targetInstance_estimatedMonthlyCost
- The expected cost to operate this instance type on a monthly basis.
$sel:estimatedMonthlySavings:TargetInstance'
, targetInstance_estimatedMonthlySavings
- The estimated savings that result from modification, on a monthly basis.
$sel:expectedResourceUtilization:TargetInstance'
, targetInstance_expectedResourceUtilization
- The expected utilization metrics for target instance type.
TerminateRecommendationDetail
data TerminateRecommendationDetail Source #
Details on termination recommendation.
See: newTerminateRecommendationDetail
smart constructor.
Instances
newTerminateRecommendationDetail :: TerminateRecommendationDetail Source #
Create a value of TerminateRecommendationDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currencyCode:TerminateRecommendationDetail'
, terminateRecommendationDetail_currencyCode
- The currency code that Amazon Web Services used to calculate the costs
for this instance.
$sel:estimatedMonthlySavings:TerminateRecommendationDetail'
, terminateRecommendationDetail_estimatedMonthlySavings
- The estimated savings that result from modification, on a monthly basis.
TotalImpactFilter
data TotalImpactFilter Source #
Filters cost anomalies based on the total impact.
See: newTotalImpactFilter
smart constructor.
Instances
Create a value of TotalImpactFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endValue:TotalImpactFilter'
, totalImpactFilter_endValue
- The upper bound dollar value that's used in the filter.
$sel:numericOperator:TotalImpactFilter'
, totalImpactFilter_numericOperator
- The comparing value that's used in the filter.
$sel:startValue:TotalImpactFilter'
, totalImpactFilter_startValue
- The lower bound dollar value that's used in the filter.
UtilizationByTime
data UtilizationByTime Source #
The amount of utilization, in hours.
See: newUtilizationByTime
smart constructor.
UtilizationByTime' (Maybe [ReservationUtilizationGroup]) (Maybe DateInterval) (Maybe ReservationAggregates) |
Instances
newUtilizationByTime :: UtilizationByTime Source #
Create a value of UtilizationByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:UtilizationByTime'
, utilizationByTime_groups
- The groups that this utilization result uses.
$sel:timePeriod:UtilizationByTime'
, utilizationByTime_timePeriod
- The period of time that this utilization was used for.
$sel:total:UtilizationByTime'
, utilizationByTime_total
- The total number of reservation hours that were used.