libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Description

Returns information about reserved Elasticsearch instances for this account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeReservedElasticsearchInstances Source #

Container for parameters to DescribeReservedElasticsearchInstances

See: newDescribeReservedElasticsearchInstances smart constructor.

Constructors

DescribeReservedElasticsearchInstances' 

Fields

  • reservedElasticsearchInstanceId :: Maybe Text

    The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.

  • nextToken :: Maybe Text

    NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.

  • maxResults :: Maybe Int

    Set this value to limit the number of results returned. If not specified, defaults to 100.

Instances

Instances details
Eq DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Read DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Show DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Generic DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

NFData DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Hashable DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

AWSPager DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

AWSRequest DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

ToHeaders DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

ToPath DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

ToQuery DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

type Rep DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

type Rep DescribeReservedElasticsearchInstances = D1 ('MetaData "DescribeReservedElasticsearchInstances" "Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "DescribeReservedElasticsearchInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedElasticsearchInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeReservedElasticsearchInstances Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

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.

Constructors

DescribeReservedElasticsearchInstancesResponse' 

Fields

Instances

Instances details
Eq DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Read DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Show DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

Generic DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

NFData DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

type Rep DescribeReservedElasticsearchInstancesResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances

type Rep DescribeReservedElasticsearchInstancesResponse = D1 ('MetaData "DescribeReservedElasticsearchInstancesResponse" "Amazonka.ElasticSearch.DescribeReservedElasticsearchInstances" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "DescribeReservedElasticsearchInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedElasticsearchInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservedElasticsearchInstance])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses