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