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.ListVersions

Description

List all supported versions of OpenSearch and Elasticsearch.

Synopsis

Creating a Request

data ListVersions Source #

Container for the parameters to the ListVersions operation.

Use MaxResults to control the maximum number of results to retrieve in a single call.

Use NextToken in response to retrieve more results. If the received response does not contain a NextToken, there are no more results to retrieve.

See: newListVersions smart constructor.

Constructors

ListVersions' 

Fields

Instances

Instances details
Eq ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Read ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Show ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Generic ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Associated Types

type Rep ListVersions :: Type -> Type #

NFData ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Methods

rnf :: ListVersions -> () #

Hashable ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

AWSRequest ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Associated Types

type AWSResponse ListVersions #

ToHeaders ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

ToPath ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

ToQuery ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

type Rep ListVersions Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

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

Defined in Amazonka.OpenSearch.ListVersions

newListVersions :: ListVersions Source #

Create a value of ListVersions 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:ListVersions', listVersions_nextToken - Undocumented member.

$sel:maxResults:ListVersions', listVersions_maxResults - Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.

Request Lenses

listVersions_maxResults :: Lens' ListVersions (Maybe Int) Source #

Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.

Destructuring the Response

data ListVersionsResponse Source #

Container for the parameters for response received from the ListVersions operation.

See: newListVersionsResponse smart constructor.

Constructors

ListVersionsResponse' 

Fields

Instances

Instances details
Eq ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Read ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Show ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Generic ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Associated Types

type Rep ListVersionsResponse :: Type -> Type #

NFData ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

Methods

rnf :: ListVersionsResponse -> () #

type Rep ListVersionsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListVersions

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

newListVersionsResponse Source #

Create a value of ListVersionsResponse 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:versions:ListVersionsResponse', listVersionsResponse_versions - Undocumented member.

$sel:nextToken:ListVersions', listVersionsResponse_nextToken - Undocumented member.

$sel:httpStatus:ListVersionsResponse', listVersionsResponse_httpStatus - The response's http status code.

Response Lenses