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 |
Amazonka.SavingsPlans
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- Types
- 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
Derived from API version 2019-06-28
of the AWS service descriptions, licensed under Apache 2.0.
Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS Savings Plans User Guide.
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
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data DescribeSavingsPlanRates = DescribeSavingsPlanRates' (Maybe [SavingsPlanRateFilter]) (Maybe Text) (Maybe Natural) Text
- newDescribeSavingsPlanRates :: Text -> DescribeSavingsPlanRates
- data DescribeSavingsPlanRatesResponse = DescribeSavingsPlanRatesResponse' (Maybe [SavingsPlanRate]) (Maybe Text) (Maybe Text) Int
- newDescribeSavingsPlanRatesResponse :: Int -> DescribeSavingsPlanRatesResponse
- data DeleteQueuedSavingsPlan = DeleteQueuedSavingsPlan' Text
- newDeleteQueuedSavingsPlan :: Text -> DeleteQueuedSavingsPlan
- data DeleteQueuedSavingsPlanResponse = DeleteQueuedSavingsPlanResponse' Int
- newDeleteQueuedSavingsPlanResponse :: Int -> DeleteQueuedSavingsPlanResponse
- data CreateSavingsPlan = CreateSavingsPlan' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text)) Text Text
- newCreateSavingsPlan :: Text -> Text -> CreateSavingsPlan
- data CreateSavingsPlanResponse = CreateSavingsPlanResponse' (Maybe Text) Int
- newCreateSavingsPlanResponse :: Int -> CreateSavingsPlanResponse
- data DescribeSavingsPlansOfferings = DescribeSavingsPlansOfferings' (Maybe [Text]) (Maybe SavingsPlanProductType) (Maybe [SavingsPlanOfferingFilterElement]) (Maybe [Text]) (Maybe [CurrencyCode]) (Maybe Text) (Maybe [SavingsPlanPaymentOption]) (Maybe [Text]) (Maybe [Natural]) (Maybe [SavingsPlanType]) (Maybe [Text]) (Maybe [Text]) (Maybe Natural)
- newDescribeSavingsPlansOfferings :: DescribeSavingsPlansOfferings
- data DescribeSavingsPlansOfferingsResponse = DescribeSavingsPlansOfferingsResponse' (Maybe [SavingsPlanOffering]) (Maybe Text) Int
- newDescribeSavingsPlansOfferingsResponse :: Int -> DescribeSavingsPlansOfferingsResponse
- data DescribeSavingsPlans = DescribeSavingsPlans' (Maybe [SavingsPlanState]) (Maybe [Text]) (Maybe [SavingsPlanFilter]) (Maybe Text) (Maybe [Text]) (Maybe Natural)
- newDescribeSavingsPlans :: DescribeSavingsPlans
- data DescribeSavingsPlansResponse = DescribeSavingsPlansResponse' (Maybe [SavingsPlan]) (Maybe Text) Int
- newDescribeSavingsPlansResponse :: Int -> DescribeSavingsPlansResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data DescribeSavingsPlansOfferingRates = DescribeSavingsPlansOfferingRates' (Maybe [Text]) (Maybe [SavingsPlanRateServiceCode]) (Maybe [SavingsPlanOfferingRateFilterElement]) (Maybe Text) (Maybe [SavingsPlanType]) (Maybe [SavingsPlanProductType]) (Maybe [SavingsPlanPaymentOption]) (Maybe [Text]) (Maybe [Text]) (Maybe Natural)
- newDescribeSavingsPlansOfferingRates :: DescribeSavingsPlansOfferingRates
- data DescribeSavingsPlansOfferingRatesResponse = DescribeSavingsPlansOfferingRatesResponse' (Maybe [SavingsPlanOfferingRate]) (Maybe Text) Int
- newDescribeSavingsPlansOfferingRatesResponse :: Int -> DescribeSavingsPlansOfferingRatesResponse
- 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' (Maybe CurrencyCode) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe SavingsPlanType) (Maybe SavingsPlanPaymentOption)
- newParentSavingsPlanOffering :: ParentSavingsPlanOffering
- data SavingsPlan = SavingsPlan' (Maybe Integer) (Maybe SavingsPlanType) (Maybe SavingsPlanState) (Maybe [SavingsPlanProductType]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe CurrencyCode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe Text) (Maybe (HashMap Text Text))
- newSavingsPlan :: SavingsPlan
- data SavingsPlanFilter = SavingsPlanFilter' (Maybe [Text]) (Maybe SavingsPlansFilterName)
- newSavingsPlanFilter :: SavingsPlanFilter
- data SavingsPlanOffering = SavingsPlanOffering' (Maybe Text) (Maybe Text) (Maybe [SavingsPlanProductType]) (Maybe CurrencyCode) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe SavingsPlanType) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe [SavingsPlanOfferingProperty])
- newSavingsPlanOffering :: SavingsPlanOffering
- data SavingsPlanOfferingFilterElement = SavingsPlanOfferingFilterElement' (Maybe [Text]) (Maybe SavingsPlanOfferingFilterAttribute)
- newSavingsPlanOfferingFilterElement :: SavingsPlanOfferingFilterElement
- data SavingsPlanOfferingProperty = SavingsPlanOfferingProperty' (Maybe Text) (Maybe SavingsPlanOfferingPropertyKey)
- newSavingsPlanOfferingProperty :: SavingsPlanOfferingProperty
- data SavingsPlanOfferingRate = SavingsPlanOfferingRate' (Maybe Text) (Maybe Text) (Maybe SavingsPlanProductType) (Maybe ParentSavingsPlanOffering) (Maybe Text) (Maybe SavingsPlanRateServiceCode) (Maybe SavingsPlanRateUnit) (Maybe [SavingsPlanOfferingRateProperty])
- newSavingsPlanOfferingRate :: SavingsPlanOfferingRate
- data SavingsPlanOfferingRateFilterElement = SavingsPlanOfferingRateFilterElement' (Maybe [Text]) (Maybe SavingsPlanRateFilterAttribute)
- newSavingsPlanOfferingRateFilterElement :: SavingsPlanOfferingRateFilterElement
- data SavingsPlanOfferingRateProperty = SavingsPlanOfferingRateProperty' (Maybe Text) (Maybe Text)
- newSavingsPlanOfferingRateProperty :: SavingsPlanOfferingRateProperty
- data SavingsPlanRate = SavingsPlanRate' (Maybe Text) (Maybe Text) (Maybe SavingsPlanProductType) (Maybe CurrencyCode) (Maybe Text) (Maybe SavingsPlanRateServiceCode) (Maybe SavingsPlanRateUnit) (Maybe [SavingsPlanRateProperty])
- newSavingsPlanRate :: SavingsPlanRate
- data SavingsPlanRateFilter = SavingsPlanRateFilter' (Maybe [Text]) (Maybe SavingsPlanRateFilterName)
- newSavingsPlanRateFilter :: SavingsPlanRateFilter
- data SavingsPlanRateProperty = SavingsPlanRateProperty' (Maybe Text) (Maybe SavingsPlanRatePropertyKey)
- newSavingsPlanRateProperty :: SavingsPlanRateProperty
Service Configuration
defaultService :: Service Source #
API version 2019-06-28
of the Amazon Savings Plans SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by SavingsPlans
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One of the input parameters is not valid.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A service quota has been exceeded.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An unexpected error occurred.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource was not found.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Constructors
ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
:: Text | |
-> ListTagsForResource |
Create a value of ListTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) of the resource.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- Information about the tags.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
DescribeSavingsPlanRates
data DescribeSavingsPlanRates Source #
See: newDescribeSavingsPlanRates
smart constructor.
Constructors
DescribeSavingsPlanRates' (Maybe [SavingsPlanRateFilter]) (Maybe Text) (Maybe Natural) Text |
Instances
newDescribeSavingsPlanRates Source #
Create a value of DescribeSavingsPlanRates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:DescribeSavingsPlanRates'
, describeSavingsPlanRates_filters
- The filters.
$sel:nextToken:DescribeSavingsPlanRates'
, describeSavingsPlanRates_nextToken
- The token for the next page of results.
$sel:maxResults:DescribeSavingsPlanRates'
, describeSavingsPlanRates_maxResults
- The maximum number of results to return with a single call. To retrieve
additional results, make another call with the returned token value.
$sel:savingsPlanId:DescribeSavingsPlanRates'
, describeSavingsPlanRates_savingsPlanId
- The ID of the Savings Plan.
data DescribeSavingsPlanRatesResponse Source #
See: newDescribeSavingsPlanRatesResponse
smart constructor.
Constructors
DescribeSavingsPlanRatesResponse' (Maybe [SavingsPlanRate]) (Maybe Text) (Maybe Text) Int |
Instances
newDescribeSavingsPlanRatesResponse Source #
Create a value of DescribeSavingsPlanRatesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:searchResults:DescribeSavingsPlanRatesResponse'
, describeSavingsPlanRatesResponse_searchResults
- Information about the Savings Plans rates.
$sel:savingsPlanId:DescribeSavingsPlanRates'
, describeSavingsPlanRatesResponse_savingsPlanId
- The ID of the Savings Plan.
$sel:nextToken:DescribeSavingsPlanRates'
, describeSavingsPlanRatesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeSavingsPlanRatesResponse'
, describeSavingsPlanRatesResponse_httpStatus
- The response's http status code.
DeleteQueuedSavingsPlan
data DeleteQueuedSavingsPlan Source #
See: newDeleteQueuedSavingsPlan
smart constructor.
Constructors
DeleteQueuedSavingsPlan' Text |
Instances
newDeleteQueuedSavingsPlan Source #
Create a value of DeleteQueuedSavingsPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlanId:DeleteQueuedSavingsPlan'
, deleteQueuedSavingsPlan_savingsPlanId
- The ID of the Savings Plan.
data DeleteQueuedSavingsPlanResponse Source #
See: newDeleteQueuedSavingsPlanResponse
smart constructor.
Constructors
DeleteQueuedSavingsPlanResponse' Int |
Instances
newDeleteQueuedSavingsPlanResponse Source #
Create a value of DeleteQueuedSavingsPlanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteQueuedSavingsPlanResponse'
, deleteQueuedSavingsPlanResponse_httpStatus
- The response's http status code.
CreateSavingsPlan
data CreateSavingsPlan Source #
See: newCreateSavingsPlan
smart constructor.
Constructors
CreateSavingsPlan' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text)) Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> CreateSavingsPlan |
Create a value of CreateSavingsPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateSavingsPlan'
, createSavingsPlan_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:purchaseTime:CreateSavingsPlan'
, createSavingsPlan_purchaseTime
- The time at which to purchase the Savings Plan, in UTC format
(YYYY-MM-DDTHH:MM:SSZ).
$sel:upfrontPaymentAmount:CreateSavingsPlan'
, createSavingsPlan_upfrontPaymentAmount
- The up-front payment amount. This is a whole number between 50 and 99
percent of the total value of the Savings Plan. This parameter is
supported only if the payment option is Partial Upfront
.
$sel:tags:CreateSavingsPlan'
, createSavingsPlan_tags
- One or more tags.
$sel:savingsPlanOfferingId:CreateSavingsPlan'
, createSavingsPlan_savingsPlanOfferingId
- The ID of the offering.
$sel:commitment:CreateSavingsPlan'
, createSavingsPlan_commitment
- The hourly commitment, in USD. This is a value between 0.001 and 1
million. You cannot specify more than three digits after the decimal
point.
data CreateSavingsPlanResponse Source #
See: newCreateSavingsPlanResponse
smart constructor.
Constructors
CreateSavingsPlanResponse' (Maybe Text) Int |
Instances
newCreateSavingsPlanResponse Source #
Create a value of CreateSavingsPlanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlanId:CreateSavingsPlanResponse'
, createSavingsPlanResponse_savingsPlanId
- The ID of the Savings Plan.
$sel:httpStatus:CreateSavingsPlanResponse'
, createSavingsPlanResponse_httpStatus
- The response's http status code.
DescribeSavingsPlansOfferings
data DescribeSavingsPlansOfferings Source #
See: newDescribeSavingsPlansOfferings
smart constructor.
Constructors
DescribeSavingsPlansOfferings' (Maybe [Text]) (Maybe SavingsPlanProductType) (Maybe [SavingsPlanOfferingFilterElement]) (Maybe [Text]) (Maybe [CurrencyCode]) (Maybe Text) (Maybe [SavingsPlanPaymentOption]) (Maybe [Text]) (Maybe [Natural]) (Maybe [SavingsPlanType]) (Maybe [Text]) (Maybe [Text]) (Maybe Natural) |
Instances
newDescribeSavingsPlansOfferings :: DescribeSavingsPlansOfferings Source #
Create a value of DescribeSavingsPlansOfferings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serviceCodes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_serviceCodes
- The services.
$sel:productType:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_productType
- The product type.
$sel:filters:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_filters
- The filters.
$sel:offeringIds:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_offeringIds
- The IDs of the offerings.
$sel:currencies:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_currencies
- The currencies.
$sel:nextToken:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_nextToken
- The token for the next page of results.
$sel:paymentOptions:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_paymentOptions
- The payment options.
$sel:descriptions:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_descriptions
- The descriptions.
$sel:durations:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_durations
- The durations, in seconds.
$sel:planTypes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_planTypes
- The plan type.
$sel:usageTypes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_usageTypes
- The usage details of the line item in the billing report.
$sel:operations:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_operations
- The specific AWS operation for the line item in the billing report.
$sel:maxResults:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_maxResults
- The maximum number of results to return with a single call. To retrieve
additional results, make another call with the returned token value.
data DescribeSavingsPlansOfferingsResponse Source #
See: newDescribeSavingsPlansOfferingsResponse
smart constructor.
Constructors
DescribeSavingsPlansOfferingsResponse' (Maybe [SavingsPlanOffering]) (Maybe Text) Int |
Instances
newDescribeSavingsPlansOfferingsResponse Source #
Arguments
:: Int | |
-> DescribeSavingsPlansOfferingsResponse |
Create a value of DescribeSavingsPlansOfferingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:searchResults:DescribeSavingsPlansOfferingsResponse'
, describeSavingsPlansOfferingsResponse_searchResults
- Information about the Savings Plans offerings.
$sel:nextToken:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferingsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeSavingsPlansOfferingsResponse'
, describeSavingsPlansOfferingsResponse_httpStatus
- The response's http status code.
DescribeSavingsPlans
data DescribeSavingsPlans Source #
See: newDescribeSavingsPlans
smart constructor.
Constructors
DescribeSavingsPlans' (Maybe [SavingsPlanState]) (Maybe [Text]) (Maybe [SavingsPlanFilter]) (Maybe Text) (Maybe [Text]) (Maybe Natural) |
Instances
newDescribeSavingsPlans :: DescribeSavingsPlans Source #
Create a value of DescribeSavingsPlans
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:states:DescribeSavingsPlans'
, describeSavingsPlans_states
- The states.
$sel:savingsPlanIds:DescribeSavingsPlans'
, describeSavingsPlans_savingsPlanIds
- The IDs of the Savings Plans.
$sel:filters:DescribeSavingsPlans'
, describeSavingsPlans_filters
- The filters.
$sel:nextToken:DescribeSavingsPlans'
, describeSavingsPlans_nextToken
- The token for the next page of results.
$sel:savingsPlanArns:DescribeSavingsPlans'
, describeSavingsPlans_savingsPlanArns
- The Amazon Resource Names (ARN) of the Savings Plans.
$sel:maxResults:DescribeSavingsPlans'
, describeSavingsPlans_maxResults
- The maximum number of results to return with a single call. To retrieve
additional results, make another call with the returned token value.
data DescribeSavingsPlansResponse Source #
See: newDescribeSavingsPlansResponse
smart constructor.
Constructors
DescribeSavingsPlansResponse' (Maybe [SavingsPlan]) (Maybe Text) Int |
Instances
newDescribeSavingsPlansResponse Source #
Create a value of DescribeSavingsPlansResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlans:DescribeSavingsPlansResponse'
, describeSavingsPlansResponse_savingsPlans
- Information about the Savings Plans.
$sel:nextToken:DescribeSavingsPlans'
, describeSavingsPlansResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeSavingsPlansResponse'
, describeSavingsPlansResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Constructors
TagResource' Text (HashMap Text Text) |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource.
$sel:tags:TagResource'
, tagResource_tags
- One or more tags. For example, { "tags": {"key1":"value1",
"key2":"value2"} }.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
:: Int | |
-> TagResourceResponse |
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text [Text] |
Instances
Arguments
:: Text | |
-> UntagResource |
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The tag keys.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
DescribeSavingsPlansOfferingRates
data DescribeSavingsPlansOfferingRates Source #
See: newDescribeSavingsPlansOfferingRates
smart constructor.
Constructors
Instances
newDescribeSavingsPlansOfferingRates :: DescribeSavingsPlansOfferingRates Source #
Create a value of DescribeSavingsPlansOfferingRates
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:savingsPlanOfferingIds:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanOfferingIds
- The IDs of the offerings.
$sel:serviceCodes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_serviceCodes
- The services.
$sel:filters:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_filters
- The filters.
$sel:nextToken:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_nextToken
- The token for the next page of results.
$sel:savingsPlanTypes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanTypes
- The plan types.
$sel:products:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_products
- The AWS products.
$sel:savingsPlanPaymentOptions:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanPaymentOptions
- The payment options.
$sel:usageTypes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_usageTypes
- The usage details of the line item in the billing report.
$sel:operations:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_operations
- The specific AWS operation for the line item in the billing report.
$sel:maxResults:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_maxResults
- The maximum number of results to return with a single call. To retrieve
additional results, make another call with the returned token value.
data DescribeSavingsPlansOfferingRatesResponse Source #
See: newDescribeSavingsPlansOfferingRatesResponse
smart constructor.
Constructors
DescribeSavingsPlansOfferingRatesResponse' (Maybe [SavingsPlanOfferingRate]) (Maybe Text) Int |
Instances
newDescribeSavingsPlansOfferingRatesResponse Source #
Arguments
:: Int | |
-> DescribeSavingsPlansOfferingRatesResponse |
Create a value of DescribeSavingsPlansOfferingRatesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:searchResults:DescribeSavingsPlansOfferingRatesResponse'
, describeSavingsPlansOfferingRatesResponse_searchResults
- Information about the Savings Plans offering rates.
$sel:nextToken:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRatesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeSavingsPlansOfferingRatesResponse'
, describeSavingsPlansOfferingRatesResponse_httpStatus
- The response's http status code.
Types
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' (Maybe CurrencyCode) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe SavingsPlanType) (Maybe SavingsPlanPaymentOption) |
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.
SavingsPlan
data SavingsPlan Source #
Information about a Savings Plan.
See: newSavingsPlan
smart constructor.
Constructors
SavingsPlan' (Maybe Integer) (Maybe SavingsPlanType) (Maybe SavingsPlanState) (Maybe [SavingsPlanProductType]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe CurrencyCode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe Text) (Maybe (HashMap Text Text)) |
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.
SavingsPlanFilter
data SavingsPlanFilter Source #
Information about a filter.
See: newSavingsPlanFilter
smart constructor.
Constructors
SavingsPlanFilter' (Maybe [Text]) (Maybe SavingsPlansFilterName) |
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.
SavingsPlanOffering
data SavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newSavingsPlanOffering
smart constructor.
Constructors
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.
SavingsPlanOfferingFilterElement
data SavingsPlanOfferingFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingFilterElement
smart constructor.
Constructors
SavingsPlanOfferingFilterElement' (Maybe [Text]) (Maybe SavingsPlanOfferingFilterAttribute) |
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.
SavingsPlanOfferingProperty
data SavingsPlanOfferingProperty Source #
Information about a property.
See: newSavingsPlanOfferingProperty
smart constructor.
Constructors
SavingsPlanOfferingProperty' (Maybe Text) (Maybe SavingsPlanOfferingPropertyKey) |
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.
SavingsPlanOfferingRate
data SavingsPlanOfferingRate Source #
Information about a Savings Plan offering rate.
See: newSavingsPlanOfferingRate
smart constructor.
Constructors
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.
SavingsPlanOfferingRateFilterElement
data SavingsPlanOfferingRateFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingRateFilterElement
smart constructor.
Constructors
SavingsPlanOfferingRateFilterElement' (Maybe [Text]) (Maybe SavingsPlanRateFilterAttribute) |
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.
SavingsPlanOfferingRateProperty
data SavingsPlanOfferingRateProperty Source #
Information about a property.
See: newSavingsPlanOfferingRateProperty
smart constructor.
Constructors
SavingsPlanOfferingRateProperty' (Maybe Text) (Maybe Text) |
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:value:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_value
- The property value.
$sel:name:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_name
- The property name.
SavingsPlanRate
data SavingsPlanRate Source #
Information about a Savings Plan rate.
See: newSavingsPlanRate
smart constructor.
Constructors
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.
SavingsPlanRateFilter
data SavingsPlanRateFilter Source #
Information about a filter.
See: newSavingsPlanRateFilter
smart constructor.
Constructors
SavingsPlanRateFilter' (Maybe [Text]) (Maybe SavingsPlanRateFilterName) |
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.
SavingsPlanRateProperty
data SavingsPlanRateProperty Source #
Information about a property.
See: newSavingsPlanRateProperty
smart constructor.
Constructors
SavingsPlanRateProperty' (Maybe Text) (Maybe SavingsPlanRatePropertyKey) |
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.