| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SavingsPlans.Types
Contents
- Service Configuration
- Errors
- CurrencyCode
- SavingsPlanOfferingFilterAttribute
- SavingsPlanOfferingPropertyKey
- SavingsPlanPaymentOption
- SavingsPlanProductType
- SavingsPlanRateFilterAttribute
- SavingsPlanRateFilterName
- SavingsPlanRatePropertyKey
- SavingsPlanRateServiceCode
- SavingsPlanRateUnit
- SavingsPlanState
- SavingsPlanType
- SavingsPlansFilterName
- ParentSavingsPlanOffering
- SavingsPlan
- SavingsPlanFilter
- SavingsPlanOffering
- SavingsPlanOfferingFilterElement
- SavingsPlanOfferingProperty
- SavingsPlanOfferingRate
- SavingsPlanOfferingRateFilterElement
- SavingsPlanOfferingRateProperty
- SavingsPlanRate
- SavingsPlanRateFilter
- SavingsPlanRateProperty
Description
Synopsis
- defaultService :: Service
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype CurrencyCode where
- CurrencyCode' { }
- pattern CurrencyCode_CNY :: CurrencyCode
- pattern CurrencyCode_USD :: CurrencyCode
- newtype SavingsPlanOfferingFilterAttribute where
- newtype SavingsPlanOfferingPropertyKey where
- newtype SavingsPlanPaymentOption where
- newtype SavingsPlanProductType where
- newtype SavingsPlanRateFilterAttribute where
- SavingsPlanRateFilterAttribute' { }
- pattern SavingsPlanRateFilterAttribute_InstanceFamily :: SavingsPlanRateFilterAttribute
- pattern SavingsPlanRateFilterAttribute_InstanceType :: SavingsPlanRateFilterAttribute
- pattern SavingsPlanRateFilterAttribute_ProductDescription :: SavingsPlanRateFilterAttribute
- pattern SavingsPlanRateFilterAttribute_ProductId :: SavingsPlanRateFilterAttribute
- pattern SavingsPlanRateFilterAttribute_Region :: SavingsPlanRateFilterAttribute
- pattern SavingsPlanRateFilterAttribute_Tenancy :: SavingsPlanRateFilterAttribute
- newtype SavingsPlanRateFilterName where
- SavingsPlanRateFilterName' { }
- pattern SavingsPlanRateFilterName_InstanceType :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_Operation :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_ProductDescription :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_ProductType :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_Region :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_ServiceCode :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_Tenancy :: SavingsPlanRateFilterName
- pattern SavingsPlanRateFilterName_UsageType :: SavingsPlanRateFilterName
- newtype SavingsPlanRatePropertyKey where
- SavingsPlanRatePropertyKey' { }
- pattern SavingsPlanRatePropertyKey_InstanceFamily :: SavingsPlanRatePropertyKey
- pattern SavingsPlanRatePropertyKey_InstanceType :: SavingsPlanRatePropertyKey
- pattern SavingsPlanRatePropertyKey_ProductDescription :: SavingsPlanRatePropertyKey
- pattern SavingsPlanRatePropertyKey_Region :: SavingsPlanRatePropertyKey
- pattern SavingsPlanRatePropertyKey_Tenancy :: SavingsPlanRatePropertyKey
- newtype SavingsPlanRateServiceCode where
- SavingsPlanRateServiceCode' { }
- pattern SavingsPlanRateServiceCode_AWSLambda :: SavingsPlanRateServiceCode
- pattern SavingsPlanRateServiceCode_AmazonEC2 :: SavingsPlanRateServiceCode
- pattern SavingsPlanRateServiceCode_AmazonECS :: SavingsPlanRateServiceCode
- pattern SavingsPlanRateServiceCode_AmazonEKS :: SavingsPlanRateServiceCode
- pattern SavingsPlanRateServiceCode_AmazonSageMaker :: SavingsPlanRateServiceCode
- newtype SavingsPlanRateUnit where
- newtype SavingsPlanState where
- SavingsPlanState' { }
- pattern SavingsPlanState_Active :: SavingsPlanState
- pattern SavingsPlanState_Payment_failed :: SavingsPlanState
- pattern SavingsPlanState_Payment_pending :: SavingsPlanState
- pattern SavingsPlanState_Queued :: SavingsPlanState
- pattern SavingsPlanState_Queued_deleted :: SavingsPlanState
- pattern SavingsPlanState_Retired :: SavingsPlanState
- newtype SavingsPlanType where
- SavingsPlanType' { }
- pattern SavingsPlanType_Compute :: SavingsPlanType
- pattern SavingsPlanType_EC2Instance :: SavingsPlanType
- pattern SavingsPlanType_SageMaker :: SavingsPlanType
- newtype SavingsPlansFilterName where
- SavingsPlansFilterName' { }
- pattern SavingsPlansFilterName_Commitment :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Ec2_instance_family :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_End :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Payment_option :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Region :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Savings_plan_type :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Start :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Term :: SavingsPlansFilterName
- pattern SavingsPlansFilterName_Upfront :: SavingsPlansFilterName
- data ParentSavingsPlanOffering = ParentSavingsPlanOffering' {}
- newParentSavingsPlanOffering :: ParentSavingsPlanOffering
- parentSavingsPlanOffering_currency :: Lens' ParentSavingsPlanOffering (Maybe CurrencyCode)
- parentSavingsPlanOffering_durationSeconds :: Lens' ParentSavingsPlanOffering (Maybe Natural)
- parentSavingsPlanOffering_offeringId :: Lens' ParentSavingsPlanOffering (Maybe Text)
- parentSavingsPlanOffering_paymentOption :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanPaymentOption)
- parentSavingsPlanOffering_planDescription :: Lens' ParentSavingsPlanOffering (Maybe Text)
- parentSavingsPlanOffering_planType :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanType)
- data SavingsPlan = SavingsPlan' {
- commitment :: Maybe Text
- currency :: Maybe CurrencyCode
- description :: Maybe Text
- ec2InstanceFamily :: Maybe Text
- end :: Maybe Text
- offeringId :: Maybe Text
- paymentOption :: Maybe SavingsPlanPaymentOption
- productTypes :: Maybe [SavingsPlanProductType]
- recurringPaymentAmount :: Maybe Text
- region :: Maybe Text
- savingsPlanArn :: Maybe Text
- savingsPlanId :: Maybe Text
- savingsPlanType :: Maybe SavingsPlanType
- start :: Maybe Text
- state :: Maybe SavingsPlanState
- tags :: Maybe (HashMap Text Text)
- termDurationInSeconds :: Maybe Integer
- upfrontPaymentAmount :: Maybe Text
- newSavingsPlan :: SavingsPlan
- savingsPlan_commitment :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_currency :: Lens' SavingsPlan (Maybe CurrencyCode)
- savingsPlan_description :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_ec2InstanceFamily :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_end :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_offeringId :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_paymentOption :: Lens' SavingsPlan (Maybe SavingsPlanPaymentOption)
- savingsPlan_productTypes :: Lens' SavingsPlan (Maybe [SavingsPlanProductType])
- savingsPlan_recurringPaymentAmount :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_region :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_savingsPlanArn :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_savingsPlanId :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_savingsPlanType :: Lens' SavingsPlan (Maybe SavingsPlanType)
- savingsPlan_start :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_state :: Lens' SavingsPlan (Maybe SavingsPlanState)
- savingsPlan_tags :: Lens' SavingsPlan (Maybe (HashMap Text Text))
- savingsPlan_termDurationInSeconds :: Lens' SavingsPlan (Maybe Integer)
- savingsPlan_upfrontPaymentAmount :: Lens' SavingsPlan (Maybe Text)
- data SavingsPlanFilter = SavingsPlanFilter' {}
- newSavingsPlanFilter :: SavingsPlanFilter
- savingsPlanFilter_name :: Lens' SavingsPlanFilter (Maybe SavingsPlansFilterName)
- savingsPlanFilter_values :: Lens' SavingsPlanFilter (Maybe [Text])
- data SavingsPlanOffering = SavingsPlanOffering' {
- currency :: Maybe CurrencyCode
- description :: Maybe Text
- durationSeconds :: Maybe Natural
- offeringId :: Maybe Text
- operation :: Maybe Text
- paymentOption :: Maybe SavingsPlanPaymentOption
- planType :: Maybe SavingsPlanType
- productTypes :: Maybe [SavingsPlanProductType]
- properties :: Maybe [SavingsPlanOfferingProperty]
- serviceCode :: Maybe Text
- usageType :: Maybe Text
- newSavingsPlanOffering :: SavingsPlanOffering
- savingsPlanOffering_currency :: Lens' SavingsPlanOffering (Maybe CurrencyCode)
- savingsPlanOffering_description :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_durationSeconds :: Lens' SavingsPlanOffering (Maybe Natural)
- savingsPlanOffering_offeringId :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_operation :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_paymentOption :: Lens' SavingsPlanOffering (Maybe SavingsPlanPaymentOption)
- savingsPlanOffering_planType :: Lens' SavingsPlanOffering (Maybe SavingsPlanType)
- savingsPlanOffering_productTypes :: Lens' SavingsPlanOffering (Maybe [SavingsPlanProductType])
- savingsPlanOffering_properties :: Lens' SavingsPlanOffering (Maybe [SavingsPlanOfferingProperty])
- savingsPlanOffering_serviceCode :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_usageType :: Lens' SavingsPlanOffering (Maybe Text)
- data SavingsPlanOfferingFilterElement = SavingsPlanOfferingFilterElement' {}
- newSavingsPlanOfferingFilterElement :: SavingsPlanOfferingFilterElement
- savingsPlanOfferingFilterElement_name :: Lens' SavingsPlanOfferingFilterElement (Maybe SavingsPlanOfferingFilterAttribute)
- savingsPlanOfferingFilterElement_values :: Lens' SavingsPlanOfferingFilterElement (Maybe [Text])
- data SavingsPlanOfferingProperty = SavingsPlanOfferingProperty' {}
- newSavingsPlanOfferingProperty :: SavingsPlanOfferingProperty
- savingsPlanOfferingProperty_name :: Lens' SavingsPlanOfferingProperty (Maybe SavingsPlanOfferingPropertyKey)
- savingsPlanOfferingProperty_value :: Lens' SavingsPlanOfferingProperty (Maybe Text)
- data SavingsPlanOfferingRate = SavingsPlanOfferingRate' {}
- newSavingsPlanOfferingRate :: SavingsPlanOfferingRate
- savingsPlanOfferingRate_operation :: Lens' SavingsPlanOfferingRate (Maybe Text)
- savingsPlanOfferingRate_productType :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanProductType)
- savingsPlanOfferingRate_properties :: Lens' SavingsPlanOfferingRate (Maybe [SavingsPlanOfferingRateProperty])
- savingsPlanOfferingRate_rate :: Lens' SavingsPlanOfferingRate (Maybe Text)
- savingsPlanOfferingRate_savingsPlanOffering :: Lens' SavingsPlanOfferingRate (Maybe ParentSavingsPlanOffering)
- savingsPlanOfferingRate_serviceCode :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateServiceCode)
- savingsPlanOfferingRate_unit :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateUnit)
- savingsPlanOfferingRate_usageType :: Lens' SavingsPlanOfferingRate (Maybe Text)
- data SavingsPlanOfferingRateFilterElement = SavingsPlanOfferingRateFilterElement' {}
- newSavingsPlanOfferingRateFilterElement :: SavingsPlanOfferingRateFilterElement
- savingsPlanOfferingRateFilterElement_name :: Lens' SavingsPlanOfferingRateFilterElement (Maybe SavingsPlanRateFilterAttribute)
- savingsPlanOfferingRateFilterElement_values :: Lens' SavingsPlanOfferingRateFilterElement (Maybe [Text])
- data SavingsPlanOfferingRateProperty = SavingsPlanOfferingRateProperty' {}
- newSavingsPlanOfferingRateProperty :: SavingsPlanOfferingRateProperty
- savingsPlanOfferingRateProperty_name :: Lens' SavingsPlanOfferingRateProperty (Maybe Text)
- savingsPlanOfferingRateProperty_value :: Lens' SavingsPlanOfferingRateProperty (Maybe Text)
- data SavingsPlanRate = SavingsPlanRate' {}
- newSavingsPlanRate :: SavingsPlanRate
- savingsPlanRate_currency :: Lens' SavingsPlanRate (Maybe CurrencyCode)
- savingsPlanRate_operation :: Lens' SavingsPlanRate (Maybe Text)
- savingsPlanRate_productType :: Lens' SavingsPlanRate (Maybe SavingsPlanProductType)
- savingsPlanRate_properties :: Lens' SavingsPlanRate (Maybe [SavingsPlanRateProperty])
- savingsPlanRate_rate :: Lens' SavingsPlanRate (Maybe Text)
- savingsPlanRate_serviceCode :: Lens' SavingsPlanRate (Maybe SavingsPlanRateServiceCode)
- savingsPlanRate_unit :: Lens' SavingsPlanRate (Maybe SavingsPlanRateUnit)
- savingsPlanRate_usageType :: Lens' SavingsPlanRate (Maybe Text)
- data SavingsPlanRateFilter = SavingsPlanRateFilter' {}
- newSavingsPlanRateFilter :: SavingsPlanRateFilter
- savingsPlanRateFilter_name :: Lens' SavingsPlanRateFilter (Maybe SavingsPlanRateFilterName)
- savingsPlanRateFilter_values :: Lens' SavingsPlanRateFilter (Maybe [Text])
- data SavingsPlanRateProperty = SavingsPlanRateProperty' {}
- newSavingsPlanRateProperty :: SavingsPlanRateProperty
- savingsPlanRateProperty_name :: Lens' SavingsPlanRateProperty (Maybe SavingsPlanRatePropertyKey)
- savingsPlanRateProperty_value :: Lens' SavingsPlanRateProperty (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2019-06-28 of the Amazon Savings Plans SDK configuration.
Errors
_InternalServerException :: AsError a => Fold a ServiceError Source #
An unexpected error occurred.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource was not found.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
A service quota has been exceeded.
_ValidationException :: AsError a => Fold a ServiceError Source #
One of the input parameters is not valid.
CurrencyCode
newtype CurrencyCode Source #
Constructors
| CurrencyCode' | |
Fields | |
Bundled Patterns
| pattern CurrencyCode_CNY :: CurrencyCode | |
| pattern CurrencyCode_USD :: CurrencyCode |
Instances
SavingsPlanOfferingFilterAttribute
newtype SavingsPlanOfferingFilterAttribute Source #
Constructors
| SavingsPlanOfferingFilterAttribute' | |
Bundled Patterns
| pattern SavingsPlanOfferingFilterAttribute_InstanceFamily :: SavingsPlanOfferingFilterAttribute | |
| pattern SavingsPlanOfferingFilterAttribute_Region :: SavingsPlanOfferingFilterAttribute |
Instances
SavingsPlanOfferingPropertyKey
newtype SavingsPlanOfferingPropertyKey Source #
Constructors
| SavingsPlanOfferingPropertyKey' | |
Fields | |
Bundled Patterns
| pattern SavingsPlanOfferingPropertyKey_InstanceFamily :: SavingsPlanOfferingPropertyKey | |
| pattern SavingsPlanOfferingPropertyKey_Region :: SavingsPlanOfferingPropertyKey |
Instances
SavingsPlanPaymentOption
newtype SavingsPlanPaymentOption Source #
Constructors
| SavingsPlanPaymentOption' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanProductType
newtype SavingsPlanProductType Source #
Constructors
| SavingsPlanProductType' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanRateFilterAttribute
newtype SavingsPlanRateFilterAttribute Source #
Constructors
| SavingsPlanRateFilterAttribute' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanRateFilterName
newtype SavingsPlanRateFilterName Source #
Constructors
| SavingsPlanRateFilterName' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanRatePropertyKey
newtype SavingsPlanRatePropertyKey Source #
Constructors
| SavingsPlanRatePropertyKey' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanRateServiceCode
newtype SavingsPlanRateServiceCode Source #
Constructors
| SavingsPlanRateServiceCode' | |
Fields | |
Bundled Patterns
Instances
SavingsPlanRateUnit
newtype SavingsPlanRateUnit Source #
Constructors
| SavingsPlanRateUnit' | |
Fields | |
Bundled Patterns
| pattern SavingsPlanRateUnit_Hrs :: SavingsPlanRateUnit | |
| pattern SavingsPlanRateUnit_Lambda_GB_Second :: SavingsPlanRateUnit | |
| pattern SavingsPlanRateUnit_Request :: SavingsPlanRateUnit |
Instances
SavingsPlanState
newtype SavingsPlanState Source #
Constructors
| SavingsPlanState' | |
Fields | |
Bundled Patterns
| pattern SavingsPlanState_Active :: SavingsPlanState | |
| pattern SavingsPlanState_Payment_failed :: SavingsPlanState | |
| pattern SavingsPlanState_Payment_pending :: SavingsPlanState | |
| pattern SavingsPlanState_Queued :: SavingsPlanState | |
| pattern SavingsPlanState_Queued_deleted :: SavingsPlanState | |
| pattern SavingsPlanState_Retired :: SavingsPlanState |
Instances
SavingsPlanType
newtype SavingsPlanType Source #
Constructors
| SavingsPlanType' | |
Fields | |
Bundled Patterns
| pattern SavingsPlanType_Compute :: SavingsPlanType | |
| pattern SavingsPlanType_EC2Instance :: SavingsPlanType | |
| pattern SavingsPlanType_SageMaker :: SavingsPlanType |
Instances
SavingsPlansFilterName
newtype SavingsPlansFilterName Source #
Constructors
| SavingsPlansFilterName' | |
Fields | |
Bundled Patterns
Instances
ParentSavingsPlanOffering
data ParentSavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newParentSavingsPlanOffering smart constructor.
Constructors
| ParentSavingsPlanOffering' | |
Fields
| |
Instances
newParentSavingsPlanOffering :: ParentSavingsPlanOffering Source #
Create a value of ParentSavingsPlanOffering with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currency:ParentSavingsPlanOffering', parentSavingsPlanOffering_currency - The currency.
$sel:durationSeconds:ParentSavingsPlanOffering', parentSavingsPlanOffering_durationSeconds - The duration, in seconds.
$sel:offeringId:ParentSavingsPlanOffering', parentSavingsPlanOffering_offeringId - The ID of the offering.
$sel:paymentOption:ParentSavingsPlanOffering', parentSavingsPlanOffering_paymentOption - The payment option.
$sel:planDescription:ParentSavingsPlanOffering', parentSavingsPlanOffering_planDescription - The description.
$sel:planType:ParentSavingsPlanOffering', parentSavingsPlanOffering_planType - The plan type.
parentSavingsPlanOffering_currency :: Lens' ParentSavingsPlanOffering (Maybe CurrencyCode) Source #
The currency.
parentSavingsPlanOffering_durationSeconds :: Lens' ParentSavingsPlanOffering (Maybe Natural) Source #
The duration, in seconds.
parentSavingsPlanOffering_offeringId :: Lens' ParentSavingsPlanOffering (Maybe Text) Source #
The ID of the offering.
parentSavingsPlanOffering_paymentOption :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanPaymentOption) Source #
The payment option.
parentSavingsPlanOffering_planDescription :: Lens' ParentSavingsPlanOffering (Maybe Text) Source #
The description.
parentSavingsPlanOffering_planType :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanType) Source #
The plan type.
SavingsPlan
data SavingsPlan Source #
Information about a Savings Plan.
See: newSavingsPlan smart constructor.
Constructors
| SavingsPlan' | |
Fields
| |
Instances
newSavingsPlan :: SavingsPlan Source #
Create a value of SavingsPlan with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:commitment:SavingsPlan', savingsPlan_commitment - The hourly commitment, in USD.
$sel:currency:SavingsPlan', savingsPlan_currency - The currency.
$sel:description:SavingsPlan', savingsPlan_description - The description.
$sel:ec2InstanceFamily:SavingsPlan', savingsPlan_ec2InstanceFamily - The EC2 instance family.
$sel:end:SavingsPlan', savingsPlan_end - The end time.
$sel:offeringId:SavingsPlan', savingsPlan_offeringId - The ID of the offering.
$sel:paymentOption:SavingsPlan', savingsPlan_paymentOption - The payment option.
$sel:productTypes:SavingsPlan', savingsPlan_productTypes - The product types.
$sel:recurringPaymentAmount:SavingsPlan', savingsPlan_recurringPaymentAmount - The recurring payment amount.
$sel:region:SavingsPlan', savingsPlan_region - The AWS Region.
$sel:savingsPlanArn:SavingsPlan', savingsPlan_savingsPlanArn - The Amazon Resource Name (ARN) of the Savings Plan.
$sel:savingsPlanId:SavingsPlan', savingsPlan_savingsPlanId - The ID of the Savings Plan.
$sel:savingsPlanType:SavingsPlan', savingsPlan_savingsPlanType - The plan type.
$sel:start:SavingsPlan', savingsPlan_start - The start time.
$sel:state:SavingsPlan', savingsPlan_state - The state.
$sel:tags:SavingsPlan', savingsPlan_tags - One or more tags.
$sel:termDurationInSeconds:SavingsPlan', savingsPlan_termDurationInSeconds - The duration of the term, in seconds.
$sel:upfrontPaymentAmount:SavingsPlan', savingsPlan_upfrontPaymentAmount - The up-front payment amount.
savingsPlan_commitment :: Lens' SavingsPlan (Maybe Text) Source #
The hourly commitment, in USD.
savingsPlan_currency :: Lens' SavingsPlan (Maybe CurrencyCode) Source #
The currency.
savingsPlan_description :: Lens' SavingsPlan (Maybe Text) Source #
The description.
savingsPlan_ec2InstanceFamily :: Lens' SavingsPlan (Maybe Text) Source #
The EC2 instance family.
savingsPlan_end :: Lens' SavingsPlan (Maybe Text) Source #
The end time.
savingsPlan_offeringId :: Lens' SavingsPlan (Maybe Text) Source #
The ID of the offering.
savingsPlan_paymentOption :: Lens' SavingsPlan (Maybe SavingsPlanPaymentOption) Source #
The payment option.
savingsPlan_productTypes :: Lens' SavingsPlan (Maybe [SavingsPlanProductType]) Source #
The product types.
savingsPlan_recurringPaymentAmount :: Lens' SavingsPlan (Maybe Text) Source #
The recurring payment amount.
savingsPlan_region :: Lens' SavingsPlan (Maybe Text) Source #
The AWS Region.
savingsPlan_savingsPlanArn :: Lens' SavingsPlan (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Savings Plan.
savingsPlan_savingsPlanId :: Lens' SavingsPlan (Maybe Text) Source #
The ID of the Savings Plan.
savingsPlan_savingsPlanType :: Lens' SavingsPlan (Maybe SavingsPlanType) Source #
The plan type.
savingsPlan_start :: Lens' SavingsPlan (Maybe Text) Source #
The start time.
savingsPlan_state :: Lens' SavingsPlan (Maybe SavingsPlanState) Source #
The state.
savingsPlan_tags :: Lens' SavingsPlan (Maybe (HashMap Text Text)) Source #
One or more tags.
savingsPlan_termDurationInSeconds :: Lens' SavingsPlan (Maybe Integer) Source #
The duration of the term, in seconds.
savingsPlan_upfrontPaymentAmount :: Lens' SavingsPlan (Maybe Text) Source #
The up-front payment amount.
SavingsPlanFilter
data SavingsPlanFilter Source #
Information about a filter.
See: newSavingsPlanFilter smart constructor.
Constructors
| SavingsPlanFilter' | |
Instances
newSavingsPlanFilter :: SavingsPlanFilter Source #
Create a value of SavingsPlanFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanFilter', savingsPlanFilter_name - The filter name.
$sel:values:SavingsPlanFilter', savingsPlanFilter_values - The filter value.
savingsPlanFilter_name :: Lens' SavingsPlanFilter (Maybe SavingsPlansFilterName) Source #
The filter name.
savingsPlanFilter_values :: Lens' SavingsPlanFilter (Maybe [Text]) Source #
The filter value.
SavingsPlanOffering
data SavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newSavingsPlanOffering smart constructor.
Constructors
| SavingsPlanOffering' | |
Fields
| |
Instances
newSavingsPlanOffering :: SavingsPlanOffering Source #
Create a value of SavingsPlanOffering with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currency:SavingsPlanOffering', savingsPlanOffering_currency - The currency.
$sel:description:SavingsPlanOffering', savingsPlanOffering_description - The description.
$sel:durationSeconds:SavingsPlanOffering', savingsPlanOffering_durationSeconds - The duration, in seconds.
$sel:offeringId:SavingsPlanOffering', savingsPlanOffering_offeringId - The ID of the offering.
$sel:operation:SavingsPlanOffering', savingsPlanOffering_operation - The specific AWS operation for the line item in the billing report.
$sel:paymentOption:SavingsPlanOffering', savingsPlanOffering_paymentOption - The payment option.
$sel:planType:SavingsPlanOffering', savingsPlanOffering_planType - The plan type.
$sel:productTypes:SavingsPlanOffering', savingsPlanOffering_productTypes - The product type.
$sel:properties:SavingsPlanOffering', savingsPlanOffering_properties - The properties.
$sel:serviceCode:SavingsPlanOffering', savingsPlanOffering_serviceCode - The service.
$sel:usageType:SavingsPlanOffering', savingsPlanOffering_usageType - The usage details of the line item in the billing report.
savingsPlanOffering_currency :: Lens' SavingsPlanOffering (Maybe CurrencyCode) Source #
The currency.
savingsPlanOffering_description :: Lens' SavingsPlanOffering (Maybe Text) Source #
The description.
savingsPlanOffering_durationSeconds :: Lens' SavingsPlanOffering (Maybe Natural) Source #
The duration, in seconds.
savingsPlanOffering_offeringId :: Lens' SavingsPlanOffering (Maybe Text) Source #
The ID of the offering.
savingsPlanOffering_operation :: Lens' SavingsPlanOffering (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanOffering_paymentOption :: Lens' SavingsPlanOffering (Maybe SavingsPlanPaymentOption) Source #
The payment option.
savingsPlanOffering_planType :: Lens' SavingsPlanOffering (Maybe SavingsPlanType) Source #
The plan type.
savingsPlanOffering_productTypes :: Lens' SavingsPlanOffering (Maybe [SavingsPlanProductType]) Source #
The product type.
savingsPlanOffering_properties :: Lens' SavingsPlanOffering (Maybe [SavingsPlanOfferingProperty]) Source #
The properties.
savingsPlanOffering_serviceCode :: Lens' SavingsPlanOffering (Maybe Text) Source #
The service.
savingsPlanOffering_usageType :: Lens' SavingsPlanOffering (Maybe Text) Source #
The usage details of the line item in the billing report.
SavingsPlanOfferingFilterElement
data SavingsPlanOfferingFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingFilterElement smart constructor.
Constructors
| SavingsPlanOfferingFilterElement' | |
Instances
newSavingsPlanOfferingFilterElement :: SavingsPlanOfferingFilterElement Source #
Create a value of SavingsPlanOfferingFilterElement with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanOfferingFilterElement', savingsPlanOfferingFilterElement_name - The filter name.
$sel:values:SavingsPlanOfferingFilterElement', savingsPlanOfferingFilterElement_values - The filter values.
savingsPlanOfferingFilterElement_name :: Lens' SavingsPlanOfferingFilterElement (Maybe SavingsPlanOfferingFilterAttribute) Source #
The filter name.
savingsPlanOfferingFilterElement_values :: Lens' SavingsPlanOfferingFilterElement (Maybe [Text]) Source #
The filter values.
SavingsPlanOfferingProperty
data SavingsPlanOfferingProperty Source #
Information about a property.
See: newSavingsPlanOfferingProperty smart constructor.
Constructors
| SavingsPlanOfferingProperty' | |
Instances
newSavingsPlanOfferingProperty :: SavingsPlanOfferingProperty Source #
Create a value of SavingsPlanOfferingProperty with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanOfferingProperty', savingsPlanOfferingProperty_name - The property name.
$sel:value:SavingsPlanOfferingProperty', savingsPlanOfferingProperty_value - The property value.
savingsPlanOfferingProperty_name :: Lens' SavingsPlanOfferingProperty (Maybe SavingsPlanOfferingPropertyKey) Source #
The property name.
savingsPlanOfferingProperty_value :: Lens' SavingsPlanOfferingProperty (Maybe Text) Source #
The property value.
SavingsPlanOfferingRate
data SavingsPlanOfferingRate Source #
Information about a Savings Plan offering rate.
See: newSavingsPlanOfferingRate smart constructor.
Constructors
| SavingsPlanOfferingRate' | |
Fields
| |
Instances
newSavingsPlanOfferingRate :: SavingsPlanOfferingRate Source #
Create a value of SavingsPlanOfferingRate with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:operation:SavingsPlanOfferingRate', savingsPlanOfferingRate_operation - The specific AWS operation for the line item in the billing report.
$sel:productType:SavingsPlanOfferingRate', savingsPlanOfferingRate_productType - The product type.
$sel:properties:SavingsPlanOfferingRate', savingsPlanOfferingRate_properties - The properties.
$sel:rate:SavingsPlanOfferingRate', savingsPlanOfferingRate_rate - The Savings Plan rate.
$sel:savingsPlanOffering:SavingsPlanOfferingRate', savingsPlanOfferingRate_savingsPlanOffering - The Savings Plan offering.
$sel:serviceCode:SavingsPlanOfferingRate', savingsPlanOfferingRate_serviceCode - The service.
$sel:unit:SavingsPlanOfferingRate', savingsPlanOfferingRate_unit - The unit.
$sel:usageType:SavingsPlanOfferingRate', savingsPlanOfferingRate_usageType - The usage details of the line item in the billing report.
savingsPlanOfferingRate_operation :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanOfferingRate_productType :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanProductType) Source #
The product type.
savingsPlanOfferingRate_properties :: Lens' SavingsPlanOfferingRate (Maybe [SavingsPlanOfferingRateProperty]) Source #
The properties.
savingsPlanOfferingRate_rate :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The Savings Plan rate.
savingsPlanOfferingRate_savingsPlanOffering :: Lens' SavingsPlanOfferingRate (Maybe ParentSavingsPlanOffering) Source #
The Savings Plan offering.
savingsPlanOfferingRate_serviceCode :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateServiceCode) Source #
The service.
savingsPlanOfferingRate_unit :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateUnit) Source #
The unit.
savingsPlanOfferingRate_usageType :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The usage details of the line item in the billing report.
SavingsPlanOfferingRateFilterElement
data SavingsPlanOfferingRateFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingRateFilterElement smart constructor.
Constructors
| SavingsPlanOfferingRateFilterElement' | |
Instances
newSavingsPlanOfferingRateFilterElement :: SavingsPlanOfferingRateFilterElement Source #
Create a value of SavingsPlanOfferingRateFilterElement with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanOfferingRateFilterElement', savingsPlanOfferingRateFilterElement_name - The filter name.
$sel:values:SavingsPlanOfferingRateFilterElement', savingsPlanOfferingRateFilterElement_values - The filter values.
savingsPlanOfferingRateFilterElement_name :: Lens' SavingsPlanOfferingRateFilterElement (Maybe SavingsPlanRateFilterAttribute) Source #
The filter name.
savingsPlanOfferingRateFilterElement_values :: Lens' SavingsPlanOfferingRateFilterElement (Maybe [Text]) Source #
The filter values.
SavingsPlanOfferingRateProperty
data SavingsPlanOfferingRateProperty Source #
Information about a property.
See: newSavingsPlanOfferingRateProperty smart constructor.
Constructors
| SavingsPlanOfferingRateProperty' | |
Instances
newSavingsPlanOfferingRateProperty :: SavingsPlanOfferingRateProperty Source #
Create a value of SavingsPlanOfferingRateProperty with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanOfferingRateProperty', savingsPlanOfferingRateProperty_name - The property name.
$sel:value:SavingsPlanOfferingRateProperty', savingsPlanOfferingRateProperty_value - The property value.
savingsPlanOfferingRateProperty_name :: Lens' SavingsPlanOfferingRateProperty (Maybe Text) Source #
The property name.
savingsPlanOfferingRateProperty_value :: Lens' SavingsPlanOfferingRateProperty (Maybe Text) Source #
The property value.
SavingsPlanRate
data SavingsPlanRate Source #
Information about a Savings Plan rate.
See: newSavingsPlanRate smart constructor.
Constructors
| SavingsPlanRate' | |
Fields
| |
Instances
newSavingsPlanRate :: SavingsPlanRate Source #
Create a value of SavingsPlanRate with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currency:SavingsPlanRate', savingsPlanRate_currency - The currency.
$sel:operation:SavingsPlanRate', savingsPlanRate_operation - The specific AWS operation for the line item in the billing report.
$sel:productType:SavingsPlanRate', savingsPlanRate_productType - The product type.
$sel:properties:SavingsPlanRate', savingsPlanRate_properties - The properties.
$sel:rate:SavingsPlanRate', savingsPlanRate_rate - The rate.
$sel:serviceCode:SavingsPlanRate', savingsPlanRate_serviceCode - The service.
$sel:unit:SavingsPlanRate', savingsPlanRate_unit - The unit.
$sel:usageType:SavingsPlanRate', savingsPlanRate_usageType - The usage details of the line item in the billing report.
savingsPlanRate_currency :: Lens' SavingsPlanRate (Maybe CurrencyCode) Source #
The currency.
savingsPlanRate_operation :: Lens' SavingsPlanRate (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanRate_productType :: Lens' SavingsPlanRate (Maybe SavingsPlanProductType) Source #
The product type.
savingsPlanRate_properties :: Lens' SavingsPlanRate (Maybe [SavingsPlanRateProperty]) Source #
The properties.
savingsPlanRate_rate :: Lens' SavingsPlanRate (Maybe Text) Source #
The rate.
savingsPlanRate_serviceCode :: Lens' SavingsPlanRate (Maybe SavingsPlanRateServiceCode) Source #
The service.
savingsPlanRate_unit :: Lens' SavingsPlanRate (Maybe SavingsPlanRateUnit) Source #
The unit.
savingsPlanRate_usageType :: Lens' SavingsPlanRate (Maybe Text) Source #
The usage details of the line item in the billing report.
SavingsPlanRateFilter
data SavingsPlanRateFilter Source #
Information about a filter.
See: newSavingsPlanRateFilter smart constructor.
Constructors
| SavingsPlanRateFilter' | |
Instances
newSavingsPlanRateFilter :: SavingsPlanRateFilter Source #
Create a value of SavingsPlanRateFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanRateFilter', savingsPlanRateFilter_name - The filter name.
$sel:values:SavingsPlanRateFilter', savingsPlanRateFilter_values - The filter values.
savingsPlanRateFilter_name :: Lens' SavingsPlanRateFilter (Maybe SavingsPlanRateFilterName) Source #
The filter name.
savingsPlanRateFilter_values :: Lens' SavingsPlanRateFilter (Maybe [Text]) Source #
The filter values.
SavingsPlanRateProperty
data SavingsPlanRateProperty Source #
Information about a property.
See: newSavingsPlanRateProperty smart constructor.
Constructors
| SavingsPlanRateProperty' | |
Instances
newSavingsPlanRateProperty :: SavingsPlanRateProperty Source #
Create a value of SavingsPlanRateProperty with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SavingsPlanRateProperty', savingsPlanRateProperty_name - The property name.
$sel:value:SavingsPlanRateProperty', savingsPlanRateProperty_value - The property value.
savingsPlanRateProperty_name :: Lens' SavingsPlanRateProperty (Maybe SavingsPlanRatePropertyKey) Source #
The property name.
savingsPlanRateProperty_value :: Lens' SavingsPlanRateProperty (Maybe Text) Source #
The property value.