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 rates.
Synopsis
- data DescribeSavingsPlanRates = DescribeSavingsPlanRates' {}
- newDescribeSavingsPlanRates :: Text -> DescribeSavingsPlanRates
- describeSavingsPlanRates_filters :: Lens' DescribeSavingsPlanRates (Maybe [SavingsPlanRateFilter])
- describeSavingsPlanRates_nextToken :: Lens' DescribeSavingsPlanRates (Maybe Text)
- describeSavingsPlanRates_maxResults :: Lens' DescribeSavingsPlanRates (Maybe Natural)
- describeSavingsPlanRates_savingsPlanId :: Lens' DescribeSavingsPlanRates Text
- data DescribeSavingsPlanRatesResponse = DescribeSavingsPlanRatesResponse' {}
- newDescribeSavingsPlanRatesResponse :: Int -> DescribeSavingsPlanRatesResponse
- describeSavingsPlanRatesResponse_searchResults :: Lens' DescribeSavingsPlanRatesResponse (Maybe [SavingsPlanRate])
- describeSavingsPlanRatesResponse_savingsPlanId :: Lens' DescribeSavingsPlanRatesResponse (Maybe Text)
- describeSavingsPlanRatesResponse_nextToken :: Lens' DescribeSavingsPlanRatesResponse (Maybe Text)
- describeSavingsPlanRatesResponse_httpStatus :: Lens' DescribeSavingsPlanRatesResponse Int
Creating a Request
data DescribeSavingsPlanRates Source #
See: newDescribeSavingsPlanRates
smart constructor.
DescribeSavingsPlanRates' | |
|
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.
Request Lenses
describeSavingsPlanRates_filters :: Lens' DescribeSavingsPlanRates (Maybe [SavingsPlanRateFilter]) Source #
The filters.
describeSavingsPlanRates_nextToken :: Lens' DescribeSavingsPlanRates (Maybe Text) Source #
The token for the next page of results.
describeSavingsPlanRates_maxResults :: Lens' DescribeSavingsPlanRates (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.
describeSavingsPlanRates_savingsPlanId :: Lens' DescribeSavingsPlanRates Text Source #
The ID of the Savings Plan.
Destructuring the Response
data DescribeSavingsPlanRatesResponse Source #
See: newDescribeSavingsPlanRatesResponse
smart constructor.
DescribeSavingsPlanRatesResponse' | |
|
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.
Response Lenses
describeSavingsPlanRatesResponse_searchResults :: Lens' DescribeSavingsPlanRatesResponse (Maybe [SavingsPlanRate]) Source #
Information about the Savings Plans rates.
describeSavingsPlanRatesResponse_savingsPlanId :: Lens' DescribeSavingsPlanRatesResponse (Maybe Text) Source #
The ID of the Savings Plan.
describeSavingsPlanRatesResponse_nextToken :: Lens' DescribeSavingsPlanRatesResponse (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.
describeSavingsPlanRatesResponse_httpStatus :: Lens' DescribeSavingsPlanRatesResponse Int Source #
The response's http status code.