Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.CostExplorer
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- CreateAnomalyMonitor
- CreateAnomalySubscription
- CreateCostCategoryDefinition
- DeleteAnomalyMonitor
- DeleteAnomalySubscription
- DeleteCostCategoryDefinition
- DescribeCostCategoryDefinition
- GetAnomalies
- GetAnomalyMonitors
- GetAnomalySubscriptions
- GetCostAndUsage
- GetCostAndUsageWithResources
- GetCostCategories
- GetCostForecast
- GetDimensionValues
- GetReservationCoverage
- GetReservationPurchaseRecommendation
- GetReservationUtilization
- GetRightsizingRecommendation
- GetSavingsPlansCoverage
- GetSavingsPlansPurchaseRecommendation
- GetSavingsPlansUtilization
- GetSavingsPlansUtilizationDetails
- GetTags
- GetUsageForecast
- ListCostAllocationTags
- ListCostCategoryDefinitions
- ListSavingsPlansPurchaseRecommendationGeneration
- ListTagsForResource
- ProvideAnomalyFeedback
- StartSavingsPlansPurchaseRecommendationGeneration
- TagResource
- UntagResource
- UpdateAnomalyMonitor
- UpdateAnomalySubscription
- UpdateCostAllocationTagsStatus
- UpdateCostCategoryDefinition
- Types
- AccountScope
- AnomalyFeedbackType
- AnomalySubscriptionFrequency
- Context
- CostAllocationTagStatus
- CostAllocationTagType
- CostCategoryInheritedValueDimensionName
- CostCategoryRuleType
- CostCategoryRuleVersion
- CostCategorySplitChargeMethod
- CostCategorySplitChargeRuleParameterType
- CostCategoryStatus
- CostCategoryStatusComponent
- Dimension
- FindingReasonCode
- GenerationStatus
- Granularity
- GroupDefinitionType
- LookbackPeriodInDays
- MatchOption
- Metric
- MonitorDimension
- MonitorType
- NumericOperator
- OfferingClass
- PaymentOption
- PlatformDifference
- RecommendationTarget
- RightsizingType
- SavingsPlansDataType
- SortOrder
- SubscriberStatus
- SubscriberType
- SupportedSavingsPlansType
- TermInYears
- Anomaly
- AnomalyDateInterval
- AnomalyMonitor
- AnomalyScore
- AnomalySubscription
- CostAllocationTag
- CostAllocationTagStatusEntry
- 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
- GenerationSummary
- Group
- GroupDefinition
- Impact
- InstanceDetails
- MetricValue
- ModifyRecommendationDetail
- NetworkResourceUtilization
- RDSInstanceDetails
- RedshiftInstanceDetails
- ReservationAggregates
- ReservationCoverageGroup
- ReservationPurchaseRecommendation
- ReservationPurchaseRecommendationDetail
- ReservationPurchaseRecommendationMetadata
- ReservationPurchaseRecommendationSummary
- ReservationUtilizationGroup
- ResourceDetails
- ResourceTag
- 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
- UpdateCostAllocationTagsStatusError
- UtilizationByTime
Description
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
- _BillExpirationException :: AsError a => Fold a ServiceError
- _DataUnavailableException :: AsError a => Fold a ServiceError
- _GenerationExistsException :: AsError a => Fold a ServiceError
- _InvalidNextTokenException :: AsError a => Fold a ServiceError
- _LimitExceededException :: AsError a => Fold a ServiceError
- _RequestChangedException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _TooManyTagsException :: AsError a => Fold a ServiceError
- _UnknownMonitorException :: AsError a => Fold a ServiceError
- _UnknownSubscriptionException :: AsError a => Fold a ServiceError
- _UnresolvableUsageUnitException :: AsError a => Fold a ServiceError
- data CreateAnomalyMonitor = CreateAnomalyMonitor' (Maybe [ResourceTag]) AnomalyMonitor
- newCreateAnomalyMonitor :: AnomalyMonitor -> CreateAnomalyMonitor
- data CreateAnomalyMonitorResponse = CreateAnomalyMonitorResponse' Int Text
- newCreateAnomalyMonitorResponse :: Int -> Text -> CreateAnomalyMonitorResponse
- data CreateAnomalySubscription = CreateAnomalySubscription' (Maybe [ResourceTag]) AnomalySubscription
- newCreateAnomalySubscription :: AnomalySubscription -> CreateAnomalySubscription
- data CreateAnomalySubscriptionResponse = CreateAnomalySubscriptionResponse' Int Text
- newCreateAnomalySubscriptionResponse :: Int -> Text -> CreateAnomalySubscriptionResponse
- data CreateCostCategoryDefinition = CreateCostCategoryDefinition' (Maybe Text) (Maybe Text) (Maybe [ResourceTag]) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newCreateCostCategoryDefinition :: Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CreateCostCategoryDefinition
- data CreateCostCategoryDefinitionResponse = CreateCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newCreateCostCategoryDefinitionResponse :: Int -> CreateCostCategoryDefinitionResponse
- data DeleteAnomalyMonitor = DeleteAnomalyMonitor' Text
- newDeleteAnomalyMonitor :: Text -> DeleteAnomalyMonitor
- data DeleteAnomalyMonitorResponse = DeleteAnomalyMonitorResponse' Int
- newDeleteAnomalyMonitorResponse :: Int -> DeleteAnomalyMonitorResponse
- data DeleteAnomalySubscription = DeleteAnomalySubscription' Text
- newDeleteAnomalySubscription :: Text -> DeleteAnomalySubscription
- data DeleteAnomalySubscriptionResponse = DeleteAnomalySubscriptionResponse' Int
- newDeleteAnomalySubscriptionResponse :: Int -> DeleteAnomalySubscriptionResponse
- data DeleteCostCategoryDefinition = DeleteCostCategoryDefinition' Text
- newDeleteCostCategoryDefinition :: Text -> DeleteCostCategoryDefinition
- data DeleteCostCategoryDefinitionResponse = DeleteCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newDeleteCostCategoryDefinitionResponse :: Int -> DeleteCostCategoryDefinitionResponse
- data DescribeCostCategoryDefinition = DescribeCostCategoryDefinition' (Maybe Text) Text
- newDescribeCostCategoryDefinition :: Text -> DescribeCostCategoryDefinition
- data DescribeCostCategoryDefinitionResponse = DescribeCostCategoryDefinitionResponse' (Maybe CostCategory) Int
- newDescribeCostCategoryDefinitionResponse :: Int -> DescribeCostCategoryDefinitionResponse
- data GetAnomalies = GetAnomalies' (Maybe AnomalyFeedbackType) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe TotalImpactFilter) AnomalyDateInterval
- newGetAnomalies :: AnomalyDateInterval -> GetAnomalies
- data GetAnomaliesResponse = GetAnomaliesResponse' (Maybe Text) Int [Anomaly]
- newGetAnomaliesResponse :: Int -> GetAnomaliesResponse
- data GetAnomalyMonitors = GetAnomalyMonitors' (Maybe Int) (Maybe [Text]) (Maybe Text)
- newGetAnomalyMonitors :: GetAnomalyMonitors
- data GetAnomalyMonitorsResponse = GetAnomalyMonitorsResponse' (Maybe Text) Int [AnomalyMonitor]
- newGetAnomalyMonitorsResponse :: Int -> GetAnomalyMonitorsResponse
- data GetAnomalySubscriptions = GetAnomalySubscriptions' (Maybe Int) (Maybe Text) (Maybe Text) (Maybe [Text])
- newGetAnomalySubscriptions :: GetAnomalySubscriptions
- data GetAnomalySubscriptionsResponse = GetAnomalySubscriptionsResponse' (Maybe Text) Int [AnomalySubscription]
- newGetAnomalySubscriptionsResponse :: Int -> GetAnomalySubscriptionsResponse
- data GetCostAndUsage = GetCostAndUsage' (Maybe Expression) (Maybe [GroupDefinition]) (Maybe Text) DateInterval Granularity [Text]
- newGetCostAndUsage :: DateInterval -> Granularity -> GetCostAndUsage
- data GetCostAndUsageResponse = GetCostAndUsageResponse' (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) (Maybe Text) (Maybe [ResultByTime]) Int
- newGetCostAndUsageResponse :: Int -> GetCostAndUsageResponse
- data GetCostAndUsageWithResources = GetCostAndUsageWithResources' (Maybe [GroupDefinition]) (Maybe [Text]) (Maybe Text) DateInterval Granularity Expression
- newGetCostAndUsageWithResources :: DateInterval -> Granularity -> Expression -> GetCostAndUsageWithResources
- data GetCostAndUsageWithResourcesResponse = GetCostAndUsageWithResourcesResponse' (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) (Maybe Text) (Maybe [ResultByTime]) Int
- newGetCostAndUsageWithResourcesResponse :: Int -> GetCostAndUsageWithResourcesResponse
- data GetCostCategories = GetCostCategories' (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (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 Expression) (Maybe Natural) DateInterval Metric Granularity
- newGetCostForecast :: DateInterval -> Metric -> Granularity -> GetCostForecast
- data GetCostForecastResponse = GetCostForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int
- newGetCostForecastResponse :: Int -> GetCostForecastResponse
- data GetDimensionValues = GetDimensionValues' (Maybe Context) (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe [SortDefinition]) DateInterval Dimension
- newGetDimensionValues :: DateInterval -> Dimension -> GetDimensionValues
- data GetDimensionValuesResponse = GetDimensionValuesResponse' (Maybe Text) Int [DimensionValuesWithAttributes] Int Int
- newGetDimensionValuesResponse :: Int -> Int -> Int -> GetDimensionValuesResponse
- data GetReservationCoverage = GetReservationCoverage' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe [Text]) (Maybe Text) (Maybe SortDefinition) DateInterval
- newGetReservationCoverage :: DateInterval -> GetReservationCoverage
- data GetReservationCoverageResponse = GetReservationCoverageResponse' (Maybe Text) (Maybe Coverage) Int [CoverageByTime]
- newGetReservationCoverageResponse :: Int -> GetReservationCoverageResponse
- data GetReservationPurchaseRecommendation = GetReservationPurchaseRecommendation' (Maybe Text) (Maybe AccountScope) (Maybe Expression) (Maybe LookbackPeriodInDays) (Maybe Text) (Maybe Natural) (Maybe PaymentOption) (Maybe ServiceSpecification) (Maybe TermInYears) Text
- newGetReservationPurchaseRecommendation :: Text -> GetReservationPurchaseRecommendation
- data GetReservationPurchaseRecommendationResponse = GetReservationPurchaseRecommendationResponse' (Maybe ReservationPurchaseRecommendationMetadata) (Maybe Text) (Maybe [ReservationPurchaseRecommendation]) Int
- newGetReservationPurchaseRecommendationResponse :: Int -> GetReservationPurchaseRecommendationResponse
- data GetReservationUtilization = GetReservationUtilization' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe Text) (Maybe SortDefinition) DateInterval
- newGetReservationUtilization :: DateInterval -> GetReservationUtilization
- data GetReservationUtilizationResponse = GetReservationUtilizationResponse' (Maybe Text) (Maybe ReservationAggregates) Int [UtilizationByTime]
- newGetReservationUtilizationResponse :: Int -> GetReservationUtilizationResponse
- data GetRightsizingRecommendation = GetRightsizingRecommendation' (Maybe RightsizingRecommendationConfiguration) (Maybe Expression) (Maybe Text) (Maybe Natural) Text
- newGetRightsizingRecommendation :: Text -> GetRightsizingRecommendation
- data GetRightsizingRecommendationResponse = GetRightsizingRecommendationResponse' (Maybe RightsizingRecommendationConfiguration) (Maybe RightsizingRecommendationMetadata) (Maybe Text) (Maybe [RightsizingRecommendation]) (Maybe RightsizingRecommendationSummary) Int
- newGetRightsizingRecommendationResponse :: Int -> GetRightsizingRecommendationResponse
- data GetSavingsPlansCoverage = GetSavingsPlansCoverage' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe [Text]) (Maybe Text) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansCoverage :: DateInterval -> GetSavingsPlansCoverage
- data GetSavingsPlansCoverageResponse = GetSavingsPlansCoverageResponse' (Maybe Text) Int [SavingsPlansCoverage]
- newGetSavingsPlansCoverageResponse :: Int -> GetSavingsPlansCoverageResponse
- data GetSavingsPlansPurchaseRecommendation = GetSavingsPlansPurchaseRecommendation' (Maybe AccountScope) (Maybe Expression) (Maybe Text) (Maybe Natural) SupportedSavingsPlansType TermInYears PaymentOption LookbackPeriodInDays
- newGetSavingsPlansPurchaseRecommendation :: SupportedSavingsPlansType -> TermInYears -> PaymentOption -> LookbackPeriodInDays -> GetSavingsPlansPurchaseRecommendation
- data GetSavingsPlansPurchaseRecommendationResponse = GetSavingsPlansPurchaseRecommendationResponse' (Maybe SavingsPlansPurchaseRecommendationMetadata) (Maybe Text) (Maybe SavingsPlansPurchaseRecommendation) Int
- newGetSavingsPlansPurchaseRecommendationResponse :: Int -> GetSavingsPlansPurchaseRecommendationResponse
- data GetSavingsPlansUtilization = GetSavingsPlansUtilization' (Maybe Expression) (Maybe Granularity) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansUtilization :: DateInterval -> GetSavingsPlansUtilization
- data GetSavingsPlansUtilizationResponse = GetSavingsPlansUtilizationResponse' (Maybe [SavingsPlansUtilizationByTime]) Int SavingsPlansUtilizationAggregates
- newGetSavingsPlansUtilizationResponse :: Int -> SavingsPlansUtilizationAggregates -> GetSavingsPlansUtilizationResponse
- data GetSavingsPlansUtilizationDetails = GetSavingsPlansUtilizationDetails' (Maybe [SavingsPlansDataType]) (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe SortDefinition) DateInterval
- newGetSavingsPlansUtilizationDetails :: DateInterval -> GetSavingsPlansUtilizationDetails
- data GetSavingsPlansUtilizationDetailsResponse = GetSavingsPlansUtilizationDetailsResponse' (Maybe Text) (Maybe SavingsPlansUtilizationAggregates) Int [SavingsPlansUtilizationDetail] DateInterval
- newGetSavingsPlansUtilizationDetailsResponse :: Int -> DateInterval -> GetSavingsPlansUtilizationDetailsResponse
- data GetTags = GetTags' (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe [SortDefinition]) (Maybe Text) DateInterval
- newGetTags :: DateInterval -> GetTags
- data GetTagsResponse = GetTagsResponse' (Maybe Text) Int [Text] Int Int
- newGetTagsResponse :: Int -> Int -> Int -> GetTagsResponse
- data GetUsageForecast = GetUsageForecast' (Maybe Expression) (Maybe Natural) DateInterval Metric Granularity
- newGetUsageForecast :: DateInterval -> Metric -> Granularity -> GetUsageForecast
- data GetUsageForecastResponse = GetUsageForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int
- newGetUsageForecastResponse :: Int -> GetUsageForecastResponse
- data ListCostAllocationTags = ListCostAllocationTags' (Maybe Natural) (Maybe Text) (Maybe CostAllocationTagStatus) (Maybe (NonEmpty Text)) (Maybe CostAllocationTagType)
- newListCostAllocationTags :: ListCostAllocationTags
- data ListCostAllocationTagsResponse = ListCostAllocationTagsResponse' (Maybe [CostAllocationTag]) (Maybe Text) Int
- newListCostAllocationTagsResponse :: Int -> ListCostAllocationTagsResponse
- data ListCostCategoryDefinitions = ListCostCategoryDefinitions' (Maybe Text) (Maybe Natural) (Maybe Text)
- newListCostCategoryDefinitions :: ListCostCategoryDefinitions
- data ListCostCategoryDefinitionsResponse = ListCostCategoryDefinitionsResponse' (Maybe [CostCategoryReference]) (Maybe Text) Int
- newListCostCategoryDefinitionsResponse :: Int -> ListCostCategoryDefinitionsResponse
- data ListSavingsPlansPurchaseRecommendationGeneration = ListSavingsPlansPurchaseRecommendationGeneration' (Maybe GenerationStatus) (Maybe Text) (Maybe Natural) (Maybe [Text])
- newListSavingsPlansPurchaseRecommendationGeneration :: ListSavingsPlansPurchaseRecommendationGeneration
- data ListSavingsPlansPurchaseRecommendationGenerationResponse = ListSavingsPlansPurchaseRecommendationGenerationResponse' (Maybe [GenerationSummary]) (Maybe Text) Int
- newListSavingsPlansPurchaseRecommendationGenerationResponse :: Int -> ListSavingsPlansPurchaseRecommendationGenerationResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [ResourceTag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ProvideAnomalyFeedback = ProvideAnomalyFeedback' Text AnomalyFeedbackType
- newProvideAnomalyFeedback :: Text -> AnomalyFeedbackType -> ProvideAnomalyFeedback
- data ProvideAnomalyFeedbackResponse = ProvideAnomalyFeedbackResponse' Int Text
- newProvideAnomalyFeedbackResponse :: Int -> Text -> ProvideAnomalyFeedbackResponse
- data StartSavingsPlansPurchaseRecommendationGeneration = StartSavingsPlansPurchaseRecommendationGeneration' {
- newStartSavingsPlansPurchaseRecommendationGeneration :: StartSavingsPlansPurchaseRecommendationGeneration
- data StartSavingsPlansPurchaseRecommendationGenerationResponse = StartSavingsPlansPurchaseRecommendationGenerationResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newStartSavingsPlansPurchaseRecommendationGenerationResponse :: Int -> StartSavingsPlansPurchaseRecommendationGenerationResponse
- data TagResource = TagResource' Text [ResourceTag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data UpdateAnomalyMonitor = UpdateAnomalyMonitor' (Maybe Text) Text
- newUpdateAnomalyMonitor :: Text -> UpdateAnomalyMonitor
- data UpdateAnomalyMonitorResponse = UpdateAnomalyMonitorResponse' Int Text
- newUpdateAnomalyMonitorResponse :: Int -> Text -> UpdateAnomalyMonitorResponse
- data UpdateAnomalySubscription = UpdateAnomalySubscription' (Maybe AnomalySubscriptionFrequency) (Maybe [Text]) (Maybe [Subscriber]) (Maybe Text) (Maybe Double) (Maybe Expression) Text
- newUpdateAnomalySubscription :: Text -> UpdateAnomalySubscription
- data UpdateAnomalySubscriptionResponse = UpdateAnomalySubscriptionResponse' Int Text
- newUpdateAnomalySubscriptionResponse :: Int -> Text -> UpdateAnomalySubscriptionResponse
- data UpdateCostAllocationTagsStatus = UpdateCostAllocationTagsStatus' (NonEmpty CostAllocationTagStatusEntry)
- newUpdateCostAllocationTagsStatus :: NonEmpty CostAllocationTagStatusEntry -> UpdateCostAllocationTagsStatus
- data UpdateCostAllocationTagsStatusResponse = UpdateCostAllocationTagsStatusResponse' (Maybe [UpdateCostAllocationTagsStatusError]) Int
- newUpdateCostAllocationTagsStatusResponse :: Int -> UpdateCostAllocationTagsStatusResponse
- data UpdateCostCategoryDefinition = UpdateCostCategoryDefinition' (Maybe Text) (Maybe Text) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newUpdateCostCategoryDefinition :: Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> UpdateCostCategoryDefinition
- data UpdateCostCategoryDefinitionResponse = UpdateCostCategoryDefinitionResponse' (Maybe Text) (Maybe Text) Int
- newUpdateCostCategoryDefinitionResponse :: Int -> UpdateCostCategoryDefinitionResponse
- 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 CostAllocationTagStatus where
- newtype CostAllocationTagType where
- 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_ANOMALY_TOTAL_IMPACT_ABSOLUTE :: Dimension
- pattern Dimension_ANOMALY_TOTAL_IMPACT_PERCENTAGE :: 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_INVOICING_ENTITY :: 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 GenerationStatus where
- GenerationStatus' { }
- pattern GenerationStatus_FAILED :: GenerationStatus
- pattern GenerationStatus_PROCESSING :: GenerationStatus
- pattern GenerationStatus_SUCCEEDED :: GenerationStatus
- 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_GREATER_THAN_OR_EQUAL :: 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 Text) (Maybe AnomalyFeedbackType) (Maybe [RootCause]) Text AnomalyScore Impact Text
- newAnomaly :: Text -> AnomalyScore -> Impact -> Text -> Anomaly
- data AnomalyDateInterval = AnomalyDateInterval' (Maybe Text) Text
- newAnomalyDateInterval :: Text -> AnomalyDateInterval
- data AnomalyMonitor = AnomalyMonitor' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe MonitorDimension) (Maybe Expression) Text MonitorType
- newAnomalyMonitor :: Text -> MonitorType -> AnomalyMonitor
- data AnomalyScore = AnomalyScore' Double Double
- newAnomalyScore :: Double -> Double -> AnomalyScore
- data AnomalySubscription = AnomalySubscription' (Maybe Text) (Maybe Text) (Maybe Double) (Maybe Expression) [Text] [Subscriber] AnomalySubscriptionFrequency Text
- newAnomalySubscription :: AnomalySubscriptionFrequency -> Text -> AnomalySubscription
- data CostAllocationTag = CostAllocationTag' Text CostAllocationTagType CostAllocationTagStatus
- newCostAllocationTag :: Text -> CostAllocationTagType -> CostAllocationTagStatus -> CostAllocationTag
- data CostAllocationTagStatusEntry = CostAllocationTagStatusEntry' Text CostAllocationTagStatus
- newCostAllocationTagStatusEntry :: Text -> CostAllocationTagStatus -> CostAllocationTagStatusEntry
- data CostCategory = CostCategory' (Maybe Text) (Maybe Text) (Maybe [CostCategoryProcessingStatus]) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text Text Text CostCategoryRuleVersion (NonEmpty CostCategoryRule)
- newCostCategory :: Text -> Text -> Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CostCategory
- data CostCategoryInheritedValueDimension = CostCategoryInheritedValueDimension' (Maybe Text) (Maybe CostCategoryInheritedValueDimensionName)
- newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension
- data CostCategoryProcessingStatus = CostCategoryProcessingStatus' (Maybe CostCategoryStatusComponent) (Maybe CostCategoryStatus)
- newCostCategoryProcessingStatus :: CostCategoryProcessingStatus
- data CostCategoryReference = CostCategoryReference' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe [CostCategoryProcessingStatus]) (Maybe [Text])
- newCostCategoryReference :: CostCategoryReference
- data CostCategoryRule = CostCategoryRule' (Maybe CostCategoryInheritedValueDimension) (Maybe Expression) (Maybe CostCategoryRuleType) (Maybe Text)
- 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 [MatchOption]) (Maybe [Text])
- newCostCategoryValues :: CostCategoryValues
- data Coverage = Coverage' (Maybe CoverageCost) (Maybe CoverageHours) (Maybe CoverageNormalizedUnits)
- 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 Text) (Maybe Text) (Maybe Text) (Maybe ResourceDetails) (Maybe Text) (Maybe ResourceUtilization) (Maybe Text) (Maybe [TagValues]) (Maybe Text)
- newCurrentInstance :: CurrentInstance
- data DateInterval = DateInterval' Text Text
- newDateInterval :: Text -> Text -> DateInterval
- data DimensionValues = DimensionValues' (Maybe Dimension) (Maybe [MatchOption]) (Maybe [Text])
- newDimensionValues :: DimensionValues
- data DimensionValuesWithAttributes = DimensionValuesWithAttributes' (Maybe (HashMap Text Text)) (Maybe 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 Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (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 DiskResourceUtilization) (Maybe EBSResourceUtilization) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe NetworkResourceUtilization)
- newEC2ResourceUtilization :: EC2ResourceUtilization
- data EC2Specification = EC2Specification' (Maybe OfferingClass)
- newEC2Specification :: EC2Specification
- data ESInstanceDetails = ESInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool)
- newESInstanceDetails :: ESInstanceDetails
- data ElastiCacheInstanceDetails = ElastiCacheInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool)
- newElastiCacheInstanceDetails :: ElastiCacheInstanceDetails
- data Expression = Expression' (Maybe [Expression]) (Maybe CostCategoryValues) (Maybe DimensionValues) (Maybe Expression) (Maybe [Expression]) (Maybe TagValues)
- newExpression :: Expression
- data ForecastResult = ForecastResult' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DateInterval)
- newForecastResult :: ForecastResult
- data GenerationSummary = GenerationSummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe GenerationStatus) (Maybe Text)
- newGenerationSummary :: GenerationSummary
- data Group = Group' (Maybe [Text]) (Maybe (HashMap Text MetricValue))
- newGroup :: Group
- data GroupDefinition = GroupDefinition' (Maybe Text) (Maybe GroupDefinitionType)
- newGroupDefinition :: GroupDefinition
- data Impact = Impact' (Maybe Double) (Maybe Double) (Maybe Double) (Maybe Double) Double
- newImpact :: Double -> Impact
- data InstanceDetails = InstanceDetails' (Maybe EC2InstanceDetails) (Maybe ESInstanceDetails) (Maybe ElastiCacheInstanceDetails) (Maybe RDSInstanceDetails) (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 Text) (Maybe Text) (Maybe Text) (Maybe Bool)
- newRDSInstanceDetails :: RDSInstanceDetails
- data RedshiftInstanceDetails = RedshiftInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool)
- 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 (HashMap Text Text)) (Maybe Coverage)
- newReservationCoverageGroup :: ReservationCoverageGroup
- data ReservationPurchaseRecommendation = ReservationPurchaseRecommendation' (Maybe AccountScope) (Maybe LookbackPeriodInDays) (Maybe PaymentOption) (Maybe [ReservationPurchaseRecommendationDetail]) (Maybe ReservationPurchaseRecommendationSummary) (Maybe ServiceSpecification) (Maybe TermInYears)
- 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 InstanceDetails) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (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 (HashMap Text Text)) (Maybe Text) (Maybe ReservationAggregates) (Maybe Text)
- newReservationUtilizationGroup :: ReservationUtilizationGroup
- data ResourceDetails = ResourceDetails' (Maybe EC2ResourceDetails)
- newResourceDetails :: ResourceDetails
- data ResourceTag = ResourceTag' Text Text
- newResourceTag :: Text -> Text -> ResourceTag
- data ResourceUtilization = ResourceUtilization' (Maybe EC2ResourceUtilization)
- newResourceUtilization :: ResourceUtilization
- data ResultByTime = ResultByTime' (Maybe Bool) (Maybe [Group]) (Maybe DateInterval) (Maybe (HashMap Text MetricValue))
- newResultByTime :: ResultByTime
- data RightsizingRecommendation = RightsizingRecommendation' (Maybe Text) (Maybe CurrentInstance) (Maybe [FindingReasonCode]) (Maybe ModifyRecommendationDetail) (Maybe RightsizingType) (Maybe TerminateRecommendationDetail)
- newRightsizingRecommendation :: RightsizingRecommendation
- data RightsizingRecommendationConfiguration = RightsizingRecommendationConfiguration' RecommendationTarget Bool
- newRightsizingRecommendationConfiguration :: RecommendationTarget -> Bool -> RightsizingRecommendationConfiguration
- data RightsizingRecommendationMetadata = RightsizingRecommendationMetadata' (Maybe Text) (Maybe Text) (Maybe LookbackPeriodInDays) (Maybe Text)
- 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) (Maybe Text)
- newRootCause :: RootCause
- data SavingsPlansAmortizedCommitment = SavingsPlansAmortizedCommitment' (Maybe Text) (Maybe Text) (Maybe Text)
- newSavingsPlansAmortizedCommitment :: SavingsPlansAmortizedCommitment
- data SavingsPlansCoverage = SavingsPlansCoverage' (Maybe (HashMap Text Text)) (Maybe SavingsPlansCoverageData) (Maybe DateInterval)
- 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 AccountScope) (Maybe LookbackPeriodInDays) (Maybe PaymentOption) (Maybe [SavingsPlansPurchaseRecommendationDetail]) (Maybe SavingsPlansPurchaseRecommendationSummary) (Maybe SupportedSavingsPlansType) (Maybe TermInYears)
- newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation
- data SavingsPlansPurchaseRecommendationDetail = SavingsPlansPurchaseRecommendationDetail' (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 SavingsPlansDetails) (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 (HashMap Text Text)) (Maybe SavingsPlansSavings) (Maybe Text) (Maybe SavingsPlansUtilization)
- newSavingsPlansUtilizationDetail :: SavingsPlansUtilizationDetail
- data ServiceSpecification = ServiceSpecification' (Maybe EC2Specification)
- newServiceSpecification :: ServiceSpecification
- data SortDefinition = SortDefinition' (Maybe SortOrder) Text
- newSortDefinition :: Text -> SortDefinition
- data Subscriber = Subscriber' (Maybe Text) (Maybe SubscriberStatus) (Maybe SubscriberType)
- newSubscriber :: Subscriber
- data TagValues = TagValues' (Maybe Text) (Maybe [MatchOption]) (Maybe [Text])
- newTagValues :: TagValues
- data TargetInstance = TargetInstance' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe ResourceUtilization) (Maybe [PlatformDifference]) (Maybe ResourceDetails)
- newTargetInstance :: TargetInstance
- data TerminateRecommendationDetail = TerminateRecommendationDetail' (Maybe Text) (Maybe Text)
- newTerminateRecommendationDetail :: TerminateRecommendationDetail
- data TotalImpactFilter = TotalImpactFilter' (Maybe Double) NumericOperator Double
- newTotalImpactFilter :: NumericOperator -> Double -> TotalImpactFilter
- data UpdateCostAllocationTagsStatusError = UpdateCostAllocationTagsStatusError' (Maybe Text) (Maybe Text) (Maybe Text)
- newUpdateCostAllocationTagsStatusError :: UpdateCostAllocationTagsStatusError
- 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
.
BillExpirationException
_BillExpirationException :: AsError a => Fold a ServiceError Source #
The requested report expired. Update the date interval and try again.
DataUnavailableException
_DataUnavailableException :: AsError a => Fold a ServiceError Source #
The requested data is unavailable.
GenerationExistsException
_GenerationExistsException :: AsError a => Fold a ServiceError Source #
A request to generate a recommendation is already in progress.
InvalidNextTokenException
_InvalidNextTokenException :: AsError a => Fold a ServiceError Source #
The pagination token is invalid. Try again without a pagination token.
LimitExceededException
_LimitExceededException :: AsError a => Fold a ServiceError Source #
You made too many calls in a short period of time. Try again later.
RequestChangedException
_RequestChangedException :: AsError a => Fold a ServiceError Source #
Your request parameters changed between pages. Try again with the old parameters or without a pagination token.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified ARN in the request doesn't exist.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.
TooManyTagsException
_TooManyTagsException :: AsError a => Fold a ServiceError Source #
Can occur if you specify a number of tags for a resource greater than the maximum 50 user tags per resource.
UnknownMonitorException
_UnknownMonitorException :: AsError a => Fold a ServiceError Source #
The cost anomaly monitor does not exist for the account.
UnknownSubscriptionException
_UnknownSubscriptionException :: AsError a => Fold a ServiceError Source #
The cost anomaly subscription does not exist for the account.
UnresolvableUsageUnitException
_UnresolvableUsageUnitException :: AsError a => Fold a ServiceError Source #
Cost Explorer was unable to identify the usage unit. Provide
UsageType/UsageTypeGroup
filter selections that contain matching
units, for example: hours
.
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.
CreateAnomalyMonitor
data CreateAnomalyMonitor Source #
See: newCreateAnomalyMonitor
smart constructor.
Constructors
CreateAnomalyMonitor' (Maybe [ResourceTag]) AnomalyMonitor |
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:resourceTags:CreateAnomalyMonitor'
, createAnomalyMonitor_resourceTags
- An optional list of tags to associate with the specified
AnomalyMonitor
. You can use resource tags to control access to your monitor
using
IAM policies.
Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:
- Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
- The maximum length of a key is 128 characters
- The maximum length of a value is 256 characters
- Keys and values can only contain alphanumeric characters, spaces,
and any of the following:
_.:/=+@-
- Keys and values are case sensitive
- Keys and values are trimmed for any leading or trailing whitespaces
- Don’t use
aws:
as a prefix for your keys. This prefix is reserved for Amazon Web Services use
$sel:anomalyMonitor:CreateAnomalyMonitor'
, createAnomalyMonitor_anomalyMonitor
- The cost anomaly detection monitor object that you want to create.
data CreateAnomalyMonitorResponse Source #
See: newCreateAnomalyMonitorResponse
smart constructor.
Constructors
CreateAnomalyMonitorResponse' Int Text |
Instances
newCreateAnomalyMonitorResponse Source #
Arguments
:: 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.
CreateAnomalyMonitorResponse
, createAnomalyMonitorResponse_monitorArn
- The unique identifier of your newly created cost anomaly detection
monitor.
CreateAnomalySubscription
data CreateAnomalySubscription Source #
See: newCreateAnomalySubscription
smart constructor.
Constructors
CreateAnomalySubscription' (Maybe [ResourceTag]) AnomalySubscription |
Instances
newCreateAnomalySubscription Source #
Arguments
:: AnomalySubscription | |
-> CreateAnomalySubscription |
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:resourceTags:CreateAnomalySubscription'
, createAnomalySubscription_resourceTags
- An optional list of tags to associate with the specified
AnomalySubscription
. You can use resource tags to control access to your subscription
using IAM policies.
Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:
- Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
- The maximum length of a key is 128 characters
- The maximum length of a value is 256 characters
- Keys and values can only contain alphanumeric characters, spaces,
and any of the following:
_.:/=+@-
- Keys and values are case sensitive
- Keys and values are trimmed for any leading or trailing whitespaces
- Don’t use
aws:
as a prefix for your keys. This prefix is reserved for Amazon Web Services use
$sel:anomalySubscription:CreateAnomalySubscription'
, createAnomalySubscription_anomalySubscription
- The cost anomaly subscription object that you want to create.
data CreateAnomalySubscriptionResponse Source #
See: newCreateAnomalySubscriptionResponse
smart constructor.
Constructors
CreateAnomalySubscriptionResponse' Int Text |
Instances
newCreateAnomalySubscriptionResponse Source #
Arguments
:: Int | |
-> Text | |
-> CreateAnomalySubscriptionResponse |
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.
CreateAnomalySubscriptionResponse
, createAnomalySubscriptionResponse_subscriptionArn
- The unique identifier of your newly created cost anomaly subscription.
CreateCostCategoryDefinition
data CreateCostCategoryDefinition Source #
See: newCreateCostCategoryDefinition
smart constructor.
Constructors
CreateCostCategoryDefinition' (Maybe Text) (Maybe Text) (Maybe [ResourceTag]) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
newCreateCostCategoryDefinition Source #
Arguments
:: Text | |
-> CostCategoryRuleVersion | |
-> NonEmpty CostCategoryRule | |
-> CreateCostCategoryDefinition |
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:
CreateCostCategoryDefinition
, createCostCategoryDefinition_defaultValue
- Undocumented member.
CreateCostCategoryDefinition
, createCostCategoryDefinition_effectiveStart
- The Cost Category's effective start date. It can only be a billing
start date (first day of the month). If the date isn't provided, it's
the first day of the current month. Dates can't be before the previous
twelve months, or in the future.
$sel:resourceTags:CreateCostCategoryDefinition'
, createCostCategoryDefinition_resourceTags
- An optional list of tags to associate with the specified
CostCategory
. You can use resource tags to control access to your cost category
using IAM policies.
Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:
- Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
- The maximum length of a key is 128 characters
- The maximum length of a value is 256 characters
- Keys and values can only contain alphanumeric characters, spaces,
and any of the following:
_.:/=+@-
- Keys and values are case sensitive
- Keys and values are trimmed for any leading or trailing whitespaces
- Don’t use
aws:
as a prefix for your keys. This prefix is reserved for Amazon Web Services use
CreateCostCategoryDefinition
, createCostCategoryDefinition_splitChargeRules
- The split charge rules used to allocate your charges between your Cost
Category values.
CreateCostCategoryDefinition
, createCostCategoryDefinition_name
- Undocumented member.
CreateCostCategoryDefinition
, createCostCategoryDefinition_ruleVersion
- Undocumented member.
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 #
Arguments
:: Int | |
-> CreateCostCategoryDefinitionResponse |
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:
CreateCostCategoryDefinitionResponse
, createCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your newly created Cost Category.
CreateCostCategoryDefinition
, createCostCategoryDefinitionResponse_effectiveStart
- The Cost Category's effective start date. It can only be a billing
start date (first day of the month).
$sel:httpStatus:CreateCostCategoryDefinitionResponse'
, createCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
DeleteAnomalyMonitor
data DeleteAnomalyMonitor Source #
See: newDeleteAnomalyMonitor
smart constructor.
Constructors
DeleteAnomalyMonitor' Text |
Instances
newDeleteAnomalyMonitor Source #
Arguments
:: Text | |
-> DeleteAnomalyMonitor |
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:
DeleteAnomalyMonitor
, deleteAnomalyMonitor_monitorArn
- The unique identifier of the cost anomaly monitor that you want to
delete.
data DeleteAnomalyMonitorResponse Source #
See: newDeleteAnomalyMonitorResponse
smart constructor.
Constructors
DeleteAnomalyMonitorResponse' Int |
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.
DeleteAnomalySubscription
data DeleteAnomalySubscription Source #
See: newDeleteAnomalySubscription
smart constructor.
Constructors
DeleteAnomalySubscription' Text |
Instances
newDeleteAnomalySubscription Source #
Arguments
:: Text | |
-> DeleteAnomalySubscription |
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:
DeleteAnomalySubscription
, deleteAnomalySubscription_subscriptionArn
- The unique identifier of the cost anomaly subscription that you want to
delete.
data DeleteAnomalySubscriptionResponse Source #
See: newDeleteAnomalySubscriptionResponse
smart constructor.
Constructors
DeleteAnomalySubscriptionResponse' Int |
Instances
newDeleteAnomalySubscriptionResponse Source #
Arguments
:: Int | |
-> DeleteAnomalySubscriptionResponse |
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.
DeleteCostCategoryDefinition
data DeleteCostCategoryDefinition Source #
See: newDeleteCostCategoryDefinition
smart constructor.
Constructors
DeleteCostCategoryDefinition' Text |
Instances
newDeleteCostCategoryDefinition Source #
Arguments
:: Text | |
-> DeleteCostCategoryDefinition |
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:
DeleteCostCategoryDefinition
, deleteCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
data DeleteCostCategoryDefinitionResponse Source #
See: newDeleteCostCategoryDefinitionResponse
smart constructor.
Instances
newDeleteCostCategoryDefinitionResponse Source #
Arguments
:: Int | |
-> DeleteCostCategoryDefinitionResponse |
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:
DeleteCostCategoryDefinition
, deleteCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your Cost Category.
DeleteCostCategoryDefinitionResponse
, deleteCostCategoryDefinitionResponse_effectiveEnd
- The effective end date of the Cost Category as a result of deleting it.
No costs after this date is categorized by the deleted Cost Category.
$sel:httpStatus:DeleteCostCategoryDefinitionResponse'
, deleteCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
DescribeCostCategoryDefinition
data DescribeCostCategoryDefinition Source #
See: newDescribeCostCategoryDefinition
smart constructor.
Constructors
DescribeCostCategoryDefinition' (Maybe Text) Text |
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.
DescribeCostCategoryDefinition
, describeCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
data DescribeCostCategoryDefinitionResponse Source #
See: newDescribeCostCategoryDefinitionResponse
smart constructor.
Constructors
DescribeCostCategoryDefinitionResponse' (Maybe CostCategory) Int |
Instances
newDescribeCostCategoryDefinitionResponse Source #
Arguments
:: Int | |
-> DescribeCostCategoryDefinitionResponse |
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.
GetAnomalies
data GetAnomalies Source #
See: newGetAnomalies
smart constructor.
Constructors
GetAnomalies' (Maybe AnomalyFeedbackType) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe TotalImpactFilter) 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:
GetAnomalies
, getAnomalies_feedback
- Filters anomaly results by the feedback field on the anomaly object.
$sel:maxResults:GetAnomalies'
, getAnomalies_maxResults
- The number of entries a paginated response contains.
GetAnomalies
, getAnomalies_monitorArn
- Retrieves all of the cost anomalies detected for a specific cost anomaly
monitor Amazon Resource Name (ARN).
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.
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: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.
Constructors
GetAnomaliesResponse' (Maybe Text) Int [Anomaly] |
Instances
newGetAnomaliesResponse Source #
Arguments
:: Int | |
-> GetAnomaliesResponse |
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:
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.
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:maxResults:GetAnomalyMonitors'
, getAnomalyMonitors_maxResults
- The number of entries that a paginated response contains.
GetAnomalyMonitors
, getAnomalyMonitors_monitorArnList
- A list of cost anomaly monitor ARNs.
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.
data GetAnomalyMonitorsResponse Source #
See: newGetAnomalyMonitorsResponse
smart constructor.
Constructors
GetAnomalyMonitorsResponse' (Maybe Text) Int [AnomalyMonitor] |
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:
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.
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:maxResults:GetAnomalySubscriptions'
, getAnomalySubscriptions_maxResults
- The number of entries a paginated response contains.
GetAnomalySubscriptions
, getAnomalySubscriptions_monitorArn
- Cost anomaly monitor ARNs.
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:subscriptionArnList:GetAnomalySubscriptions'
, getAnomalySubscriptions_subscriptionArnList
- A list of cost anomaly subscription ARNs.
data GetAnomalySubscriptionsResponse Source #
See: newGetAnomalySubscriptionsResponse
smart constructor.
Constructors
GetAnomalySubscriptionsResponse' (Maybe Text) Int [AnomalySubscription] |
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:
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.
GetCostAndUsage
data GetCostAndUsage Source #
See: newGetCostAndUsage
smart constructor.
Constructors
GetCostAndUsage' (Maybe Expression) (Maybe [GroupDefinition]) (Maybe Text) DateInterval Granularity [Text] |
Instances
Arguments
:: DateInterval | |
-> Granularity | |
-> GetCostAndUsage |
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: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.
Valid values for MatchOptions
for Dimensions
are EQUALS
and
CASE_SENSITIVE
.
Valid values for MatchOptions
for CostCategories
and Tags
are
EQUALS
, ABSENT
, and CASE_SENSITIVE
. Default values are EQUALS
and CASE_SENSITIVE
.
$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
, INVOICING_ENTITY
, LINKED_ACCOUNT
, OPERATION
,
PLATFORM
, PURCHASE_TYPE
, SERVICE
, TENANCY
, RECORD_TYPE
, and
USAGE_TYPE
.
When you group by the TAG
type and include a valid tag key, you get
all tag values, including empty strings.
GetCostAndUsage
, 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.
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
.
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.
Constructors
GetCostAndUsageResponse' (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) (Maybe Text) (Maybe [ResultByTime]) 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: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.
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:resultsByTime:GetCostAndUsageResponse'
, getCostAndUsageResponse_resultsByTime
- The time period that's covered by the results in the response.
$sel:httpStatus:GetCostAndUsageResponse'
, getCostAndUsageResponse_httpStatus
- The response's http status code.
GetCostAndUsageWithResources
data GetCostAndUsageWithResources Source #
See: newGetCostAndUsageWithResources
smart constructor.
Constructors
GetCostAndUsageWithResources' (Maybe [GroupDefinition]) (Maybe [Text]) (Maybe Text) DateInterval Granularity Expression |
Instances
newGetCostAndUsageWithResources Source #
Arguments
:: DateInterval | |
-> Granularity | |
-> Expression | |
-> GetCostAndUsageWithResources |
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
.
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, hour or GB). To get more
meaningful UsageQuantity
metrics, filter by UsageType
or
UsageTypeGroups
.
Metrics
is required for GetCostAndUsageWithResources
requests.
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.
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.
Valid values for MatchOptions
for Dimensions
are EQUALS
and
CASE_SENSITIVE
.
Valid values for MatchOptions
for CostCategories
and Tags
are
EQUALS
, ABSENT
, and CASE_SENSITIVE
. Default values are EQUALS
and CASE_SENSITIVE
.
data GetCostAndUsageWithResourcesResponse Source #
See: newGetCostAndUsageWithResourcesResponse
smart constructor.
Constructors
GetCostAndUsageWithResourcesResponse' (Maybe [DimensionValuesWithAttributes]) (Maybe [GroupDefinition]) (Maybe Text) (Maybe [ResultByTime]) Int |
Instances
newGetCostAndUsageWithResourcesResponse Source #
Arguments
:: Int | |
-> GetCostAndUsageWithResourcesResponse |
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: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.
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:resultsByTime:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_resultsByTime
- The time period that's covered by the results in the response.
$sel:httpStatus:GetCostAndUsageWithResourcesResponse'
, getCostAndUsageWithResourcesResponse_httpStatus
- The response's http status code.
GetCostCategories
data GetCostCategories Source #
See: newGetCostCategories
smart constructor.
Constructors
GetCostCategories' (Maybe Text) (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe [SortDefinition]) DateInterval |
Instances
Arguments
:: DateInterval | |
-> GetCostCategories |
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:costCategoryName:GetCostCategories'
, getCostCategories_costCategoryName
- Undocumented member.
$sel:filter':GetCostCategories'
, getCostCategories_filter
- Undocumented member.
$sel:maxResults:GetCostCategories'
, getCostCategories_maxResults
- This field is only used when the SortBy
value is provided in the
request.
The maximum number of objects that are returned for this request. If
MaxResults
isn't specified with the SortBy
value, the request
returns 1000 results as the default value for this parameter.
For GetCostCategories
, MaxResults has an upper quota of 1000.
GetCostCategories
, getCostCategories_nextPageToken
- If the number of objects that are still available for retrieval exceeds
the quota, Amazon Web Services returns a NextPageToken value in the
response. To retrieve the next batch of objects, provide the
NextPageToken from the previous call in your next request.
$sel:searchString:GetCostCategories'
, getCostCategories_searchString
- The value that you want to search the filter values for.
If you don't specify a CostCategoryName
, SearchString
is used to
filter Cost Category names that match the SearchString
pattern. If you
specify a CostCategoryName
, SearchString
is used to filter Cost
Category values that match the SearchString
pattern.
$sel:sortBy:GetCostCategories'
, getCostCategories_sortBy
- The value that you sort the data by.
The key represents the cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported key values for the SortOrder
value are ASCENDING
and
DESCENDING
.
When you use the SortBy
value, the NextPageToken
and SearchString
key values aren't supported.
GetCostCategories
, getCostCategories_timePeriod
- Undocumented member.
data GetCostCategoriesResponse Source #
See: newGetCostCategoriesResponse
smart constructor.
Instances
newGetCostCategoriesResponse Source #
Arguments
:: 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:costCategoryNames:GetCostCategoriesResponse'
, getCostCategoriesResponse_costCategoryNames
- The names of the Cost Categories.
$sel:costCategoryValues:GetCostCategoriesResponse'
, getCostCategoriesResponse_costCategoryValues
- The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the
CostCategoryValues
fields aren't returned.
GetCostCategories
, getCostCategoriesResponse_nextPageToken
- If the number of objects that are still available for retrieval exceeds
the quota, Amazon Web Services returns a NextPageToken value in the
response. To retrieve the next batch of objects, provide the marker from
the prior call in your next request.
$sel:httpStatus:GetCostCategoriesResponse'
, getCostCategoriesResponse_httpStatus
- The response's http status code.
$sel:returnSize:GetCostCategoriesResponse'
, getCostCategoriesResponse_returnSize
- The number of objects that are returned.
$sel:totalSize:GetCostCategoriesResponse'
, getCostCategoriesResponse_totalSize
- The total number of objects.
GetCostForecast
data GetCostForecast Source #
See: newGetCostForecast
smart constructor.
Constructors
GetCostForecast' (Maybe Expression) (Maybe Natural) DateInterval Metric Granularity |
Instances
Arguments
:: 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: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: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.
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.
Constructors
GetCostForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int |
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.
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.
Constructors
GetDimensionValues' (Maybe Context) (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe [SortDefinition]) DateInterval Dimension |
Instances
newGetDimensionValues Source #
Arguments
:: DateInterval | |
-> Dimension | |
-> GetDimensionValues |
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: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
. BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:
- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.
- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Services in India.
- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
- CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
- DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service
deployments. Valid values are
SingleAZ
andMultiAZ
. - DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
- INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
m4.xlarge
. - INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit
different use cases. Examples are
Compute Optimized
(for example,C4
,C5
,C6g
, andC7g
),Memory Optimization
(for example,R4
,R5n
,R5b
, andR6g
). - INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.
- LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
- LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
- OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
- OPERATION - The action performed. Examples include
RunInstance
andCreateBucket
. - PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
- PURCHASE_TYPE - The reservation type of the purchase that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.
- RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.
- SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
- SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
- SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
- TENANCY - The tenancy of a resource. Examples are shared or dedicated.
- USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes.
The response for the
GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs. - USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
- REGION - The Amazon Web Services Region.
- RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits.
- RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
If you set the context to RESERVATIONS
, you can use the following
dimensions for searching:
- AZ - The Availability Zone. An example is
us-east-1a
. - CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
- DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service
deployments. Valid values are
SingleAZ
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 - The payment option for the given Savings Plans (for example, All Upfront)
- REGION - The Amazon Web Services Region.
- INSTANCE_TYPE_FAMILY - The family of instances (For example,
m5
) - LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
- SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
$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 are returned for this request. If
MaxResults isn't specified with SortBy, the request returns 1000
results as the default value for this parameter.
For GetDimensionValues
, MaxResults has an upper limit of 1000.
GetDimensionValues
, 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:searchString:GetDimensionValues'
, getDimensionValues_searchString
- The value that you want to search the filter values for.
$sel:sortBy:GetDimensionValues'
, getDimensionValues_sortBy
- The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for the SortOrder
key are ASCENDING
or
DESCENDING
.
When you specify a SortBy
paramater, the context must be
COST_AND_USAGE
. Further, when using SortBy
, NextPageToken
and
SearchString
aren't supported.
GetDimensionValues
, 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
. LINK_ACCOUNT_NAME
and
SERVICE_CODE
can only be used in
CostCategoryRule.
data GetDimensionValuesResponse Source #
See: newGetDimensionValuesResponse
smart constructor.
Constructors
GetDimensionValuesResponse' (Maybe Text) Int [DimensionValuesWithAttributes] Int Int |
Instances
newGetDimensionValuesResponse Source #
Arguments
:: 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:
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. You can opt-in by enabling
Hourly
andResource Level Data
in Cost Management Console preferences.
If you set the context to RESERVATIONS
, you can use the following
dimensions for searching:
- AZ - The Availability Zone. An example is
us-east-1a
. - CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
- DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service
deployments. Valid values are
SingleAZ
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.
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.
Constructors
GetReservationCoverage' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe [Text]) (Maybe Text) (Maybe SortDefinition) DateInterval |
Instances
newGetReservationCoverage Source #
Arguments
:: DateInterval | |
-> GetReservationCoverage |
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: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: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:groupBy:GetReservationCoverage'
, getReservationCoverage_groupBy
- You can group the data by the following attributes:
- AZ
- CACHE_ENGINE
- DATABASE_ENGINE
- DEPLOYMENT_OPTION
- INSTANCE_TYPE
- INVOICING_ENTITY
- LINKED_ACCOUNT
- OPERATING_SYSTEM
- PLATFORM
- REGION
- TENANCY
$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.
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.
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: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
.
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.
Constructors
GetReservationCoverageResponse' (Maybe Text) (Maybe Coverage) Int [CoverageByTime] |
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:
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.
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.
GetReservationPurchaseRecommendation
data GetReservationPurchaseRecommendation Source #
See: newGetReservationPurchaseRecommendation
smart constructor.
Constructors
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:
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_accountId
- The account ID that's associated with the recommendation.
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:filter':GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_filter
- Undocumented member.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_lookbackPeriodInDays
- The number of previous days that you want Amazon Web Services to
consider when it calculates your recommendations.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_nextPageToken
- The pagination token that indicates the next set of results that you
want to retrieve.
$sel:pageSize:GetReservationPurchaseRecommendation'
, getReservationPurchaseRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_paymentOption
- The reservation purchase option that you want recommendations for.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_serviceSpecification
- The hardware specifications for the service instances that you want
recommendations for, such as standard or convertible Amazon EC2
instances.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_termInYears
- The reservation term that you want recommendations for.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendation_service
- The specific service that you want recommendations for.
data GetReservationPurchaseRecommendationResponse Source #
See: newGetReservationPurchaseRecommendationResponse
smart constructor.
Constructors
GetReservationPurchaseRecommendationResponse' (Maybe ReservationPurchaseRecommendationMetadata) (Maybe Text) (Maybe [ReservationPurchaseRecommendation]) Int |
Instances
newGetReservationPurchaseRecommendationResponse Source #
Arguments
:: 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:metadata:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_metadata
- Information about this specific recommendation call, such as the time
stamp for when Cost Explorer generated this recommendation.
GetReservationPurchaseRecommendation
, getReservationPurchaseRecommendationResponse_nextPageToken
- The pagination token for the next set of retrievable results.
$sel:recommendations:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_recommendations
- Recommendations for reservations to purchase.
$sel:httpStatus:GetReservationPurchaseRecommendationResponse'
, getReservationPurchaseRecommendationResponse_httpStatus
- The response's http status code.
GetReservationUtilization
data GetReservationUtilization Source #
See: newGetReservationUtilization
smart constructor.
Constructors
GetReservationUtilization' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe Text) (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: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: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:groupBy:GetReservationUtilization'
, getReservationUtilization_groupBy
- Groups only by SUBSCRIPTION_ID
. Metadata is included.
$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.
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:sortBy:GetReservationUtilization'
, getReservationUtilization_sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
UtilizationPercentageInUnits
PurchasedHours
PurchasedUnits
TotalActualHours
TotalActualUnits
UnusedHours
UnusedUnits
OnDemandCostOfRIHoursUsed
NetRISavings
TotalPotentialRISavings
AmortizedUpfrontFee
AmortizedRecurringFee
TotalAmortizedFee
RICostForUnusedHours
RealizedSavings
UnrealizedSavings
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
GetReservationUtilization
, getReservationUtilization_timePeriod
- Sets the start and end dates for retrieving Reserved Instance (RI)
utilization. The start date is inclusive, but the end date is exclusive.
For example, if start
is 2017-01-01
and end
is 2017-05-01
, then
the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
data GetReservationUtilizationResponse Source #
See: newGetReservationUtilizationResponse
smart constructor.
Constructors
GetReservationUtilizationResponse' (Maybe Text) (Maybe ReservationAggregates) Int [UtilizationByTime] |
Instances
newGetReservationUtilizationResponse Source #
Arguments
:: Int | |
-> GetReservationUtilizationResponse |
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:
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.
GetReservationUtilizationResponse
, getReservationUtilizationResponse_total
- The total amount of time that you used your Reserved Instances (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 Reserved Instances (RIs).
GetRightsizingRecommendation
data GetRightsizingRecommendation Source #
See: newGetRightsizingRecommendation
smart constructor.
Constructors
GetRightsizingRecommendation' (Maybe RightsizingRecommendationConfiguration) (Maybe Expression) (Maybe Text) (Maybe Natural) Text |
Instances
newGetRightsizingRecommendation Source #
Arguments
:: Text | |
-> GetRightsizingRecommendation |
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:
GetRightsizingRecommendation
, getRightsizingRecommendation_configuration
- You can use Configuration to customize recommendations across two
attributes. You can choose to view recommendations for instances within
the same instance families or across different instance families. You
can also choose to view your estimated savings that are associated with
recommendations with consideration of existing Savings Plans or RI
benefits, or neither.
$sel:filter':GetRightsizingRecommendation'
, getRightsizingRecommendation_filter
- Undocumented member.
GetRightsizingRecommendation
, getRightsizingRecommendation_nextPageToken
- The pagination token that indicates the next set of results that you
want to retrieve.
$sel:pageSize:GetRightsizingRecommendation'
, getRightsizingRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
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.
Constructors
Instances
newGetRightsizingRecommendationResponse Source #
Arguments
:: Int | |
-> GetRightsizingRecommendationResponse |
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:
GetRightsizingRecommendation
, getRightsizingRecommendationResponse_configuration
- You can use Configuration to customize recommendations across two
attributes. You can choose to view recommendations for instances within
the same instance families or across different instance families. You
can also choose to view your estimated savings that are associated with
recommendations with consideration of existing Savings Plans or RI
benefits, or neither.
$sel:metadata:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_metadata
- Information regarding this specific recommendation set.
GetRightsizingRecommendation
, getRightsizingRecommendationResponse_nextPageToken
- The token to retrieve the next set of results.
$sel:rightsizingRecommendations:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_rightsizingRecommendations
- Recommendations to rightsize resources.
$sel:summary:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_summary
- Summary of this recommendation set.
$sel:httpStatus:GetRightsizingRecommendationResponse'
, getRightsizingRecommendationResponse_httpStatus
- The response's http status code.
GetSavingsPlansCoverage
data GetSavingsPlansCoverage Source #
See: newGetSavingsPlansCoverage
smart constructor.
Constructors
GetSavingsPlansCoverage' (Maybe Expression) (Maybe Granularity) (Maybe [GroupDefinition]) (Maybe Natural) (Maybe [Text]) (Maybe Text) (Maybe SortDefinition) DateInterval |
Instances
newGetSavingsPlansCoverage Source #
Arguments
:: DateInterval | |
-> GetSavingsPlansCoverage |
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: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: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:groupBy:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_groupBy
- You can group the data using the attributes INSTANCE_FAMILY
, REGION
,
or SERVICE
.
$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
.
GetSavingsPlansCoverage
, getSavingsPlansCoverage_metrics
- The measurement that you want your Savings Plans coverage reported in.
The only valid value is SpendCoveredBySavingsPlans
.
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:sortBy:GetSavingsPlansCoverage'
, getSavingsPlansCoverage_sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
SpendCoveredBySavingsPlan
OnDemandCost
CoveragePercentage
TotalCost
InstanceFamily
Region
Service
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
GetSavingsPlansCoverage
, 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.
Constructors
GetSavingsPlansCoverageResponse' (Maybe Text) Int [SavingsPlansCoverage] |
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:
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.
GetSavingsPlansPurchaseRecommendation
data GetSavingsPlansPurchaseRecommendation Source #
See: newGetSavingsPlansPurchaseRecommendation
smart constructor.
Constructors
GetSavingsPlansPurchaseRecommendation' (Maybe AccountScope) (Maybe Expression) (Maybe Text) (Maybe Natural) SupportedSavingsPlansType TermInYears PaymentOption LookbackPeriodInDays |
Instances
newGetSavingsPlansPurchaseRecommendation Source #
Arguments
:: SupportedSavingsPlansType | |
-> TermInYears | |
-> PaymentOption | |
-> LookbackPeriodInDays | |
-> GetSavingsPlansPurchaseRecommendation |
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:
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) that you want to see Savings Plans purchase recommendations
for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can be a single
Account ID or multiple comma-separated Account IDs that you want to see
Savings Plans Purchase Recommendations for. AND
and OR
operators are
not supported.
GetSavingsPlansPurchaseRecommendation
, 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:pageSize:GetSavingsPlansPurchaseRecommendation'
, getSavingsPlansPurchaseRecommendation_pageSize
- The number of recommendations that you want returned in a single
response object.
GetSavingsPlansPurchaseRecommendation
, getSavingsPlansPurchaseRecommendation_savingsPlansType
- The Savings Plans recommendation type that's requested.
GetSavingsPlansPurchaseRecommendation
, getSavingsPlansPurchaseRecommendation_termInYears
- The savings plan recommendation term that's used to generate these
recommendations.
GetSavingsPlansPurchaseRecommendation
, getSavingsPlansPurchaseRecommendation_paymentOption
- The payment option that's used to generate these recommendations.
GetSavingsPlansPurchaseRecommendation
, getSavingsPlansPurchaseRecommendation_lookbackPeriodInDays
- The lookback period that's used to generate the recommendation.
data GetSavingsPlansPurchaseRecommendationResponse Source #
See: newGetSavingsPlansPurchaseRecommendationResponse
smart constructor.
Constructors
GetSavingsPlansPurchaseRecommendationResponse' (Maybe SavingsPlansPurchaseRecommendationMetadata) (Maybe Text) (Maybe SavingsPlansPurchaseRecommendation) Int |
Instances
newGetSavingsPlansPurchaseRecommendationResponse Source #
Arguments
:: 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:metadata:GetSavingsPlansPurchaseRecommendationResponse'
, getSavingsPlansPurchaseRecommendationResponse_metadata
- Information that regards this specific recommendation set.
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:httpStatus:GetSavingsPlansPurchaseRecommendationResponse'
, getSavingsPlansPurchaseRecommendationResponse_httpStatus
- The response's http status code.
GetSavingsPlansUtilization
data GetSavingsPlansUtilization Source #
See: newGetSavingsPlansUtilization
smart constructor.
Constructors
GetSavingsPlansUtilization' (Maybe Expression) (Maybe Granularity) (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: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: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:sortBy:GetSavingsPlansUtilization'
, getSavingsPlansUtilization_sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
GetSavingsPlansUtilization
, 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.
Constructors
GetSavingsPlansUtilizationResponse' (Maybe [SavingsPlansUtilizationByTime]) Int SavingsPlansUtilizationAggregates |
Instances
newGetSavingsPlansUtilizationResponse Source #
Arguments
:: Int | |
-> SavingsPlansUtilizationAggregates | |
-> GetSavingsPlansUtilizationResponse |
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 that you used your Savings Plans. You can
use it to specify date ranges.
$sel:httpStatus:GetSavingsPlansUtilizationResponse'
, getSavingsPlansUtilizationResponse_httpStatus
- The response's http status code.
GetSavingsPlansUtilizationResponse
, getSavingsPlansUtilizationResponse_total
- The total amount of cost/commitment that you used your Savings Plans,
regardless of date ranges.
GetSavingsPlansUtilizationDetails
data GetSavingsPlansUtilizationDetails Source #
See: newGetSavingsPlansUtilizationDetails
smart constructor.
Constructors
GetSavingsPlansUtilizationDetails' (Maybe [SavingsPlansDataType]) (Maybe Expression) (Maybe Natural) (Maybe Text) (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: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
.
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:sortBy:GetSavingsPlansUtilizationDetails'
, getSavingsPlansUtilizationDetails_sortBy
- The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
GetSavingsPlansUtilizationDetails
, 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.
Constructors
GetSavingsPlansUtilizationDetailsResponse' (Maybe Text) (Maybe SavingsPlansUtilizationAggregates) Int [SavingsPlansUtilizationDetail] DateInterval |
Instances
newGetSavingsPlansUtilizationDetailsResponse Source #
Arguments
:: Int | |
-> DateInterval | |
-> GetSavingsPlansUtilizationDetailsResponse |
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:
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.
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.
GetSavingsPlansUtilizationDetails
, getSavingsPlansUtilizationDetailsResponse_timePeriod
- Undocumented member.
GetTags
See: newGetTags
smart constructor.
Constructors
GetTags' (Maybe Expression) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe [SortDefinition]) (Maybe Text) DateInterval |
Instances
Arguments
:: DateInterval | |
-> GetTags |
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: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 are returned for this request. If
MaxResults isn't specified with SortBy, the request returns 1000
results as the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
GetTags
, 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:sortBy:GetTags'
, getTags_sortBy
- The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't
supported.
GetTags
, getTags_tagKey
- The key of the tag that you want to return values for.
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
Arguments
:: 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:
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.
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.
GetUsageForecast
data GetUsageForecast Source #
See: newGetUsageForecast
smart constructor.
Constructors
GetUsageForecast' (Maybe Expression) (Maybe Natural) DateInterval Metric Granularity |
Instances
Arguments
:: 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: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:predictionIntervalLevel:GetUsageForecast'
, getUsageForecast_predictionIntervalLevel
- Amazon Web Services Cost Explorer always returns the mean forecast as a
single point. You can request a prediction interval around the mean by
specifying a confidence level. The higher the confidence level, the more
confident Cost Explorer is about the actual value falling in the
prediction interval. Higher confidence levels result in wider prediction
intervals.
GetUsageForecast
, getUsageForecast_timePeriod
- The start and end dates of the period that you want to retrieve usage
forecast for. The start date is included in the period, but the end date
isn't included in the period. For example, if start
is 2017-01-01
and end
is 2017-05-01
, then the cost and usage data is retrieved
from 2017-01-01
up to and including 2017-04-30
but not including
2017-05-01
. The start date must be equal to or later than the current
date to avoid a validation error.
$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.
Constructors
GetUsageForecastResponse' (Maybe [ForecastResult]) (Maybe MetricValue) Int |
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.
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.
ListCostAllocationTags
data ListCostAllocationTags Source #
See: newListCostAllocationTags
smart constructor.
Constructors
ListCostAllocationTags' (Maybe Natural) (Maybe Text) (Maybe CostAllocationTagStatus) (Maybe (NonEmpty Text)) (Maybe CostAllocationTagType) |
Instances
newListCostAllocationTags :: ListCostAllocationTags Source #
Create a value of ListCostAllocationTags
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:maxResults:ListCostAllocationTags'
, listCostAllocationTags_maxResults
- The maximum number of objects that are returned for this request. By
default, the request returns 100 results.
ListCostAllocationTags
, listCostAllocationTags_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.
ListCostAllocationTags
, listCostAllocationTags_status
- The status of cost allocation tag keys that are returned for this
request.
$sel:tagKeys:ListCostAllocationTags'
, listCostAllocationTags_tagKeys
- The list of cost allocation tag keys that are returned for this request.
ListCostAllocationTags
, listCostAllocationTags_type
- The type of CostAllocationTag
object that are returned for this
request. The AWSGenerated
type tags are tags that Amazon Web Services
defines and applies to support Amazon Web Services resources for cost
allocation purposes. The UserDefined
type tags are tags that you
define, create, and apply to resources.
data ListCostAllocationTagsResponse Source #
See: newListCostAllocationTagsResponse
smart constructor.
Constructors
ListCostAllocationTagsResponse' (Maybe [CostAllocationTag]) (Maybe Text) Int |
Instances
newListCostAllocationTagsResponse Source #
Create a value of ListCostAllocationTagsResponse
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:costAllocationTags:ListCostAllocationTagsResponse'
, listCostAllocationTagsResponse_costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for
each one.
ListCostAllocationTags
, listCostAllocationTagsResponse_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:ListCostAllocationTagsResponse'
, listCostAllocationTagsResponse_httpStatus
- The response's http status code.
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:maxResults:ListCostCategoryDefinitions'
, listCostCategoryDefinitions_maxResults
- The number of entries a paginated response contains.
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.
data ListCostCategoryDefinitionsResponse Source #
See: newListCostCategoryDefinitionsResponse
smart constructor.
Constructors
ListCostCategoryDefinitionsResponse' (Maybe [CostCategoryReference]) (Maybe Text) Int |
Instances
newListCostCategoryDefinitionsResponse Source #
Arguments
:: Int | |
-> ListCostCategoryDefinitionsResponse |
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 that contains enough information to
identify the Cost Category.
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.
ListSavingsPlansPurchaseRecommendationGeneration
data ListSavingsPlansPurchaseRecommendationGeneration Source #
See: newListSavingsPlansPurchaseRecommendationGeneration
smart constructor.
Constructors
ListSavingsPlansPurchaseRecommendationGeneration' (Maybe GenerationStatus) (Maybe Text) (Maybe Natural) (Maybe [Text]) |
Instances
newListSavingsPlansPurchaseRecommendationGeneration :: ListSavingsPlansPurchaseRecommendationGeneration Source #
Create a value of ListSavingsPlansPurchaseRecommendationGeneration
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:
ListSavingsPlansPurchaseRecommendationGeneration
, listSavingsPlansPurchaseRecommendationGeneration_generationStatus
- The status of the recommendation generation.
ListSavingsPlansPurchaseRecommendationGeneration
, listSavingsPlansPurchaseRecommendationGeneration_nextPageToken
- The token to retrieve the next set of results.
$sel:pageSize:ListSavingsPlansPurchaseRecommendationGeneration'
, listSavingsPlansPurchaseRecommendationGeneration_pageSize
- The number of recommendations that you want returned in a single
response object.
$sel:recommendationIds:ListSavingsPlansPurchaseRecommendationGeneration'
, listSavingsPlansPurchaseRecommendationGeneration_recommendationIds
- The IDs for each specific recommendation.
data ListSavingsPlansPurchaseRecommendationGenerationResponse Source #
See: newListSavingsPlansPurchaseRecommendationGenerationResponse
smart constructor.
Constructors
ListSavingsPlansPurchaseRecommendationGenerationResponse' (Maybe [GenerationSummary]) (Maybe Text) Int |
Instances
newListSavingsPlansPurchaseRecommendationGenerationResponse Source #
Arguments
:: Int |
|
-> ListSavingsPlansPurchaseRecommendationGenerationResponse |
Create a value of ListSavingsPlansPurchaseRecommendationGenerationResponse
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:generationSummaryList:ListSavingsPlansPurchaseRecommendationGenerationResponse'
, listSavingsPlansPurchaseRecommendationGenerationResponse_generationSummaryList
- The list of historical recommendation generations.
ListSavingsPlansPurchaseRecommendationGeneration
, listSavingsPlansPurchaseRecommendationGenerationResponse_nextPageToken
- The token to retrieve the next set of results.
$sel:httpStatus:ListSavingsPlansPurchaseRecommendationGenerationResponse'
, listSavingsPlansPurchaseRecommendationGenerationResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Constructors
ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
:: Text | |
-> ListTagsForResource |
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For a list of supported
resources, see
ResourceTag.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Constructors
ListTagsForResourceResponse' (Maybe [ResourceTag]) Int |
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:resourceTags:ListTagsForResourceResponse'
, listTagsForResourceResponse_resourceTags
- A list of tag key value pairs that are associated with the resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
ProvideAnomalyFeedback
data ProvideAnomalyFeedback Source #
See: newProvideAnomalyFeedback
smart constructor.
Constructors
ProvideAnomalyFeedback' Text AnomalyFeedbackType |
Instances
newProvideAnomalyFeedback Source #
Arguments
:: Text | |
-> AnomalyFeedbackType | |
-> ProvideAnomalyFeedback |
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:
ProvideAnomalyFeedback
, provideAnomalyFeedback_anomalyId
- A cost anomaly ID.
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.
Constructors
ProvideAnomalyFeedbackResponse' Int Text |
Instances
newProvideAnomalyFeedbackResponse Source #
Arguments
:: Int | |
-> Text | |
-> ProvideAnomalyFeedbackResponse |
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.
ProvideAnomalyFeedback
, provideAnomalyFeedbackResponse_anomalyId
- The ID of the modified cost anomaly.
StartSavingsPlansPurchaseRecommendationGeneration
data StartSavingsPlansPurchaseRecommendationGeneration Source #
See: newStartSavingsPlansPurchaseRecommendationGeneration
smart constructor.
Instances
newStartSavingsPlansPurchaseRecommendationGeneration :: StartSavingsPlansPurchaseRecommendationGeneration Source #
Create a value of StartSavingsPlansPurchaseRecommendationGeneration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data StartSavingsPlansPurchaseRecommendationGenerationResponse Source #
See: newStartSavingsPlansPurchaseRecommendationGenerationResponse
smart constructor.
Constructors
StartSavingsPlansPurchaseRecommendationGenerationResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newStartSavingsPlansPurchaseRecommendationGenerationResponse Source #
Arguments
:: Int |
|
-> StartSavingsPlansPurchaseRecommendationGenerationResponse |
Create a value of StartSavingsPlansPurchaseRecommendationGenerationResponse
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:
StartSavingsPlansPurchaseRecommendationGenerationResponse
, startSavingsPlansPurchaseRecommendationGenerationResponse_estimatedCompletionTime
- The estimated time for when the recommendation generation will complete.
StartSavingsPlansPurchaseRecommendationGenerationResponse
, startSavingsPlansPurchaseRecommendationGenerationResponse_generationStartedTime
- The start time of the recommendation generation.
StartSavingsPlansPurchaseRecommendationGenerationResponse
, startSavingsPlansPurchaseRecommendationGenerationResponse_recommendationId
- The ID for this specific recommendation.
$sel:httpStatus:StartSavingsPlansPurchaseRecommendationGenerationResponse'
, startSavingsPlansPurchaseRecommendationGenerationResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Constructors
TagResource' Text [ResourceTag] |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For a list of supported
resources, see
ResourceTag.
$sel:resourceTags:TagResource'
, tagResource_resourceTags
- A list of tag key-value pairs to be added to the resource.
Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:
- Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use
- The maximum length of a key is 128 characters
- The maximum length of a value is 256 characters
- Keys and values can only contain alphanumeric characters, spaces,
and any of the following:
_.:/=+@-
- Keys and values are case sensitive
- Keys and values are trimmed for any leading or trailing whitespaces
- Don’t use
aws:
as a prefix for your keys. This prefix is reserved for Amazon Web Services use
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
:: Int | |
-> TagResourceResponse |
Create a value of TagResourceResponse
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:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text [Text] |
Instances
Arguments
:: Text | |
-> UntagResource |
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For a list of supported
resources, see
ResourceTag.
$sel:resourceTagKeys:UntagResource'
, untagResource_resourceTagKeys
- A list of tag keys associated with tags that need to be removed from the
resource. If you specify a tag key that doesn't exist, it's ignored.
Although the maximum number of array members is 200, user-tag maximum is
50. The remaining are reserved for Amazon Web Services use.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
UpdateAnomalyMonitor
data UpdateAnomalyMonitor Source #
See: newUpdateAnomalyMonitor
smart constructor.
Constructors
UpdateAnomalyMonitor' (Maybe Text) Text |
Instances
newUpdateAnomalyMonitor Source #
Arguments
:: Text | |
-> UpdateAnomalyMonitor |
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:
UpdateAnomalyMonitor
, updateAnomalyMonitor_monitorName
- The new name for the cost anomaly monitor.
UpdateAnomalyMonitor
, updateAnomalyMonitor_monitorArn
- Cost anomaly monitor Amazon Resource Names (ARNs).
data UpdateAnomalyMonitorResponse Source #
See: newUpdateAnomalyMonitorResponse
smart constructor.
Constructors
UpdateAnomalyMonitorResponse' Int Text |
Instances
newUpdateAnomalyMonitorResponse Source #
Arguments
:: 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.
UpdateAnomalyMonitor
, updateAnomalyMonitorResponse_monitorArn
- A cost anomaly monitor ARN.
UpdateAnomalySubscription
data UpdateAnomalySubscription Source #
See: newUpdateAnomalySubscription
smart constructor.
Constructors
UpdateAnomalySubscription' (Maybe AnomalySubscriptionFrequency) (Maybe [Text]) (Maybe [Subscriber]) (Maybe Text) (Maybe Double) (Maybe Expression) Text |
Instances
newUpdateAnomalySubscription Source #
Arguments
:: Text | |
-> UpdateAnomalySubscription |
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:
UpdateAnomalySubscription
, updateAnomalySubscription_frequency
- The update to the frequency value that subscribers receive
notifications.
UpdateAnomalySubscription
, updateAnomalySubscription_monitorArnList
- A list of cost anomaly monitor ARNs.
UpdateAnomalySubscription
, updateAnomalySubscription_subscribers
- The update to the subscriber list.
UpdateAnomalySubscription
, updateAnomalySubscription_subscriptionName
- The new name of the subscription.
UpdateAnomalySubscription
, updateAnomalySubscription_threshold
- (deprecated)
The update to the threshold value for receiving notifications.
This field has been deprecated. To update a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.
UpdateAnomalySubscription
, updateAnomalySubscription_thresholdExpression
- The update to the
Expression
object used to specify the anomalies that you want to generate alerts
for. This supports dimensions and nested expressions. The supported
dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE
and
ANOMALY_TOTAL_IMPACT_PERCENTAGE
. The supported nested expression types
are AND
and OR
. The match option GREATER_THAN_OR_EQUAL
is
required. Values must be numbers between 0 and 10,000,000,000.
The following are examples of valid ThresholdExpressions:
- Absolute threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
- Percentage threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
AND
two thresholds together:{ "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
OR
two thresholds together:{ "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
UpdateAnomalySubscription
, updateAnomalySubscription_subscriptionArn
- A cost anomaly subscription Amazon Resource Name (ARN).
data UpdateAnomalySubscriptionResponse Source #
See: newUpdateAnomalySubscriptionResponse
smart constructor.
Constructors
UpdateAnomalySubscriptionResponse' Int Text |
Instances
newUpdateAnomalySubscriptionResponse Source #
Arguments
:: Int | |
-> Text | |
-> UpdateAnomalySubscriptionResponse |
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.
UpdateAnomalySubscription
, updateAnomalySubscriptionResponse_subscriptionArn
- A cost anomaly subscription ARN.
UpdateCostAllocationTagsStatus
data UpdateCostAllocationTagsStatus Source #
See: newUpdateCostAllocationTagsStatus
smart constructor.
Instances
newUpdateCostAllocationTagsStatus Source #
Arguments
:: NonEmpty CostAllocationTagStatusEntry |
|
-> UpdateCostAllocationTagsStatus |
Create a value of UpdateCostAllocationTagsStatus
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:costAllocationTagsStatus:UpdateCostAllocationTagsStatus'
, updateCostAllocationTagsStatus_costAllocationTagsStatus
- The list of CostAllocationTagStatusEntry
objects that are used to
update cost allocation tags status for this request.
data UpdateCostAllocationTagsStatusResponse Source #
See: newUpdateCostAllocationTagsStatusResponse
smart constructor.
Constructors
UpdateCostAllocationTagsStatusResponse' (Maybe [UpdateCostAllocationTagsStatusError]) Int |
Instances
newUpdateCostAllocationTagsStatusResponse Source #
Arguments
:: Int | |
-> UpdateCostAllocationTagsStatusResponse |
Create a value of UpdateCostAllocationTagsStatusResponse
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:errors:UpdateCostAllocationTagsStatusResponse'
, updateCostAllocationTagsStatusResponse_errors
- A list of UpdateCostAllocationTagsStatusError
objects with error
details about each cost allocation tag that can't be updated. If
there's no failure, an empty array returns.
$sel:httpStatus:UpdateCostAllocationTagsStatusResponse'
, updateCostAllocationTagsStatusResponse_httpStatus
- The response's http status code.
UpdateCostCategoryDefinition
data UpdateCostCategoryDefinition Source #
See: newUpdateCostCategoryDefinition
smart constructor.
Constructors
UpdateCostCategoryDefinition' (Maybe Text) (Maybe Text) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
newUpdateCostCategoryDefinition Source #
Arguments
:: Text | |
-> CostCategoryRuleVersion | |
-> NonEmpty CostCategoryRule | |
-> UpdateCostCategoryDefinition |
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:
UpdateCostCategoryDefinition
, updateCostCategoryDefinition_defaultValue
- Undocumented member.
UpdateCostCategoryDefinition
, updateCostCategoryDefinition_effectiveStart
- The Cost Category's effective start date. It can only be a billing
start date (first day of the month). If the date isn't provided, it's
the first day of the current month. Dates can't be before the previous
twelve months, or in the future.
UpdateCostCategoryDefinition
, updateCostCategoryDefinition_splitChargeRules
- The split charge rules used to allocate your charges between your Cost
Category values.
UpdateCostCategoryDefinition
, updateCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
UpdateCostCategoryDefinition
, updateCostCategoryDefinition_ruleVersion
- Undocumented member.
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 #
Arguments
:: Int | |
-> UpdateCostCategoryDefinitionResponse |
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:
UpdateCostCategoryDefinition
, updateCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your Cost Category.
UpdateCostCategoryDefinition
, updateCostCategoryDefinitionResponse_effectiveStart
- The Cost Category's effective start date. It can only be a billing
start date (first day of the month).
$sel:httpStatus:UpdateCostCategoryDefinitionResponse'
, updateCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
Types
AccountScope
newtype AccountScope Source #
Constructors
AccountScope' | |
Fields |
Bundled Patterns
pattern AccountScope_LINKED :: AccountScope | |
pattern AccountScope_PAYER :: AccountScope |
Instances
AnomalyFeedbackType
newtype AnomalyFeedbackType Source #
Constructors
AnomalyFeedbackType' | |
Fields |
Bundled Patterns
pattern AnomalyFeedbackType_NO :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_PLANNED_ACTIVITY :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_YES :: AnomalyFeedbackType |
Instances
AnomalySubscriptionFrequency
newtype AnomalySubscriptionFrequency Source #
Constructors
AnomalySubscriptionFrequency' | |
Fields |
Bundled Patterns
Instances
Context
Constructors
Context' | |
Fields
|
Bundled Patterns
pattern Context_COST_AND_USAGE :: Context | |
pattern Context_RESERVATIONS :: Context | |
pattern Context_SAVINGS_PLANS :: Context |
Instances
CostAllocationTagStatus
newtype CostAllocationTagStatus Source #
Constructors
CostAllocationTagStatus' | |
Fields |
Bundled Patterns
pattern CostAllocationTagStatus_Active :: CostAllocationTagStatus | |
pattern CostAllocationTagStatus_Inactive :: CostAllocationTagStatus |
Instances
CostAllocationTagType
newtype CostAllocationTagType Source #
Constructors
CostAllocationTagType' | |
Fields |
Bundled Patterns
pattern CostAllocationTagType_AWSGenerated :: CostAllocationTagType | |
pattern CostAllocationTagType_UserDefined :: CostAllocationTagType |
Instances
CostCategoryInheritedValueDimensionName
newtype CostCategoryInheritedValueDimensionName Source #
Constructors
CostCategoryInheritedValueDimensionName' | |
Bundled Patterns
Instances
CostCategoryRuleType
newtype CostCategoryRuleType Source #
Constructors
CostCategoryRuleType' | |
Fields |
Bundled Patterns
pattern CostCategoryRuleType_INHERITED_VALUE :: CostCategoryRuleType | |
pattern CostCategoryRuleType_REGULAR :: CostCategoryRuleType |
Instances
CostCategoryRuleVersion
newtype CostCategoryRuleVersion Source #
The rule schema version in this particular Cost Category.
Constructors
CostCategoryRuleVersion' | |
Fields |
Bundled Patterns
pattern CostCategoryRuleVersion_CostCategoryExpression_v1 :: CostCategoryRuleVersion |
Instances
CostCategorySplitChargeMethod
newtype CostCategorySplitChargeMethod Source #
Constructors
CostCategorySplitChargeMethod' | |
Fields |
Bundled Patterns
Instances
CostCategorySplitChargeRuleParameterType
newtype CostCategorySplitChargeRuleParameterType Source #
Constructors
CostCategorySplitChargeRuleParameterType' | |
Bundled Patterns
pattern CostCategorySplitChargeRuleParameterType_ALLOCATION_PERCENTAGES :: CostCategorySplitChargeRuleParameterType |
Instances
CostCategoryStatus
newtype CostCategoryStatus Source #
Constructors
CostCategoryStatus' | |
Fields |
Bundled Patterns
pattern CostCategoryStatus_APPLIED :: CostCategoryStatus | |
pattern CostCategoryStatus_PROCESSING :: CostCategoryStatus |
Instances
CostCategoryStatusComponent
newtype CostCategoryStatusComponent Source #
Constructors
CostCategoryStatusComponent' | |
Fields |
Bundled Patterns
pattern CostCategoryStatusComponent_COST_EXPLORER :: CostCategoryStatusComponent |
Instances
Dimension
Constructors
Dimension' | |
Fields |
Bundled Patterns
Instances
FindingReasonCode
newtype FindingReasonCode Source #
Constructors
FindingReasonCode' | |
Fields |
Bundled Patterns
Instances
GenerationStatus
newtype GenerationStatus Source #
Constructors
GenerationStatus' | |
Fields |
Bundled Patterns
pattern GenerationStatus_FAILED :: GenerationStatus | |
pattern GenerationStatus_PROCESSING :: GenerationStatus | |
pattern GenerationStatus_SUCCEEDED :: GenerationStatus |
Instances
Granularity
newtype Granularity Source #
Constructors
Granularity' | |
Fields |
Bundled Patterns
pattern Granularity_DAILY :: Granularity | |
pattern Granularity_HOURLY :: Granularity | |
pattern Granularity_MONTHLY :: Granularity |
Instances
GroupDefinitionType
newtype GroupDefinitionType Source #
Constructors
GroupDefinitionType' | |
Fields |
Bundled Patterns
pattern GroupDefinitionType_COST_CATEGORY :: GroupDefinitionType | |
pattern GroupDefinitionType_DIMENSION :: GroupDefinitionType | |
pattern GroupDefinitionType_TAG :: GroupDefinitionType |
Instances
LookbackPeriodInDays
newtype LookbackPeriodInDays Source #
Constructors
LookbackPeriodInDays' | |
Fields |
Bundled Patterns
pattern LookbackPeriodInDays_SEVEN_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_SIXTY_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_THIRTY_DAYS :: LookbackPeriodInDays |
Instances
MatchOption
newtype MatchOption Source #
Constructors
MatchOption' | |
Fields |
Bundled Patterns
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_GREATER_THAN_OR_EQUAL :: MatchOption | |
pattern MatchOption_STARTS_WITH :: MatchOption |
Instances
Metric
Constructors
Metric' | |
Fields
|
Bundled Patterns
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 #
Constructors
MonitorDimension' | |
Fields |
Bundled Patterns
pattern MonitorDimension_SERVICE :: MonitorDimension |
Instances
MonitorType
newtype MonitorType Source #
Constructors
MonitorType' | |
Fields |
Bundled Patterns
pattern MonitorType_CUSTOM :: MonitorType | |
pattern MonitorType_DIMENSIONAL :: MonitorType |
Instances
NumericOperator
newtype NumericOperator Source #
Constructors
NumericOperator' | |
Fields |
Bundled Patterns
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 #
Constructors
OfferingClass' | |
Fields |
Bundled Patterns
pattern OfferingClass_CONVERTIBLE :: OfferingClass | |
pattern OfferingClass_STANDARD :: OfferingClass |
Instances
PaymentOption
newtype PaymentOption Source #
Constructors
PaymentOption' | |
Fields |
Bundled Patterns
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 #
Constructors
PlatformDifference' | |
Fields |
Bundled Patterns
Instances
RecommendationTarget
newtype RecommendationTarget Source #
Constructors
RecommendationTarget' | |
Fields |
Bundled Patterns
pattern RecommendationTarget_CROSS_INSTANCE_FAMILY :: RecommendationTarget | |
pattern RecommendationTarget_SAME_INSTANCE_FAMILY :: RecommendationTarget |
Instances
RightsizingType
newtype RightsizingType Source #
Constructors
RightsizingType' | |
Fields |
Bundled Patterns
pattern RightsizingType_MODIFY :: RightsizingType | |
pattern RightsizingType_TERMINATE :: RightsizingType |
Instances
SavingsPlansDataType
newtype SavingsPlansDataType Source #
Constructors
SavingsPlansDataType' | |
Fields |
Bundled Patterns
Instances
SortOrder
Constructors
SortOrder' | |
Fields |
Bundled Patterns
pattern SortOrder_ASCENDING :: SortOrder | |
pattern SortOrder_DESCENDING :: SortOrder |
Instances
SubscriberStatus
newtype SubscriberStatus Source #
Constructors
SubscriberStatus' | |
Fields |
Bundled Patterns
pattern SubscriberStatus_CONFIRMED :: SubscriberStatus | |
pattern SubscriberStatus_DECLINED :: SubscriberStatus |
Instances
SubscriberType
newtype SubscriberType Source #
Constructors
SubscriberType' | |
Fields |
Bundled Patterns
pattern SubscriberType_EMAIL :: SubscriberType | |
pattern SubscriberType_SNS :: SubscriberType |
Instances
SupportedSavingsPlansType
newtype SupportedSavingsPlansType Source #
Constructors
SupportedSavingsPlansType' | |
Fields |
Bundled Patterns
Instances
TermInYears
newtype TermInYears Source #
Constructors
TermInYears' | |
Fields |
Bundled Patterns
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.
Constructors
Anomaly' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AnomalyFeedbackType) (Maybe [RootCause]) Text AnomalyScore Impact Text |
Instances
Arguments
:: 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:anomalyEndDate:Anomaly'
, anomaly_anomalyEndDate
- The last day the anomaly is detected.
$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 Service in a
service monitor).
$sel:feedback:Anomaly'
, anomaly_feedback
- The feedback value.
$sel:rootCauses:Anomaly'
, anomaly_rootCauses
- The list of identified root causes for the anomaly.
$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.
Constructors
AnomalyDateInterval' (Maybe Text) Text |
Instances
newAnomalyDateInterval Source #
Arguments
:: Text | |
-> AnomalyDateInterval |
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.
Constructors
AnomalyMonitor' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe MonitorDimension) (Maybe Expression) Text MonitorType |
Instances
Arguments
:: 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:creationDate:AnomalyMonitor'
, anomalyMonitor_creationDate
- The date when the monitor was created.
$sel:dimensionalValueCount:AnomalyMonitor'
, anomalyMonitor_dimensionalValueCount
- The value for evaluated dimensions.
$sel:lastEvaluatedDate:AnomalyMonitor'
, anomalyMonitor_lastEvaluatedDate
- The date when the monitor last evaluated for anomalies.
$sel:lastUpdatedDate:AnomalyMonitor'
, anomalyMonitor_lastUpdatedDate
- The date when the monitor was last updated.
$sel:monitorArn:AnomalyMonitor'
, anomalyMonitor_monitorArn
- The Amazon Resource Name (ARN) value.
$sel:monitorDimension:AnomalyMonitor'
, anomalyMonitor_monitorDimension
- The dimensions to evaluate.
$sel:monitorSpecification:AnomalyMonitor'
, anomalyMonitor_monitorSpecification
- Undocumented member.
$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.
Constructors
AnomalyScore' Double Double |
Instances
Arguments
:: Double | |
-> Double | |
-> AnomalyScore |
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.
Constructors
AnomalySubscription' (Maybe Text) (Maybe Text) (Maybe Double) (Maybe Expression) [Text] [Subscriber] AnomalySubscriptionFrequency Text |
Instances
newAnomalySubscription Source #
Arguments
:: AnomalySubscriptionFrequency | |
-> Text | |
-> AnomalySubscription |
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:threshold:AnomalySubscription'
, anomalySubscription_threshold
- (deprecated)
The dollar value that triggers a notification if the threshold is exceeded.
This field has been deprecated. To specify a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.
One of Threshold or ThresholdExpression is required for this resource.
$sel:thresholdExpression:AnomalySubscription'
, anomalySubscription_thresholdExpression
- An
Expression
object used to specify the anomalies that you want to generate alerts
for. This supports dimensions and nested expressions. The supported
dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE
and
ANOMALY_TOTAL_IMPACT_PERCENTAGE
. The supported nested expression types
are AND
and OR
. The match option GREATER_THAN_OR_EQUAL
is
required. Values must be numbers between 0 and 10,000,000,000.
One of Threshold or ThresholdExpression is required for this resource.
The following are examples of valid ThresholdExpressions:
- Absolute threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
- Percentage threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
AND
two thresholds together:{ "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
OR
two thresholds together:{ "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
$sel:monitorArnList:AnomalySubscription'
, anomalySubscription_monitorArnList
- A list of cost anomaly monitors.
$sel:subscribers:AnomalySubscription'
, anomalySubscription_subscribers
- A list of subscribers to notify.
$sel:frequency:AnomalySubscription'
, anomalySubscription_frequency
- The frequency that anomaly reports are sent over email.
$sel:subscriptionName:AnomalySubscription'
, anomalySubscription_subscriptionName
- The name for the subscription.
CostAllocationTag
data CostAllocationTag Source #
The cost allocation tag structure. This includes detailed metadata for
the CostAllocationTag
object.
See: newCostAllocationTag
smart constructor.
Instances
Arguments
:: Text | |
-> CostAllocationTagType | |
-> CostAllocationTagStatus | |
-> CostAllocationTag |
Create a value of CostAllocationTag
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:tagKey:CostAllocationTag'
, costAllocationTag_tagKey
- The key for the cost allocation tag.
$sel:type':CostAllocationTag'
, costAllocationTag_type
- The type of cost allocation tag. You can use AWSGenerated
or
UserDefined
type tags. AWSGenerated
type tags are tags that Amazon
Web Services defines and applies to support Amazon Web Services
resources for cost allocation purposes. UserDefined
type tags are tags
that you define, create, and apply to resources.
$sel:status:CostAllocationTag'
, costAllocationTag_status
- The status of a cost allocation tag.
CostAllocationTagStatusEntry
data CostAllocationTagStatusEntry Source #
The cost allocation tag status. The status of a key can either be active or inactive.
See: newCostAllocationTagStatusEntry
smart constructor.
Constructors
CostAllocationTagStatusEntry' Text CostAllocationTagStatus |
Instances
newCostAllocationTagStatusEntry Source #
Arguments
:: Text | |
-> CostAllocationTagStatus | |
-> CostAllocationTagStatusEntry |
Create a value of CostAllocationTagStatusEntry
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:tagKey:CostAllocationTagStatusEntry'
, costAllocationTagStatusEntry_tagKey
- The key for the cost allocation tag.
$sel:status:CostAllocationTagStatusEntry'
, costAllocationTagStatusEntry_status
- The status of a cost allocation tag.
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.
Constructors
CostCategory' (Maybe Text) (Maybe Text) (Maybe [CostCategoryProcessingStatus]) (Maybe (NonEmpty CostCategorySplitChargeRule)) Text Text Text CostCategoryRuleVersion (NonEmpty CostCategoryRule) |
Instances
Arguments
:: 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:defaultValue:CostCategory'
, costCategory_defaultValue
- Undocumented member.
$sel:effectiveEnd:CostCategory'
, costCategory_effectiveEnd
- The effective end date of your Cost Category.
$sel:processingStatus:CostCategory'
, costCategory_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:splitChargeRules:CostCategory'
, costCategory_splitChargeRules
- The split charge rules that are used to allocate your charges between
your Cost Category values.
$sel:costCategoryArn:CostCategory'
, costCategory_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveStart:CostCategory'
, costCategory_effectiveStart
- The effective start date 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 you create or update a cost category, you can define the
CostCategoryRule
rule type as INHERITED_VALUE
. This rule type adds
the flexibility to define a rule that dynamically inherits the cost
category value from the dimension value that's defined by
CostCategoryInheritedValueDimension
. For example, suppose that you
want to dynamically group costs that are based on the value of a
specific tag key. First, choose an inherited value rule type, and then
choose the tag dimension and specify the tag key to use.
See: newCostCategoryInheritedValueDimension
smart constructor.
Constructors
CostCategoryInheritedValueDimension' (Maybe Text) (Maybe CostCategoryInheritedValueDimensionName) |
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:dimensionKey:CostCategoryInheritedValueDimension'
, costCategoryInheritedValueDimension_dimensionKey
- The key to extract cost category values.
$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 is based
on the value of the specified tag key.
CostCategoryProcessingStatus
data CostCategoryProcessingStatus Source #
The list of processing statuses for Cost Management products for a specific cost category.
See: newCostCategoryProcessingStatus
smart constructor.
Constructors
CostCategoryProcessingStatus' (Maybe CostCategoryStatusComponent) (Maybe CostCategoryStatus) |
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:component:CostCategoryProcessingStatus'
, costCategoryProcessingStatus_component
- The Cost Management product name of the applied status.
$sel:status:CostCategoryProcessingStatus'
, costCategoryProcessingStatus_status
- The process status for a specific cost category.
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.
Constructors
CostCategoryReference' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe [CostCategoryProcessingStatus]) (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:costCategoryArn:CostCategoryReference'
, costCategoryReference_costCategoryArn
- The unique identifier for your Cost Category.
$sel:defaultValue:CostCategoryReference'
, costCategoryReference_defaultValue
- Undocumented member.
$sel:effectiveEnd:CostCategoryReference'
, costCategoryReference_effectiveEnd
- The Cost Category's effective end date.
$sel:effectiveStart:CostCategoryReference'
, costCategoryReference_effectiveStart
- The Cost Category's effective start date.
$sel:name:CostCategoryReference'
, costCategoryReference_name
- Undocumented member.
$sel:numberOfRules:CostCategoryReference'
, costCategoryReference_numberOfRules
- The number of rules that are associated with a specific Cost Category.
$sel:processingStatus:CostCategoryReference'
, costCategoryReference_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:values:CostCategoryReference'
, costCategoryReference_values
- A list of unique cost category values in a specific cost category.
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.
Constructors
CostCategoryRule' (Maybe CostCategoryInheritedValueDimension) (Maybe Expression) (Maybe CostCategoryRuleType) (Maybe Text) |
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: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
to define a rule that dynamically inherits the cost category value. This
value is from the dimension value that's defined by
CostCategoryInheritedValueDimension
. For example, suppose that you
want to costs to be dynamically grouped based on the value of a specific
tag key. First, choose an inherited value rule type, and then choose the
tag dimension and specify the tag key to use.
$sel:value:CostCategoryRule'
, costCategoryRule_value
- Undocumented member.
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.
Constructors
CostCategorySplitChargeRule' (Maybe (NonEmpty CostCategorySplitChargeRuleParameter)) Text (NonEmpty Text) CostCategorySplitChargeMethod |
Instances
newCostCategorySplitChargeRule Source #
Arguments
:: Text | |
-> NonEmpty Text | |
-> CostCategorySplitChargeMethod | |
-> CostCategorySplitChargeRule |
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.
Constructors
CostCategorySplitChargeRuleParameter' CostCategorySplitChargeRuleParameterType (NonEmpty Text) |
Instances
newCostCategorySplitChargeRuleParameter Source #
Arguments
:: CostCategorySplitChargeRuleParameterType | |
-> NonEmpty Text | |
-> CostCategorySplitChargeRuleParameter |
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.
Constructors
CostCategoryValues' (Maybe Text) (Maybe [MatchOption]) (Maybe [Text]) |
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: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
.
$sel:values:CostCategoryValues'
, costCategoryValues_values
- The specific value of the Cost Category.
Coverage
The amount of instance usage that a reservation covered.
See: newCoverage
smart constructor.
Constructors
Coverage' (Maybe CoverageCost) (Maybe CoverageHours) (Maybe CoverageNormalizedUnits) |
Instances
FromJSON Coverage Source # | |
Generic Coverage Source # | |
Read Coverage Source # | |
Show Coverage Source # | |
NFData Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
Eq Coverage Source # | |
Hashable Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
type Rep Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage type Rep Coverage = D1 ('MetaData "Coverage" "Amazonka.CostExplorer.Types.Coverage" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "Coverage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coverageCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageCost)) :*: (S1 ('MetaSel ('Just "coverageHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageHours)) :*: S1 ('MetaSel ('Just "coverageNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageNormalizedUnits))))) |
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:coverageCost:Coverage'
, coverage_coverageCost
- The amount of cost that the reservation covered.
$sel:coverageHours:Coverage'
, coverage_coverageHours
- The amount of instance usage that the reservation covered, in hours.
$sel:coverageNormalizedUnits:Coverage'
, coverage_coverageNormalizedUnits
- The amount of instance usage that the reservation covered, in normalized
units.
CoverageByTime
data CoverageByTime Source #
Reservation coverage for a specified period, in hours.
See: newCoverageByTime
smart constructor.
Constructors
CoverageByTime' (Maybe [ReservationCoverageGroup]) (Maybe DateInterval) (Maybe Coverage) |
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.
Constructors
CoverageCost' (Maybe Text) |
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:reservedHours:CoverageHours'
, coverageHours_reservedHours
- The number of instance running hours that reservations covered.
$sel:totalRunningHours:CoverageHours'
, coverageHours_totalRunningHours
- The total instance usage, in hours.
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: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.
$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.
CurrentInstance
data CurrentInstance Source #
Context about the current instance.
See: newCurrentInstance
smart constructor.
Constructors
CurrentInstance' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ResourceDetails) (Maybe Text) (Maybe ResourceUtilization) (Maybe Text) (Maybe [TagValues]) (Maybe Text) |
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:currencyCode:CurrentInstance'
, currentInstance_currencyCode
- The currency code that Amazon Web Services used to calculate the costs
for this instance.
$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:monthlyCost:CurrentInstance'
, currentInstance_monthlyCost
- The current On-Demand cost of operating this instance on a monthly
basis.
$sel:onDemandHoursInLookbackPeriod:CurrentInstance'
, currentInstance_onDemandHoursInLookbackPeriod
- The number of hours during the lookback period that's billed at
On-Demand rates.
$sel:reservationCoveredHoursInLookbackPeriod:CurrentInstance'
, currentInstance_reservationCoveredHoursInLookbackPeriod
- The number of hours during the lookback period that's covered by
reservations.
$sel:resourceDetails:CurrentInstance'
, currentInstance_resourceDetails
- Details about the resource and utilization.
$sel:resourceId:CurrentInstance'
, currentInstance_resourceId
- Resource ID of the current instance.
$sel:resourceUtilization:CurrentInstance'
, currentInstance_resourceUtilization
- Utilization information of the current instance during the lookback
period.
$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.
$sel:totalRunningHoursInLookbackPeriod:CurrentInstance'
, currentInstance_totalRunningHoursInLookbackPeriod
- The total number of hours that the instance ran during the lookback
period.
DateInterval
data DateInterval Source #
The time period of the request.
See: newDateInterval
smart constructor.
Constructors
DateInterval' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> DateInterval |
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.
Constructors
DimensionValues' (Maybe Dimension) (Maybe [MatchOption]) (Maybe [Text]) |
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: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.
Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported.
LINK_ACCOUNT_NAME
and SERVICE_CODE
can only be used in
CostCategoryRule.
ANOMALY_TOTAL_IMPACT_ABSOLUTE
and ANOMALY_TOTAL_IMPACT_PERCENTAGE
can only be used in
AnomalySubscriptions.
$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
and Anomaly Subscriptions. Refer to the documentation for each specific
API to see what is supported.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
$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.
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:attributes:DimensionValuesWithAttributes'
, dimensionValuesWithAttributes_attributes
- The attribute that applies to a specific Dimension
.
$sel:value:DimensionValuesWithAttributes'
, dimensionValuesWithAttributes_value
- The value of a dimension with a specific attribute.
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:diskReadBytesPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskReadBytesPerSecond
- The maximum read throughput 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:diskWriteOpsPerSecond:DiskResourceUtilization'
, diskResourceUtilization_diskWriteOpsPerSecond
- The maximum number of write 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:ebsReadBytesPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsReadBytesPerSecond
- The maximum size of read operations per second
$sel:ebsReadOpsPerSecond:EBSResourceUtilization'
, eBSResourceUtilization_ebsReadOpsPerSecond
- The maximum number of read operations per second.
$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.
EC2InstanceDetails
data EC2InstanceDetails Source #
Details about the Amazon EC2 instances that Amazon Web Services recommends that you purchase.
See: newEC2InstanceDetails
smart constructor.
Constructors
EC2InstanceDetails' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (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:availabilityZone:EC2InstanceDetails'
, eC2InstanceDetails_availabilityZone
- The Availability Zone of the recommended reservation.
$sel:currentGeneration:EC2InstanceDetails'
, eC2InstanceDetails_currentGeneration
- Determines whether the recommendation is for a current-generation
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: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:region:EC2InstanceDetails'
, eC2InstanceDetails_region
- The Amazon Web Services Region 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.
EC2ResourceDetails
data EC2ResourceDetails Source #
Details on the Amazon EC2 Resource.
See: newEC2ResourceDetails
smart constructor.
Constructors
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:hourlyOnDemandRate:EC2ResourceDetails'
, eC2ResourceDetails_hourlyOnDemandRate
- The hourly public On-Demand rate for the instance type.
$sel:instanceType:EC2ResourceDetails'
, eC2ResourceDetails_instanceType
- The type of Amazon Web Services instance.
$sel:memory:EC2ResourceDetails'
, eC2ResourceDetails_memory
- The memory capacity of the Amazon Web Services instance.
$sel:networkPerformance:EC2ResourceDetails'
, eC2ResourceDetails_networkPerformance
- The network performance capacity of the Amazon Web Services instance.
$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:region:EC2ResourceDetails'
, eC2ResourceDetails_region
- The Amazon Web Services Region of the instance.
$sel:sku:EC2ResourceDetails'
, eC2ResourceDetails_sku
- The SKU of the product.
$sel:storage:EC2ResourceDetails'
, eC2ResourceDetails_storage
- The disk storage of the Amazon Web Services instance. This doesn't
include EBS storage.
$sel:vcpu:EC2ResourceDetails'
, eC2ResourceDetails_vcpu
- The number of VCPU cores in the Amazon Web Services instance type.
EC2ResourceUtilization
data EC2ResourceUtilization Source #
Utilization metrics for the instance.
See: newEC2ResourceUtilization
smart constructor.
Constructors
EC2ResourceUtilization' (Maybe DiskResourceUtilization) (Maybe EBSResourceUtilization) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe NetworkResourceUtilization) |
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:diskResourceUtilization:EC2ResourceUtilization'
, eC2ResourceUtilization_diskResourceUtilization
- The field that contains a list of disk (local storage) 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:maxCpuUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxCpuUtilizationPercentage
- The maximum observed or expected CPU utilization of the instance.
$sel:maxMemoryUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxMemoryUtilizationPercentage
- The maximum observed or expected memory utilization of the instance.
$sel:maxStorageUtilizationPercentage:EC2ResourceUtilization'
, eC2ResourceUtilization_maxStorageUtilizationPercentage
- The maximum observed or expected storage utilization of the instance.
This doesn't include EBS storage.
$sel:networkResourceUtilization:EC2ResourceUtilization'
, eC2ResourceUtilization_networkResourceUtilization
- The network field that contains a list of network 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.
Constructors
EC2Specification' (Maybe OfferingClass) |
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 OpenSearch Service 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:region:ESInstanceDetails'
, eSInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:sizeFlexEligible:ESInstanceDetails'
, eSInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
ElastiCacheInstanceDetails
data ElastiCacheInstanceDetails Source #
Details about the Amazon ElastiCache instances that Amazon Web Services recommends that you purchase.
See: newElastiCacheInstanceDetails
smart constructor.
Constructors
ElastiCacheInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) |
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:family:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_family
- The instance family of the recommended reservation.
$sel:nodeType:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_nodeType
- The type of node that Amazon Web Services recommends.
$sel:productDescription:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_productDescription
- The description of the recommended reservation.
$sel:region:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:sizeFlexEligible:ElastiCacheInstanceDetails'
, elastiCacheInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
Expression
data Expression Source #
Use Expression
to filter in various Cost Explorer APIs.
Not all Expression
types are supported in each API. Refer to the
documentation for each specific API to see what is supported.
There are two patterns:
Simple dimension values.
There are three types of simple dimension values:
CostCategories
,Tags
, andDimensions
.- Specify the
CostCategories
field to define a filter that acts on Cost Categories. - Specify the
Tags
field to define a filter that acts on Cost Allocation Tags. - Specify the
Dimensions
field to define a filter that acts on the DimensionValues .
- Specify the
For each filter type, 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)
. - The corresponding
Expression
for this example is as follows:{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } }
- As shown in the previous example, lists of dimension values
are combined with
OR
when applying the filter.
- For example, you can filter for
You can also set different match options to further control how the filter behaves. Not all APIs support match options. Refer to the documentation for each specific API to see what is supported.
- For example, you can filter for linked account names that start with “a”.
- The corresponding
Expression
for this example is as follows:{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }
Compound
Expression
types 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 by more advanced options. - For example, you can filter by
((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)
. - The corresponding
Expression
for this example 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": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [ "DataTransfer" ] } }
The following is an example of the corresponding error message:
"Expression has more than one roots. Only one root operator is allowed for each expression: And, Or, Not, Dimensions, Tags, CostCategories"
- You can use multiple
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.
Constructors
Expression' (Maybe [Expression]) (Maybe CostCategoryValues) (Maybe DimensionValues) (Maybe Expression) (Maybe [Expression]) (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:and:Expression'
, expression_and
- Return results that match both Dimension
objects.
$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:not:Expression'
, expression_not
- Return results that don't match a Dimension
object.
$sel:or:Expression'
, expression_or
- Return results that match either Dimension
object.
$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.
Constructors
ForecastResult' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe DateInterval) |
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:meanValue:ForecastResult'
, forecastResult_meanValue
- The mean value of the forecast.
$sel:predictionIntervalLowerBound:ForecastResult'
, forecastResult_predictionIntervalLowerBound
- The lower limit for the prediction interval.
$sel:predictionIntervalUpperBound:ForecastResult'
, forecastResult_predictionIntervalUpperBound
- The upper limit for the prediction interval.
$sel:timePeriod:ForecastResult'
, forecastResult_timePeriod
- The period of time that the forecast covers.
GenerationSummary
data GenerationSummary Source #
The summary of the Savings Plans recommendation generation.
See: newGenerationSummary
smart constructor.
Constructors
GenerationSummary' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe GenerationStatus) (Maybe Text) |
Instances
newGenerationSummary :: GenerationSummary Source #
Create a value of GenerationSummary
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:estimatedCompletionTime:GenerationSummary'
, generationSummary_estimatedCompletionTime
- Indicates the estimated time for when the recommendation generation will
complete.
$sel:generationCompletionTime:GenerationSummary'
, generationSummary_generationCompletionTime
- Indicates the completion time of the recommendation generation.
$sel:generationStartedTime:GenerationSummary'
, generationSummary_generationStartedTime
- Indicates the start time of the recommendation generation.
$sel:generationStatus:GenerationSummary'
, generationSummary_generationStatus
- Indicates whether the recommendation generation succeeded, is
processing, or failed.
$sel:recommendationId:GenerationSummary'
, generationSummary_recommendationId
- Indicates the ID for this specific recommendation.
Group
One level of grouped data in the results.
See: newGroup
smart constructor.
Instances
FromJSON Group Source # | |
Generic Group Source # | |
Read Group Source # | |
Show Group Source # | |
NFData Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group | |
Eq Group Source # | |
Hashable Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group | |
type Rep Group Source # | |
Defined in Amazonka.CostExplorer.Types.Group type Rep Group = D1 ('MetaData "Group" "Amazonka.CostExplorer.Types.Group" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MetricValue))))) |
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:keys:Group'
, group_keys
- The keys that are included in this group.
$sel:metrics:Group'
, group_metrics
- The metrics 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.
Constructors
GroupDefinition' (Maybe Text) (Maybe GroupDefinitionType) |
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
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:totalActualSpend:Impact'
, impact_totalActualSpend
- The cumulative dollar amount that was actually spent during the anomaly.
$sel:totalExpectedSpend:Impact'
, impact_totalExpectedSpend
- The cumulative dollar amount that was expected to be spent during the
anomaly. It is calculated using advanced machine learning models to
determine the typical spending pattern based on historical data for a
customer.
$sel:totalImpact:Impact'
, impact_totalImpact
- The cumulative dollar difference between the total actual spend and
total expected spend. It is calculated as
TotalActualSpend - TotalExpectedSpend
.
$sel:totalImpactPercentage:Impact'
, impact_totalImpactPercentage
- The cumulative percentage difference between the total actual spend and
total expected spend. It is calculated as
(TotalImpact / TotalExpectedSpend) * 100
. When TotalExpectedSpend
is zero, this field is omitted. Expected spend can be zero in situations
such as when you start to use a service for the first time.
$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.
Constructors
InstanceDetails' (Maybe EC2InstanceDetails) (Maybe ESInstanceDetails) (Maybe ElastiCacheInstanceDetails) (Maybe RDSInstanceDetails) (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:eC2InstanceDetails:InstanceDetails'
, instanceDetails_eC2InstanceDetails
- The Amazon EC2 instances that Amazon Web Services recommends that you
purchase.
$sel:eSInstanceDetails:InstanceDetails'
, instanceDetails_eSInstanceDetails
- The Amazon OpenSearch Service 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:rDSInstanceDetails:InstanceDetails'
, instanceDetails_rDSInstanceDetails
- The Amazon RDS 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.
Constructors
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 for the modification recommendation.
See: newModifyRecommendationDetail
smart constructor.
Constructors
ModifyRecommendationDetail' (Maybe [TargetInstance]) |
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:networkInBytesPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkInBytesPerSecond
- The network inbound throughput utilization measured in Bytes per second
(Bps).
$sel:networkOutBytesPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkOutBytesPerSecond
- The network outbound throughput utilization measured in Bytes per second
(Bps).
$sel:networkPacketsInPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkPacketsInPerSecond
- The network inbound packets that are measured in packets per second.
$sel:networkPacketsOutPerSecond:NetworkResourceUtilization'
, networkResourceUtilization_networkPacketsOutPerSecond
- The network outbound packets that are measured in packets per second.
RDSInstanceDetails
data RDSInstanceDetails Source #
Details about the Amazon RDS instances that Amazon Web Services recommends that you purchase.
See: newRDSInstanceDetails
smart constructor.
Constructors
RDSInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) |
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:databaseEdition:RDSInstanceDetails'
, rDSInstanceDetails_databaseEdition
- The database edition that the recommended reservation supports.
$sel:databaseEngine:RDSInstanceDetails'
, rDSInstanceDetails_databaseEngine
- The database engine that the recommended reservation supports.
$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:region:RDSInstanceDetails'
, rDSInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:sizeFlexEligible:RDSInstanceDetails'
, rDSInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
RedshiftInstanceDetails
data RedshiftInstanceDetails Source #
Details about the Amazon Redshift instances that Amazon Web Services recommends that you purchase.
See: newRedshiftInstanceDetails
smart constructor.
Constructors
RedshiftInstanceDetails' (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) |
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:nodeType:RedshiftInstanceDetails'
, redshiftInstanceDetails_nodeType
- The type of node that Amazon Web Services recommends.
$sel:region:RedshiftInstanceDetails'
, redshiftInstanceDetails_region
- The Amazon Web Services Region of the recommended reservation.
$sel:sizeFlexEligible:RedshiftInstanceDetails'
, redshiftInstanceDetails_sizeFlexEligible
- Determines whether the recommended reservation is size flexible.
ReservationAggregates
data ReservationAggregates Source #
The aggregated numbers for your reservation usage.
See: newReservationAggregates
smart constructor.
Constructors
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:amortizedRecurringFee:ReservationAggregates'
, reservationAggregates_amortizedRecurringFee
- The monthly cost of your reservation. It's amortized over the
reservation period.
$sel:amortizedUpfrontFee:ReservationAggregates'
, reservationAggregates_amortizedUpfrontFee
- The upfront cost of your reservation. It's amortized over the
reservation period.
$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:purchasedHours:ReservationAggregates'
, reservationAggregates_purchasedHours
- How many reservation hours that you purchased.
$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:rICostForUnusedHours:ReservationAggregates'
, reservationAggregates_rICostForUnusedHours
- The cost of unused hours for your reservation.
$sel:realizedSavings:ReservationAggregates'
, reservationAggregates_realizedSavings
- The realized savings because of purchasing and using a reservation.
$sel:totalActualHours:ReservationAggregates'
, reservationAggregates_totalActualHours
- The total number of reservation hours that you used.
$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.
$sel:totalAmortizedFee:ReservationAggregates'
, reservationAggregates_totalAmortizedFee
- The total cost of your reservation. It's amortized over the reservation
period.
$sel:totalPotentialRISavings:ReservationAggregates'
, reservationAggregates_totalPotentialRISavings
- How much you might save if you use your entire reservation.
$sel:unrealizedSavings:ReservationAggregates'
, reservationAggregates_unrealizedSavings
- The unrealized savings because of purchasing and using a reservation.
$sel:unusedHours:ReservationAggregates'
, reservationAggregates_unusedHours
- The number of reservation hours that you didn't use.
$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:utilizationPercentage:ReservationAggregates'
, reservationAggregates_utilizationPercentage
- The percentage of reservation time that you used.
$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.
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:attributes:ReservationCoverageGroup'
, reservationCoverageGroup_attributes
- The attributes for this group of reservations.
$sel:coverage:ReservationCoverageGroup'
, reservationCoverageGroup_coverage
- How much instance usage this group of reservations covered.
ReservationPurchaseRecommendation
data ReservationPurchaseRecommendation Source #
A specific reservation that Amazon Web Services recommends for purchase.
See: newReservationPurchaseRecommendation
smart constructor.
Constructors
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: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: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
).
$sel:recommendationDetails:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_recommendationDetails
- Details about the recommended purchases.
$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:termInYears:ReservationPurchaseRecommendation'
, reservationPurchaseRecommendation_termInYears
- The term of the reservation that you want recommendations for, in years.
ReservationPurchaseRecommendationDetail
data ReservationPurchaseRecommendationDetail Source #
Details about your recommended reservation purchase.
See: newReservationPurchaseRecommendationDetail
smart constructor.
Constructors
ReservationPurchaseRecommendationDetail' (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) (Maybe Text) (Maybe Text) (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:accountId:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_accountId
- The account that this Reserved Instance (RI) recommendation is for.
$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: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:averageUtilization:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_averageUtilization
- The average utilization of your instances. 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:estimatedBreakEvenInMonths:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedBreakEvenInMonths
- How long Amazon Web Services estimates that it takes for this instance
to start saving you money, in months.
$sel:estimatedMonthlyOnDemandCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlyOnDemandCost
- How much Amazon Web Services estimates that you spend on On-Demand
Instances in a month.
$sel:estimatedMonthlySavingsAmount:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlySavingsAmount
- How much Amazon Web Services estimates that this specific recommendation
might save you in a month.
$sel:estimatedMonthlySavingsPercentage:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedMonthlySavingsPercentage
- How much Amazon Web Services estimates that this specific recommendation
might save you in a month, as a percentage of your overall costs.
$sel:estimatedReservationCostForLookbackPeriod:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_estimatedReservationCostForLookbackPeriod
- How much Amazon Web Services estimates that you might spend 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: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: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: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: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:recommendedNormalizedUnitsToPurchase:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recommendedNormalizedUnitsToPurchase
- The number of normalized units that Amazon Web Services recommends that
you purchase.
$sel:recommendedNumberOfInstancesToPurchase:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recommendedNumberOfInstancesToPurchase
- The number of instances that Amazon Web Services recommends that you
purchase.
$sel:recurringStandardMonthlyCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_recurringStandardMonthlyCost
- How much purchasing this instance costs you on a monthly basis.
$sel:upfrontCost:ReservationPurchaseRecommendationDetail'
, reservationPurchaseRecommendationDetail_upfrontCost
- How much purchasing this instance costs you upfront.
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.
Constructors
ReservationPurchaseRecommendationMetadata' (Maybe Text) (Maybe Text) |
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:generationTimestamp:ReservationPurchaseRecommendationMetadata'
, reservationPurchaseRecommendationMetadata_generationTimestamp
- The timestamp for when Amazon Web Services made this recommendation.
$sel:recommendationId:ReservationPurchaseRecommendationMetadata'
, reservationPurchaseRecommendationMetadata_recommendationId
- The ID for this specific 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:totalEstimatedMonthlySavingsAmount:ReservationPurchaseRecommendationSummary'
, reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsAmount
- The total amount that Amazon Web Services estimates that this
recommendation could save you in a month.
$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.
ReservationUtilizationGroup
data ReservationUtilizationGroup Source #
A group of reservations that share a set of attributes.
See: newReservationUtilizationGroup
smart constructor.
Constructors
ReservationUtilizationGroup' (Maybe (HashMap Text Text)) (Maybe Text) (Maybe ReservationAggregates) (Maybe Text) |
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:attributes:ReservationUtilizationGroup'
, reservationUtilizationGroup_attributes
- The attributes for this group of reservations.
$sel:key:ReservationUtilizationGroup'
, reservationUtilizationGroup_key
- The key for a specific reservation attribute.
$sel:utilization:ReservationUtilizationGroup'
, reservationUtilizationGroup_utilization
- How much you used this group of reservations.
$sel:value:ReservationUtilizationGroup'
, reservationUtilizationGroup_value
- The value of a specific reservation attribute.
ResourceDetails
data ResourceDetails Source #
Details for the resource.
See: newResourceDetails
smart constructor.
Constructors
ResourceDetails' (Maybe EC2ResourceDetails) |
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 for the Amazon EC2 resource.
ResourceTag
data ResourceTag Source #
The tag structure that contains a tag key and value.
Tagging is supported only for the following Cost Explorer resource types: AnomalyMonitor , AnomalySubscription , CostCategory .
See: newResourceTag
smart constructor.
Constructors
ResourceTag' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> ResourceTag |
Create a value of ResourceTag
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:ResourceTag'
, resourceTag_key
- The key that's associated with the tag.
$sel:value:ResourceTag'
, resourceTag_value
- The value that's associated with the tag.
ResourceUtilization
data ResourceUtilization Source #
Resource utilization of current resource.
See: newResourceUtilization
smart constructor.
Constructors
ResourceUtilization' (Maybe EC2ResourceUtilization) |
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.
Constructors
ResultByTime' (Maybe Bool) (Maybe [Group]) (Maybe DateInterval) (Maybe (HashMap Text MetricValue)) |
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:estimated:ResultByTime'
, resultByTime_estimated
- Determines whether the result is estimated.
$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.
RightsizingRecommendation
data RightsizingRecommendation Source #
Recommendations to rightsize resources.
See: newRightsizingRecommendation
smart constructor.
Constructors
RightsizingRecommendation' (Maybe Text) (Maybe CurrentInstance) (Maybe [FindingReasonCode]) (Maybe ModifyRecommendationDetail) (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:currentInstance:RightsizingRecommendation'
, rightsizingRecommendation_currentInstance
- Context regarding the current instance.
$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: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 Reserved Instance (RI)
benefits, or neither.
See: newRightsizingRecommendationConfiguration
smart constructor.
Instances
newRightsizingRecommendationConfiguration Source #
Arguments
:: 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.
Constructors
RightsizingRecommendationMetadata' (Maybe Text) (Maybe Text) (Maybe LookbackPeriodInDays) (Maybe Text) |
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:additionalMetadata:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_additionalMetadata
- Additional metadata that might be applicable to the recommendation.
$sel:generationTimestamp:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_generationTimestamp
- The timestamp for when Amazon Web Services made this recommendation.
$sel:lookbackPeriodInDays:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_lookbackPeriodInDays
- The number of days of previous usage that Amazon Web Services considers
when making this recommendation.
$sel:recommendationId:RightsizingRecommendationMetadata'
, rightsizingRecommendationMetadata_recommendationId
- The ID for this specific 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:estimatedTotalMonthlySavingsAmount:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_estimatedTotalMonthlySavingsAmount
- The estimated total savings resulting from modifications, on a monthly
basis.
$sel:savingsCurrencyCode:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_savingsCurrencyCode
- The currency code that Amazon Web Services used to calculate the
savings.
$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:totalRecommendationCount:RightsizingRecommendationSummary'
, rightsizingRecommendationSummary_totalRecommendationCount
- The total number of instance recommendations.
RootCause
The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
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:linkedAccount:RootCause'
, rootCause_linkedAccount
- The member account value that's associated with the cost anomaly.
$sel:linkedAccountName:RootCause'
, rootCause_linkedAccountName
- The member account name 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.
$sel:service:RootCause'
, rootCause_service
- The Amazon Web Service name that's associated with the cost anomaly.
$sel:usageType:RootCause'
, rootCause_usageType
- The UsageType
value 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:amortizedRecurringCommitment:SavingsPlansAmortizedCommitment'
, savingsPlansAmortizedCommitment_amortizedRecurringCommitment
- The amortized amount of your Savings Plans commitment that was purchased
with either a Partial
or a NoUpfront
.
$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.
SavingsPlansCoverage
data SavingsPlansCoverage Source #
The amount of Savings Plans eligible usage that's covered by Savings Plans. All calculations consider the On-Demand equivalent of your Savings Plans usage.
See: newSavingsPlansCoverage
smart constructor.
Constructors
SavingsPlansCoverage' (Maybe (HashMap Text Text)) (Maybe SavingsPlansCoverageData) (Maybe DateInterval) |
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:attributes:SavingsPlansCoverage'
, savingsPlansCoverage_attributes
- The attribute that applies to a specific Dimension
.
$sel:coverage:SavingsPlansCoverage'
, savingsPlansCoverage_coverage
- The amount of Savings Plans eligible usage that the Savings Plans
covered.
$sel:timePeriod:SavingsPlansCoverage'
, savingsPlansCoverage_timePeriod
- Undocumented member.
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: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: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's covered by a
Savings Plans.
$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.
Constructors
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: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:lookbackPeriodInDays:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_lookbackPeriodInDays
- The lookback period in days that's used to generate the recommendation.
$sel:paymentOption:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_paymentOption
- The payment option that's used to generate the recommendation.
$sel:savingsPlansPurchaseRecommendationDetails:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails
- Details for the Savings Plans that we recommend that you purchase to
cover existing Savings Plans eligible workloads.
$sel:savingsPlansPurchaseRecommendationSummary:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary
- Summary metrics for your Savings Plans Recommendations.
$sel:savingsPlansType:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_savingsPlansType
- The requested Savings Plans recommendation type.
$sel:termInYears:SavingsPlansPurchaseRecommendation'
, savingsPlansPurchaseRecommendation_termInYears
- The Savings Plans recommendation term in years. It's used to generate
the recommendation.
SavingsPlansPurchaseRecommendationDetail
data SavingsPlansPurchaseRecommendationDetail Source #
Details for your recommended Savings Plans.
See: newSavingsPlansPurchaseRecommendationDetail
smart constructor.
Constructors
SavingsPlansPurchaseRecommendationDetail' (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 SavingsPlansDetails) (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:accountId:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_accountId
- The AccountID
the recommendation is generated for.
$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:currentMaximumHourlyOnDemandSpend:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currentMaximumHourlyOnDemandSpend
- The highest value of hourly On-Demand spend over the lookback period of
the applicable usage type.
$sel:currentMinimumHourlyOnDemandSpend:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_currentMinimumHourlyOnDemandSpend
- The lowest value of hourly On-Demand spend over the lookback period of
the applicable usage type.
$sel:estimatedAverageUtilization:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedAverageUtilization
- The estimated utilization of the recommended Savings Plans.
$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 expect with no additional commitment,
based on your usage of the selected time period and the Savings Plans
you own.
$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:estimatedSPCost:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedSPCost
- The cost of the recommended Savings Plans over the length of the
lookback period.
$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:estimatedSavingsPercentage:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_estimatedSavingsPercentage
- The estimated savings percentage relative to the total cost of
applicable On-Demand usage over the lookback period.
$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.
$sel:savingsPlansDetails:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_savingsPlansDetails
- Details for your recommended Savings Plans.
$sel:upfrontCost:SavingsPlansPurchaseRecommendationDetail'
, savingsPlansPurchaseRecommendationDetail_upfrontCost
- The upfront cost of the recommended Savings Plans, based on the selected
payment option.
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:additionalMetadata:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_additionalMetadata
- Additional metadata that might be applicable to the recommendation.
$sel:generationTimestamp:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_generationTimestamp
- The timestamp that shows when the recommendations were generated.
$sel:recommendationId:SavingsPlansPurchaseRecommendationMetadata'
, savingsPlansPurchaseRecommendationMetadata_recommendationId
- The unique identifier for the recommendation set.
SavingsPlansPurchaseRecommendationSummary
data SavingsPlansPurchaseRecommendationSummary Source #
Summary metrics for your Savings Plans Purchase Recommendations.
See: newSavingsPlansPurchaseRecommendationSummary
smart constructor.
Constructors
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:currentOnDemandSpend:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_currentOnDemandSpend
- The current total on demand spend of the applicable usage types over the
lookback period.
$sel:dailyCommitmentToPurchase:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_dailyCommitmentToPurchase
- The recommended Savings Plans cost on a daily (24 hourly) basis.
$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 expect with no additional commitment.
It's based on your usage of the selected time period and the Savings
Plans you own.
$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: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: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:hourlyCommitmentToPurchase:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_hourlyCommitmentToPurchase
- The recommended hourly commitment that's based on the recommendation
parameters.
$sel:totalRecommendationCount:SavingsPlansPurchaseRecommendationSummary'
, savingsPlansPurchaseRecommendationSummary_totalRecommendationCount
- The aggregate number of Savings Plans recommendations that exist for
your account.
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.
Constructors
SavingsPlansSavings' (Maybe Text) (Maybe Text) |
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:totalCommitment:SavingsPlansUtilization'
, savingsPlansUtilization_totalCommitment
- The total amount of Savings Plans commitment that's been purchased in
an account (or set of accounts).
$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:usedCommitment:SavingsPlansUtilization'
, savingsPlansUtilization_usedCommitment
- The amount of your Savings Plans commitment that was 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.
SavingsPlansUtilizationAggregates
data SavingsPlansUtilizationAggregates Source #
The aggregated utilization metrics for your Savings Plans usage.
See: newSavingsPlansUtilizationAggregates
smart constructor.
Constructors
SavingsPlansUtilizationAggregates' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) SavingsPlansUtilization |
Instances
newSavingsPlansUtilizationAggregates Source #
Arguments
:: SavingsPlansUtilization | |
-> SavingsPlansUtilizationAggregates |
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 that's saved by using existing Savings Plans. Savings
returns both net savings from Savings Plans and also the
onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.
$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.
Constructors
SavingsPlansUtilizationByTime' (Maybe SavingsPlansAmortizedCommitment) (Maybe SavingsPlansSavings) DateInterval SavingsPlansUtilization |
Instances
newSavingsPlansUtilizationByTime Source #
Arguments
:: DateInterval | |
-> SavingsPlansUtilization | |
-> SavingsPlansUtilizationByTime |
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 that's saved by using existing Savings Plans. Savings
returns both net savings from Savings Plans and also the
onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.
$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.
Constructors
SavingsPlansUtilizationDetail' (Maybe SavingsPlansAmortizedCommitment) (Maybe (HashMap Text Text)) (Maybe SavingsPlansSavings) (Maybe Text) (Maybe SavingsPlansUtilization) |
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:attributes:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_attributes
- The attribute that applies to a specific Dimension
.
$sel:savings:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_savings
- The amount saved by using existing Savings Plans. Savings returns both
net savings from savings plans and also the onDemandCostEquivalent
of
the Savings Plans when considering the utilization rate.
$sel:savingsPlanArn:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_savingsPlanArn
- The unique Amazon Resource Name (ARN) for a particular Savings Plan.
$sel:utilization:SavingsPlansUtilizationDetail'
, savingsPlansUtilizationDetail_utilization
- A ratio of your effectiveness of using existing Savings Plans to apply
to workloads that are Savings Plans eligible.
ServiceSpecification
data ServiceSpecification Source #
Hardware specifications for the service that you want recommendations for.
See: newServiceSpecification
smart constructor.
Constructors
ServiceSpecification' (Maybe EC2Specification) |
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 for how to sort the data.
See: newSortDefinition
smart constructor.
Constructors
SortDefinition' (Maybe SortOrder) Text |
Instances
Arguments
:: Text | |
-> SortDefinition |
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.
Constructors
Subscriber' (Maybe Text) (Maybe SubscriberStatus) (Maybe SubscriberType) |
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:address:Subscriber'
, subscriber_address
- The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
$sel:status:Subscriber'
, subscriber_status
- Indicates if the subscriber accepts the notifications.
$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 Key
is provided and Values
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.
Constructors
TagValues' (Maybe Text) (Maybe [MatchOption]) (Maybe [Text]) |
Instances
FromJSON TagValues Source # | |
ToJSON TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Generic TagValues Source # | |
Read TagValues Source # | |
Show TagValues Source # | |
NFData TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Eq TagValues Source # | |
Hashable TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
type Rep TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues type Rep TagValues = D1 ('MetaData "TagValues" "Amazonka.CostExplorer.Types.TagValues" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "TagValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "matchOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchOption])) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) |
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: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
.
$sel:values:TagValues'
, tagValues_values
- The specific value of the tag.
TargetInstance
data TargetInstance Source #
Details on recommended instance.
See: newTargetInstance
smart constructor.
Constructors
TargetInstance' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe ResourceUtilization) (Maybe [PlatformDifference]) (Maybe ResourceDetails) |
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: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.
$sel:platformDifferences:TargetInstance'
, targetInstance_platformDifferences
- Explains the actions that you might need to take to successfully migrate
your workloads from the current instance type to the recommended
instance type.
$sel:resourceDetails:TargetInstance'
, targetInstance_resourceDetails
- Details on the target instance type.
TerminateRecommendationDetail
data TerminateRecommendationDetail Source #
Details on termination recommendation.
See: newTerminateRecommendationDetail
smart constructor.
Constructors
TerminateRecommendationDetail' (Maybe Text) (Maybe Text) |
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.
Constructors
TotalImpactFilter' (Maybe Double) NumericOperator Double |
Instances
Arguments
:: NumericOperator | |
-> Double | |
-> TotalImpactFilter |
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.
UpdateCostAllocationTagsStatusError
data UpdateCostAllocationTagsStatusError Source #
Gives a detailed description of the result of an action. It's on each cost allocation tag entry in the request.
See: newUpdateCostAllocationTagsStatusError
smart constructor.
Instances
newUpdateCostAllocationTagsStatusError :: UpdateCostAllocationTagsStatusError Source #
Create a value of UpdateCostAllocationTagsStatusError
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:code:UpdateCostAllocationTagsStatusError'
, updateCostAllocationTagsStatusError_code
- An error code representing why the action failed on this entry.
$sel:message:UpdateCostAllocationTagsStatusError'
, updateCostAllocationTagsStatusError_message
- A message explaining why the action failed on this entry.
$sel:tagKey:UpdateCostAllocationTagsStatusError'
, updateCostAllocationTagsStatusError_tagKey
- The key for the cost allocation tag.
UtilizationByTime
data UtilizationByTime Source #
The amount of utilization, in hours.
See: newUtilizationByTime
smart constructor.
Constructors
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.