Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- 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
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) 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_planDescription :: Lens' ParentSavingsPlanOffering (Maybe Text)
- parentSavingsPlanOffering_planType :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanType)
- parentSavingsPlanOffering_paymentOption :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanPaymentOption)
- data SavingsPlan = SavingsPlan' {
- termDurationInSeconds :: Maybe Integer
- savingsPlanType :: Maybe SavingsPlanType
- state :: Maybe SavingsPlanState
- productTypes :: Maybe [SavingsPlanProductType]
- start :: Maybe Text
- ec2InstanceFamily :: Maybe Text
- savingsPlanId :: Maybe Text
- recurringPaymentAmount :: Maybe Text
- currency :: Maybe CurrencyCode
- end :: Maybe Text
- upfrontPaymentAmount :: Maybe Text
- offeringId :: Maybe Text
- region :: Maybe Text
- commitment :: Maybe Text
- description :: Maybe Text
- paymentOption :: Maybe SavingsPlanPaymentOption
- savingsPlanArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newSavingsPlan :: SavingsPlan
- savingsPlan_termDurationInSeconds :: Lens' SavingsPlan (Maybe Integer)
- savingsPlan_savingsPlanType :: Lens' SavingsPlan (Maybe SavingsPlanType)
- savingsPlan_state :: Lens' SavingsPlan (Maybe SavingsPlanState)
- savingsPlan_productTypes :: Lens' SavingsPlan (Maybe [SavingsPlanProductType])
- savingsPlan_start :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_ec2InstanceFamily :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_savingsPlanId :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_recurringPaymentAmount :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_currency :: Lens' SavingsPlan (Maybe CurrencyCode)
- savingsPlan_end :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_upfrontPaymentAmount :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_offeringId :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_region :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_commitment :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_description :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_paymentOption :: Lens' SavingsPlan (Maybe SavingsPlanPaymentOption)
- savingsPlan_savingsPlanArn :: Lens' SavingsPlan (Maybe Text)
- savingsPlan_tags :: Lens' SavingsPlan (Maybe (HashMap Text Text))
- data SavingsPlanFilter = SavingsPlanFilter' {}
- newSavingsPlanFilter :: SavingsPlanFilter
- savingsPlanFilter_values :: Lens' SavingsPlanFilter (Maybe [Text])
- savingsPlanFilter_name :: Lens' SavingsPlanFilter (Maybe SavingsPlansFilterName)
- data SavingsPlanOffering = SavingsPlanOffering' {
- operation :: Maybe Text
- usageType :: Maybe Text
- productTypes :: Maybe [SavingsPlanProductType]
- currency :: Maybe CurrencyCode
- durationSeconds :: Maybe Natural
- offeringId :: Maybe Text
- serviceCode :: Maybe Text
- planType :: Maybe SavingsPlanType
- description :: Maybe Text
- paymentOption :: Maybe SavingsPlanPaymentOption
- properties :: Maybe [SavingsPlanOfferingProperty]
- newSavingsPlanOffering :: SavingsPlanOffering
- savingsPlanOffering_operation :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_usageType :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_productTypes :: Lens' SavingsPlanOffering (Maybe [SavingsPlanProductType])
- savingsPlanOffering_currency :: Lens' SavingsPlanOffering (Maybe CurrencyCode)
- savingsPlanOffering_durationSeconds :: Lens' SavingsPlanOffering (Maybe Natural)
- savingsPlanOffering_offeringId :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_serviceCode :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_planType :: Lens' SavingsPlanOffering (Maybe SavingsPlanType)
- savingsPlanOffering_description :: Lens' SavingsPlanOffering (Maybe Text)
- savingsPlanOffering_paymentOption :: Lens' SavingsPlanOffering (Maybe SavingsPlanPaymentOption)
- savingsPlanOffering_properties :: Lens' SavingsPlanOffering (Maybe [SavingsPlanOfferingProperty])
- data SavingsPlanOfferingFilterElement = SavingsPlanOfferingFilterElement' {}
- newSavingsPlanOfferingFilterElement :: SavingsPlanOfferingFilterElement
- savingsPlanOfferingFilterElement_values :: Lens' SavingsPlanOfferingFilterElement (Maybe [Text])
- savingsPlanOfferingFilterElement_name :: Lens' SavingsPlanOfferingFilterElement (Maybe SavingsPlanOfferingFilterAttribute)
- data SavingsPlanOfferingProperty = SavingsPlanOfferingProperty' {}
- newSavingsPlanOfferingProperty :: SavingsPlanOfferingProperty
- savingsPlanOfferingProperty_value :: Lens' SavingsPlanOfferingProperty (Maybe Text)
- savingsPlanOfferingProperty_name :: Lens' SavingsPlanOfferingProperty (Maybe SavingsPlanOfferingPropertyKey)
- data SavingsPlanOfferingRate = SavingsPlanOfferingRate' {}
- newSavingsPlanOfferingRate :: SavingsPlanOfferingRate
- savingsPlanOfferingRate_operation :: Lens' SavingsPlanOfferingRate (Maybe Text)
- savingsPlanOfferingRate_usageType :: Lens' SavingsPlanOfferingRate (Maybe Text)
- savingsPlanOfferingRate_productType :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanProductType)
- savingsPlanOfferingRate_savingsPlanOffering :: Lens' SavingsPlanOfferingRate (Maybe ParentSavingsPlanOffering)
- savingsPlanOfferingRate_rate :: Lens' SavingsPlanOfferingRate (Maybe Text)
- savingsPlanOfferingRate_serviceCode :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateServiceCode)
- savingsPlanOfferingRate_unit :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateUnit)
- savingsPlanOfferingRate_properties :: Lens' SavingsPlanOfferingRate (Maybe [SavingsPlanOfferingRateProperty])
- data SavingsPlanOfferingRateFilterElement = SavingsPlanOfferingRateFilterElement' {}
- newSavingsPlanOfferingRateFilterElement :: SavingsPlanOfferingRateFilterElement
- savingsPlanOfferingRateFilterElement_values :: Lens' SavingsPlanOfferingRateFilterElement (Maybe [Text])
- savingsPlanOfferingRateFilterElement_name :: Lens' SavingsPlanOfferingRateFilterElement (Maybe SavingsPlanRateFilterAttribute)
- data SavingsPlanOfferingRateProperty = SavingsPlanOfferingRateProperty' {}
- newSavingsPlanOfferingRateProperty :: SavingsPlanOfferingRateProperty
- savingsPlanOfferingRateProperty_value :: Lens' SavingsPlanOfferingRateProperty (Maybe Text)
- savingsPlanOfferingRateProperty_name :: Lens' SavingsPlanOfferingRateProperty (Maybe Text)
- data SavingsPlanRate = SavingsPlanRate' {}
- newSavingsPlanRate :: SavingsPlanRate
- savingsPlanRate_operation :: Lens' SavingsPlanRate (Maybe Text)
- savingsPlanRate_usageType :: Lens' SavingsPlanRate (Maybe Text)
- savingsPlanRate_productType :: Lens' SavingsPlanRate (Maybe SavingsPlanProductType)
- savingsPlanRate_currency :: Lens' SavingsPlanRate (Maybe CurrencyCode)
- savingsPlanRate_rate :: Lens' SavingsPlanRate (Maybe Text)
- savingsPlanRate_serviceCode :: Lens' SavingsPlanRate (Maybe SavingsPlanRateServiceCode)
- savingsPlanRate_unit :: Lens' SavingsPlanRate (Maybe SavingsPlanRateUnit)
- savingsPlanRate_properties :: Lens' SavingsPlanRate (Maybe [SavingsPlanRateProperty])
- data SavingsPlanRateFilter = SavingsPlanRateFilter' {}
- newSavingsPlanRateFilter :: SavingsPlanRateFilter
- savingsPlanRateFilter_values :: Lens' SavingsPlanRateFilter (Maybe [Text])
- savingsPlanRateFilter_name :: Lens' SavingsPlanRateFilter (Maybe SavingsPlanRateFilterName)
- data SavingsPlanRateProperty = SavingsPlanRateProperty' {}
- newSavingsPlanRateProperty :: SavingsPlanRateProperty
- savingsPlanRateProperty_value :: Lens' SavingsPlanRateProperty (Maybe Text)
- savingsPlanRateProperty_name :: Lens' SavingsPlanRateProperty (Maybe SavingsPlanRatePropertyKey)
Service Configuration
defaultService :: Service Source #
API version 2019-06-28
of the Amazon Savings Plans SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One of the input parameters is not valid.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A service quota has been exceeded.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An unexpected error occurred.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource was not found.
CurrencyCode
newtype CurrencyCode Source #
pattern CurrencyCode_CNY :: CurrencyCode | |
pattern CurrencyCode_USD :: CurrencyCode |
Instances
SavingsPlanOfferingFilterAttribute
newtype SavingsPlanOfferingFilterAttribute Source #
pattern SavingsPlanOfferingFilterAttribute_InstanceFamily :: SavingsPlanOfferingFilterAttribute | |
pattern SavingsPlanOfferingFilterAttribute_Region :: SavingsPlanOfferingFilterAttribute |
Instances
SavingsPlanOfferingPropertyKey
newtype SavingsPlanOfferingPropertyKey Source #
pattern SavingsPlanOfferingPropertyKey_InstanceFamily :: SavingsPlanOfferingPropertyKey | |
pattern SavingsPlanOfferingPropertyKey_Region :: SavingsPlanOfferingPropertyKey |
Instances
SavingsPlanPaymentOption
newtype SavingsPlanPaymentOption Source #
Instances
SavingsPlanProductType
newtype SavingsPlanProductType Source #
Instances
SavingsPlanRateFilterAttribute
newtype SavingsPlanRateFilterAttribute Source #
Instances
SavingsPlanRateFilterName
newtype SavingsPlanRateFilterName Source #
Instances
SavingsPlanRatePropertyKey
newtype SavingsPlanRatePropertyKey Source #
Instances
SavingsPlanRateServiceCode
newtype SavingsPlanRateServiceCode Source #
Instances
SavingsPlanRateUnit
newtype SavingsPlanRateUnit Source #
pattern SavingsPlanRateUnit_Hrs :: SavingsPlanRateUnit | |
pattern SavingsPlanRateUnit_Lambda_GB_Second :: SavingsPlanRateUnit | |
pattern SavingsPlanRateUnit_Request :: SavingsPlanRateUnit |
Instances
SavingsPlanState
newtype SavingsPlanState Source #
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 #
pattern SavingsPlanType_Compute :: SavingsPlanType | |
pattern SavingsPlanType_EC2Instance :: SavingsPlanType | |
pattern SavingsPlanType_SageMaker :: SavingsPlanType |
Instances
SavingsPlansFilterName
newtype SavingsPlansFilterName Source #
Instances
ParentSavingsPlanOffering
data ParentSavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newParentSavingsPlanOffering
smart constructor.
ParentSavingsPlanOffering' | |
|
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:planDescription:ParentSavingsPlanOffering'
, parentSavingsPlanOffering_planDescription
- The description.
$sel:planType:ParentSavingsPlanOffering'
, parentSavingsPlanOffering_planType
- The plan type.
$sel:paymentOption:ParentSavingsPlanOffering'
, parentSavingsPlanOffering_paymentOption
- The payment option.
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_planDescription :: Lens' ParentSavingsPlanOffering (Maybe Text) Source #
The description.
parentSavingsPlanOffering_planType :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanType) Source #
The plan type.
parentSavingsPlanOffering_paymentOption :: Lens' ParentSavingsPlanOffering (Maybe SavingsPlanPaymentOption) Source #
The payment option.
SavingsPlan
data SavingsPlan Source #
Information about a Savings Plan.
See: newSavingsPlan
smart constructor.
SavingsPlan' | |
|
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:termDurationInSeconds:SavingsPlan'
, savingsPlan_termDurationInSeconds
- The duration of the term, in seconds.
$sel:savingsPlanType:SavingsPlan'
, savingsPlan_savingsPlanType
- The plan type.
$sel:state:SavingsPlan'
, savingsPlan_state
- The state.
$sel:productTypes:SavingsPlan'
, savingsPlan_productTypes
- The product types.
$sel:start:SavingsPlan'
, savingsPlan_start
- The start time.
$sel:ec2InstanceFamily:SavingsPlan'
, savingsPlan_ec2InstanceFamily
- The EC2 instance family.
$sel:savingsPlanId:SavingsPlan'
, savingsPlan_savingsPlanId
- The ID of the Savings Plan.
$sel:recurringPaymentAmount:SavingsPlan'
, savingsPlan_recurringPaymentAmount
- The recurring payment amount.
$sel:currency:SavingsPlan'
, savingsPlan_currency
- The currency.
$sel:end:SavingsPlan'
, savingsPlan_end
- The end time.
$sel:upfrontPaymentAmount:SavingsPlan'
, savingsPlan_upfrontPaymentAmount
- The up-front payment amount.
$sel:offeringId:SavingsPlan'
, savingsPlan_offeringId
- The ID of the offering.
$sel:region:SavingsPlan'
, savingsPlan_region
- The AWS Region.
$sel:commitment:SavingsPlan'
, savingsPlan_commitment
- The hourly commitment, in USD.
$sel:description:SavingsPlan'
, savingsPlan_description
- The description.
$sel:paymentOption:SavingsPlan'
, savingsPlan_paymentOption
- The payment option.
$sel:savingsPlanArn:SavingsPlan'
, savingsPlan_savingsPlanArn
- The Amazon Resource Name (ARN) of the Savings Plan.
$sel:tags:SavingsPlan'
, savingsPlan_tags
- One or more tags.
savingsPlan_termDurationInSeconds :: Lens' SavingsPlan (Maybe Integer) Source #
The duration of the term, in seconds.
savingsPlan_savingsPlanType :: Lens' SavingsPlan (Maybe SavingsPlanType) Source #
The plan type.
savingsPlan_state :: Lens' SavingsPlan (Maybe SavingsPlanState) Source #
The state.
savingsPlan_productTypes :: Lens' SavingsPlan (Maybe [SavingsPlanProductType]) Source #
The product types.
savingsPlan_start :: Lens' SavingsPlan (Maybe Text) Source #
The start time.
savingsPlan_ec2InstanceFamily :: Lens' SavingsPlan (Maybe Text) Source #
The EC2 instance family.
savingsPlan_savingsPlanId :: Lens' SavingsPlan (Maybe Text) Source #
The ID of the Savings Plan.
savingsPlan_recurringPaymentAmount :: Lens' SavingsPlan (Maybe Text) Source #
The recurring payment amount.
savingsPlan_currency :: Lens' SavingsPlan (Maybe CurrencyCode) Source #
The currency.
savingsPlan_end :: Lens' SavingsPlan (Maybe Text) Source #
The end time.
savingsPlan_upfrontPaymentAmount :: Lens' SavingsPlan (Maybe Text) Source #
The up-front payment amount.
savingsPlan_offeringId :: Lens' SavingsPlan (Maybe Text) Source #
The ID of the offering.
savingsPlan_region :: Lens' SavingsPlan (Maybe Text) Source #
The AWS Region.
savingsPlan_commitment :: Lens' SavingsPlan (Maybe Text) Source #
The hourly commitment, in USD.
savingsPlan_description :: Lens' SavingsPlan (Maybe Text) Source #
The description.
savingsPlan_paymentOption :: Lens' SavingsPlan (Maybe SavingsPlanPaymentOption) Source #
The payment option.
savingsPlan_savingsPlanArn :: Lens' SavingsPlan (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Savings Plan.
savingsPlan_tags :: Lens' SavingsPlan (Maybe (HashMap Text Text)) Source #
One or more tags.
SavingsPlanFilter
data SavingsPlanFilter Source #
Information about a filter.
See: newSavingsPlanFilter
smart constructor.
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:values:SavingsPlanFilter'
, savingsPlanFilter_values
- The filter value.
$sel:name:SavingsPlanFilter'
, savingsPlanFilter_name
- The filter name.
savingsPlanFilter_values :: Lens' SavingsPlanFilter (Maybe [Text]) Source #
The filter value.
savingsPlanFilter_name :: Lens' SavingsPlanFilter (Maybe SavingsPlansFilterName) Source #
The filter name.
SavingsPlanOffering
data SavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newSavingsPlanOffering
smart constructor.
SavingsPlanOffering' | |
|
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:operation:SavingsPlanOffering'
, savingsPlanOffering_operation
- The specific AWS operation for the line item in the billing report.
$sel:usageType:SavingsPlanOffering'
, savingsPlanOffering_usageType
- The usage details of the line item in the billing report.
$sel:productTypes:SavingsPlanOffering'
, savingsPlanOffering_productTypes
- The product type.
$sel:currency:SavingsPlanOffering'
, savingsPlanOffering_currency
- The currency.
$sel:durationSeconds:SavingsPlanOffering'
, savingsPlanOffering_durationSeconds
- The duration, in seconds.
$sel:offeringId:SavingsPlanOffering'
, savingsPlanOffering_offeringId
- The ID of the offering.
$sel:serviceCode:SavingsPlanOffering'
, savingsPlanOffering_serviceCode
- The service.
$sel:planType:SavingsPlanOffering'
, savingsPlanOffering_planType
- The plan type.
$sel:description:SavingsPlanOffering'
, savingsPlanOffering_description
- The description.
$sel:paymentOption:SavingsPlanOffering'
, savingsPlanOffering_paymentOption
- The payment option.
$sel:properties:SavingsPlanOffering'
, savingsPlanOffering_properties
- The properties.
savingsPlanOffering_operation :: Lens' SavingsPlanOffering (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanOffering_usageType :: Lens' SavingsPlanOffering (Maybe Text) Source #
The usage details of the line item in the billing report.
savingsPlanOffering_productTypes :: Lens' SavingsPlanOffering (Maybe [SavingsPlanProductType]) Source #
The product type.
savingsPlanOffering_currency :: Lens' SavingsPlanOffering (Maybe CurrencyCode) Source #
The currency.
savingsPlanOffering_durationSeconds :: Lens' SavingsPlanOffering (Maybe Natural) Source #
The duration, in seconds.
savingsPlanOffering_offeringId :: Lens' SavingsPlanOffering (Maybe Text) Source #
The ID of the offering.
savingsPlanOffering_serviceCode :: Lens' SavingsPlanOffering (Maybe Text) Source #
The service.
savingsPlanOffering_planType :: Lens' SavingsPlanOffering (Maybe SavingsPlanType) Source #
The plan type.
savingsPlanOffering_description :: Lens' SavingsPlanOffering (Maybe Text) Source #
The description.
savingsPlanOffering_paymentOption :: Lens' SavingsPlanOffering (Maybe SavingsPlanPaymentOption) Source #
The payment option.
savingsPlanOffering_properties :: Lens' SavingsPlanOffering (Maybe [SavingsPlanOfferingProperty]) Source #
The properties.
SavingsPlanOfferingFilterElement
data SavingsPlanOfferingFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingFilterElement
smart constructor.
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:values:SavingsPlanOfferingFilterElement'
, savingsPlanOfferingFilterElement_values
- The filter values.
$sel:name:SavingsPlanOfferingFilterElement'
, savingsPlanOfferingFilterElement_name
- The filter name.
savingsPlanOfferingFilterElement_values :: Lens' SavingsPlanOfferingFilterElement (Maybe [Text]) Source #
The filter values.
savingsPlanOfferingFilterElement_name :: Lens' SavingsPlanOfferingFilterElement (Maybe SavingsPlanOfferingFilterAttribute) Source #
The filter name.
SavingsPlanOfferingProperty
data SavingsPlanOfferingProperty Source #
Information about a property.
See: newSavingsPlanOfferingProperty
smart constructor.
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:value:SavingsPlanOfferingProperty'
, savingsPlanOfferingProperty_value
- The property value.
$sel:name:SavingsPlanOfferingProperty'
, savingsPlanOfferingProperty_name
- The property name.
savingsPlanOfferingProperty_value :: Lens' SavingsPlanOfferingProperty (Maybe Text) Source #
The property value.
savingsPlanOfferingProperty_name :: Lens' SavingsPlanOfferingProperty (Maybe SavingsPlanOfferingPropertyKey) Source #
The property name.
SavingsPlanOfferingRate
data SavingsPlanOfferingRate Source #
Information about a Savings Plan offering rate.
See: newSavingsPlanOfferingRate
smart constructor.
SavingsPlanOfferingRate' | |
|
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:usageType:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_usageType
- The usage details of the line item in the billing report.
$sel:productType:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_productType
- The product type.
$sel:savingsPlanOffering:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_savingsPlanOffering
- The Savings Plan offering.
$sel:rate:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_rate
- The Savings Plan rate.
$sel:serviceCode:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_serviceCode
- The service.
$sel:unit:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_unit
- The unit.
$sel:properties:SavingsPlanOfferingRate'
, savingsPlanOfferingRate_properties
- The properties.
savingsPlanOfferingRate_operation :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanOfferingRate_usageType :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The usage details of the line item in the billing report.
savingsPlanOfferingRate_productType :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanProductType) Source #
The product type.
savingsPlanOfferingRate_savingsPlanOffering :: Lens' SavingsPlanOfferingRate (Maybe ParentSavingsPlanOffering) Source #
The Savings Plan offering.
savingsPlanOfferingRate_rate :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #
The Savings Plan rate.
savingsPlanOfferingRate_serviceCode :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateServiceCode) Source #
The service.
savingsPlanOfferingRate_unit :: Lens' SavingsPlanOfferingRate (Maybe SavingsPlanRateUnit) Source #
The unit.
savingsPlanOfferingRate_properties :: Lens' SavingsPlanOfferingRate (Maybe [SavingsPlanOfferingRateProperty]) Source #
The properties.
SavingsPlanOfferingRateFilterElement
data SavingsPlanOfferingRateFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingRateFilterElement
smart constructor.
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:values:SavingsPlanOfferingRateFilterElement'
, savingsPlanOfferingRateFilterElement_values
- The filter values.
$sel:name:SavingsPlanOfferingRateFilterElement'
, savingsPlanOfferingRateFilterElement_name
- The filter name.
savingsPlanOfferingRateFilterElement_values :: Lens' SavingsPlanOfferingRateFilterElement (Maybe [Text]) Source #
The filter values.
savingsPlanOfferingRateFilterElement_name :: Lens' SavingsPlanOfferingRateFilterElement (Maybe SavingsPlanRateFilterAttribute) Source #
The filter name.
SavingsPlanOfferingRateProperty
data SavingsPlanOfferingRateProperty Source #
Information about a property.
See: newSavingsPlanOfferingRateProperty
smart constructor.
Instances
Eq SavingsPlanOfferingRateProperty Source # | |
Read SavingsPlanOfferingRateProperty Source # | |
Show SavingsPlanOfferingRateProperty Source # | |
Generic SavingsPlanOfferingRateProperty Source # | |
NFData SavingsPlanOfferingRateProperty Source # | |
Hashable SavingsPlanOfferingRateProperty Source # | |
FromJSON SavingsPlanOfferingRateProperty Source # | |
type Rep SavingsPlanOfferingRateProperty Source # | |
Defined in Amazonka.SavingsPlans.Types.SavingsPlanOfferingRateProperty type Rep SavingsPlanOfferingRateProperty = D1 ('MetaData "SavingsPlanOfferingRateProperty" "Amazonka.SavingsPlans.Types.SavingsPlanOfferingRateProperty" "libZSservicesZSamazonka-savingsplansZSamazonka-savingsplans" 'False) (C1 ('MetaCons "SavingsPlanOfferingRateProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
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:value:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_value
- The property value.
$sel:name:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_name
- The property name.
savingsPlanOfferingRateProperty_value :: Lens' SavingsPlanOfferingRateProperty (Maybe Text) Source #
The property value.
savingsPlanOfferingRateProperty_name :: Lens' SavingsPlanOfferingRateProperty (Maybe Text) Source #
The property name.
SavingsPlanRate
data SavingsPlanRate Source #
Information about a Savings Plan rate.
See: newSavingsPlanRate
smart constructor.
SavingsPlanRate' | |
|
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:operation:SavingsPlanRate'
, savingsPlanRate_operation
- The specific AWS operation for the line item in the billing report.
$sel:usageType:SavingsPlanRate'
, savingsPlanRate_usageType
- The usage details of the line item in the billing report.
$sel:productType:SavingsPlanRate'
, savingsPlanRate_productType
- The product type.
$sel:currency:SavingsPlanRate'
, savingsPlanRate_currency
- The currency.
$sel:rate:SavingsPlanRate'
, savingsPlanRate_rate
- The rate.
$sel:serviceCode:SavingsPlanRate'
, savingsPlanRate_serviceCode
- The service.
$sel:unit:SavingsPlanRate'
, savingsPlanRate_unit
- The unit.
$sel:properties:SavingsPlanRate'
, savingsPlanRate_properties
- The properties.
savingsPlanRate_operation :: Lens' SavingsPlanRate (Maybe Text) Source #
The specific AWS operation for the line item in the billing report.
savingsPlanRate_usageType :: Lens' SavingsPlanRate (Maybe Text) Source #
The usage details of the line item in the billing report.
savingsPlanRate_productType :: Lens' SavingsPlanRate (Maybe SavingsPlanProductType) Source #
The product type.
savingsPlanRate_currency :: Lens' SavingsPlanRate (Maybe CurrencyCode) Source #
The currency.
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_properties :: Lens' SavingsPlanRate (Maybe [SavingsPlanRateProperty]) Source #
The properties.
SavingsPlanRateFilter
data SavingsPlanRateFilter Source #
Information about a filter.
See: newSavingsPlanRateFilter
smart constructor.
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:values:SavingsPlanRateFilter'
, savingsPlanRateFilter_values
- The filter values.
$sel:name:SavingsPlanRateFilter'
, savingsPlanRateFilter_name
- The filter name.
savingsPlanRateFilter_values :: Lens' SavingsPlanRateFilter (Maybe [Text]) Source #
The filter values.
savingsPlanRateFilter_name :: Lens' SavingsPlanRateFilter (Maybe SavingsPlanRateFilterName) Source #
The filter name.
SavingsPlanRateProperty
data SavingsPlanRateProperty Source #
Information about a property.
See: newSavingsPlanRateProperty
smart constructor.
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:value:SavingsPlanRateProperty'
, savingsPlanRateProperty_value
- The property value.
$sel:name:SavingsPlanRateProperty'
, savingsPlanRateProperty_name
- The property name.
savingsPlanRateProperty_value :: Lens' SavingsPlanRateProperty (Maybe Text) Source #
The property value.
savingsPlanRateProperty_name :: Lens' SavingsPlanRateProperty (Maybe SavingsPlanRatePropertyKey) Source #
The property name.