Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- 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
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
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- data CreateSavingsPlan = CreateSavingsPlan' (Maybe Text) (Maybe POSIX) (Maybe (HashMap Text Text)) (Maybe Text) Text Text
- newCreateSavingsPlan :: Text -> Text -> CreateSavingsPlan
- data CreateSavingsPlanResponse = CreateSavingsPlanResponse' (Maybe Text) Int
- newCreateSavingsPlanResponse :: Int -> CreateSavingsPlanResponse
- data DeleteQueuedSavingsPlan = DeleteQueuedSavingsPlan' Text
- newDeleteQueuedSavingsPlan :: Text -> DeleteQueuedSavingsPlan
- data DeleteQueuedSavingsPlanResponse = DeleteQueuedSavingsPlanResponse' Int
- newDeleteQueuedSavingsPlanResponse :: Int -> DeleteQueuedSavingsPlanResponse
- data DescribeSavingsPlanRates = DescribeSavingsPlanRates' (Maybe [SavingsPlanRateFilter]) (Maybe Natural) (Maybe Text) Text
- newDescribeSavingsPlanRates :: Text -> DescribeSavingsPlanRates
- data DescribeSavingsPlanRatesResponse = DescribeSavingsPlanRatesResponse' (Maybe Text) (Maybe Text) (Maybe [SavingsPlanRate]) Int
- newDescribeSavingsPlanRatesResponse :: Int -> DescribeSavingsPlanRatesResponse
- data DescribeSavingsPlans = DescribeSavingsPlans' (Maybe [SavingsPlanFilter]) (Maybe Natural) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [SavingsPlanState])
- newDescribeSavingsPlans :: DescribeSavingsPlans
- data DescribeSavingsPlansResponse = DescribeSavingsPlansResponse' (Maybe Text) (Maybe [SavingsPlan]) Int
- newDescribeSavingsPlansResponse :: Int -> DescribeSavingsPlansResponse
- data DescribeSavingsPlansOfferingRates = DescribeSavingsPlansOfferingRates' (Maybe [SavingsPlanOfferingRateFilterElement]) (Maybe Natural) (Maybe Text) (Maybe [Text]) (Maybe [SavingsPlanProductType]) (Maybe [Text]) (Maybe [SavingsPlanPaymentOption]) (Maybe [SavingsPlanType]) (Maybe [SavingsPlanRateServiceCode]) (Maybe [Text])
- newDescribeSavingsPlansOfferingRates :: DescribeSavingsPlansOfferingRates
- data DescribeSavingsPlansOfferingRatesResponse = DescribeSavingsPlansOfferingRatesResponse' (Maybe Text) (Maybe [SavingsPlanOfferingRate]) Int
- newDescribeSavingsPlansOfferingRatesResponse :: Int -> DescribeSavingsPlansOfferingRatesResponse
- data DescribeSavingsPlansOfferings = DescribeSavingsPlansOfferings' (Maybe [CurrencyCode]) (Maybe [Text]) (Maybe [Natural]) (Maybe [SavingsPlanOfferingFilterElement]) (Maybe Natural) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [SavingsPlanPaymentOption]) (Maybe [SavingsPlanType]) (Maybe SavingsPlanProductType) (Maybe [Text]) (Maybe [Text])
- newDescribeSavingsPlansOfferings :: DescribeSavingsPlansOfferings
- data DescribeSavingsPlansOfferingsResponse = DescribeSavingsPlansOfferingsResponse' (Maybe Text) (Maybe [SavingsPlanOffering]) Int
- newDescribeSavingsPlansOfferingsResponse :: Int -> DescribeSavingsPlansOfferingsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- 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
- 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 SavingsPlanPaymentOption) (Maybe Text) (Maybe SavingsPlanType)
- newParentSavingsPlanOffering :: ParentSavingsPlanOffering
- data SavingsPlan = SavingsPlan' (Maybe Text) (Maybe CurrencyCode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe [SavingsPlanProductType]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanType) (Maybe Text) (Maybe SavingsPlanState) (Maybe (HashMap Text Text)) (Maybe Integer) (Maybe Text)
- newSavingsPlan :: SavingsPlan
- data SavingsPlanFilter = SavingsPlanFilter' (Maybe SavingsPlansFilterName) (Maybe [Text])
- newSavingsPlanFilter :: SavingsPlanFilter
- data SavingsPlanOffering = SavingsPlanOffering' (Maybe CurrencyCode) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe SavingsPlanType) (Maybe [SavingsPlanProductType]) (Maybe [SavingsPlanOfferingProperty]) (Maybe Text) (Maybe Text)
- newSavingsPlanOffering :: SavingsPlanOffering
- data SavingsPlanOfferingFilterElement = SavingsPlanOfferingFilterElement' (Maybe SavingsPlanOfferingFilterAttribute) (Maybe [Text])
- newSavingsPlanOfferingFilterElement :: SavingsPlanOfferingFilterElement
- data SavingsPlanOfferingProperty = SavingsPlanOfferingProperty' (Maybe SavingsPlanOfferingPropertyKey) (Maybe Text)
- newSavingsPlanOfferingProperty :: SavingsPlanOfferingProperty
- data SavingsPlanOfferingRate = SavingsPlanOfferingRate' (Maybe Text) (Maybe SavingsPlanProductType) (Maybe [SavingsPlanOfferingRateProperty]) (Maybe Text) (Maybe ParentSavingsPlanOffering) (Maybe SavingsPlanRateServiceCode) (Maybe SavingsPlanRateUnit) (Maybe Text)
- newSavingsPlanOfferingRate :: SavingsPlanOfferingRate
- data SavingsPlanOfferingRateFilterElement = SavingsPlanOfferingRateFilterElement' (Maybe SavingsPlanRateFilterAttribute) (Maybe [Text])
- newSavingsPlanOfferingRateFilterElement :: SavingsPlanOfferingRateFilterElement
- data SavingsPlanOfferingRateProperty = SavingsPlanOfferingRateProperty' (Maybe Text) (Maybe Text)
- newSavingsPlanOfferingRateProperty :: SavingsPlanOfferingRateProperty
- data SavingsPlanRate = SavingsPlanRate' (Maybe CurrencyCode) (Maybe Text) (Maybe SavingsPlanProductType) (Maybe [SavingsPlanRateProperty]) (Maybe Text) (Maybe SavingsPlanRateServiceCode) (Maybe SavingsPlanRateUnit) (Maybe Text)
- newSavingsPlanRate :: SavingsPlanRate
- data SavingsPlanRateFilter = SavingsPlanRateFilter' (Maybe SavingsPlanRateFilterName) (Maybe [Text])
- newSavingsPlanRateFilter :: SavingsPlanRateFilter
- data SavingsPlanRateProperty = SavingsPlanRateProperty' (Maybe SavingsPlanRatePropertyKey) (Maybe Text)
- 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
.
InternalServerException
_InternalServerException :: AsError a => Fold a ServiceError Source #
An unexpected error occurred.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource was not found.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
A service quota has been exceeded.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
One of the input parameters is not valid.
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.
CreateSavingsPlan
data CreateSavingsPlan Source #
See: newCreateSavingsPlan
smart constructor.
Instances
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).
CreateSavingsPlan
, createSavingsPlan_tags
- One or more tags.
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:savingsPlanOfferingId:CreateSavingsPlan'
, createSavingsPlan_savingsPlanOfferingId
- The ID of the offering.
CreateSavingsPlan
, createSavingsPlan_commitment
- The hourly commitment, in USD. This is a value between 0.001 and 1
million. You cannot specify more than five digits after the decimal
point.
data CreateSavingsPlanResponse Source #
See: newCreateSavingsPlanResponse
smart constructor.
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:
CreateSavingsPlanResponse
, createSavingsPlanResponse_savingsPlanId
- The ID of the Savings Plan.
$sel:httpStatus:CreateSavingsPlanResponse'
, createSavingsPlanResponse_httpStatus
- The response's http status code.
DeleteQueuedSavingsPlan
data DeleteQueuedSavingsPlan Source #
See: newDeleteQueuedSavingsPlan
smart constructor.
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:
DeleteQueuedSavingsPlan
, deleteQueuedSavingsPlan_savingsPlanId
- The ID of the Savings Plan.
data DeleteQueuedSavingsPlanResponse Source #
See: newDeleteQueuedSavingsPlanResponse
smart constructor.
Instances
Generic DeleteQueuedSavingsPlanResponse Source # | |
Read DeleteQueuedSavingsPlanResponse Source # | |
Show DeleteQueuedSavingsPlanResponse Source # | |
NFData DeleteQueuedSavingsPlanResponse Source # | |
Defined in Amazonka.SavingsPlans.DeleteQueuedSavingsPlan rnf :: DeleteQueuedSavingsPlanResponse -> () # | |
Eq DeleteQueuedSavingsPlanResponse Source # | |
type Rep DeleteQueuedSavingsPlanResponse Source # | |
Defined in Amazonka.SavingsPlans.DeleteQueuedSavingsPlan type Rep DeleteQueuedSavingsPlanResponse = D1 ('MetaData "DeleteQueuedSavingsPlanResponse" "Amazonka.SavingsPlans.DeleteQueuedSavingsPlan" "amazonka-savingsplans-2.0-FtFG1qHEz1XIlZzuDbedV6" 'False) (C1 ('MetaCons "DeleteQueuedSavingsPlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.
DescribeSavingsPlanRates
data DescribeSavingsPlanRates Source #
See: newDescribeSavingsPlanRates
smart constructor.
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: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.
DescribeSavingsPlanRates
, describeSavingsPlanRates_nextToken
- The token for the next page of results.
DescribeSavingsPlanRates
, describeSavingsPlanRates_savingsPlanId
- The ID of the Savings Plan.
data DescribeSavingsPlanRatesResponse Source #
See: newDescribeSavingsPlanRatesResponse
smart constructor.
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:
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.
DescribeSavingsPlanRates
, describeSavingsPlanRatesResponse_savingsPlanId
- The ID of the Savings Plan.
$sel:searchResults:DescribeSavingsPlanRatesResponse'
, describeSavingsPlanRatesResponse_searchResults
- Information about the Savings Plans rates.
$sel:httpStatus:DescribeSavingsPlanRatesResponse'
, describeSavingsPlanRatesResponse_httpStatus
- The response's http status code.
DescribeSavingsPlans
data DescribeSavingsPlans Source #
See: newDescribeSavingsPlans
smart constructor.
DescribeSavingsPlans' (Maybe [SavingsPlanFilter]) (Maybe Natural) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [SavingsPlanState]) |
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:filters:DescribeSavingsPlans'
, describeSavingsPlans_filters
- The filters.
$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.
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:savingsPlanIds:DescribeSavingsPlans'
, describeSavingsPlans_savingsPlanIds
- The IDs of the Savings Plans.
$sel:states:DescribeSavingsPlans'
, describeSavingsPlans_states
- The states.
data DescribeSavingsPlansResponse Source #
See: newDescribeSavingsPlansResponse
smart constructor.
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:
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:savingsPlans:DescribeSavingsPlansResponse'
, describeSavingsPlansResponse_savingsPlans
- Information about the Savings Plans.
$sel:httpStatus:DescribeSavingsPlansResponse'
, describeSavingsPlansResponse_httpStatus
- The response's http status code.
DescribeSavingsPlansOfferingRates
data DescribeSavingsPlansOfferingRates Source #
See: newDescribeSavingsPlansOfferingRates
smart constructor.
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:filters:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_filters
- The filters.
$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.
DescribeSavingsPlansOfferingRates
, describeSavingsPlansOfferingRates_nextToken
- The token for the next page of results.
$sel:operations:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_operations
- The specific AWS operation for the line item in the billing report.
$sel:products:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_products
- The AWS products.
$sel:savingsPlanOfferingIds:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanOfferingIds
- The IDs of the offerings.
$sel:savingsPlanPaymentOptions:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanPaymentOptions
- The payment options.
$sel:savingsPlanTypes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_savingsPlanTypes
- The plan types.
$sel:serviceCodes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_serviceCodes
- The services.
$sel:usageTypes:DescribeSavingsPlansOfferingRates'
, describeSavingsPlansOfferingRates_usageTypes
- The usage details of the line item in the billing report.
data DescribeSavingsPlansOfferingRatesResponse Source #
See: newDescribeSavingsPlansOfferingRatesResponse
smart constructor.
Instances
newDescribeSavingsPlansOfferingRatesResponse Source #
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:
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:searchResults:DescribeSavingsPlansOfferingRatesResponse'
, describeSavingsPlansOfferingRatesResponse_searchResults
- Information about the Savings Plans offering rates.
$sel:httpStatus:DescribeSavingsPlansOfferingRatesResponse'
, describeSavingsPlansOfferingRatesResponse_httpStatus
- The response's http status code.
DescribeSavingsPlansOfferings
data DescribeSavingsPlansOfferings Source #
See: newDescribeSavingsPlansOfferings
smart constructor.
DescribeSavingsPlansOfferings' (Maybe [CurrencyCode]) (Maybe [Text]) (Maybe [Natural]) (Maybe [SavingsPlanOfferingFilterElement]) (Maybe Natural) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [SavingsPlanPaymentOption]) (Maybe [SavingsPlanType]) (Maybe SavingsPlanProductType) (Maybe [Text]) (Maybe [Text]) |
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:currencies:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_currencies
- The currencies.
$sel:descriptions:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_descriptions
- The descriptions.
$sel:durations:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_durations
- The durations, in seconds.
$sel:filters:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_filters
- The filters.
$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.
DescribeSavingsPlansOfferings
, describeSavingsPlansOfferings_nextToken
- The token for the next page of results.
$sel:offeringIds:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_offeringIds
- The IDs of the offerings.
$sel:operations:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_operations
- The specific AWS operation for the line item in the billing report.
$sel:paymentOptions:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_paymentOptions
- The payment options.
$sel:planTypes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_planTypes
- The plan type.
DescribeSavingsPlansOfferings
, describeSavingsPlansOfferings_productType
- The product type.
$sel:serviceCodes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_serviceCodes
- The services.
$sel:usageTypes:DescribeSavingsPlansOfferings'
, describeSavingsPlansOfferings_usageTypes
- The usage details of the line item in the billing report.
data DescribeSavingsPlansOfferingsResponse Source #
See: newDescribeSavingsPlansOfferingsResponse
smart constructor.
Instances
newDescribeSavingsPlansOfferingsResponse Source #
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:
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:searchResults:DescribeSavingsPlansOfferingsResponse'
, describeSavingsPlansOfferingsResponse_searchResults
- Information about the Savings Plans offerings.
$sel:httpStatus:DescribeSavingsPlansOfferingsResponse'
, describeSavingsPlansOfferingsResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
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:
ListTagsForResourceResponse
, listTagsForResourceResponse_tags
- Information about the tags.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
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.
TagResource
, tagResource_tags
- One or more tags. For example, { "tags": {"key1":"value1",
"key2":"value2"} }.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
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.
Instances
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.
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.
Types
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' (Maybe CurrencyCode) (Maybe Natural) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe Text) (Maybe SavingsPlanType) |
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.
SavingsPlan
data SavingsPlan Source #
Information about a Savings Plan.
See: newSavingsPlan
smart constructor.
SavingsPlan' (Maybe Text) (Maybe CurrencyCode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanPaymentOption) (Maybe [SavingsPlanProductType]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SavingsPlanType) (Maybe Text) (Maybe SavingsPlanState) (Maybe (HashMap Text Text)) (Maybe Integer) (Maybe 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: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.
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:name:SavingsPlanFilter'
, savingsPlanFilter_name
- The filter name.
$sel:values:SavingsPlanFilter'
, savingsPlanFilter_values
- The filter value.
SavingsPlanOffering
data SavingsPlanOffering Source #
Information about a Savings Plan offering.
See: newSavingsPlanOffering
smart constructor.
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.
SavingsPlanOfferingFilterElement
data SavingsPlanOfferingFilterElement Source #
Information about a filter.
See: newSavingsPlanOfferingFilterElement
smart constructor.
Instances
ToJSON SavingsPlanOfferingFilterElement Source # | |
Generic SavingsPlanOfferingFilterElement Source # | |
Read SavingsPlanOfferingFilterElement Source # | |
Show SavingsPlanOfferingFilterElement Source # | |
NFData SavingsPlanOfferingFilterElement Source # | |
Eq SavingsPlanOfferingFilterElement Source # | |
Hashable SavingsPlanOfferingFilterElement Source # | |
type Rep SavingsPlanOfferingFilterElement Source # | |
Defined in Amazonka.SavingsPlans.Types.SavingsPlanOfferingFilterElement type Rep SavingsPlanOfferingFilterElement = D1 ('MetaData "SavingsPlanOfferingFilterElement" "Amazonka.SavingsPlans.Types.SavingsPlanOfferingFilterElement" "amazonka-savingsplans-2.0-FtFG1qHEz1XIlZzuDbedV6" 'False) (C1 ('MetaCons "SavingsPlanOfferingFilterElement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SavingsPlanOfferingFilterAttribute)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
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.
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:name:SavingsPlanOfferingProperty'
, savingsPlanOfferingProperty_name
- The property name.
$sel:value:SavingsPlanOfferingProperty'
, savingsPlanOfferingProperty_value
- The property value.
SavingsPlanOfferingRate
data SavingsPlanOfferingRate Source #
Information about a Savings Plan offering rate.
See: newSavingsPlanOfferingRate
smart constructor.
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.
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:name:SavingsPlanOfferingRateFilterElement'
, savingsPlanOfferingRateFilterElement_name
- The filter name.
$sel:values:SavingsPlanOfferingRateFilterElement'
, savingsPlanOfferingRateFilterElement_values
- The filter values.
SavingsPlanOfferingRateProperty
data SavingsPlanOfferingRateProperty Source #
Information about a property.
See: newSavingsPlanOfferingRateProperty
smart constructor.
Instances
FromJSON SavingsPlanOfferingRateProperty Source # | |
Generic SavingsPlanOfferingRateProperty Source # | |
Read SavingsPlanOfferingRateProperty Source # | |
Show SavingsPlanOfferingRateProperty Source # | |
NFData SavingsPlanOfferingRateProperty Source # | |
Eq SavingsPlanOfferingRateProperty Source # | |
Hashable SavingsPlanOfferingRateProperty Source # | |
type Rep SavingsPlanOfferingRateProperty Source # | |
Defined in Amazonka.SavingsPlans.Types.SavingsPlanOfferingRateProperty type Rep SavingsPlanOfferingRateProperty = D1 ('MetaData "SavingsPlanOfferingRateProperty" "Amazonka.SavingsPlans.Types.SavingsPlanOfferingRateProperty" "amazonka-savingsplans-2.0-FtFG1qHEz1XIlZzuDbedV6" 'False) (C1 ('MetaCons "SavingsPlanOfferingRateProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") '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:name:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_name
- The property name.
$sel:value:SavingsPlanOfferingRateProperty'
, savingsPlanOfferingRateProperty_value
- The property value.
SavingsPlanRate
data SavingsPlanRate Source #
Information about a Savings Plan rate.
See: newSavingsPlanRate
smart constructor.
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.
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:name:SavingsPlanRateFilter'
, savingsPlanRateFilter_name
- The filter name.
$sel:values:SavingsPlanRateFilter'
, savingsPlanRateFilter_values
- The filter values.
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:name:SavingsPlanRateProperty'
, savingsPlanRateProperty_name
- The property name.
$sel:value:SavingsPlanRateProperty'
, savingsPlanRateProperty_value
- The property value.