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 offerings.
Synopsis
- data DescribeSavingsPlansOfferings = DescribeSavingsPlansOfferings' {
- serviceCodes :: Maybe [Text]
- productType :: Maybe SavingsPlanProductType
- filters :: Maybe [SavingsPlanOfferingFilterElement]
- offeringIds :: Maybe [Text]
- currencies :: Maybe [CurrencyCode]
- nextToken :: Maybe Text
- paymentOptions :: Maybe [SavingsPlanPaymentOption]
- descriptions :: Maybe [Text]
- durations :: Maybe [Natural]
- planTypes :: Maybe [SavingsPlanType]
- usageTypes :: Maybe [Text]
- operations :: Maybe [Text]
- maxResults :: Maybe Natural
- newDescribeSavingsPlansOfferings :: DescribeSavingsPlansOfferings
- describeSavingsPlansOfferings_serviceCodes :: Lens' DescribeSavingsPlansOfferings (Maybe [Text])
- describeSavingsPlansOfferings_productType :: Lens' DescribeSavingsPlansOfferings (Maybe SavingsPlanProductType)
- describeSavingsPlansOfferings_filters :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanOfferingFilterElement])
- describeSavingsPlansOfferings_offeringIds :: Lens' DescribeSavingsPlansOfferings (Maybe [Text])
- describeSavingsPlansOfferings_currencies :: Lens' DescribeSavingsPlansOfferings (Maybe [CurrencyCode])
- describeSavingsPlansOfferings_nextToken :: Lens' DescribeSavingsPlansOfferings (Maybe Text)
- describeSavingsPlansOfferings_paymentOptions :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanPaymentOption])
- describeSavingsPlansOfferings_descriptions :: Lens' DescribeSavingsPlansOfferings (Maybe [Text])
- describeSavingsPlansOfferings_durations :: Lens' DescribeSavingsPlansOfferings (Maybe [Natural])
- describeSavingsPlansOfferings_planTypes :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanType])
- describeSavingsPlansOfferings_usageTypes :: Lens' DescribeSavingsPlansOfferings (Maybe [Text])
- describeSavingsPlansOfferings_operations :: Lens' DescribeSavingsPlansOfferings (Maybe [Text])
- describeSavingsPlansOfferings_maxResults :: Lens' DescribeSavingsPlansOfferings (Maybe Natural)
- data DescribeSavingsPlansOfferingsResponse = DescribeSavingsPlansOfferingsResponse' {}
- newDescribeSavingsPlansOfferingsResponse :: Int -> DescribeSavingsPlansOfferingsResponse
- describeSavingsPlansOfferingsResponse_searchResults :: Lens' DescribeSavingsPlansOfferingsResponse (Maybe [SavingsPlanOffering])
- describeSavingsPlansOfferingsResponse_nextToken :: Lens' DescribeSavingsPlansOfferingsResponse (Maybe Text)
- describeSavingsPlansOfferingsResponse_httpStatus :: Lens' DescribeSavingsPlansOfferingsResponse Int
Creating a Request
data DescribeSavingsPlansOfferings Source #
See: newDescribeSavingsPlansOfferings
smart constructor.
DescribeSavingsPlansOfferings' | |
|
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.
Request Lenses
describeSavingsPlansOfferings_serviceCodes :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #
The services.
describeSavingsPlansOfferings_productType :: Lens' DescribeSavingsPlansOfferings (Maybe SavingsPlanProductType) Source #
The product type.
describeSavingsPlansOfferings_filters :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanOfferingFilterElement]) Source #
The filters.
describeSavingsPlansOfferings_offeringIds :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #
The IDs of the offerings.
describeSavingsPlansOfferings_currencies :: Lens' DescribeSavingsPlansOfferings (Maybe [CurrencyCode]) Source #
The currencies.
describeSavingsPlansOfferings_nextToken :: Lens' DescribeSavingsPlansOfferings (Maybe Text) Source #
The token for the next page of results.
describeSavingsPlansOfferings_paymentOptions :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanPaymentOption]) Source #
The payment options.
describeSavingsPlansOfferings_descriptions :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #
The descriptions.
describeSavingsPlansOfferings_durations :: Lens' DescribeSavingsPlansOfferings (Maybe [Natural]) Source #
The durations, in seconds.
describeSavingsPlansOfferings_planTypes :: Lens' DescribeSavingsPlansOfferings (Maybe [SavingsPlanType]) Source #
The plan type.
describeSavingsPlansOfferings_usageTypes :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #
The usage details of the line item in the billing report.
describeSavingsPlansOfferings_operations :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #
The specific AWS operation for the line item in the billing report.
describeSavingsPlansOfferings_maxResults :: Lens' DescribeSavingsPlansOfferings (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 DescribeSavingsPlansOfferingsResponse Source #
See: newDescribeSavingsPlansOfferingsResponse
smart constructor.
DescribeSavingsPlansOfferingsResponse' | |
|
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:
$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.
Response Lenses
describeSavingsPlansOfferingsResponse_searchResults :: Lens' DescribeSavingsPlansOfferingsResponse (Maybe [SavingsPlanOffering]) Source #
Information about the Savings Plans offerings.
describeSavingsPlansOfferingsResponse_nextToken :: Lens' DescribeSavingsPlansOfferingsResponse (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.
describeSavingsPlansOfferingsResponse_httpStatus :: Lens' DescribeSavingsPlansOfferingsResponse Int Source #
The response's http status code.