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 |
Returns information about reserved Elasticsearch instances for this account.
This operation returns paginated results.
Synopsis
- data DescribeReservedElasticsearchInstances = DescribeReservedElasticsearchInstances' {}
- newDescribeReservedElasticsearchInstances :: DescribeReservedElasticsearchInstances
- describeReservedElasticsearchInstances_reservedElasticsearchInstanceId :: Lens' DescribeReservedElasticsearchInstances (Maybe Text)
- describeReservedElasticsearchInstances_nextToken :: Lens' DescribeReservedElasticsearchInstances (Maybe Text)
- describeReservedElasticsearchInstances_maxResults :: Lens' DescribeReservedElasticsearchInstances (Maybe Int)
- data DescribeReservedElasticsearchInstancesResponse = DescribeReservedElasticsearchInstancesResponse' {}
- newDescribeReservedElasticsearchInstancesResponse :: Int -> DescribeReservedElasticsearchInstancesResponse
- describeReservedElasticsearchInstancesResponse_reservedElasticsearchInstances :: Lens' DescribeReservedElasticsearchInstancesResponse (Maybe [ReservedElasticsearchInstance])
- describeReservedElasticsearchInstancesResponse_nextToken :: Lens' DescribeReservedElasticsearchInstancesResponse (Maybe Text)
- describeReservedElasticsearchInstancesResponse_httpStatus :: Lens' DescribeReservedElasticsearchInstancesResponse Int
Creating a Request
data DescribeReservedElasticsearchInstances Source #
Container for parameters to DescribeReservedElasticsearchInstances
See: newDescribeReservedElasticsearchInstances
smart constructor.
DescribeReservedElasticsearchInstances' | |
|
Instances
newDescribeReservedElasticsearchInstances :: DescribeReservedElasticsearchInstances Source #
Create a value of DescribeReservedElasticsearchInstances
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:reservedElasticsearchInstanceId:DescribeReservedElasticsearchInstances'
, describeReservedElasticsearchInstances_reservedElasticsearchInstanceId
- The reserved instance identifier filter value. Use this parameter to
show only the reservation that matches the specified reserved
Elasticsearch instance ID.
$sel:nextToken:DescribeReservedElasticsearchInstances'
, describeReservedElasticsearchInstances_nextToken
- NextToken should be sent in case if earlier API call produced result
containing NextToken. It is used for pagination.
$sel:maxResults:DescribeReservedElasticsearchInstances'
, describeReservedElasticsearchInstances_maxResults
- Set this value to limit the number of results returned. If not
specified, defaults to 100.
Request Lenses
describeReservedElasticsearchInstances_reservedElasticsearchInstanceId :: Lens' DescribeReservedElasticsearchInstances (Maybe Text) Source #
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
describeReservedElasticsearchInstances_nextToken :: Lens' DescribeReservedElasticsearchInstances (Maybe Text) Source #
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
describeReservedElasticsearchInstances_maxResults :: Lens' DescribeReservedElasticsearchInstances (Maybe Int) Source #
Set this value to limit the number of results returned. If not specified, defaults to 100.
Destructuring the Response
data DescribeReservedElasticsearchInstancesResponse Source #
Container for results from DescribeReservedElasticsearchInstances
See: newDescribeReservedElasticsearchInstancesResponse
smart constructor.
DescribeReservedElasticsearchInstancesResponse' | |
|
Instances
newDescribeReservedElasticsearchInstancesResponse Source #
:: Int |
|
-> DescribeReservedElasticsearchInstancesResponse |
Create a value of DescribeReservedElasticsearchInstancesResponse
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:reservedElasticsearchInstances:DescribeReservedElasticsearchInstancesResponse'
, describeReservedElasticsearchInstancesResponse_reservedElasticsearchInstances
- List of reserved Elasticsearch instances.
$sel:nextToken:DescribeReservedElasticsearchInstances'
, describeReservedElasticsearchInstancesResponse_nextToken
- Provides an identifier to allow retrieval of paginated results.
$sel:httpStatus:DescribeReservedElasticsearchInstancesResponse'
, describeReservedElasticsearchInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
describeReservedElasticsearchInstancesResponse_reservedElasticsearchInstances :: Lens' DescribeReservedElasticsearchInstancesResponse (Maybe [ReservedElasticsearchInstance]) Source #
List of reserved Elasticsearch instances.
describeReservedElasticsearchInstancesResponse_nextToken :: Lens' DescribeReservedElasticsearchInstancesResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
describeReservedElasticsearchInstancesResponse_httpStatus :: Lens' DescribeReservedElasticsearchInstancesResponse Int Source #
The response's http status code.