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 |
Describes the specified Savings Plans offering rates.
Synopsis
- data DescribeSavingsPlansOfferingRates = DescribeSavingsPlansOfferingRates' {
- savingsPlanOfferingIds :: Maybe [Text]
- serviceCodes :: Maybe [SavingsPlanRateServiceCode]
- filters :: Maybe [SavingsPlanOfferingRateFilterElement]
- nextToken :: Maybe Text
- savingsPlanTypes :: Maybe [SavingsPlanType]
- products :: Maybe [SavingsPlanProductType]
- savingsPlanPaymentOptions :: Maybe [SavingsPlanPaymentOption]
- usageTypes :: Maybe [Text]
- operations :: Maybe [Text]
- maxResults :: Maybe Natural
- newDescribeSavingsPlansOfferingRates :: DescribeSavingsPlansOfferingRates
- describeSavingsPlansOfferingRates_savingsPlanOfferingIds :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text])
- describeSavingsPlansOfferingRates_serviceCodes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanRateServiceCode])
- describeSavingsPlansOfferingRates_filters :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanOfferingRateFilterElement])
- describeSavingsPlansOfferingRates_nextToken :: Lens' DescribeSavingsPlansOfferingRates (Maybe Text)
- describeSavingsPlansOfferingRates_savingsPlanTypes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanType])
- describeSavingsPlansOfferingRates_products :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanProductType])
- describeSavingsPlansOfferingRates_savingsPlanPaymentOptions :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanPaymentOption])
- describeSavingsPlansOfferingRates_usageTypes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text])
- describeSavingsPlansOfferingRates_operations :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text])
- describeSavingsPlansOfferingRates_maxResults :: Lens' DescribeSavingsPlansOfferingRates (Maybe Natural)
- data DescribeSavingsPlansOfferingRatesResponse = DescribeSavingsPlansOfferingRatesResponse' {}
- newDescribeSavingsPlansOfferingRatesResponse :: Int -> DescribeSavingsPlansOfferingRatesResponse
- describeSavingsPlansOfferingRatesResponse_searchResults :: Lens' DescribeSavingsPlansOfferingRatesResponse (Maybe [SavingsPlanOfferingRate])
- describeSavingsPlansOfferingRatesResponse_nextToken :: Lens' DescribeSavingsPlansOfferingRatesResponse (Maybe Text)
- describeSavingsPlansOfferingRatesResponse_httpStatus :: Lens' DescribeSavingsPlansOfferingRatesResponse Int
Creating a Request
data DescribeSavingsPlansOfferingRates Source #
See: newDescribeSavingsPlansOfferingRates
smart constructor.
DescribeSavingsPlansOfferingRates' | |
|
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.
Request Lenses
describeSavingsPlansOfferingRates_savingsPlanOfferingIds :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text]) Source #
The IDs of the offerings.
describeSavingsPlansOfferingRates_serviceCodes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanRateServiceCode]) Source #
The services.
describeSavingsPlansOfferingRates_filters :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanOfferingRateFilterElement]) Source #
The filters.
describeSavingsPlansOfferingRates_nextToken :: Lens' DescribeSavingsPlansOfferingRates (Maybe Text) Source #
The token for the next page of results.
describeSavingsPlansOfferingRates_savingsPlanTypes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanType]) Source #
The plan types.
describeSavingsPlansOfferingRates_products :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanProductType]) Source #
The AWS products.
describeSavingsPlansOfferingRates_savingsPlanPaymentOptions :: Lens' DescribeSavingsPlansOfferingRates (Maybe [SavingsPlanPaymentOption]) Source #
The payment options.
describeSavingsPlansOfferingRates_usageTypes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text]) Source #
The usage details of the line item in the billing report.
describeSavingsPlansOfferingRates_operations :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text]) Source #
The specific AWS operation for the line item in the billing report.
describeSavingsPlansOfferingRates_maxResults :: Lens' DescribeSavingsPlansOfferingRates (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
Destructuring the Response
data DescribeSavingsPlansOfferingRatesResponse Source #
See: newDescribeSavingsPlansOfferingRatesResponse
smart constructor.
DescribeSavingsPlansOfferingRatesResponse' | |
|
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:
$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.
Response Lenses
describeSavingsPlansOfferingRatesResponse_searchResults :: Lens' DescribeSavingsPlansOfferingRatesResponse (Maybe [SavingsPlanOfferingRate]) Source #
Information about the Savings Plans offering rates.
describeSavingsPlansOfferingRatesResponse_nextToken :: Lens' DescribeSavingsPlansOfferingRatesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
describeSavingsPlansOfferingRatesResponse_httpStatus :: Lens' DescribeSavingsPlansOfferingRatesResponse Int Source #
The response's http status code.