libZSservicesZSamazonka-athenaZSamazonka-athena
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.Athena.ListEngineVersions

Description

Returns a list of engine versions that are available to choose from, including the Auto option.

Synopsis

Creating a Request

data ListEngineVersions Source #

See: newListEngineVersions smart constructor.

Constructors

ListEngineVersions' 

Fields

  • nextToken :: Maybe Text

    A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

  • maxResults :: Maybe Natural

    The maximum number of engine versions to return in this request.

Instances

Instances details
Eq ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Read ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Show ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Generic ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type Rep ListEngineVersions :: Type -> Type #

NFData ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Methods

rnf :: ListEngineVersions -> () #

Hashable ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToJSON ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

AWSRequest ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type AWSResponse ListEngineVersions #

ToHeaders ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToPath ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToQuery ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersions = D1 ('MetaData "ListEngineVersions" "Amazonka.Athena.ListEngineVersions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListEngineVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

newListEngineVersions :: ListEngineVersions Source #

Create a value of ListEngineVersions 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:ListEngineVersions', listEngineVersions_nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

$sel:maxResults:ListEngineVersions', listEngineVersions_maxResults - The maximum number of engine versions to return in this request.

Request Lenses

listEngineVersions_nextToken :: Lens' ListEngineVersions (Maybe Text) Source #

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

listEngineVersions_maxResults :: Lens' ListEngineVersions (Maybe Natural) Source #

The maximum number of engine versions to return in this request.

Destructuring the Response

data ListEngineVersionsResponse Source #

See: newListEngineVersionsResponse smart constructor.

Constructors

ListEngineVersionsResponse' 

Fields

  • nextToken :: Maybe Text

    A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

  • engineVersions :: Maybe [EngineVersion]

    A list of engine versions that are available to choose from.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Read ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Show ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Generic ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type Rep ListEngineVersionsResponse :: Type -> Type #

NFData ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersionsResponse = D1 ('MetaData "ListEngineVersionsResponse" "Amazonka.Athena.ListEngineVersions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListEngineVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engineVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EngineVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEngineVersionsResponse Source #

Create a value of ListEngineVersionsResponse 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:ListEngineVersions', listEngineVersionsResponse_nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

$sel:engineVersions:ListEngineVersionsResponse', listEngineVersionsResponse_engineVersions - A list of engine versions that are available to choose from.

$sel:httpStatus:ListEngineVersionsResponse', listEngineVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listEngineVersionsResponse_nextToken :: Lens' ListEngineVersionsResponse (Maybe Text) Source #

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

listEngineVersionsResponse_engineVersions :: Lens' ListEngineVersionsResponse (Maybe [EngineVersion]) Source #

A list of engine versions that are available to choose from.