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 |
Lists available reserved Elasticsearch instance offerings.
This operation returns paginated results.
Synopsis
- data DescribeReservedElasticsearchInstanceOfferings = DescribeReservedElasticsearchInstanceOfferings' {}
- newDescribeReservedElasticsearchInstanceOfferings :: DescribeReservedElasticsearchInstanceOfferings
- describeReservedElasticsearchInstanceOfferings_reservedElasticsearchInstanceOfferingId :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Text)
- describeReservedElasticsearchInstanceOfferings_nextToken :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Text)
- describeReservedElasticsearchInstanceOfferings_maxResults :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Int)
- data DescribeReservedElasticsearchInstanceOfferingsResponse = DescribeReservedElasticsearchInstanceOfferingsResponse' {}
- newDescribeReservedElasticsearchInstanceOfferingsResponse :: Int -> DescribeReservedElasticsearchInstanceOfferingsResponse
- describeReservedElasticsearchInstanceOfferingsResponse_reservedElasticsearchInstanceOfferings :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse (Maybe [ReservedElasticsearchInstanceOffering])
- describeReservedElasticsearchInstanceOfferingsResponse_nextToken :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse (Maybe Text)
- describeReservedElasticsearchInstanceOfferingsResponse_httpStatus :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse Int
Creating a Request
data DescribeReservedElasticsearchInstanceOfferings Source #
Container for parameters to
DescribeReservedElasticsearchInstanceOfferings
See: newDescribeReservedElasticsearchInstanceOfferings
smart constructor.
DescribeReservedElasticsearchInstanceOfferings' | |
|
Instances
newDescribeReservedElasticsearchInstanceOfferings :: DescribeReservedElasticsearchInstanceOfferings Source #
Create a value of DescribeReservedElasticsearchInstanceOfferings
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:reservedElasticsearchInstanceOfferingId:DescribeReservedElasticsearchInstanceOfferings'
, describeReservedElasticsearchInstanceOfferings_reservedElasticsearchInstanceOfferingId
- The offering identifier filter value. Use this parameter to show only
the available offering that matches the specified reservation
identifier.
$sel:nextToken:DescribeReservedElasticsearchInstanceOfferings'
, describeReservedElasticsearchInstanceOfferings_nextToken
- NextToken should be sent in case if earlier API call produced result
containing NextToken. It is used for pagination.
$sel:maxResults:DescribeReservedElasticsearchInstanceOfferings'
, describeReservedElasticsearchInstanceOfferings_maxResults
- Set this value to limit the number of results returned. If not
specified, defaults to 100.
Request Lenses
describeReservedElasticsearchInstanceOfferings_reservedElasticsearchInstanceOfferingId :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Text) Source #
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
describeReservedElasticsearchInstanceOfferings_nextToken :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Text) Source #
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
describeReservedElasticsearchInstanceOfferings_maxResults :: Lens' DescribeReservedElasticsearchInstanceOfferings (Maybe Int) Source #
Set this value to limit the number of results returned. If not specified, defaults to 100.
Destructuring the Response
data DescribeReservedElasticsearchInstanceOfferingsResponse Source #
Container for results from
DescribeReservedElasticsearchInstanceOfferings
See: newDescribeReservedElasticsearchInstanceOfferingsResponse
smart constructor.
DescribeReservedElasticsearchInstanceOfferingsResponse' | |
|
Instances
newDescribeReservedElasticsearchInstanceOfferingsResponse Source #
:: Int |
|
-> DescribeReservedElasticsearchInstanceOfferingsResponse |
Create a value of DescribeReservedElasticsearchInstanceOfferingsResponse
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:reservedElasticsearchInstanceOfferings:DescribeReservedElasticsearchInstanceOfferingsResponse'
, describeReservedElasticsearchInstanceOfferingsResponse_reservedElasticsearchInstanceOfferings
- List of reserved Elasticsearch instance offerings
$sel:nextToken:DescribeReservedElasticsearchInstanceOfferings'
, describeReservedElasticsearchInstanceOfferingsResponse_nextToken
- Provides an identifier to allow retrieval of paginated results.
$sel:httpStatus:DescribeReservedElasticsearchInstanceOfferingsResponse'
, describeReservedElasticsearchInstanceOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedElasticsearchInstanceOfferingsResponse_reservedElasticsearchInstanceOfferings :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse (Maybe [ReservedElasticsearchInstanceOffering]) Source #
List of reserved Elasticsearch instance offerings
describeReservedElasticsearchInstanceOfferingsResponse_nextToken :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeReservedElasticsearchInstanceOfferingsResponse_httpStatus :: Lens' DescribeReservedElasticsearchInstanceOfferingsResponse Int Source #
The response's http status code.