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 |
- Service Configuration
- Errors
- 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
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
- 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' {}
- newAnomaly :: Text -> AnomalyScore -> Impact -> Text -> Anomaly
- anomaly_anomalyEndDate :: Lens' Anomaly (Maybe Text)
- anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text)
- anomaly_dimensionValue :: Lens' Anomaly (Maybe Text)
- anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType)
- anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause])
- anomaly_anomalyId :: Lens' Anomaly Text
- anomaly_anomalyScore :: Lens' Anomaly AnomalyScore
- anomaly_impact :: Lens' Anomaly Impact
- anomaly_monitorArn :: Lens' Anomaly Text
- data AnomalyDateInterval = AnomalyDateInterval' {}
- newAnomalyDateInterval :: Text -> AnomalyDateInterval
- anomalyDateInterval_endDate :: Lens' AnomalyDateInterval (Maybe Text)
- anomalyDateInterval_startDate :: Lens' AnomalyDateInterval Text
- data AnomalyMonitor = AnomalyMonitor' {}
- newAnomalyMonitor :: Text -> MonitorType -> AnomalyMonitor
- anomalyMonitor_creationDate :: Lens' AnomalyMonitor (Maybe Text)
- anomalyMonitor_dimensionalValueCount :: Lens' AnomalyMonitor (Maybe Natural)
- anomalyMonitor_lastEvaluatedDate :: Lens' AnomalyMonitor (Maybe Text)
- anomalyMonitor_lastUpdatedDate :: Lens' AnomalyMonitor (Maybe Text)
- anomalyMonitor_monitorArn :: Lens' AnomalyMonitor (Maybe Text)
- anomalyMonitor_monitorDimension :: Lens' AnomalyMonitor (Maybe MonitorDimension)
- anomalyMonitor_monitorSpecification :: Lens' AnomalyMonitor (Maybe Expression)
- anomalyMonitor_monitorName :: Lens' AnomalyMonitor Text
- anomalyMonitor_monitorType :: Lens' AnomalyMonitor MonitorType
- data AnomalyScore = AnomalyScore' {
- maxScore :: Double
- currentScore :: Double
- newAnomalyScore :: Double -> Double -> AnomalyScore
- anomalyScore_maxScore :: Lens' AnomalyScore Double
- anomalyScore_currentScore :: Lens' AnomalyScore Double
- data AnomalySubscription = AnomalySubscription' {}
- newAnomalySubscription :: AnomalySubscriptionFrequency -> Text -> AnomalySubscription
- anomalySubscription_accountId :: Lens' AnomalySubscription (Maybe Text)
- anomalySubscription_subscriptionArn :: Lens' AnomalySubscription (Maybe Text)
- anomalySubscription_threshold :: Lens' AnomalySubscription (Maybe Double)
- anomalySubscription_thresholdExpression :: Lens' AnomalySubscription (Maybe Expression)
- anomalySubscription_monitorArnList :: Lens' AnomalySubscription [Text]
- anomalySubscription_subscribers :: Lens' AnomalySubscription [Subscriber]
- anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency
- anomalySubscription_subscriptionName :: Lens' AnomalySubscription Text
- data CostAllocationTag = CostAllocationTag' {}
- newCostAllocationTag :: Text -> CostAllocationTagType -> CostAllocationTagStatus -> CostAllocationTag
- costAllocationTag_tagKey :: Lens' CostAllocationTag Text
- costAllocationTag_type :: Lens' CostAllocationTag CostAllocationTagType
- costAllocationTag_status :: Lens' CostAllocationTag CostAllocationTagStatus
- data CostAllocationTagStatusEntry = CostAllocationTagStatusEntry' {}
- newCostAllocationTagStatusEntry :: Text -> CostAllocationTagStatus -> CostAllocationTagStatusEntry
- costAllocationTagStatusEntry_tagKey :: Lens' CostAllocationTagStatusEntry Text
- costAllocationTagStatusEntry_status :: Lens' CostAllocationTagStatusEntry CostAllocationTagStatus
- data CostCategory = CostCategory' {
- defaultValue :: Maybe Text
- effectiveEnd :: Maybe Text
- processingStatus :: Maybe [CostCategoryProcessingStatus]
- splitChargeRules :: Maybe (NonEmpty CostCategorySplitChargeRule)
- costCategoryArn :: Text
- effectiveStart :: Text
- name :: Text
- ruleVersion :: CostCategoryRuleVersion
- rules :: NonEmpty CostCategoryRule
- newCostCategory :: Text -> Text -> Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CostCategory
- costCategory_defaultValue :: Lens' CostCategory (Maybe Text)
- costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text)
- costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus])
- costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule))
- costCategory_costCategoryArn :: Lens' CostCategory Text
- costCategory_effectiveStart :: Lens' CostCategory Text
- costCategory_name :: Lens' CostCategory Text
- costCategory_ruleVersion :: Lens' CostCategory CostCategoryRuleVersion
- costCategory_rules :: Lens' CostCategory (NonEmpty CostCategoryRule)
- data CostCategoryInheritedValueDimension = CostCategoryInheritedValueDimension' {}
- newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension
- costCategoryInheritedValueDimension_dimensionKey :: Lens' CostCategoryInheritedValueDimension (Maybe Text)
- costCategoryInheritedValueDimension_dimensionName :: Lens' CostCategoryInheritedValueDimension (Maybe CostCategoryInheritedValueDimensionName)
- data CostCategoryProcessingStatus = CostCategoryProcessingStatus' {}
- newCostCategoryProcessingStatus :: CostCategoryProcessingStatus
- costCategoryProcessingStatus_component :: Lens' CostCategoryProcessingStatus (Maybe CostCategoryStatusComponent)
- costCategoryProcessingStatus_status :: Lens' CostCategoryProcessingStatus (Maybe CostCategoryStatus)
- data CostCategoryReference = CostCategoryReference' {}
- newCostCategoryReference :: CostCategoryReference
- costCategoryReference_costCategoryArn :: Lens' CostCategoryReference (Maybe Text)
- costCategoryReference_defaultValue :: Lens' CostCategoryReference (Maybe Text)
- costCategoryReference_effectiveEnd :: Lens' CostCategoryReference (Maybe Text)
- costCategoryReference_effectiveStart :: Lens' CostCategoryReference (Maybe Text)
- costCategoryReference_name :: Lens' CostCategoryReference (Maybe Text)
- costCategoryReference_numberOfRules :: Lens' CostCategoryReference (Maybe Natural)
- costCategoryReference_processingStatus :: Lens' CostCategoryReference (Maybe [CostCategoryProcessingStatus])
- costCategoryReference_values :: Lens' CostCategoryReference (Maybe [Text])
- data CostCategoryRule = CostCategoryRule' {}
- newCostCategoryRule :: CostCategoryRule
- costCategoryRule_inheritedValue :: Lens' CostCategoryRule (Maybe CostCategoryInheritedValueDimension)
- costCategoryRule_rule :: Lens' CostCategoryRule (Maybe Expression)
- costCategoryRule_type :: Lens' CostCategoryRule (Maybe CostCategoryRuleType)
- costCategoryRule_value :: Lens' CostCategoryRule (Maybe Text)
- data CostCategorySplitChargeRule = CostCategorySplitChargeRule' {}
- newCostCategorySplitChargeRule :: Text -> NonEmpty Text -> CostCategorySplitChargeMethod -> CostCategorySplitChargeRule
- costCategorySplitChargeRule_parameters :: Lens' CostCategorySplitChargeRule (Maybe (NonEmpty CostCategorySplitChargeRuleParameter))
- costCategorySplitChargeRule_source :: Lens' CostCategorySplitChargeRule Text
- costCategorySplitChargeRule_targets :: Lens' CostCategorySplitChargeRule (NonEmpty Text)
- costCategorySplitChargeRule_method :: Lens' CostCategorySplitChargeRule CostCategorySplitChargeMethod
- data CostCategorySplitChargeRuleParameter = CostCategorySplitChargeRuleParameter' {}
- newCostCategorySplitChargeRuleParameter :: CostCategorySplitChargeRuleParameterType -> NonEmpty Text -> CostCategorySplitChargeRuleParameter
- costCategorySplitChargeRuleParameter_type :: Lens' CostCategorySplitChargeRuleParameter CostCategorySplitChargeRuleParameterType
- costCategorySplitChargeRuleParameter_values :: Lens' CostCategorySplitChargeRuleParameter (NonEmpty Text)
- data CostCategoryValues = CostCategoryValues' {
- key :: Maybe Text
- matchOptions :: Maybe [MatchOption]
- values :: Maybe [Text]
- newCostCategoryValues :: CostCategoryValues
- costCategoryValues_key :: Lens' CostCategoryValues (Maybe Text)
- costCategoryValues_matchOptions :: Lens' CostCategoryValues (Maybe [MatchOption])
- costCategoryValues_values :: Lens' CostCategoryValues (Maybe [Text])
- data Coverage = Coverage' {}
- newCoverage :: Coverage
- coverage_coverageCost :: Lens' Coverage (Maybe CoverageCost)
- coverage_coverageHours :: Lens' Coverage (Maybe CoverageHours)
- coverage_coverageNormalizedUnits :: Lens' Coverage (Maybe CoverageNormalizedUnits)
- data CoverageByTime = CoverageByTime' {}
- newCoverageByTime :: CoverageByTime
- coverageByTime_groups :: Lens' CoverageByTime (Maybe [ReservationCoverageGroup])
- coverageByTime_timePeriod :: Lens' CoverageByTime (Maybe DateInterval)
- coverageByTime_total :: Lens' CoverageByTime (Maybe Coverage)
- data CoverageCost = CoverageCost' {}
- newCoverageCost :: CoverageCost
- coverageCost_onDemandCost :: Lens' CoverageCost (Maybe Text)
- data CoverageHours = CoverageHours' {}
- newCoverageHours :: CoverageHours
- coverageHours_coverageHoursPercentage :: Lens' CoverageHours (Maybe Text)
- coverageHours_onDemandHours :: Lens' CoverageHours (Maybe Text)
- coverageHours_reservedHours :: Lens' CoverageHours (Maybe Text)
- coverageHours_totalRunningHours :: Lens' CoverageHours (Maybe Text)
- data CoverageNormalizedUnits = CoverageNormalizedUnits' {}
- newCoverageNormalizedUnits :: CoverageNormalizedUnits
- coverageNormalizedUnits_coverageNormalizedUnitsPercentage :: Lens' CoverageNormalizedUnits (Maybe Text)
- coverageNormalizedUnits_onDemandNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text)
- coverageNormalizedUnits_reservedNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text)
- coverageNormalizedUnits_totalRunningNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text)
- data CurrentInstance = CurrentInstance' {
- currencyCode :: Maybe Text
- instanceName :: Maybe Text
- monthlyCost :: Maybe Text
- onDemandHoursInLookbackPeriod :: Maybe Text
- reservationCoveredHoursInLookbackPeriod :: Maybe Text
- resourceDetails :: Maybe ResourceDetails
- resourceId :: Maybe Text
- resourceUtilization :: Maybe ResourceUtilization
- savingsPlansCoveredHoursInLookbackPeriod :: Maybe Text
- tags :: Maybe [TagValues]
- totalRunningHoursInLookbackPeriod :: Maybe Text
- newCurrentInstance :: CurrentInstance
- currentInstance_currencyCode :: Lens' CurrentInstance (Maybe Text)
- currentInstance_instanceName :: Lens' CurrentInstance (Maybe Text)
- currentInstance_monthlyCost :: Lens' CurrentInstance (Maybe Text)
- currentInstance_onDemandHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text)
- currentInstance_reservationCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text)
- currentInstance_resourceDetails :: Lens' CurrentInstance (Maybe ResourceDetails)
- currentInstance_resourceId :: Lens' CurrentInstance (Maybe Text)
- currentInstance_resourceUtilization :: Lens' CurrentInstance (Maybe ResourceUtilization)
- currentInstance_savingsPlansCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text)
- currentInstance_tags :: Lens' CurrentInstance (Maybe [TagValues])
- currentInstance_totalRunningHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text)
- data DateInterval = DateInterval' {}
- newDateInterval :: Text -> Text -> DateInterval
- dateInterval_start :: Lens' DateInterval Text
- dateInterval_end :: Lens' DateInterval Text
- data DimensionValues = DimensionValues' {
- key :: Maybe Dimension
- matchOptions :: Maybe [MatchOption]
- values :: Maybe [Text]
- newDimensionValues :: DimensionValues
- dimensionValues_key :: Lens' DimensionValues (Maybe Dimension)
- dimensionValues_matchOptions :: Lens' DimensionValues (Maybe [MatchOption])
- dimensionValues_values :: Lens' DimensionValues (Maybe [Text])
- data DimensionValuesWithAttributes = DimensionValuesWithAttributes' {}
- newDimensionValuesWithAttributes :: DimensionValuesWithAttributes
- dimensionValuesWithAttributes_attributes :: Lens' DimensionValuesWithAttributes (Maybe (HashMap Text Text))
- dimensionValuesWithAttributes_value :: Lens' DimensionValuesWithAttributes (Maybe Text)
- data DiskResourceUtilization = DiskResourceUtilization' {}
- newDiskResourceUtilization :: DiskResourceUtilization
- diskResourceUtilization_diskReadBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text)
- diskResourceUtilization_diskReadOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text)
- diskResourceUtilization_diskWriteBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text)
- diskResourceUtilization_diskWriteOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text)
- data EBSResourceUtilization = EBSResourceUtilization' {}
- newEBSResourceUtilization :: EBSResourceUtilization
- eBSResourceUtilization_ebsReadBytesPerSecond :: Lens' EBSResourceUtilization (Maybe Text)
- eBSResourceUtilization_ebsReadOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text)
- eBSResourceUtilization_ebsWriteBytesPerSecond :: Lens' EBSResourceUtilization (Maybe Text)
- eBSResourceUtilization_ebsWriteOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text)
- data EC2InstanceDetails = EC2InstanceDetails' {}
- newEC2InstanceDetails :: EC2InstanceDetails
- eC2InstanceDetails_availabilityZone :: Lens' EC2InstanceDetails (Maybe Text)
- eC2InstanceDetails_currentGeneration :: Lens' EC2InstanceDetails (Maybe Bool)
- eC2InstanceDetails_family :: Lens' EC2InstanceDetails (Maybe Text)
- eC2InstanceDetails_instanceType :: Lens' EC2InstanceDetails (Maybe Text)
- eC2InstanceDetails_platform :: Lens' EC2InstanceDetails (Maybe Text)
- eC2InstanceDetails_region :: Lens' EC2InstanceDetails (Maybe Text)
- eC2InstanceDetails_sizeFlexEligible :: Lens' EC2InstanceDetails (Maybe Bool)
- eC2InstanceDetails_tenancy :: Lens' EC2InstanceDetails (Maybe Text)
- data EC2ResourceDetails = EC2ResourceDetails' {}
- newEC2ResourceDetails :: EC2ResourceDetails
- eC2ResourceDetails_hourlyOnDemandRate :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_instanceType :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_memory :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_networkPerformance :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_platform :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_region :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_sku :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_storage :: Lens' EC2ResourceDetails (Maybe Text)
- eC2ResourceDetails_vcpu :: Lens' EC2ResourceDetails (Maybe Text)
- data EC2ResourceUtilization = EC2ResourceUtilization' {
- diskResourceUtilization :: Maybe DiskResourceUtilization
- eBSResourceUtilization :: Maybe EBSResourceUtilization
- maxCpuUtilizationPercentage :: Maybe Text
- maxMemoryUtilizationPercentage :: Maybe Text
- maxStorageUtilizationPercentage :: Maybe Text
- networkResourceUtilization :: Maybe NetworkResourceUtilization
- newEC2ResourceUtilization :: EC2ResourceUtilization
- eC2ResourceUtilization_diskResourceUtilization :: Lens' EC2ResourceUtilization (Maybe DiskResourceUtilization)
- eC2ResourceUtilization_eBSResourceUtilization :: Lens' EC2ResourceUtilization (Maybe EBSResourceUtilization)
- eC2ResourceUtilization_maxCpuUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text)
- eC2ResourceUtilization_maxMemoryUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text)
- eC2ResourceUtilization_maxStorageUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text)
- eC2ResourceUtilization_networkResourceUtilization :: Lens' EC2ResourceUtilization (Maybe NetworkResourceUtilization)
- data EC2Specification = EC2Specification' {}
- newEC2Specification :: EC2Specification
- eC2Specification_offeringClass :: Lens' EC2Specification (Maybe OfferingClass)
- data ESInstanceDetails = ESInstanceDetails' {}
- newESInstanceDetails :: ESInstanceDetails
- eSInstanceDetails_currentGeneration :: Lens' ESInstanceDetails (Maybe Bool)
- eSInstanceDetails_instanceClass :: Lens' ESInstanceDetails (Maybe Text)
- eSInstanceDetails_instanceSize :: Lens' ESInstanceDetails (Maybe Text)
- eSInstanceDetails_region :: Lens' ESInstanceDetails (Maybe Text)
- eSInstanceDetails_sizeFlexEligible :: Lens' ESInstanceDetails (Maybe Bool)
- data ElastiCacheInstanceDetails = ElastiCacheInstanceDetails' {}
- newElastiCacheInstanceDetails :: ElastiCacheInstanceDetails
- elastiCacheInstanceDetails_currentGeneration :: Lens' ElastiCacheInstanceDetails (Maybe Bool)
- elastiCacheInstanceDetails_family :: Lens' ElastiCacheInstanceDetails (Maybe Text)
- elastiCacheInstanceDetails_nodeType :: Lens' ElastiCacheInstanceDetails (Maybe Text)
- elastiCacheInstanceDetails_productDescription :: Lens' ElastiCacheInstanceDetails (Maybe Text)
- elastiCacheInstanceDetails_region :: Lens' ElastiCacheInstanceDetails (Maybe Text)
- elastiCacheInstanceDetails_sizeFlexEligible :: Lens' ElastiCacheInstanceDetails (Maybe Bool)
- data Expression = Expression' {}
- newExpression :: Expression
- expression_and :: Lens' Expression (Maybe [Expression])
- expression_costCategories :: Lens' Expression (Maybe CostCategoryValues)
- expression_dimensions :: Lens' Expression (Maybe DimensionValues)
- expression_not :: Lens' Expression (Maybe Expression)
- expression_or :: Lens' Expression (Maybe [Expression])
- expression_tags :: Lens' Expression (Maybe TagValues)
- data ForecastResult = ForecastResult' {}
- newForecastResult :: ForecastResult
- forecastResult_meanValue :: Lens' ForecastResult (Maybe Text)
- forecastResult_predictionIntervalLowerBound :: Lens' ForecastResult (Maybe Text)
- forecastResult_predictionIntervalUpperBound :: Lens' ForecastResult (Maybe Text)
- forecastResult_timePeriod :: Lens' ForecastResult (Maybe DateInterval)
- data GenerationSummary = GenerationSummary' {}
- newGenerationSummary :: GenerationSummary
- generationSummary_estimatedCompletionTime :: Lens' GenerationSummary (Maybe Text)
- generationSummary_generationCompletionTime :: Lens' GenerationSummary (Maybe Text)
- generationSummary_generationStartedTime :: Lens' GenerationSummary (Maybe Text)
- generationSummary_generationStatus :: Lens' GenerationSummary (Maybe GenerationStatus)
- generationSummary_recommendationId :: Lens' GenerationSummary (Maybe Text)
- data Group = Group' {}
- newGroup :: Group
- group_keys :: Lens' Group (Maybe [Text])
- group_metrics :: Lens' Group (Maybe (HashMap Text MetricValue))
- data GroupDefinition = GroupDefinition' {}
- newGroupDefinition :: GroupDefinition
- groupDefinition_key :: Lens' GroupDefinition (Maybe Text)
- groupDefinition_type :: Lens' GroupDefinition (Maybe GroupDefinitionType)
- data Impact = Impact' {}
- newImpact :: Double -> Impact
- impact_totalActualSpend :: Lens' Impact (Maybe Double)
- impact_totalExpectedSpend :: Lens' Impact (Maybe Double)
- impact_totalImpact :: Lens' Impact (Maybe Double)
- impact_totalImpactPercentage :: Lens' Impact (Maybe Double)
- impact_maxImpact :: Lens' Impact Double
- data InstanceDetails = InstanceDetails' {}
- newInstanceDetails :: InstanceDetails
- instanceDetails_eC2InstanceDetails :: Lens' InstanceDetails (Maybe EC2InstanceDetails)
- instanceDetails_eSInstanceDetails :: Lens' InstanceDetails (Maybe ESInstanceDetails)
- instanceDetails_elastiCacheInstanceDetails :: Lens' InstanceDetails (Maybe ElastiCacheInstanceDetails)
- instanceDetails_rDSInstanceDetails :: Lens' InstanceDetails (Maybe RDSInstanceDetails)
- instanceDetails_redshiftInstanceDetails :: Lens' InstanceDetails (Maybe RedshiftInstanceDetails)
- data MetricValue = MetricValue' {}
- newMetricValue :: MetricValue
- metricValue_amount :: Lens' MetricValue (Maybe Text)
- metricValue_unit :: Lens' MetricValue (Maybe Text)
- data ModifyRecommendationDetail = ModifyRecommendationDetail' {}
- newModifyRecommendationDetail :: ModifyRecommendationDetail
- modifyRecommendationDetail_targetInstances :: Lens' ModifyRecommendationDetail (Maybe [TargetInstance])
- data NetworkResourceUtilization = NetworkResourceUtilization' {}
- newNetworkResourceUtilization :: NetworkResourceUtilization
- networkResourceUtilization_networkInBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text)
- networkResourceUtilization_networkOutBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text)
- networkResourceUtilization_networkPacketsInPerSecond :: Lens' NetworkResourceUtilization (Maybe Text)
- networkResourceUtilization_networkPacketsOutPerSecond :: Lens' NetworkResourceUtilization (Maybe Text)
- data RDSInstanceDetails = RDSInstanceDetails' {}
- newRDSInstanceDetails :: RDSInstanceDetails
- rDSInstanceDetails_currentGeneration :: Lens' RDSInstanceDetails (Maybe Bool)
- rDSInstanceDetails_databaseEdition :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_databaseEngine :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_deploymentOption :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_family :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_instanceType :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_licenseModel :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_region :: Lens' RDSInstanceDetails (Maybe Text)
- rDSInstanceDetails_sizeFlexEligible :: Lens' RDSInstanceDetails (Maybe Bool)
- data RedshiftInstanceDetails = RedshiftInstanceDetails' {}
- newRedshiftInstanceDetails :: RedshiftInstanceDetails
- redshiftInstanceDetails_currentGeneration :: Lens' RedshiftInstanceDetails (Maybe Bool)
- redshiftInstanceDetails_family :: Lens' RedshiftInstanceDetails (Maybe Text)
- redshiftInstanceDetails_nodeType :: Lens' RedshiftInstanceDetails (Maybe Text)
- redshiftInstanceDetails_region :: Lens' RedshiftInstanceDetails (Maybe Text)
- redshiftInstanceDetails_sizeFlexEligible :: Lens' RedshiftInstanceDetails (Maybe Bool)
- data ReservationAggregates = ReservationAggregates' {
- amortizedRecurringFee :: Maybe Text
- amortizedUpfrontFee :: Maybe Text
- netRISavings :: Maybe Text
- onDemandCostOfRIHoursUsed :: Maybe Text
- purchasedHours :: Maybe Text
- purchasedUnits :: Maybe Text
- rICostForUnusedHours :: Maybe Text
- realizedSavings :: Maybe Text
- totalActualHours :: Maybe Text
- totalActualUnits :: Maybe Text
- totalAmortizedFee :: Maybe Text
- totalPotentialRISavings :: Maybe Text
- unrealizedSavings :: Maybe Text
- unusedHours :: Maybe Text
- unusedUnits :: Maybe Text
- utilizationPercentage :: Maybe Text
- utilizationPercentageInUnits :: Maybe Text
- newReservationAggregates :: ReservationAggregates
- reservationAggregates_amortizedRecurringFee :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_amortizedUpfrontFee :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_netRISavings :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_onDemandCostOfRIHoursUsed :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_purchasedHours :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_purchasedUnits :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_rICostForUnusedHours :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_realizedSavings :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_totalActualHours :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_totalActualUnits :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_totalAmortizedFee :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_totalPotentialRISavings :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_unrealizedSavings :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_unusedHours :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_unusedUnits :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_utilizationPercentage :: Lens' ReservationAggregates (Maybe Text)
- reservationAggregates_utilizationPercentageInUnits :: Lens' ReservationAggregates (Maybe Text)
- data ReservationCoverageGroup = ReservationCoverageGroup' {}
- newReservationCoverageGroup :: ReservationCoverageGroup
- reservationCoverageGroup_attributes :: Lens' ReservationCoverageGroup (Maybe (HashMap Text Text))
- reservationCoverageGroup_coverage :: Lens' ReservationCoverageGroup (Maybe Coverage)
- data ReservationPurchaseRecommendation = ReservationPurchaseRecommendation' {
- accountScope :: Maybe AccountScope
- lookbackPeriodInDays :: Maybe LookbackPeriodInDays
- paymentOption :: Maybe PaymentOption
- recommendationDetails :: Maybe [ReservationPurchaseRecommendationDetail]
- recommendationSummary :: Maybe ReservationPurchaseRecommendationSummary
- serviceSpecification :: Maybe ServiceSpecification
- termInYears :: Maybe TermInYears
- newReservationPurchaseRecommendation :: ReservationPurchaseRecommendation
- reservationPurchaseRecommendation_accountScope :: Lens' ReservationPurchaseRecommendation (Maybe AccountScope)
- reservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' ReservationPurchaseRecommendation (Maybe LookbackPeriodInDays)
- reservationPurchaseRecommendation_paymentOption :: Lens' ReservationPurchaseRecommendation (Maybe PaymentOption)
- reservationPurchaseRecommendation_recommendationDetails :: Lens' ReservationPurchaseRecommendation (Maybe [ReservationPurchaseRecommendationDetail])
- reservationPurchaseRecommendation_recommendationSummary :: Lens' ReservationPurchaseRecommendation (Maybe ReservationPurchaseRecommendationSummary)
- reservationPurchaseRecommendation_serviceSpecification :: Lens' ReservationPurchaseRecommendation (Maybe ServiceSpecification)
- reservationPurchaseRecommendation_termInYears :: Lens' ReservationPurchaseRecommendation (Maybe TermInYears)
- data ReservationPurchaseRecommendationDetail = ReservationPurchaseRecommendationDetail' {
- accountId :: Maybe Text
- averageNormalizedUnitsUsedPerHour :: Maybe Text
- averageNumberOfInstancesUsedPerHour :: Maybe Text
- averageUtilization :: Maybe Text
- currencyCode :: Maybe Text
- estimatedBreakEvenInMonths :: Maybe Text
- estimatedMonthlyOnDemandCost :: Maybe Text
- estimatedMonthlySavingsAmount :: Maybe Text
- estimatedMonthlySavingsPercentage :: Maybe Text
- estimatedReservationCostForLookbackPeriod :: Maybe Text
- instanceDetails :: Maybe InstanceDetails
- maximumNormalizedUnitsUsedPerHour :: Maybe Text
- maximumNumberOfInstancesUsedPerHour :: Maybe Text
- minimumNormalizedUnitsUsedPerHour :: Maybe Text
- minimumNumberOfInstancesUsedPerHour :: Maybe Text
- recommendedNormalizedUnitsToPurchase :: Maybe Text
- recommendedNumberOfInstancesToPurchase :: Maybe Text
- recurringStandardMonthlyCost :: Maybe Text
- upfrontCost :: Maybe Text
- newReservationPurchaseRecommendationDetail :: ReservationPurchaseRecommendationDetail
- reservationPurchaseRecommendationDetail_accountId :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_averageNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_averageNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_averageUtilization :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_currencyCode :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_estimatedBreakEvenInMonths :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_estimatedMonthlyOnDemandCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_estimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_estimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_estimatedReservationCostForLookbackPeriod :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_instanceDetails :: Lens' ReservationPurchaseRecommendationDetail (Maybe InstanceDetails)
- reservationPurchaseRecommendationDetail_maximumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_maximumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_minimumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_minimumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_recommendedNormalizedUnitsToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_recommendedNumberOfInstancesToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_recurringStandardMonthlyCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- reservationPurchaseRecommendationDetail_upfrontCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text)
- data ReservationPurchaseRecommendationMetadata = ReservationPurchaseRecommendationMetadata' {}
- newReservationPurchaseRecommendationMetadata :: ReservationPurchaseRecommendationMetadata
- reservationPurchaseRecommendationMetadata_generationTimestamp :: Lens' ReservationPurchaseRecommendationMetadata (Maybe Text)
- reservationPurchaseRecommendationMetadata_recommendationId :: Lens' ReservationPurchaseRecommendationMetadata (Maybe Text)
- data ReservationPurchaseRecommendationSummary = ReservationPurchaseRecommendationSummary' {}
- newReservationPurchaseRecommendationSummary :: ReservationPurchaseRecommendationSummary
- reservationPurchaseRecommendationSummary_currencyCode :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text)
- reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text)
- reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text)
- data ReservationUtilizationGroup = ReservationUtilizationGroup' {
- attributes :: Maybe (HashMap Text Text)
- key :: Maybe Text
- utilization :: Maybe ReservationAggregates
- value :: Maybe Text
- newReservationUtilizationGroup :: ReservationUtilizationGroup
- reservationUtilizationGroup_attributes :: Lens' ReservationUtilizationGroup (Maybe (HashMap Text Text))
- reservationUtilizationGroup_key :: Lens' ReservationUtilizationGroup (Maybe Text)
- reservationUtilizationGroup_utilization :: Lens' ReservationUtilizationGroup (Maybe ReservationAggregates)
- reservationUtilizationGroup_value :: Lens' ReservationUtilizationGroup (Maybe Text)
- data ResourceDetails = ResourceDetails' {}
- newResourceDetails :: ResourceDetails
- resourceDetails_eC2ResourceDetails :: Lens' ResourceDetails (Maybe EC2ResourceDetails)
- data ResourceTag = ResourceTag' {}
- newResourceTag :: Text -> Text -> ResourceTag
- resourceTag_key :: Lens' ResourceTag Text
- resourceTag_value :: Lens' ResourceTag Text
- data ResourceUtilization = ResourceUtilization' {}
- newResourceUtilization :: ResourceUtilization
- resourceUtilization_eC2ResourceUtilization :: Lens' ResourceUtilization (Maybe EC2ResourceUtilization)
- data ResultByTime = ResultByTime' {
- estimated :: Maybe Bool
- groups :: Maybe [Group]
- timePeriod :: Maybe DateInterval
- total :: Maybe (HashMap Text MetricValue)
- newResultByTime :: ResultByTime
- resultByTime_estimated :: Lens' ResultByTime (Maybe Bool)
- resultByTime_groups :: Lens' ResultByTime (Maybe [Group])
- resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval)
- resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue))
- data RightsizingRecommendation = RightsizingRecommendation' {}
- newRightsizingRecommendation :: RightsizingRecommendation
- rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text)
- rightsizingRecommendation_currentInstance :: Lens' RightsizingRecommendation (Maybe CurrentInstance)
- rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode])
- rightsizingRecommendation_modifyRecommendationDetail :: Lens' RightsizingRecommendation (Maybe ModifyRecommendationDetail)
- rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType)
- rightsizingRecommendation_terminateRecommendationDetail :: Lens' RightsizingRecommendation (Maybe TerminateRecommendationDetail)
- data RightsizingRecommendationConfiguration = RightsizingRecommendationConfiguration' {}
- newRightsizingRecommendationConfiguration :: RecommendationTarget -> Bool -> RightsizingRecommendationConfiguration
- rightsizingRecommendationConfiguration_recommendationTarget :: Lens' RightsizingRecommendationConfiguration RecommendationTarget
- rightsizingRecommendationConfiguration_benefitsConsidered :: Lens' RightsizingRecommendationConfiguration Bool
- data RightsizingRecommendationMetadata = RightsizingRecommendationMetadata' {}
- newRightsizingRecommendationMetadata :: RightsizingRecommendationMetadata
- rightsizingRecommendationMetadata_additionalMetadata :: Lens' RightsizingRecommendationMetadata (Maybe Text)
- rightsizingRecommendationMetadata_generationTimestamp :: Lens' RightsizingRecommendationMetadata (Maybe Text)
- rightsizingRecommendationMetadata_lookbackPeriodInDays :: Lens' RightsizingRecommendationMetadata (Maybe LookbackPeriodInDays)
- rightsizingRecommendationMetadata_recommendationId :: Lens' RightsizingRecommendationMetadata (Maybe Text)
- data RightsizingRecommendationSummary = RightsizingRecommendationSummary' {}
- newRightsizingRecommendationSummary :: RightsizingRecommendationSummary
- rightsizingRecommendationSummary_estimatedTotalMonthlySavingsAmount :: Lens' RightsizingRecommendationSummary (Maybe Text)
- rightsizingRecommendationSummary_savingsCurrencyCode :: Lens' RightsizingRecommendationSummary (Maybe Text)
- rightsizingRecommendationSummary_savingsPercentage :: Lens' RightsizingRecommendationSummary (Maybe Text)
- rightsizingRecommendationSummary_totalRecommendationCount :: Lens' RightsizingRecommendationSummary (Maybe Text)
- data RootCause = RootCause' {}
- newRootCause :: RootCause
- rootCause_linkedAccount :: Lens' RootCause (Maybe Text)
- rootCause_linkedAccountName :: Lens' RootCause (Maybe Text)
- rootCause_region :: Lens' RootCause (Maybe Text)
- rootCause_service :: Lens' RootCause (Maybe Text)
- rootCause_usageType :: Lens' RootCause (Maybe Text)
- data SavingsPlansAmortizedCommitment = SavingsPlansAmortizedCommitment' {}
- newSavingsPlansAmortizedCommitment :: SavingsPlansAmortizedCommitment
- savingsPlansAmortizedCommitment_amortizedRecurringCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text)
- savingsPlansAmortizedCommitment_amortizedUpfrontCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text)
- savingsPlansAmortizedCommitment_totalAmortizedCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text)
- data SavingsPlansCoverage = SavingsPlansCoverage' {}
- newSavingsPlansCoverage :: SavingsPlansCoverage
- savingsPlansCoverage_attributes :: Lens' SavingsPlansCoverage (Maybe (HashMap Text Text))
- savingsPlansCoverage_coverage :: Lens' SavingsPlansCoverage (Maybe SavingsPlansCoverageData)
- savingsPlansCoverage_timePeriod :: Lens' SavingsPlansCoverage (Maybe DateInterval)
- data SavingsPlansCoverageData = SavingsPlansCoverageData' {}
- newSavingsPlansCoverageData :: SavingsPlansCoverageData
- savingsPlansCoverageData_coveragePercentage :: Lens' SavingsPlansCoverageData (Maybe Text)
- savingsPlansCoverageData_onDemandCost :: Lens' SavingsPlansCoverageData (Maybe Text)
- savingsPlansCoverageData_spendCoveredBySavingsPlans :: Lens' SavingsPlansCoverageData (Maybe Text)
- savingsPlansCoverageData_totalCost :: Lens' SavingsPlansCoverageData (Maybe Text)
- data SavingsPlansDetails = SavingsPlansDetails' {
- instanceFamily :: Maybe Text
- offeringId :: Maybe Text
- region :: Maybe Text
- newSavingsPlansDetails :: SavingsPlansDetails
- savingsPlansDetails_instanceFamily :: Lens' SavingsPlansDetails (Maybe Text)
- savingsPlansDetails_offeringId :: Lens' SavingsPlansDetails (Maybe Text)
- savingsPlansDetails_region :: Lens' SavingsPlansDetails (Maybe Text)
- data SavingsPlansPurchaseRecommendation = SavingsPlansPurchaseRecommendation' {
- accountScope :: Maybe AccountScope
- lookbackPeriodInDays :: Maybe LookbackPeriodInDays
- paymentOption :: Maybe PaymentOption
- savingsPlansPurchaseRecommendationDetails :: Maybe [SavingsPlansPurchaseRecommendationDetail]
- savingsPlansPurchaseRecommendationSummary :: Maybe SavingsPlansPurchaseRecommendationSummary
- savingsPlansType :: Maybe SupportedSavingsPlansType
- termInYears :: Maybe TermInYears
- newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation
- savingsPlansPurchaseRecommendation_accountScope :: Lens' SavingsPlansPurchaseRecommendation (Maybe AccountScope)
- savingsPlansPurchaseRecommendation_lookbackPeriodInDays :: Lens' SavingsPlansPurchaseRecommendation (Maybe LookbackPeriodInDays)
- savingsPlansPurchaseRecommendation_paymentOption :: Lens' SavingsPlansPurchaseRecommendation (Maybe PaymentOption)
- savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails :: Lens' SavingsPlansPurchaseRecommendation (Maybe [SavingsPlansPurchaseRecommendationDetail])
- savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary :: Lens' SavingsPlansPurchaseRecommendation (Maybe SavingsPlansPurchaseRecommendationSummary)
- savingsPlansPurchaseRecommendation_savingsPlansType :: Lens' SavingsPlansPurchaseRecommendation (Maybe SupportedSavingsPlansType)
- savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears)
- data SavingsPlansPurchaseRecommendationDetail = SavingsPlansPurchaseRecommendationDetail' {
- accountId :: Maybe Text
- currencyCode :: Maybe Text
- currentAverageHourlyOnDemandSpend :: Maybe Text
- currentMaximumHourlyOnDemandSpend :: Maybe Text
- currentMinimumHourlyOnDemandSpend :: Maybe Text
- estimatedAverageUtilization :: Maybe Text
- estimatedMonthlySavingsAmount :: Maybe Text
- estimatedOnDemandCost :: Maybe Text
- estimatedOnDemandCostWithCurrentCommitment :: Maybe Text
- estimatedROI :: Maybe Text
- estimatedSPCost :: Maybe Text
- estimatedSavingsAmount :: Maybe Text
- estimatedSavingsPercentage :: Maybe Text
- hourlyCommitmentToPurchase :: Maybe Text
- savingsPlansDetails :: Maybe SavingsPlansDetails
- upfrontCost :: Maybe Text
- newSavingsPlansPurchaseRecommendationDetail :: SavingsPlansPurchaseRecommendationDetail
- savingsPlansPurchaseRecommendationDetail_accountId :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_currencyCode :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_currentAverageHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_currentMaximumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_currentMinimumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedAverageUtilization :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedMonthlySavingsAmount :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedSPCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- savingsPlansPurchaseRecommendationDetail_savingsPlansDetails :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe SavingsPlansDetails)
- savingsPlansPurchaseRecommendationDetail_upfrontCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text)
- data SavingsPlansPurchaseRecommendationMetadata = SavingsPlansPurchaseRecommendationMetadata' {}
- newSavingsPlansPurchaseRecommendationMetadata :: SavingsPlansPurchaseRecommendationMetadata
- savingsPlansPurchaseRecommendationMetadata_additionalMetadata :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text)
- savingsPlansPurchaseRecommendationMetadata_generationTimestamp :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text)
- savingsPlansPurchaseRecommendationMetadata_recommendationId :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text)
- data SavingsPlansPurchaseRecommendationSummary = SavingsPlansPurchaseRecommendationSummary' {
- currencyCode :: Maybe Text
- currentOnDemandSpend :: Maybe Text
- dailyCommitmentToPurchase :: Maybe Text
- estimatedMonthlySavingsAmount :: Maybe Text
- estimatedOnDemandCostWithCurrentCommitment :: Maybe Text
- estimatedROI :: Maybe Text
- estimatedSavingsAmount :: Maybe Text
- estimatedSavingsPercentage :: Maybe Text
- estimatedTotalCost :: Maybe Text
- hourlyCommitmentToPurchase :: Maybe Text
- totalRecommendationCount :: Maybe Text
- newSavingsPlansPurchaseRecommendationSummary :: SavingsPlansPurchaseRecommendationSummary
- savingsPlansPurchaseRecommendationSummary_currencyCode :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_currentOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_dailyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedMonthlySavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_estimatedTotalCost :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- savingsPlansPurchaseRecommendationSummary_totalRecommendationCount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text)
- data SavingsPlansSavings = SavingsPlansSavings' {}
- newSavingsPlansSavings :: SavingsPlansSavings
- savingsPlansSavings_netSavings :: Lens' SavingsPlansSavings (Maybe Text)
- savingsPlansSavings_onDemandCostEquivalent :: Lens' SavingsPlansSavings (Maybe Text)
- data SavingsPlansUtilization = SavingsPlansUtilization' {}
- newSavingsPlansUtilization :: SavingsPlansUtilization
- savingsPlansUtilization_totalCommitment :: Lens' SavingsPlansUtilization (Maybe Text)
- savingsPlansUtilization_unusedCommitment :: Lens' SavingsPlansUtilization (Maybe Text)
- savingsPlansUtilization_usedCommitment :: Lens' SavingsPlansUtilization (Maybe Text)
- savingsPlansUtilization_utilizationPercentage :: Lens' SavingsPlansUtilization (Maybe Text)
- data SavingsPlansUtilizationAggregates = SavingsPlansUtilizationAggregates' {}
- newSavingsPlansUtilizationAggregates :: SavingsPlansUtilization -> SavingsPlansUtilizationAggregates
- savingsPlansUtilizationAggregates_amortizedCommitment :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansAmortizedCommitment)
- savingsPlansUtilizationAggregates_savings :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansSavings)
- savingsPlansUtilizationAggregates_utilization :: Lens' SavingsPlansUtilizationAggregates SavingsPlansUtilization
- data SavingsPlansUtilizationByTime = SavingsPlansUtilizationByTime' {}
- newSavingsPlansUtilizationByTime :: DateInterval -> SavingsPlansUtilization -> SavingsPlansUtilizationByTime
- savingsPlansUtilizationByTime_amortizedCommitment :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansAmortizedCommitment)
- savingsPlansUtilizationByTime_savings :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansSavings)
- savingsPlansUtilizationByTime_timePeriod :: Lens' SavingsPlansUtilizationByTime DateInterval
- savingsPlansUtilizationByTime_utilization :: Lens' SavingsPlansUtilizationByTime SavingsPlansUtilization
- data SavingsPlansUtilizationDetail = SavingsPlansUtilizationDetail' {}
- newSavingsPlansUtilizationDetail :: SavingsPlansUtilizationDetail
- savingsPlansUtilizationDetail_amortizedCommitment :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansAmortizedCommitment)
- savingsPlansUtilizationDetail_attributes :: Lens' SavingsPlansUtilizationDetail (Maybe (HashMap Text Text))
- savingsPlansUtilizationDetail_savings :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansSavings)
- savingsPlansUtilizationDetail_savingsPlanArn :: Lens' SavingsPlansUtilizationDetail (Maybe Text)
- savingsPlansUtilizationDetail_utilization :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansUtilization)
- data ServiceSpecification = ServiceSpecification' {}
- newServiceSpecification :: ServiceSpecification
- serviceSpecification_eC2Specification :: Lens' ServiceSpecification (Maybe EC2Specification)
- data SortDefinition = SortDefinition' {}
- newSortDefinition :: Text -> SortDefinition
- sortDefinition_sortOrder :: Lens' SortDefinition (Maybe SortOrder)
- sortDefinition_key :: Lens' SortDefinition Text
- data Subscriber = Subscriber' {}
- newSubscriber :: Subscriber
- subscriber_address :: Lens' Subscriber (Maybe Text)
- subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus)
- subscriber_type :: Lens' Subscriber (Maybe SubscriberType)
- data TagValues = TagValues' {
- key :: Maybe Text
- matchOptions :: Maybe [MatchOption]
- values :: Maybe [Text]
- newTagValues :: TagValues
- tagValues_key :: Lens' TagValues (Maybe Text)
- tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption])
- tagValues_values :: Lens' TagValues (Maybe [Text])
- data TargetInstance = TargetInstance' {}
- newTargetInstance :: TargetInstance
- targetInstance_currencyCode :: Lens' TargetInstance (Maybe Text)
- targetInstance_defaultTargetInstance :: Lens' TargetInstance (Maybe Bool)
- targetInstance_estimatedMonthlyCost :: Lens' TargetInstance (Maybe Text)
- targetInstance_estimatedMonthlySavings :: Lens' TargetInstance (Maybe Text)
- targetInstance_expectedResourceUtilization :: Lens' TargetInstance (Maybe ResourceUtilization)
- targetInstance_platformDifferences :: Lens' TargetInstance (Maybe [PlatformDifference])
- targetInstance_resourceDetails :: Lens' TargetInstance (Maybe ResourceDetails)
- data TerminateRecommendationDetail = TerminateRecommendationDetail' {}
- newTerminateRecommendationDetail :: TerminateRecommendationDetail
- terminateRecommendationDetail_currencyCode :: Lens' TerminateRecommendationDetail (Maybe Text)
- terminateRecommendationDetail_estimatedMonthlySavings :: Lens' TerminateRecommendationDetail (Maybe Text)
- data TotalImpactFilter = TotalImpactFilter' {}
- newTotalImpactFilter :: NumericOperator -> Double -> TotalImpactFilter
- totalImpactFilter_endValue :: Lens' TotalImpactFilter (Maybe Double)
- totalImpactFilter_numericOperator :: Lens' TotalImpactFilter NumericOperator
- totalImpactFilter_startValue :: Lens' TotalImpactFilter Double
- data UpdateCostAllocationTagsStatusError = UpdateCostAllocationTagsStatusError' {}
- newUpdateCostAllocationTagsStatusError :: UpdateCostAllocationTagsStatusError
- updateCostAllocationTagsStatusError_code :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text)
- updateCostAllocationTagsStatusError_message :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text)
- updateCostAllocationTagsStatusError_tagKey :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text)
- data UtilizationByTime = UtilizationByTime' {}
- newUtilizationByTime :: UtilizationByTime
- utilizationByTime_groups :: Lens' UtilizationByTime (Maybe [ReservationUtilizationGroup])
- utilizationByTime_timePeriod :: Lens' UtilizationByTime (Maybe DateInterval)
- utilizationByTime_total :: Lens' UtilizationByTime (Maybe ReservationAggregates)
Service Configuration
defaultService :: Service Source #
API version 2017-10-25
of the Amazon Cost Explorer Service SDK configuration.
Errors
_BillExpirationException :: AsError a => Fold a ServiceError Source #
The requested report expired. Update the date interval and try again.
_DataUnavailableException :: AsError a => Fold a ServiceError Source #
The requested data is unavailable.
_GenerationExistsException :: AsError a => Fold a ServiceError Source #
A request to generate a recommendation is already in progress.
_InvalidNextTokenException :: AsError a => Fold a ServiceError Source #
The pagination token is invalid. Try again without a pagination token.
_LimitExceededException :: AsError a => Fold a ServiceError Source #
You made too many calls in a short period of time. Try again later.
_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 :: AsError a => Fold a ServiceError Source #
The specified ARN in the request doesn't exist.
_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 :: 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 :: AsError a => Fold a ServiceError Source #
The cost anomaly monitor does not exist for the account.
_UnknownSubscriptionException :: AsError a => Fold a ServiceError Source #
The cost anomaly subscription does not exist for the account.
_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
.
AccountScope
newtype AccountScope Source #
pattern AccountScope_LINKED :: AccountScope | |
pattern AccountScope_PAYER :: AccountScope |
Instances
AnomalyFeedbackType
newtype AnomalyFeedbackType Source #
pattern AnomalyFeedbackType_NO :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_PLANNED_ACTIVITY :: AnomalyFeedbackType | |
pattern AnomalyFeedbackType_YES :: AnomalyFeedbackType |
Instances
AnomalySubscriptionFrequency
newtype AnomalySubscriptionFrequency Source #
Instances
Context
pattern Context_COST_AND_USAGE :: Context | |
pattern Context_RESERVATIONS :: Context | |
pattern Context_SAVINGS_PLANS :: Context |
Instances
CostAllocationTagStatus
newtype CostAllocationTagStatus Source #
pattern CostAllocationTagStatus_Active :: CostAllocationTagStatus | |
pattern CostAllocationTagStatus_Inactive :: CostAllocationTagStatus |
Instances
CostAllocationTagType
newtype CostAllocationTagType Source #
pattern CostAllocationTagType_AWSGenerated :: CostAllocationTagType | |
pattern CostAllocationTagType_UserDefined :: CostAllocationTagType |
Instances
CostCategoryInheritedValueDimensionName
newtype CostCategoryInheritedValueDimensionName Source #
Instances
CostCategoryRuleType
newtype CostCategoryRuleType Source #
pattern CostCategoryRuleType_INHERITED_VALUE :: CostCategoryRuleType | |
pattern CostCategoryRuleType_REGULAR :: CostCategoryRuleType |
Instances
CostCategoryRuleVersion
newtype CostCategoryRuleVersion Source #
The rule schema version in this particular Cost Category.
Instances
CostCategorySplitChargeMethod
newtype CostCategorySplitChargeMethod Source #
Instances
CostCategorySplitChargeRuleParameterType
newtype CostCategorySplitChargeRuleParameterType Source #
pattern CostCategorySplitChargeRuleParameterType_ALLOCATION_PERCENTAGES :: CostCategorySplitChargeRuleParameterType |
Instances
CostCategoryStatus
newtype CostCategoryStatus Source #
pattern CostCategoryStatus_APPLIED :: CostCategoryStatus | |
pattern CostCategoryStatus_PROCESSING :: CostCategoryStatus |
Instances
CostCategoryStatusComponent
newtype CostCategoryStatusComponent Source #
Instances
Dimension
Instances
FindingReasonCode
newtype FindingReasonCode Source #
Instances
GenerationStatus
newtype GenerationStatus Source #
pattern GenerationStatus_FAILED :: GenerationStatus | |
pattern GenerationStatus_PROCESSING :: GenerationStatus | |
pattern GenerationStatus_SUCCEEDED :: GenerationStatus |
Instances
Granularity
newtype Granularity Source #
pattern Granularity_DAILY :: Granularity | |
pattern Granularity_HOURLY :: Granularity | |
pattern Granularity_MONTHLY :: Granularity |
Instances
GroupDefinitionType
newtype GroupDefinitionType Source #
pattern GroupDefinitionType_COST_CATEGORY :: GroupDefinitionType | |
pattern GroupDefinitionType_DIMENSION :: GroupDefinitionType | |
pattern GroupDefinitionType_TAG :: GroupDefinitionType |
Instances
LookbackPeriodInDays
newtype LookbackPeriodInDays Source #
pattern LookbackPeriodInDays_SEVEN_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_SIXTY_DAYS :: LookbackPeriodInDays | |
pattern LookbackPeriodInDays_THIRTY_DAYS :: LookbackPeriodInDays |
Instances
MatchOption
newtype MatchOption Source #
pattern MatchOption_ABSENT :: MatchOption | |
pattern MatchOption_CASE_INSENSITIVE :: MatchOption | |
pattern MatchOption_CASE_SENSITIVE :: MatchOption | |
pattern MatchOption_CONTAINS :: MatchOption | |
pattern MatchOption_ENDS_WITH :: MatchOption | |
pattern MatchOption_EQUALS :: MatchOption | |
pattern MatchOption_GREATER_THAN_OR_EQUAL :: MatchOption | |
pattern MatchOption_STARTS_WITH :: MatchOption |
Instances
Metric
pattern Metric_AMORTIZED_COST :: Metric | |
pattern Metric_BLENDED_COST :: Metric | |
pattern Metric_NET_AMORTIZED_COST :: Metric | |
pattern Metric_NET_UNBLENDED_COST :: Metric | |
pattern Metric_NORMALIZED_USAGE_AMOUNT :: Metric | |
pattern Metric_UNBLENDED_COST :: Metric | |
pattern Metric_USAGE_QUANTITY :: Metric |
Instances
MonitorDimension
newtype MonitorDimension Source #
pattern MonitorDimension_SERVICE :: MonitorDimension |
Instances
MonitorType
newtype MonitorType Source #
pattern MonitorType_CUSTOM :: MonitorType | |
pattern MonitorType_DIMENSIONAL :: MonitorType |
Instances
NumericOperator
newtype NumericOperator Source #
pattern NumericOperator_BETWEEN :: NumericOperator | |
pattern NumericOperator_EQUAL :: NumericOperator | |
pattern NumericOperator_GREATER_THAN :: NumericOperator | |
pattern NumericOperator_GREATER_THAN_OR_EQUAL :: NumericOperator | |
pattern NumericOperator_LESS_THAN :: NumericOperator | |
pattern NumericOperator_LESS_THAN_OR_EQUAL :: NumericOperator |
Instances
OfferingClass
newtype OfferingClass Source #
pattern OfferingClass_CONVERTIBLE :: OfferingClass | |
pattern OfferingClass_STANDARD :: OfferingClass |
Instances
PaymentOption
newtype PaymentOption Source #
pattern PaymentOption_ALL_UPFRONT :: PaymentOption | |
pattern PaymentOption_HEAVY_UTILIZATION :: PaymentOption | |
pattern PaymentOption_LIGHT_UTILIZATION :: PaymentOption | |
pattern PaymentOption_MEDIUM_UTILIZATION :: PaymentOption | |
pattern PaymentOption_NO_UPFRONT :: PaymentOption | |
pattern PaymentOption_PARTIAL_UPFRONT :: PaymentOption |
Instances
PlatformDifference
newtype PlatformDifference Source #
Instances
RecommendationTarget
newtype RecommendationTarget Source #
pattern RecommendationTarget_CROSS_INSTANCE_FAMILY :: RecommendationTarget | |
pattern RecommendationTarget_SAME_INSTANCE_FAMILY :: RecommendationTarget |
Instances
RightsizingType
newtype RightsizingType Source #
pattern RightsizingType_MODIFY :: RightsizingType | |
pattern RightsizingType_TERMINATE :: RightsizingType |
Instances
SavingsPlansDataType
newtype SavingsPlansDataType Source #
Instances
SortOrder
pattern SortOrder_ASCENDING :: SortOrder | |
pattern SortOrder_DESCENDING :: SortOrder |
Instances
SubscriberStatus
newtype SubscriberStatus Source #
pattern SubscriberStatus_CONFIRMED :: SubscriberStatus | |
pattern SubscriberStatus_DECLINED :: SubscriberStatus |
Instances
SubscriberType
newtype SubscriberType Source #
pattern SubscriberType_EMAIL :: SubscriberType | |
pattern SubscriberType_SNS :: SubscriberType |
Instances
SupportedSavingsPlansType
newtype SupportedSavingsPlansType Source #
Instances
TermInYears
newtype TermInYears Source #
pattern TermInYears_ONE_YEAR :: TermInYears | |
pattern TermInYears_THREE_YEARS :: TermInYears |
Instances
Anomaly
An unusual cost pattern. This consists of the detailed metadata and the current status of the anomaly object.
See: newAnomaly
smart constructor.
Anomaly' | |
|
Instances
:: Text | |
-> AnomalyScore | |
-> Impact | |
-> Text | |
-> Anomaly |
Create a value of Anomaly
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel: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.
anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text) Source #
The first day the anomaly is detected.
anomaly_dimensionValue :: Lens' Anomaly (Maybe Text) Source #
The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).
anomaly_feedback :: Lens' Anomaly (Maybe AnomalyFeedbackType) Source #
The feedback value.
anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause]) Source #
The list of identified root causes for the anomaly.
anomaly_anomalyScore :: Lens' Anomaly AnomalyScore Source #
The latest and maximum score for the anomaly.
anomaly_monitorArn :: Lens' Anomaly Text Source #
The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
AnomalyDateInterval
data AnomalyDateInterval Source #
The time period for an anomaly.
See: newAnomalyDateInterval
smart constructor.
Instances
newAnomalyDateInterval Source #
Create a value of AnomalyDateInterval
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endDate:AnomalyDateInterval'
, anomalyDateInterval_endDate
- The last date an anomaly was observed.
$sel:startDate:AnomalyDateInterval'
, anomalyDateInterval_startDate
- The first date an anomaly was observed.
anomalyDateInterval_endDate :: Lens' AnomalyDateInterval (Maybe Text) Source #
The last date an anomaly was observed.
anomalyDateInterval_startDate :: Lens' AnomalyDateInterval Text Source #
The first date an anomaly was observed.
AnomalyMonitor
data AnomalyMonitor Source #
This object continuously inspects your account's cost data for
anomalies. It's based on MonitorType
and MonitorSpecification
. The
content consists of detailed metadata and the current status of the
monitor object.
See: newAnomalyMonitor
smart constructor.
AnomalyMonitor' | |
|
Instances
:: Text | |
-> MonitorType | |
-> AnomalyMonitor |
Create a value of AnomalyMonitor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel: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.
anomalyMonitor_creationDate :: Lens' AnomalyMonitor (Maybe Text) Source #
The date when the monitor was created.
anomalyMonitor_dimensionalValueCount :: Lens' AnomalyMonitor (Maybe Natural) Source #
The value for evaluated dimensions.
anomalyMonitor_lastEvaluatedDate :: Lens' AnomalyMonitor (Maybe Text) Source #
The date when the monitor last evaluated for anomalies.
anomalyMonitor_lastUpdatedDate :: Lens' AnomalyMonitor (Maybe Text) Source #
The date when the monitor was last updated.
anomalyMonitor_monitorArn :: Lens' AnomalyMonitor (Maybe Text) Source #
The Amazon Resource Name (ARN) value.
anomalyMonitor_monitorDimension :: Lens' AnomalyMonitor (Maybe MonitorDimension) Source #
The dimensions to evaluate.
anomalyMonitor_monitorSpecification :: Lens' AnomalyMonitor (Maybe Expression) Source #
Undocumented member.
anomalyMonitor_monitorName :: Lens' AnomalyMonitor Text Source #
The name of the monitor.
anomalyMonitor_monitorType :: Lens' AnomalyMonitor MonitorType Source #
The possible type values.
AnomalyScore
data AnomalyScore Source #
Quantifies the anomaly. The higher score means that it's more anomalous.
See: newAnomalyScore
smart constructor.
AnomalyScore' | |
|
Instances
Create a value of AnomalyScore
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxScore:AnomalyScore'
, anomalyScore_maxScore
- The maximum score that's observed during the AnomalyDateInterval
.
$sel:currentScore:AnomalyScore'
, anomalyScore_currentScore
- The last observed score.
anomalyScore_maxScore :: Lens' AnomalyScore Double Source #
The maximum score that's observed during the AnomalyDateInterval
.
anomalyScore_currentScore :: Lens' AnomalyScore Double Source #
The last observed score.
AnomalySubscription
data AnomalySubscription Source #
The association between a monitor, threshold, and list of subscribers
used to deliver notifications about anomalies detected by a monitor that
exceeds a threshold. The content consists of the detailed metadata and
the current status of the AnomalySubscription
object.
See: newAnomalySubscription
smart constructor.
AnomalySubscription' | |
|
Instances
newAnomalySubscription Source #
Create a value of AnomalySubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:AnomalySubscription'
, anomalySubscription_accountId
- Your unique account identifier.
$sel:subscriptionArn:AnomalySubscription'
, anomalySubscription_subscriptionArn
- The AnomalySubscription
Amazon Resource Name (ARN).
$sel: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.
anomalySubscription_accountId :: Lens' AnomalySubscription (Maybe Text) Source #
Your unique account identifier.
anomalySubscription_subscriptionArn :: Lens' AnomalySubscription (Maybe Text) Source #
The AnomalySubscription
Amazon Resource Name (ARN).
anomalySubscription_threshold :: Lens' AnomalySubscription (Maybe Double) Source #
(deprecated)
The dollar value that triggers a notification if the threshold is exceeded.
This field has been deprecated. To specify a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.
One of Threshold or ThresholdExpression is required for this resource.
anomalySubscription_thresholdExpression :: Lens' AnomalySubscription (Maybe Expression) Source #
An
Expression
object used to specify the anomalies that you want to generate alerts
for. This supports dimensions and nested expressions. The supported
dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE
and
ANOMALY_TOTAL_IMPACT_PERCENTAGE
. The supported nested expression types
are AND
and OR
. The match option GREATER_THAN_OR_EQUAL
is
required. Values must be numbers between 0 and 10,000,000,000.
One of Threshold or ThresholdExpression is required for this resource.
The following are examples of valid ThresholdExpressions:
- Absolute threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
- Percentage threshold:
{ "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }
AND
two thresholds together:{ "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
OR
two thresholds together:{ "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
anomalySubscription_monitorArnList :: Lens' AnomalySubscription [Text] Source #
A list of cost anomaly monitors.
anomalySubscription_subscribers :: Lens' AnomalySubscription [Subscriber] Source #
A list of subscribers to notify.
anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency Source #
The frequency that anomaly reports are sent over email.
anomalySubscription_subscriptionName :: Lens' AnomalySubscription Text Source #
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.
CostAllocationTag' | |
|
Instances
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.
costAllocationTag_tagKey :: Lens' CostAllocationTag Text Source #
The key for the cost allocation tag.
costAllocationTag_type :: Lens' CostAllocationTag CostAllocationTagType Source #
The type of cost allocation tag. You can use AWSGenerated
or
UserDefined
type tags. AWSGenerated
type tags are tags that Amazon
Web Services defines and applies to support Amazon Web Services
resources for cost allocation purposes. UserDefined
type tags are tags
that you define, create, and apply to resources.
costAllocationTag_status :: Lens' CostAllocationTag CostAllocationTagStatus Source #
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.
CostAllocationTagStatusEntry' | |
|
Instances
newCostAllocationTagStatusEntry Source #
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.
costAllocationTagStatusEntry_tagKey :: Lens' CostAllocationTagStatusEntry Text Source #
The key for the cost allocation tag.
costAllocationTagStatusEntry_status :: Lens' CostAllocationTagStatusEntry CostAllocationTagStatus Source #
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.
CostCategory' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CostCategoryRuleVersion | |
-> NonEmpty CostCategoryRule | |
-> CostCategory |
Create a value of CostCategory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel: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.
costCategory_defaultValue :: Lens' CostCategory (Maybe Text) Source #
Undocumented member.
costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text) Source #
The effective end date of your Cost Category.
costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus]) Source #
The list of processing statuses for Cost Management products for a specific cost category.
costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #
The split charge rules that are used to allocate your charges between your Cost Category values.
costCategory_costCategoryArn :: Lens' CostCategory Text Source #
The unique identifier for your Cost Category.
costCategory_effectiveStart :: Lens' CostCategory Text Source #
The effective start date of your Cost Category.
costCategory_name :: Lens' CostCategory Text Source #
Undocumented member.
costCategory_ruleVersion :: Lens' CostCategory CostCategoryRuleVersion Source #
Undocumented member.
costCategory_rules :: Lens' CostCategory (NonEmpty CostCategoryRule) Source #
The rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
CostCategoryInheritedValueDimension
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.
CostCategoryInheritedValueDimension' | |
|
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.
costCategoryInheritedValueDimension_dimensionKey :: Lens' CostCategoryInheritedValueDimension (Maybe Text) Source #
The key to extract cost category values.
costCategoryInheritedValueDimension_dimensionName :: Lens' CostCategoryInheritedValueDimension (Maybe CostCategoryInheritedValueDimensionName) Source #
The name of the dimension that's used to group costs.
If you specify LINKED_ACCOUNT_NAME
, the cost category value is based
on account name. If you specify TAG
, the cost category value is based
on the value of the specified tag key.
CostCategoryProcessingStatus
data CostCategoryProcessingStatus Source #
The list of processing statuses for Cost Management products for a specific cost category.
See: newCostCategoryProcessingStatus
smart constructor.
CostCategoryProcessingStatus' | |
|
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.
costCategoryProcessingStatus_component :: Lens' CostCategoryProcessingStatus (Maybe CostCategoryStatusComponent) Source #
The Cost Management product name of the applied status.
costCategoryProcessingStatus_status :: Lens' CostCategoryProcessingStatus (Maybe CostCategoryStatus) Source #
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.
CostCategoryReference' | |
|
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.
costCategoryReference_costCategoryArn :: Lens' CostCategoryReference (Maybe Text) Source #
The unique identifier for your Cost Category.
costCategoryReference_defaultValue :: Lens' CostCategoryReference (Maybe Text) Source #
Undocumented member.
costCategoryReference_effectiveEnd :: Lens' CostCategoryReference (Maybe Text) Source #
The Cost Category's effective end date.
costCategoryReference_effectiveStart :: Lens' CostCategoryReference (Maybe Text) Source #
The Cost Category's effective start date.
costCategoryReference_name :: Lens' CostCategoryReference (Maybe Text) Source #
Undocumented member.
costCategoryReference_numberOfRules :: Lens' CostCategoryReference (Maybe Natural) Source #
The number of rules that are associated with a specific Cost Category.
costCategoryReference_processingStatus :: Lens' CostCategoryReference (Maybe [CostCategoryProcessingStatus]) Source #
The list of processing statuses for Cost Management products for a specific cost category.
costCategoryReference_values :: Lens' CostCategoryReference (Maybe [Text]) Source #
A list of unique cost category values in a specific cost category.
CostCategoryRule
data CostCategoryRule Source #
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
See: newCostCategoryRule
smart constructor.
CostCategoryRule' | |
|
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.
costCategoryRule_inheritedValue :: Lens' CostCategoryRule (Maybe CostCategoryInheritedValueDimension) Source #
The value the line item is categorized as if the line item contains the matched dimension.
costCategoryRule_rule :: Lens' CostCategoryRule (Maybe Expression) Source #
An
Expression
object used to categorize costs. This supports dimensions, tags, and
nested expressions. Currently the only dimensions supported are
LINKED_ACCOUNT
, SERVICE_CODE
, RECORD_TYPE
, and
LINKED_ACCOUNT_NAME
.
Root level OR
isn't supported. We recommend that you create a
separate rule instead.
RECORD_TYPE
is a dimension used for Cost Explorer APIs, and is also
supported for Cost Category expressions. This dimension uses different
terms, depending on whether you're using the console or API/JSON
editor. For a detailed comparison, see
Term Comparisons
in the Billing and Cost Management User Guide.
costCategoryRule_type :: Lens' CostCategoryRule (Maybe CostCategoryRuleType) Source #
You can define the CostCategoryRule
rule type as either REGULAR
or
INHERITED_VALUE
. The INHERITED_VALUE
rule type adds the flexibility
to define a rule that dynamically inherits the cost category value. This
value is from the dimension value that's defined by
CostCategoryInheritedValueDimension
. For example, suppose that you
want to costs to be dynamically grouped based on the value of a specific
tag key. First, choose an inherited value rule type, and then choose the
tag dimension and specify the tag key to use.
costCategoryRule_value :: Lens' CostCategoryRule (Maybe Text) Source #
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.
CostCategorySplitChargeRule' | |
|
Instances
newCostCategorySplitChargeRule Source #
Create a value of CostCategorySplitChargeRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parameters:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_parameters
- The parameters for a split charge method. This is only required for the
FIXED
method.
$sel:source:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_source
- The Cost Category value that you want to split. That value can't be
used as a source or a target in other split charge rules. To indicate
uncategorized costs, you can use an empty string as the source.
$sel:targets:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_targets
- The Cost Category values that you want to split costs across. These
values can't be used as a source in other split charge rules.
$sel:method:CostCategorySplitChargeRule'
, costCategorySplitChargeRule_method
- The method that's used to define how to split your source costs across
your targets.
Proportional
- Allocates charges across your targets based on the
proportional weighted cost of each target.
Fixed
- Allocates charges across your targets based on your defined
allocation percentage.
@Even@ - Allocates costs evenly across all targets.
costCategorySplitChargeRule_parameters :: Lens' CostCategorySplitChargeRule (Maybe (NonEmpty CostCategorySplitChargeRuleParameter)) Source #
The parameters for a split charge method. This is only required for the
FIXED
method.
costCategorySplitChargeRule_source :: Lens' CostCategorySplitChargeRule Text Source #
The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.
costCategorySplitChargeRule_targets :: Lens' CostCategorySplitChargeRule (NonEmpty Text) Source #
The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
costCategorySplitChargeRule_method :: Lens' CostCategorySplitChargeRule CostCategorySplitChargeMethod Source #
The method that's used to define how to split your source costs across your targets.
Proportional
- Allocates charges across your targets based on the
proportional weighted cost of each target.
Fixed
- Allocates charges across your targets based on your defined
allocation percentage.
@Even@ - Allocates costs evenly across all targets.
CostCategorySplitChargeRuleParameter
data CostCategorySplitChargeRuleParameter Source #
The parameters for a split charge method.
See: newCostCategorySplitChargeRuleParameter
smart constructor.
CostCategorySplitChargeRuleParameter' | |
|
Instances
newCostCategorySplitChargeRuleParameter Source #
Create a value of CostCategorySplitChargeRuleParameter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':CostCategorySplitChargeRuleParameter'
, costCategorySplitChargeRuleParameter_type
- The parameter type.
$sel:values:CostCategorySplitChargeRuleParameter'
, costCategorySplitChargeRuleParameter_values
- The parameter values.
costCategorySplitChargeRuleParameter_type :: Lens' CostCategorySplitChargeRuleParameter CostCategorySplitChargeRuleParameterType Source #
The parameter type.
costCategorySplitChargeRuleParameter_values :: Lens' CostCategorySplitChargeRuleParameter (NonEmpty Text) Source #
The parameter values.
CostCategoryValues
data CostCategoryValues Source #
The Cost Categories values used for filtering the costs.
If Values
and Key
are not specified, the ABSENT
MatchOption
is
applied to all Cost Categories. That is, it filters on resources that
aren't mapped to any Cost Categories.
If Values
is provided and Key
isn't specified, the ABSENT
MatchOption
is applied to the Cost Categories Key
only. That is, it
filters on resources without the given Cost Categories key.
See: newCostCategoryValues
smart constructor.
CostCategoryValues' | |
|
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.
costCategoryValues_key :: Lens' CostCategoryValues (Maybe Text) Source #
Undocumented member.
costCategoryValues_matchOptions :: Lens' CostCategoryValues (Maybe [MatchOption]) Source #
The match options that you can use to filter your results. MatchOptions
is only applicable for actions related to cost category. The default
values for MatchOptions
is EQUALS
and CASE_SENSITIVE
.
costCategoryValues_values :: Lens' CostCategoryValues (Maybe [Text]) Source #
The specific value of the Cost Category.
Coverage
The amount of instance usage that a reservation covered.
See: newCoverage
smart constructor.
Coverage' | |
|
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.
coverage_coverageCost :: Lens' Coverage (Maybe CoverageCost) Source #
The amount of cost that the reservation covered.
coverage_coverageHours :: Lens' Coverage (Maybe CoverageHours) Source #
The amount of instance usage that the reservation covered, in hours.
coverage_coverageNormalizedUnits :: Lens' Coverage (Maybe CoverageNormalizedUnits) Source #
The amount of instance usage that the reservation covered, in normalized units.
CoverageByTime
data CoverageByTime Source #
Reservation coverage for a specified period, in hours.
See: newCoverageByTime
smart constructor.
CoverageByTime' | |
|
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.
coverageByTime_groups :: Lens' CoverageByTime (Maybe [ReservationCoverageGroup]) Source #
The groups of instances that the reservation covered.
coverageByTime_timePeriod :: Lens' CoverageByTime (Maybe DateInterval) Source #
The period that this coverage was used over.
coverageByTime_total :: Lens' CoverageByTime (Maybe Coverage) Source #
The total reservation coverage, in hours.
CoverageCost
data CoverageCost Source #
How much it costs to run an instance.
See: newCoverageCost
smart constructor.
CoverageCost' | |
|
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.
coverageCost_onDemandCost :: Lens' CoverageCost (Maybe Text) Source #
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.
CoverageHours' | |
|
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.
coverageHours_coverageHoursPercentage :: Lens' CoverageHours (Maybe Text) Source #
The percentage of instance hours that a reservation covered.
coverageHours_onDemandHours :: Lens' CoverageHours (Maybe Text) Source #
The number of instance running hours that On-Demand Instances covered.
coverageHours_reservedHours :: Lens' CoverageHours (Maybe Text) Source #
The number of instance running hours that reservations covered.
coverageHours_totalRunningHours :: Lens' CoverageHours (Maybe Text) Source #
The total instance usage, in hours.
CoverageNormalizedUnits
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.
CoverageNormalizedUnits' | |
|
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.
coverageNormalizedUnits_coverageNormalizedUnitsPercentage :: Lens' CoverageNormalizedUnits (Maybe Text) Source #
The percentage of your used instance normalized units that a reservation covers.
coverageNormalizedUnits_onDemandNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
coverageNormalizedUnits_reservedNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #
The number of normalized units that a reservation covers.
coverageNormalizedUnits_totalRunningNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #
The total number of normalized units that you used.
CurrentInstance
data CurrentInstance Source #
Context about the current instance.
See: newCurrentInstance
smart constructor.
CurrentInstance' | |
|
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.
currentInstance_currencyCode :: Lens' CurrentInstance (Maybe Text) Source #
The currency code that Amazon Web Services used to calculate the costs for this instance.
currentInstance_instanceName :: Lens' CurrentInstance (Maybe Text) Source #
The name that you given an instance. This field shows as blank if you haven't given the instance a name.
currentInstance_monthlyCost :: Lens' CurrentInstance (Maybe Text) Source #
The current On-Demand cost of operating this instance on a monthly basis.
currentInstance_onDemandHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #
The number of hours during the lookback period that's billed at On-Demand rates.
currentInstance_reservationCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #
The number of hours during the lookback period that's covered by reservations.
currentInstance_resourceDetails :: Lens' CurrentInstance (Maybe ResourceDetails) Source #
Details about the resource and utilization.
currentInstance_resourceId :: Lens' CurrentInstance (Maybe Text) Source #
Resource ID of the current instance.
currentInstance_resourceUtilization :: Lens' CurrentInstance (Maybe ResourceUtilization) Source #
Utilization information of the current instance during the lookback period.
currentInstance_savingsPlansCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #
The number of hours during the lookback period that's covered by Savings Plans.
currentInstance_tags :: Lens' CurrentInstance (Maybe [TagValues]) Source #
Cost allocation resource tags that are applied to the instance.
currentInstance_totalRunningHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #
The total number of hours that the instance ran during the lookback period.
DateInterval
data DateInterval Source #
The time period of the request.
See: newDateInterval
smart constructor.
DateInterval' | |
|
Instances
Create a value of DateInterval
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:start:DateInterval'
, dateInterval_start
- The beginning of the time period. The start date is inclusive. For
example, if start
is 2017-01-01
, Amazon Web Services retrieves cost
and usage data starting at 2017-01-01
up to the end date. The start
date must be equal to or no later than the current date to avoid a
validation error.
$sel:end:DateInterval'
, dateInterval_end
- The end of the time period. The end date is exclusive. For example, if
end
is 2017-05-01
, Amazon Web Services retrieves cost and usage data
from the start date up to, but not including, 2017-05-01
.
dateInterval_start :: Lens' DateInterval Text Source #
The beginning of the time period. The start date is inclusive. For
example, if start
is 2017-01-01
, Amazon Web Services retrieves cost
and usage data starting at 2017-01-01
up to the end date. The start
date must be equal to or no later than the current date to avoid a
validation error.
dateInterval_end :: Lens' DateInterval Text Source #
The end of the time period. The end date is exclusive. For example, if
end
is 2017-05-01
, Amazon Web Services retrieves cost and usage data
from the start date up to, but not including, 2017-05-01
.
DimensionValues
data DimensionValues Source #
The metadata that you can use to filter and group your results. You can
use GetDimensionValues
to find specific values.
See: newDimensionValues
smart constructor.
DimensionValues' | |
|
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.
dimensionValues_key :: Lens' DimensionValues (Maybe Dimension) Source #
The names of the metadata types that you can use to filter and group
your results. For example, AZ
returns a list of Availability Zones.
Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported.
LINK_ACCOUNT_NAME
and SERVICE_CODE
can only be used in
CostCategoryRule.
ANOMALY_TOTAL_IMPACT_ABSOLUTE
and ANOMALY_TOTAL_IMPACT_PERCENTAGE
can only be used in
AnomalySubscriptions.
dimensionValues_matchOptions :: Lens' DimensionValues (Maybe [MatchOption]) Source #
The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category
and Anomaly Subscriptions. Refer to the documentation for each specific
API to see what is supported.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
dimensionValues_values :: Lens' DimensionValues (Maybe [Text]) Source #
The metadata values that you can use to filter and group your results.
You can use GetDimensionValues
to find specific values.
DimensionValuesWithAttributes
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.
dimensionValuesWithAttributes_attributes :: Lens' DimensionValuesWithAttributes (Maybe (HashMap Text Text)) Source #
The attribute that applies to a specific Dimension
.
dimensionValuesWithAttributes_value :: Lens' DimensionValuesWithAttributes (Maybe Text) Source #
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.
DiskResourceUtilization' | |
|
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.
diskResourceUtilization_diskReadBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #
The maximum read throughput operations per second.
diskResourceUtilization_diskReadOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #
The maximum number of read operations per second.
diskResourceUtilization_diskWriteBytesPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #
The maximum write throughput operations per second.
diskResourceUtilization_diskWriteOpsPerSecond :: Lens' DiskResourceUtilization (Maybe Text) Source #
The maximum number of write operations per second.
EBSResourceUtilization
data EBSResourceUtilization Source #
The EBS field that contains a list of EBS metrics that are associated with the current instance.
See: newEBSResourceUtilization
smart constructor.
EBSResourceUtilization' | |
|
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.
eBSResourceUtilization_ebsReadBytesPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #
The maximum size of read operations per second
eBSResourceUtilization_ebsReadOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #
The maximum number of read operations per second.
eBSResourceUtilization_ebsWriteBytesPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #
The maximum size of write operations per second.
eBSResourceUtilization_ebsWriteOpsPerSecond :: Lens' EBSResourceUtilization (Maybe Text) Source #
The maximum number of write operations per second.
EC2InstanceDetails
data EC2InstanceDetails Source #
Details about the Amazon EC2 instances that Amazon Web Services recommends that you purchase.
See: newEC2InstanceDetails
smart constructor.
EC2InstanceDetails' | |
|
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.
eC2InstanceDetails_availabilityZone :: Lens' EC2InstanceDetails (Maybe Text) Source #
The Availability Zone of the recommended reservation.
eC2InstanceDetails_currentGeneration :: Lens' EC2InstanceDetails (Maybe Bool) Source #
Determines whether the recommendation is for a current-generation instance.
eC2InstanceDetails_family :: Lens' EC2InstanceDetails (Maybe Text) Source #
The instance family of the recommended reservation.
eC2InstanceDetails_instanceType :: Lens' EC2InstanceDetails (Maybe Text) Source #
The type of instance that Amazon Web Services recommends.
eC2InstanceDetails_platform :: Lens' EC2InstanceDetails (Maybe Text) Source #
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
eC2InstanceDetails_region :: Lens' EC2InstanceDetails (Maybe Text) Source #
The Amazon Web Services Region of the recommended reservation.
eC2InstanceDetails_sizeFlexEligible :: Lens' EC2InstanceDetails (Maybe Bool) Source #
Determines whether the recommended reservation is size flexible.
eC2InstanceDetails_tenancy :: Lens' EC2InstanceDetails (Maybe Text) Source #
Determines whether the recommended reservation is dedicated or shared.
EC2ResourceDetails
data EC2ResourceDetails Source #
Details on the Amazon EC2 Resource.
See: newEC2ResourceDetails
smart constructor.
EC2ResourceDetails' | |
|
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.
eC2ResourceDetails_hourlyOnDemandRate :: Lens' EC2ResourceDetails (Maybe Text) Source #
The hourly public On-Demand rate for the instance type.
eC2ResourceDetails_instanceType :: Lens' EC2ResourceDetails (Maybe Text) Source #
The type of Amazon Web Services instance.
eC2ResourceDetails_memory :: Lens' EC2ResourceDetails (Maybe Text) Source #
The memory capacity of the Amazon Web Services instance.
eC2ResourceDetails_networkPerformance :: Lens' EC2ResourceDetails (Maybe Text) Source #
The network performance capacity of the Amazon Web Services instance.
eC2ResourceDetails_platform :: Lens' EC2ResourceDetails (Maybe Text) Source #
The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.
eC2ResourceDetails_region :: Lens' EC2ResourceDetails (Maybe Text) Source #
The Amazon Web Services Region of the instance.
eC2ResourceDetails_sku :: Lens' EC2ResourceDetails (Maybe Text) Source #
The SKU of the product.
eC2ResourceDetails_storage :: Lens' EC2ResourceDetails (Maybe Text) Source #
The disk storage of the Amazon Web Services instance. This doesn't include EBS storage.
eC2ResourceDetails_vcpu :: Lens' EC2ResourceDetails (Maybe Text) Source #
The number of VCPU cores in the Amazon Web Services instance type.
EC2ResourceUtilization
data EC2ResourceUtilization Source #
Utilization metrics for the instance.
See: newEC2ResourceUtilization
smart constructor.
EC2ResourceUtilization' | |
|
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.
eC2ResourceUtilization_diskResourceUtilization :: Lens' EC2ResourceUtilization (Maybe DiskResourceUtilization) Source #
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
eC2ResourceUtilization_eBSResourceUtilization :: Lens' EC2ResourceUtilization (Maybe EBSResourceUtilization) Source #
The EBS field that contains a list of EBS metrics that are associated with the current instance.
eC2ResourceUtilization_maxCpuUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #
The maximum observed or expected CPU utilization of the instance.
eC2ResourceUtilization_maxMemoryUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #
The maximum observed or expected memory utilization of the instance.
eC2ResourceUtilization_maxStorageUtilizationPercentage :: Lens' EC2ResourceUtilization (Maybe Text) Source #
The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.
eC2ResourceUtilization_networkResourceUtilization :: Lens' EC2ResourceUtilization (Maybe NetworkResourceUtilization) Source #
The network field that contains a list of network metrics that are associated with the current instance.
EC2Specification
data EC2Specification Source #
The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for.
See: newEC2Specification
smart constructor.
EC2Specification' | |
|
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.
eC2Specification_offeringClass :: Lens' EC2Specification (Maybe OfferingClass) Source #
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.
ESInstanceDetails' | |
|
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.
eSInstanceDetails_currentGeneration :: Lens' ESInstanceDetails (Maybe Bool) Source #
Determines whether the recommendation is for a current-generation instance.
eSInstanceDetails_instanceClass :: Lens' ESInstanceDetails (Maybe Text) Source #
The class of instance that Amazon Web Services recommends.
eSInstanceDetails_instanceSize :: Lens' ESInstanceDetails (Maybe Text) Source #
The size of instance that Amazon Web Services recommends.
eSInstanceDetails_region :: Lens' ESInstanceDetails (Maybe Text) Source #
The Amazon Web Services Region of the recommended reservation.
eSInstanceDetails_sizeFlexEligible :: Lens' ESInstanceDetails (Maybe Bool) Source #
Determines whether the recommended reservation is size flexible.
ElastiCacheInstanceDetails
data ElastiCacheInstanceDetails Source #
Details about the Amazon ElastiCache instances that Amazon Web Services recommends that you purchase.
See: newElastiCacheInstanceDetails
smart constructor.
ElastiCacheInstanceDetails' | |
|
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.
elastiCacheInstanceDetails_currentGeneration :: Lens' ElastiCacheInstanceDetails (Maybe Bool) Source #
Determines whether the recommendation is for a current generation instance.
elastiCacheInstanceDetails_family :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #
The instance family of the recommended reservation.
elastiCacheInstanceDetails_nodeType :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #
The type of node that Amazon Web Services recommends.
elastiCacheInstanceDetails_productDescription :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #
The description of the recommended reservation.
elastiCacheInstanceDetails_region :: Lens' ElastiCacheInstanceDetails (Maybe Text) Source #
The Amazon Web Services Region of the recommended reservation.
elastiCacheInstanceDetails_sizeFlexEligible :: Lens' ElastiCacheInstanceDetails (Maybe Bool) Source #
Determines whether the recommended reservation is size flexible.
Expression
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.
Expression' | |
|
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
.
expression_and :: Lens' Expression (Maybe [Expression]) Source #
Return results that match both Dimension
objects.
expression_costCategories :: Lens' Expression (Maybe CostCategoryValues) Source #
The filter that's based on CostCategory
values.
expression_dimensions :: Lens' Expression (Maybe DimensionValues) Source #
The specific Dimension
to use for Expression
.
expression_not :: Lens' Expression (Maybe Expression) Source #
Return results that don't match a Dimension
object.
expression_or :: Lens' Expression (Maybe [Expression]) Source #
Return results that match either Dimension
object.
expression_tags :: Lens' Expression (Maybe TagValues) Source #
The specific Tag
to use for Expression
.
ForecastResult
data ForecastResult Source #
The forecast that's created for your query.
See: newForecastResult
smart constructor.
ForecastResult' | |
|
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.
forecastResult_meanValue :: Lens' ForecastResult (Maybe Text) Source #
The mean value of the forecast.
forecastResult_predictionIntervalLowerBound :: Lens' ForecastResult (Maybe Text) Source #
The lower limit for the prediction interval.
forecastResult_predictionIntervalUpperBound :: Lens' ForecastResult (Maybe Text) Source #
The upper limit for the prediction interval.
forecastResult_timePeriod :: Lens' ForecastResult (Maybe DateInterval) Source #
The period of time that the forecast covers.
GenerationSummary
data GenerationSummary Source #
The summary of the Savings Plans recommendation generation.
See: newGenerationSummary
smart constructor.
GenerationSummary' | |
|
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.
generationSummary_estimatedCompletionTime :: Lens' GenerationSummary (Maybe Text) Source #
Indicates the estimated time for when the recommendation generation will complete.
generationSummary_generationCompletionTime :: Lens' GenerationSummary (Maybe Text) Source #
Indicates the completion time of the recommendation generation.
generationSummary_generationStartedTime :: Lens' GenerationSummary (Maybe Text) Source #
Indicates the start time of the recommendation generation.
generationSummary_generationStatus :: Lens' GenerationSummary (Maybe GenerationStatus) Source #
Indicates whether the recommendation generation succeeded, is processing, or failed.
generationSummary_recommendationId :: Lens' GenerationSummary (Maybe Text) Source #
Indicates the ID for this specific recommendation.
Group
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.
group_metrics :: Lens' Group (Maybe (HashMap Text MetricValue)) Source #
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.
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.
groupDefinition_key :: Lens' GroupDefinition (Maybe Text) Source #
The string that represents a key for a specified group.
groupDefinition_type :: Lens' GroupDefinition (Maybe GroupDefinitionType) Source #
The string that represents the type of group.
Impact
The dollar value of the anomaly.
See: newImpact
smart constructor.
Impact' | |
|
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.
impact_totalActualSpend :: Lens' Impact (Maybe Double) Source #
The cumulative dollar amount that was actually spent during the anomaly.
impact_totalExpectedSpend :: Lens' Impact (Maybe Double) Source #
The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.
impact_totalImpact :: Lens' Impact (Maybe Double) Source #
The cumulative dollar difference between the total actual spend and
total expected spend. It is calculated as
TotalActualSpend - TotalExpectedSpend
.
impact_totalImpactPercentage :: Lens' Impact (Maybe Double) Source #
The cumulative percentage difference between the total actual spend and
total expected spend. It is calculated as
(TotalImpact / TotalExpectedSpend) * 100
. When TotalExpectedSpend
is zero, this field is omitted. Expected spend can be zero in situations
such as when you start to use a service for the first time.
impact_maxImpact :: Lens' Impact Double Source #
The maximum dollar value that's observed for an anomaly.
InstanceDetails
data InstanceDetails Source #
Details about the instances that Amazon Web Services recommends that you purchase.
See: newInstanceDetails
smart constructor.
InstanceDetails' | |
|
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.
instanceDetails_eC2InstanceDetails :: Lens' InstanceDetails (Maybe EC2InstanceDetails) Source #
The Amazon EC2 instances that Amazon Web Services recommends that you purchase.
instanceDetails_eSInstanceDetails :: Lens' InstanceDetails (Maybe ESInstanceDetails) Source #
The Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.
instanceDetails_elastiCacheInstanceDetails :: Lens' InstanceDetails (Maybe ElastiCacheInstanceDetails) Source #
The ElastiCache instances that Amazon Web Services recommends that you purchase.
instanceDetails_rDSInstanceDetails :: Lens' InstanceDetails (Maybe RDSInstanceDetails) Source #
The Amazon RDS instances that Amazon Web Services recommends that you purchase.
instanceDetails_redshiftInstanceDetails :: Lens' InstanceDetails (Maybe RedshiftInstanceDetails) Source #
The Amazon Redshift instances that Amazon Web Services recommends that you purchase.
MetricValue
data MetricValue Source #
The aggregated value for a metric.
See: newMetricValue
smart constructor.
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.
metricValue_amount :: Lens' MetricValue (Maybe Text) Source #
The actual number that represents the metric.
metricValue_unit :: Lens' MetricValue (Maybe Text) Source #
The unit that the metric is given in.
ModifyRecommendationDetail
data ModifyRecommendationDetail Source #
Details for the modification recommendation.
See: newModifyRecommendationDetail
smart constructor.
ModifyRecommendationDetail' | |
|
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.
modifyRecommendationDetail_targetInstances :: Lens' ModifyRecommendationDetail (Maybe [TargetInstance]) Source #
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.
NetworkResourceUtilization' | |
|
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.
networkResourceUtilization_networkInBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #
The network inbound throughput utilization measured in Bytes per second (Bps).
networkResourceUtilization_networkOutBytesPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #
The network outbound throughput utilization measured in Bytes per second (Bps).
networkResourceUtilization_networkPacketsInPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #
The network inbound packets that are measured in packets per second.
networkResourceUtilization_networkPacketsOutPerSecond :: Lens' NetworkResourceUtilization (Maybe Text) Source #
The network outbound packets that are measured in packets per second.
RDSInstanceDetails
data RDSInstanceDetails Source #
Details about the Amazon RDS instances that Amazon Web Services recommends that you purchase.
See: newRDSInstanceDetails
smart constructor.
RDSInstanceDetails' | |
|
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.
rDSInstanceDetails_currentGeneration :: Lens' RDSInstanceDetails (Maybe Bool) Source #
Determines whether the recommendation is for a current-generation instance.
rDSInstanceDetails_databaseEdition :: Lens' RDSInstanceDetails (Maybe Text) Source #
The database edition that the recommended reservation supports.
rDSInstanceDetails_databaseEngine :: Lens' RDSInstanceDetails (Maybe Text) Source #
The database engine that the recommended reservation supports.
rDSInstanceDetails_deploymentOption :: Lens' RDSInstanceDetails (Maybe Text) Source #
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
rDSInstanceDetails_family :: Lens' RDSInstanceDetails (Maybe Text) Source #
The instance family of the recommended reservation.
rDSInstanceDetails_instanceType :: Lens' RDSInstanceDetails (Maybe Text) Source #
The type of instance that Amazon Web Services recommends.
rDSInstanceDetails_licenseModel :: Lens' RDSInstanceDetails (Maybe Text) Source #
The license model that the recommended reservation supports.
rDSInstanceDetails_region :: Lens' RDSInstanceDetails (Maybe Text) Source #
The Amazon Web Services Region of the recommended reservation.
rDSInstanceDetails_sizeFlexEligible :: Lens' RDSInstanceDetails (Maybe Bool) Source #
Determines whether the recommended reservation is size flexible.
RedshiftInstanceDetails
data RedshiftInstanceDetails Source #
Details about the Amazon Redshift instances that Amazon Web Services recommends that you purchase.
See: newRedshiftInstanceDetails
smart constructor.
RedshiftInstanceDetails' | |
|
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.
redshiftInstanceDetails_currentGeneration :: Lens' RedshiftInstanceDetails (Maybe Bool) Source #
Determines whether the recommendation is for a current-generation instance.
redshiftInstanceDetails_family :: Lens' RedshiftInstanceDetails (Maybe Text) Source #
The instance family of the recommended reservation.
redshiftInstanceDetails_nodeType :: Lens' RedshiftInstanceDetails (Maybe Text) Source #
The type of node that Amazon Web Services recommends.
redshiftInstanceDetails_region :: Lens' RedshiftInstanceDetails (Maybe Text) Source #
The Amazon Web Services Region of the recommended reservation.
redshiftInstanceDetails_sizeFlexEligible :: Lens' RedshiftInstanceDetails (Maybe Bool) Source #
Determines whether the recommended reservation is size flexible.
ReservationAggregates
data ReservationAggregates Source #
The aggregated numbers for your reservation usage.
See: newReservationAggregates
smart constructor.
ReservationAggregates' | |
|
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.
reservationAggregates_amortizedRecurringFee :: Lens' ReservationAggregates (Maybe Text) Source #
The monthly cost of your reservation. It's amortized over the reservation period.
reservationAggregates_amortizedUpfrontFee :: Lens' ReservationAggregates (Maybe Text) Source #
The upfront cost of your reservation. It's amortized over the reservation period.
reservationAggregates_netRISavings :: Lens' ReservationAggregates (Maybe Text) Source #
How much you saved due to purchasing and utilizing reservation. Amazon
Web Services calculates this by subtracting TotalAmortizedFee
from
OnDemandCostOfRIHoursUsed
.
reservationAggregates_onDemandCostOfRIHoursUsed :: Lens' ReservationAggregates (Maybe Text) Source #
How much your reservation costs if charged On-Demand rates.
reservationAggregates_purchasedHours :: Lens' ReservationAggregates (Maybe Text) Source #
How many reservation hours that you purchased.
reservationAggregates_purchasedUnits :: Lens' ReservationAggregates (Maybe Text) Source #
The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
reservationAggregates_rICostForUnusedHours :: Lens' ReservationAggregates (Maybe Text) Source #
The cost of unused hours for your reservation.
reservationAggregates_realizedSavings :: Lens' ReservationAggregates (Maybe Text) Source #
The realized savings because of purchasing and using a reservation.
reservationAggregates_totalActualHours :: Lens' ReservationAggregates (Maybe Text) Source #
The total number of reservation hours that you used.
reservationAggregates_totalActualUnits :: Lens' ReservationAggregates (Maybe Text) Source #
The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
reservationAggregates_totalAmortizedFee :: Lens' ReservationAggregates (Maybe Text) Source #
The total cost of your reservation. It's amortized over the reservation period.
reservationAggregates_totalPotentialRISavings :: Lens' ReservationAggregates (Maybe Text) Source #
How much you might save if you use your entire reservation.
reservationAggregates_unrealizedSavings :: Lens' ReservationAggregates (Maybe Text) Source #
The unrealized savings because of purchasing and using a reservation.
reservationAggregates_unusedHours :: Lens' ReservationAggregates (Maybe Text) Source #
The number of reservation hours that you didn't use.
reservationAggregates_unusedUnits :: Lens' ReservationAggregates (Maybe Text) Source #
The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
reservationAggregates_utilizationPercentage :: Lens' ReservationAggregates (Maybe Text) Source #
The percentage of reservation time that you used.
reservationAggregates_utilizationPercentageInUnits :: Lens' ReservationAggregates (Maybe Text) Source #
The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
ReservationCoverageGroup
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.
reservationCoverageGroup_attributes :: Lens' ReservationCoverageGroup (Maybe (HashMap Text Text)) Source #
The attributes for this group of reservations.
reservationCoverageGroup_coverage :: Lens' ReservationCoverageGroup (Maybe Coverage) Source #
How much instance usage this group of reservations covered.
ReservationPurchaseRecommendation
data ReservationPurchaseRecommendation Source #
A specific reservation that Amazon Web Services recommends for purchase.
See: newReservationPurchaseRecommendation
smart constructor.
ReservationPurchaseRecommendation' | |
|
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.
reservationPurchaseRecommendation_accountScope :: Lens' ReservationPurchaseRecommendation (Maybe AccountScope) Source #
The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.
reservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' ReservationPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #
How many days of previous usage that Amazon Web Services considers when making this recommendation.
reservationPurchaseRecommendation_paymentOption :: Lens' ReservationPurchaseRecommendation (Maybe PaymentOption) Source #
The payment option for the reservation (for example, AllUpfront
or
NoUpfront
).
reservationPurchaseRecommendation_recommendationDetails :: Lens' ReservationPurchaseRecommendation (Maybe [ReservationPurchaseRecommendationDetail]) Source #
Details about the recommended purchases.
reservationPurchaseRecommendation_recommendationSummary :: Lens' ReservationPurchaseRecommendation (Maybe ReservationPurchaseRecommendationSummary) Source #
A summary about the recommended purchase.
reservationPurchaseRecommendation_serviceSpecification :: Lens' ReservationPurchaseRecommendation (Maybe ServiceSpecification) Source #
Hardware specifications for the service that you want recommendations for.
reservationPurchaseRecommendation_termInYears :: Lens' ReservationPurchaseRecommendation (Maybe TermInYears) Source #
The term of the reservation that you want recommendations for, in years.
ReservationPurchaseRecommendationDetail
data ReservationPurchaseRecommendationDetail Source #
Details about your recommended reservation purchase.
See: newReservationPurchaseRecommendationDetail
smart constructor.
ReservationPurchaseRecommendationDetail' | |
|
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.
reservationPurchaseRecommendationDetail_accountId :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The account that this Reserved Instance (RI) recommendation is for.
reservationPurchaseRecommendationDetail_averageNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_averageNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_averageUtilization :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_currencyCode :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The currency code that Amazon Web Services used to calculate the costs for this instance.
reservationPurchaseRecommendationDetail_estimatedBreakEvenInMonths :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
reservationPurchaseRecommendationDetail_estimatedMonthlyOnDemandCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
reservationPurchaseRecommendationDetail_estimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How much Amazon Web Services estimates that this specific recommendation might save you in a month.
reservationPurchaseRecommendationDetail_estimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
reservationPurchaseRecommendationDetail_estimatedReservationCostForLookbackPeriod :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
reservationPurchaseRecommendationDetail_instanceDetails :: Lens' ReservationPurchaseRecommendationDetail (Maybe InstanceDetails) Source #
Details about the instances that Amazon Web Services recommends that you purchase.
reservationPurchaseRecommendationDetail_maximumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_maximumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_minimumNormalizedUnitsUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_minimumNumberOfInstancesUsedPerHour :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
reservationPurchaseRecommendationDetail_recommendedNormalizedUnitsToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The number of normalized units that Amazon Web Services recommends that you purchase.
reservationPurchaseRecommendationDetail_recommendedNumberOfInstancesToPurchase :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
The number of instances that Amazon Web Services recommends that you purchase.
reservationPurchaseRecommendationDetail_recurringStandardMonthlyCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
How much purchasing this instance costs you on a monthly basis.
reservationPurchaseRecommendationDetail_upfrontCost :: Lens' ReservationPurchaseRecommendationDetail (Maybe Text) Source #
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.
ReservationPurchaseRecommendationMetadata' | |
|
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.
reservationPurchaseRecommendationMetadata_generationTimestamp :: Lens' ReservationPurchaseRecommendationMetadata (Maybe Text) Source #
The timestamp for when Amazon Web Services made this recommendation.
reservationPurchaseRecommendationMetadata_recommendationId :: Lens' ReservationPurchaseRecommendationMetadata (Maybe Text) Source #
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.
ReservationPurchaseRecommendationSummary' | |
|
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.
reservationPurchaseRecommendationSummary_currencyCode :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text) Source #
The currency code used for this recommendation.
reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsAmount :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text) Source #
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
reservationPurchaseRecommendationSummary_totalEstimatedMonthlySavingsPercentage :: Lens' ReservationPurchaseRecommendationSummary (Maybe Text) Source #
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.
ReservationUtilizationGroup
data ReservationUtilizationGroup Source #
A group of reservations that share a set of attributes.
See: newReservationUtilizationGroup
smart constructor.
ReservationUtilizationGroup' | |
|
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.
reservationUtilizationGroup_attributes :: Lens' ReservationUtilizationGroup (Maybe (HashMap Text Text)) Source #
The attributes for this group of reservations.
reservationUtilizationGroup_key :: Lens' ReservationUtilizationGroup (Maybe Text) Source #
The key for a specific reservation attribute.
reservationUtilizationGroup_utilization :: Lens' ReservationUtilizationGroup (Maybe ReservationAggregates) Source #
How much you used this group of reservations.
reservationUtilizationGroup_value :: Lens' ReservationUtilizationGroup (Maybe Text) Source #
The value of a specific reservation attribute.
ResourceDetails
data ResourceDetails Source #
Details for the resource.
See: newResourceDetails
smart constructor.
ResourceDetails' | |
|
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.
resourceDetails_eC2ResourceDetails :: Lens' ResourceDetails (Maybe EC2ResourceDetails) Source #
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.
Instances
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.
resourceTag_key :: Lens' ResourceTag Text Source #
The key that's associated with the tag.
resourceTag_value :: Lens' ResourceTag Text Source #
The value that's associated with the tag.
ResourceUtilization
data ResourceUtilization Source #
Resource utilization of current resource.
See: newResourceUtilization
smart constructor.
ResourceUtilization' | |
|
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.
resourceUtilization_eC2ResourceUtilization :: Lens' ResourceUtilization (Maybe EC2ResourceUtilization) Source #
The utilization of current Amazon EC2 instance.
ResultByTime
data ResultByTime Source #
The result that's associated with a time period.
See: newResultByTime
smart constructor.
ResultByTime' | |
|
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.
resultByTime_estimated :: Lens' ResultByTime (Maybe Bool) Source #
Determines whether the result is estimated.
resultByTime_groups :: Lens' ResultByTime (Maybe [Group]) Source #
The groups that this time period includes.
resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval) Source #
The time period that the result covers.
resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue)) Source #
The total amount of cost or usage accrued during the time period.
RightsizingRecommendation
data RightsizingRecommendation Source #
Recommendations to rightsize resources.
See: newRightsizingRecommendation
smart constructor.
RightsizingRecommendation' | |
|
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.
rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text) Source #
The account that this recommendation is for.
rightsizingRecommendation_currentInstance :: Lens' RightsizingRecommendation (Maybe CurrentInstance) Source #
Context regarding the current instance.
rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode]) Source #
The list of possible reasons why the recommendation is generated, such as under- or over-utilization of specific metrics (for example, CPU, Memory, Network).
rightsizingRecommendation_modifyRecommendationDetail :: Lens' RightsizingRecommendation (Maybe ModifyRecommendationDetail) Source #
The details for the modification recommendations.
rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType) Source #
A recommendation to either terminate or modify the resource.
rightsizingRecommendation_terminateRecommendationDetail :: Lens' RightsizingRecommendation (Maybe TerminateRecommendationDetail) Source #
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.
RightsizingRecommendationConfiguration' | |
|
Instances
newRightsizingRecommendationConfiguration Source #
:: RecommendationTarget |
|
-> Bool |
|
-> RightsizingRecommendationConfiguration |
Create a value of RightsizingRecommendationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationTarget:RightsizingRecommendationConfiguration'
, rightsizingRecommendationConfiguration_recommendationTarget
- The option to see recommendations within the same instance family or
recommendations for instances across other families. The default value
is SAME_INSTANCE_FAMILY
.
$sel:benefitsConsidered:RightsizingRecommendationConfiguration'
, rightsizingRecommendationConfiguration_benefitsConsidered
- The option to consider RI or Savings Plans discount benefits in your
savings calculation. The default value is TRUE
.
rightsizingRecommendationConfiguration_recommendationTarget :: Lens' RightsizingRecommendationConfiguration RecommendationTarget Source #
The option to see recommendations within the same instance family or
recommendations for instances across other families. The default value
is SAME_INSTANCE_FAMILY
.
rightsizingRecommendationConfiguration_benefitsConsidered :: Lens' RightsizingRecommendationConfiguration Bool Source #
The option to consider RI or Savings Plans discount benefits in your
savings calculation. The default value is TRUE
.
RightsizingRecommendationMetadata
data RightsizingRecommendationMetadata Source #
Metadata for this recommendation set.
See: newRightsizingRecommendationMetadata
smart constructor.
RightsizingRecommendationMetadata' | |
|
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.
rightsizingRecommendationMetadata_additionalMetadata :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #
Additional metadata that might be applicable to the recommendation.
rightsizingRecommendationMetadata_generationTimestamp :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #
The timestamp for when Amazon Web Services made this recommendation.
rightsizingRecommendationMetadata_lookbackPeriodInDays :: Lens' RightsizingRecommendationMetadata (Maybe LookbackPeriodInDays) Source #
The number of days of previous usage that Amazon Web Services considers when making this recommendation.
rightsizingRecommendationMetadata_recommendationId :: Lens' RightsizingRecommendationMetadata (Maybe Text) Source #
The ID for this specific recommendation.
RightsizingRecommendationSummary
data RightsizingRecommendationSummary Source #
The summary of rightsizing recommendations
See: newRightsizingRecommendationSummary
smart constructor.
RightsizingRecommendationSummary' | |
|
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.
rightsizingRecommendationSummary_estimatedTotalMonthlySavingsAmount :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #
The estimated total savings resulting from modifications, on a monthly basis.
rightsizingRecommendationSummary_savingsCurrencyCode :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #
The currency code that Amazon Web Services used to calculate the savings.
rightsizingRecommendationSummary_savingsPercentage :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #
The savings percentage based on the recommended modifications. It's relative to the total On-Demand costs that are associated with these instances.
rightsizingRecommendationSummary_totalRecommendationCount :: Lens' RightsizingRecommendationSummary (Maybe Text) Source #
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.
RootCause' | |
|
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.
rootCause_linkedAccount :: Lens' RootCause (Maybe Text) Source #
The member account value that's associated with the cost anomaly.
rootCause_linkedAccountName :: Lens' RootCause (Maybe Text) Source #
The member account name value that's associated with the cost anomaly.
rootCause_region :: Lens' RootCause (Maybe Text) Source #
The Amazon Web Services Region that's associated with the cost anomaly.
rootCause_service :: Lens' RootCause (Maybe Text) Source #
The Amazon Web Service name that's associated with the cost anomaly.
rootCause_usageType :: Lens' RootCause (Maybe Text) Source #
The UsageType
value that's associated with the cost anomaly.
SavingsPlansAmortizedCommitment
data SavingsPlansAmortizedCommitment Source #
The amortized amount of Savings Plans purchased in a specific account during a specific time interval.
See: newSavingsPlansAmortizedCommitment
smart constructor.
SavingsPlansAmortizedCommitment' | |
|
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.
savingsPlansAmortizedCommitment_amortizedRecurringCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #
The amortized amount of your Savings Plans commitment that was purchased
with either a Partial
or a NoUpfront
.
savingsPlansAmortizedCommitment_amortizedUpfrontCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #
The amortized amount of your Savings Plans commitment that was purchased
with an Upfront
or PartialUpfront
Savings Plans.
savingsPlansAmortizedCommitment_totalAmortizedCommitment :: Lens' SavingsPlansAmortizedCommitment (Maybe Text) Source #
The total amortized amount of your Savings Plans commitment, regardless of your Savings Plans purchase method.
SavingsPlansCoverage
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.
SavingsPlansCoverage' | |
|
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.
savingsPlansCoverage_attributes :: Lens' SavingsPlansCoverage (Maybe (HashMap Text Text)) Source #
The attribute that applies to a specific Dimension
.
savingsPlansCoverage_coverage :: Lens' SavingsPlansCoverage (Maybe SavingsPlansCoverageData) Source #
The amount of Savings Plans eligible usage that the Savings Plans covered.
savingsPlansCoverage_timePeriod :: Lens' SavingsPlansCoverage (Maybe DateInterval) Source #
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.
SavingsPlansCoverageData' | |
|
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.
savingsPlansCoverageData_coveragePercentage :: Lens' SavingsPlansCoverageData (Maybe Text) Source #
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).
savingsPlansCoverageData_onDemandCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #
The cost of your Amazon Web Services usage at the public On-Demand rate.
savingsPlansCoverageData_spendCoveredBySavingsPlans :: Lens' SavingsPlansCoverageData (Maybe Text) Source #
The amount of your Amazon Web Services usage that's covered by a Savings Plans.
savingsPlansCoverageData_totalCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #
The total cost of your Amazon Web Services usage, regardless of your purchase option.
SavingsPlansDetails
data SavingsPlansDetails Source #
The attribute details on a specific Savings Plan.
See: newSavingsPlansDetails
smart constructor.
SavingsPlansDetails' | |
|
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.
savingsPlansDetails_instanceFamily :: Lens' SavingsPlansDetails (Maybe Text) Source #
A group of instance types that Savings Plans applies to.
savingsPlansDetails_offeringId :: Lens' SavingsPlansDetails (Maybe Text) Source #
The unique ID that's used to distinguish Savings Plans from one another.
savingsPlansDetails_region :: Lens' SavingsPlansDetails (Maybe Text) Source #
A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.
SavingsPlansPurchaseRecommendation
data SavingsPlansPurchaseRecommendation Source #
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
See: newSavingsPlansPurchaseRecommendation
smart constructor.
SavingsPlansPurchaseRecommendation' | |
|
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.
savingsPlansPurchaseRecommendation_accountScope :: Lens' SavingsPlansPurchaseRecommendation (Maybe AccountScope) Source #
The account scope that you want your recommendations for. Amazon Web
Services calculates recommendations that include the management account
and member accounts if the value is set to PAYER
. If the value is
LINKED
, recommendations are calculated for individual member accounts
only.
savingsPlansPurchaseRecommendation_lookbackPeriodInDays :: Lens' SavingsPlansPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #
The lookback period in days that's used to generate the recommendation.
savingsPlansPurchaseRecommendation_paymentOption :: Lens' SavingsPlansPurchaseRecommendation (Maybe PaymentOption) Source #
The payment option that's used to generate the recommendation.
savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails :: Lens' SavingsPlansPurchaseRecommendation (Maybe [SavingsPlansPurchaseRecommendationDetail]) Source #
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary :: Lens' SavingsPlansPurchaseRecommendation (Maybe SavingsPlansPurchaseRecommendationSummary) Source #
Summary metrics for your Savings Plans Recommendations.
savingsPlansPurchaseRecommendation_savingsPlansType :: Lens' SavingsPlansPurchaseRecommendation (Maybe SupportedSavingsPlansType) Source #
The requested Savings Plans recommendation type.
savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears) Source #
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.
SavingsPlansPurchaseRecommendationDetail' | |
|
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.
savingsPlansPurchaseRecommendationDetail_accountId :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The AccountID
the recommendation is generated for.
savingsPlansPurchaseRecommendationDetail_currencyCode :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The currency code that Amazon Web Services used to generate the recommendations and present potential savings.
savingsPlansPurchaseRecommendationDetail_currentAverageHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
savingsPlansPurchaseRecommendationDetail_currentMaximumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
savingsPlansPurchaseRecommendationDetail_currentMinimumHourlyOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
savingsPlansPurchaseRecommendationDetail_estimatedAverageUtilization :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated utilization of the recommended Savings Plans.
savingsPlansPurchaseRecommendationDetail_estimatedMonthlySavingsAmount :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated monthly savings amount based on the recommended Savings Plans.
savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.
savingsPlansPurchaseRecommendationDetail_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.
savingsPlansPurchaseRecommendationDetail_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated return on investment that's based on the recommended
Savings Plans that you purchased. This is calculated as
estimatedSavingsAmount
/ estimatedSPCost
*100.
savingsPlansPurchaseRecommendationDetail_estimatedSPCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The cost of the recommended Savings Plans over the length of the lookback period.
savingsPlansPurchaseRecommendationDetail_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.
savingsPlansPurchaseRecommendationDetail_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
savingsPlansPurchaseRecommendationDetail_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.
savingsPlansPurchaseRecommendationDetail_savingsPlansDetails :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe SavingsPlansDetails) Source #
Details for your recommended Savings Plans.
savingsPlansPurchaseRecommendationDetail_upfrontCost :: Lens' SavingsPlansPurchaseRecommendationDetail (Maybe Text) Source #
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.
SavingsPlansPurchaseRecommendationMetadata' | |
|
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.
savingsPlansPurchaseRecommendationMetadata_additionalMetadata :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text) Source #
Additional metadata that might be applicable to the recommendation.
savingsPlansPurchaseRecommendationMetadata_generationTimestamp :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text) Source #
The timestamp that shows when the recommendations were generated.
savingsPlansPurchaseRecommendationMetadata_recommendationId :: Lens' SavingsPlansPurchaseRecommendationMetadata (Maybe Text) Source #
The unique identifier for the recommendation set.
SavingsPlansPurchaseRecommendationSummary
data SavingsPlansPurchaseRecommendationSummary Source #
Summary metrics for your Savings Plans Purchase Recommendations.
See: newSavingsPlansPurchaseRecommendationSummary
smart constructor.
SavingsPlansPurchaseRecommendationSummary' | |
|
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.
savingsPlansPurchaseRecommendationSummary_currencyCode :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The currency code that Amazon Web Services used to generate the recommendations and present potential savings.
savingsPlansPurchaseRecommendationSummary_currentOnDemandSpend :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The current total on demand spend of the applicable usage types over the lookback period.
savingsPlansPurchaseRecommendationSummary_dailyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The recommended Savings Plans cost on a daily (24 hourly) basis.
savingsPlansPurchaseRecommendationSummary_estimatedMonthlySavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated monthly savings amount that's based on the recommended Savings Plans purchase.
savingsPlansPurchaseRecommendationSummary_estimatedOnDemandCostWithCurrentCommitment :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated On-Demand costs you expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own.
savingsPlansPurchaseRecommendationSummary_estimatedROI :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated return on investment that's based on the recommended Savings Plans and estimated savings.
savingsPlansPurchaseRecommendationSummary_estimatedSavingsAmount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.
savingsPlansPurchaseRecommendationSummary_estimatedSavingsPercentage :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated savings relative to the total cost of On-Demand usage,
over the lookback period. This is calculated as
estimatedSavingsAmount
/ CurrentOnDemandSpend
*100.
savingsPlansPurchaseRecommendationSummary_estimatedTotalCost :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The estimated total cost of the usage after purchasing the recommended Savings Plans. This is a sum of the cost of Savings Plans during this term, and the remaining On-Demand usage.
savingsPlansPurchaseRecommendationSummary_hourlyCommitmentToPurchase :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The recommended hourly commitment that's based on the recommendation parameters.
savingsPlansPurchaseRecommendationSummary_totalRecommendationCount :: Lens' SavingsPlansPurchaseRecommendationSummary (Maybe Text) Source #
The aggregate number of Savings Plans recommendations that exist for your account.
SavingsPlansSavings
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.
SavingsPlansSavings' | |
|
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.
savingsPlansSavings_netSavings :: Lens' SavingsPlansSavings (Maybe Text) Source #
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
savingsPlansSavings_onDemandCostEquivalent :: Lens' SavingsPlansSavings (Maybe Text) Source #
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
SavingsPlansUtilization
data SavingsPlansUtilization Source #
The measurement of how well you're using your existing Savings Plans.
See: newSavingsPlansUtilization
smart constructor.
SavingsPlansUtilization' | |
|
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.
savingsPlansUtilization_totalCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #
The total amount of Savings Plans commitment that's been purchased in an account (or set of accounts).
savingsPlansUtilization_unusedCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #
The amount of your Savings Plans commitment that wasn't consumed from Savings Plans eligible usage in a specific period.
savingsPlansUtilization_usedCommitment :: Lens' SavingsPlansUtilization (Maybe Text) Source #
The amount of your Savings Plans commitment that was consumed from Savings Plans eligible usage in a specific period.
savingsPlansUtilization_utilizationPercentage :: Lens' SavingsPlansUtilization (Maybe Text) Source #
The amount of UsedCommitment
divided by the TotalCommitment
for your
Savings Plans.
SavingsPlansUtilizationAggregates
data SavingsPlansUtilizationAggregates Source #
The aggregated utilization metrics for your Savings Plans usage.
See: newSavingsPlansUtilizationAggregates
smart constructor.
SavingsPlansUtilizationAggregates' | |
|
Instances
newSavingsPlansUtilizationAggregates Source #
Create a value of SavingsPlansUtilizationAggregates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedCommitment:SavingsPlansUtilizationAggregates'
, savingsPlansUtilizationAggregates_amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the
sum of the upfront and recurring Savings Plans fees.
$sel:savings:SavingsPlansUtilizationAggregates'
, savingsPlansUtilizationAggregates_savings
- The amount 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.
savingsPlansUtilizationAggregates_amortizedCommitment :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansAmortizedCommitment) Source #
The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
savingsPlansUtilizationAggregates_savings :: Lens' SavingsPlansUtilizationAggregates (Maybe SavingsPlansSavings) Source #
The amount that's saved by using existing Savings Plans. Savings
returns both net savings from Savings Plans and also the
onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.
savingsPlansUtilizationAggregates_utilization :: Lens' SavingsPlansUtilizationAggregates SavingsPlansUtilization Source #
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
SavingsPlansUtilizationByTime
data SavingsPlansUtilizationByTime Source #
The amount of Savings Plans utilization (in hours).
See: newSavingsPlansUtilizationByTime
smart constructor.
SavingsPlansUtilizationByTime' | |
|
Instances
newSavingsPlansUtilizationByTime Source #
Create a value of SavingsPlansUtilizationByTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amortizedCommitment:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the
sum of the upfront and recurring Savings Plans fees.
$sel:savings:SavingsPlansUtilizationByTime'
, savingsPlansUtilizationByTime_savings
- The amount 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.
savingsPlansUtilizationByTime_amortizedCommitment :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansAmortizedCommitment) Source #
The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
savingsPlansUtilizationByTime_savings :: Lens' SavingsPlansUtilizationByTime (Maybe SavingsPlansSavings) Source #
The amount that's saved by using existing Savings Plans. Savings
returns both net savings from Savings Plans and also the
onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.
savingsPlansUtilizationByTime_timePeriod :: Lens' SavingsPlansUtilizationByTime DateInterval Source #
Undocumented member.
savingsPlansUtilizationByTime_utilization :: Lens' SavingsPlansUtilizationByTime SavingsPlansUtilization Source #
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
SavingsPlansUtilizationDetail
data SavingsPlansUtilizationDetail Source #
A single daily or monthly Savings Plans utilization rate and details for
your account. A management account in an organization have access to
member accounts. You can use GetDimensionValues
to determine the
possible dimension values.
See: newSavingsPlansUtilizationDetail
smart constructor.
SavingsPlansUtilizationDetail' | |
|
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.
savingsPlansUtilizationDetail_amortizedCommitment :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansAmortizedCommitment) Source #
The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.
savingsPlansUtilizationDetail_attributes :: Lens' SavingsPlansUtilizationDetail (Maybe (HashMap Text Text)) Source #
The attribute that applies to a specific Dimension
.
savingsPlansUtilizationDetail_savings :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansSavings) Source #
The amount saved by using existing Savings Plans. Savings returns both
net savings from savings plans and also the onDemandCostEquivalent
of
the Savings Plans when considering the utilization rate.
savingsPlansUtilizationDetail_savingsPlanArn :: Lens' SavingsPlansUtilizationDetail (Maybe Text) Source #
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
savingsPlansUtilizationDetail_utilization :: Lens' SavingsPlansUtilizationDetail (Maybe SavingsPlansUtilization) Source #
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
ServiceSpecification
data ServiceSpecification Source #
Hardware specifications for the service that you want recommendations for.
See: newServiceSpecification
smart constructor.
ServiceSpecification' | |
|
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.
serviceSpecification_eC2Specification :: Lens' ServiceSpecification (Maybe EC2Specification) Source #
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.
Instances
Create a value of SortDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sortOrder:SortDefinition'
, sortDefinition_sortOrder
- The order that's used to sort the data.
$sel:key:SortDefinition'
, sortDefinition_key
- The key that's used to sort the data.
sortDefinition_sortOrder :: Lens' SortDefinition (Maybe SortOrder) Source #
The order that's used to sort the data.
sortDefinition_key :: Lens' SortDefinition Text Source #
The key that's used to sort the data.
Subscriber
data Subscriber Source #
The recipient of AnomalySubscription
notifications.
See: newSubscriber
smart constructor.
Subscriber' | |
|
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.
subscriber_address :: Lens' Subscriber (Maybe Text) Source #
The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus) Source #
Indicates if the subscriber accepts the notifications.
subscriber_type :: Lens' Subscriber (Maybe SubscriberType) Source #
The notification delivery channel.
TagValues
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.
TagValues' | |
|
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.
tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption]) Source #
The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
TargetInstance
data TargetInstance Source #
Details on recommended instance.
See: newTargetInstance
smart constructor.
TargetInstance' | |
|
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.
targetInstance_currencyCode :: Lens' TargetInstance (Maybe Text) Source #
The currency code that Amazon Web Services used to calculate the costs for this instance.
targetInstance_defaultTargetInstance :: Lens' TargetInstance (Maybe Bool) Source #
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
targetInstance_estimatedMonthlyCost :: Lens' TargetInstance (Maybe Text) Source #
The expected cost to operate this instance type on a monthly basis.
targetInstance_estimatedMonthlySavings :: Lens' TargetInstance (Maybe Text) Source #
The estimated savings that result from modification, on a monthly basis.
targetInstance_expectedResourceUtilization :: Lens' TargetInstance (Maybe ResourceUtilization) Source #
The expected utilization metrics for target instance type.
targetInstance_platformDifferences :: Lens' TargetInstance (Maybe [PlatformDifference]) Source #
Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
targetInstance_resourceDetails :: Lens' TargetInstance (Maybe ResourceDetails) Source #
Details on the target instance type.
TerminateRecommendationDetail
data TerminateRecommendationDetail Source #
Details on termination recommendation.
See: newTerminateRecommendationDetail
smart constructor.
TerminateRecommendationDetail' | |
|
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.
terminateRecommendationDetail_currencyCode :: Lens' TerminateRecommendationDetail (Maybe Text) Source #
The currency code that Amazon Web Services used to calculate the costs for this instance.
terminateRecommendationDetail_estimatedMonthlySavings :: Lens' TerminateRecommendationDetail (Maybe Text) Source #
The estimated savings that result from modification, on a monthly basis.
TotalImpactFilter
data TotalImpactFilter Source #
Filters cost anomalies based on the total impact.
See: newTotalImpactFilter
smart constructor.
TotalImpactFilter' | |
|
Instances
Create a value of TotalImpactFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endValue:TotalImpactFilter'
, totalImpactFilter_endValue
- The upper bound dollar value that's used in the filter.
$sel:numericOperator:TotalImpactFilter'
, totalImpactFilter_numericOperator
- The comparing value that's used in the filter.
$sel:startValue:TotalImpactFilter'
, totalImpactFilter_startValue
- The lower bound dollar value that's used in the filter.
totalImpactFilter_endValue :: Lens' TotalImpactFilter (Maybe Double) Source #
The upper bound dollar value that's used in the filter.
totalImpactFilter_numericOperator :: Lens' TotalImpactFilter NumericOperator Source #
The comparing value that's used in the filter.
totalImpactFilter_startValue :: Lens' TotalImpactFilter Double Source #
The lower bound dollar value that's used in the filter.
UpdateCostAllocationTagsStatusError
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.
updateCostAllocationTagsStatusError_code :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text) Source #
An error code representing why the action failed on this entry.
updateCostAllocationTagsStatusError_message :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text) Source #
A message explaining why the action failed on this entry.
updateCostAllocationTagsStatusError_tagKey :: Lens' UpdateCostAllocationTagsStatusError (Maybe Text) Source #
The key for the cost allocation tag.
UtilizationByTime
data UtilizationByTime Source #
The amount of utilization, in hours.
See: newUtilizationByTime
smart constructor.
UtilizationByTime' | |
|
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.
utilizationByTime_groups :: Lens' UtilizationByTime (Maybe [ReservationUtilizationGroup]) Source #
The groups that this utilization result uses.
utilizationByTime_timePeriod :: Lens' UtilizationByTime (Maybe DateInterval) Source #
The period of time that this utilization was used for.
utilizationByTime_total :: Lens' UtilizationByTime (Maybe ReservationAggregates) Source #
The total number of reservation hours that were used.