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

Description

Lists the prepared statements in the specfied workgroup.

Synopsis

Creating a Request

data ListPreparedStatements Source #

See: newListPreparedStatements smart constructor.

Constructors

ListPreparedStatements' 

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 results to return in this request.

  • workGroup :: Text

    The workgroup to list the prepared statements for.

Instances

Instances details
Eq ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Read ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Show ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Generic ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type Rep ListPreparedStatements :: Type -> Type #

NFData ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Methods

rnf :: ListPreparedStatements -> () #

Hashable ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToJSON ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

AWSRequest ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type AWSResponse ListPreparedStatements #

ToHeaders ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToPath ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToQuery ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

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

Defined in Amazonka.Athena.ListPreparedStatements

newListPreparedStatements Source #

Create a value of ListPreparedStatements 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:ListPreparedStatements', listPreparedStatements_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:ListPreparedStatements', listPreparedStatements_maxResults - The maximum number of results to return in this request.

$sel:workGroup:ListPreparedStatements', listPreparedStatements_workGroup - The workgroup to list the prepared statements for.

Request Lenses

listPreparedStatements_nextToken :: Lens' ListPreparedStatements (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.

listPreparedStatements_maxResults :: Lens' ListPreparedStatements (Maybe Natural) Source #

The maximum number of results to return in this request.

listPreparedStatements_workGroup :: Lens' ListPreparedStatements Text Source #

The workgroup to list the prepared statements for.

Destructuring the Response

data ListPreparedStatementsResponse Source #

See: newListPreparedStatementsResponse smart constructor.

Constructors

ListPreparedStatementsResponse' 

Fields

  • preparedStatements :: Maybe [PreparedStatementSummary]

    The list of prepared statements for the workgroup.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Read ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Show ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Generic ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type Rep ListPreparedStatementsResponse :: Type -> Type #

NFData ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

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

newListPreparedStatementsResponse Source #

Create a value of ListPreparedStatementsResponse 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:preparedStatements:ListPreparedStatementsResponse', listPreparedStatementsResponse_preparedStatements - The list of prepared statements for the workgroup.

$sel:nextToken:ListPreparedStatements', listPreparedStatementsResponse_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:httpStatus:ListPreparedStatementsResponse', listPreparedStatementsResponse_httpStatus - The response's http status code.

Response Lenses

listPreparedStatementsResponse_nextToken :: Lens' ListPreparedStatementsResponse (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.