libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.DescribeReservedInstances

Description

Returns information about reserved OpenSearch instances for this account.

Synopsis

Creating a Request

data DescribeReservedInstances Source #

Container for parameters to DescribeReservedInstances

See: newDescribeReservedInstances smart constructor.

Constructors

DescribeReservedInstances' 

Fields

  • nextToken :: Maybe Text

    Provides an identifier to allow retrieval of paginated results.

  • reservedInstanceId :: Maybe Text

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

  • maxResults :: Maybe Int

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

Instances

Instances details
Eq DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Read DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Show DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Generic DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Associated Types

type Rep DescribeReservedInstances :: Type -> Type #

NFData DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Hashable DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

AWSRequest DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

ToHeaders DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

ToPath DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

ToQuery DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

type Rep DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

type Rep DescribeReservedInstances = D1 ('MetaData "DescribeReservedInstances" "Amazonka.OpenSearch.DescribeReservedInstances" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "DescribeReservedInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reservedInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeReservedInstances Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

newDescribeReservedInstances :: DescribeReservedInstances Source #

Create a value of DescribeReservedInstances 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:nextToken:DescribeReservedInstances', describeReservedInstances_nextToken - Provides an identifier to allow retrieval of paginated results.

$sel:reservedInstanceId:DescribeReservedInstances', describeReservedInstances_reservedInstanceId - The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.

$sel:maxResults:DescribeReservedInstances', describeReservedInstances_maxResults - Set this value to limit the number of results returned. If not specified, defaults to 100.

Request Lenses

describeReservedInstances_nextToken :: Lens' DescribeReservedInstances (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.

describeReservedInstances_reservedInstanceId :: Lens' DescribeReservedInstances (Maybe Text) Source #

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

describeReservedInstances_maxResults :: Lens' DescribeReservedInstances (Maybe Int) Source #

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

Destructuring the Response

data DescribeReservedInstancesResponse Source #

Container for results from DescribeReservedInstances

See: newDescribeReservedInstancesResponse smart constructor.

Constructors

DescribeReservedInstancesResponse' 

Fields

Instances

Instances details
Eq DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Read DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Show DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Generic DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

Associated Types

type Rep DescribeReservedInstancesResponse :: Type -> Type #

NFData DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

type Rep DescribeReservedInstancesResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.DescribeReservedInstances

type Rep DescribeReservedInstancesResponse = D1 ('MetaData "DescribeReservedInstancesResponse" "Amazonka.OpenSearch.DescribeReservedInstances" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "DescribeReservedInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reservedInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservedInstance])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeReservedInstancesResponse Source #

Create a value of DescribeReservedInstancesResponse 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:nextToken:DescribeReservedInstances', describeReservedInstancesResponse_nextToken - Provides an identifier to allow retrieval of paginated results.

$sel:reservedInstances:DescribeReservedInstancesResponse', describeReservedInstancesResponse_reservedInstances - List of reserved OpenSearch instances.

$sel:httpStatus:DescribeReservedInstancesResponse', describeReservedInstancesResponse_httpStatus - The response's http status code.

Response Lenses

describeReservedInstancesResponse_nextToken :: Lens' DescribeReservedInstancesResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.