libZSservicesZSamazonka-configZSamazonka-config
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.Config.ListStoredQueries

Description

Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The default is 100.

Synopsis

Creating a Request

data ListStoredQueries Source #

See: newListStoredQueries smart constructor.

Constructors

ListStoredQueries' 

Fields

  • nextToken :: Maybe Text

    The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

  • maxResults :: Maybe Natural

    The maximum number of results to be returned with a single call.

Instances

Instances details
Eq ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Read ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Show ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Generic ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Associated Types

type Rep ListStoredQueries :: Type -> Type #

NFData ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Methods

rnf :: ListStoredQueries -> () #

Hashable ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

ToJSON ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

AWSRequest ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Associated Types

type AWSResponse ListStoredQueries #

ToHeaders ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

ToPath ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

ToQuery ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

type Rep ListStoredQueries Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

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

Defined in Amazonka.Config.ListStoredQueries

newListStoredQueries :: ListStoredQueries Source #

Create a value of ListStoredQueries 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:ListStoredQueries', listStoredQueries_nextToken - The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

$sel:maxResults:ListStoredQueries', listStoredQueries_maxResults - The maximum number of results to be returned with a single call.

Request Lenses

listStoredQueries_nextToken :: Lens' ListStoredQueries (Maybe Text) Source #

The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

listStoredQueries_maxResults :: Lens' ListStoredQueries (Maybe Natural) Source #

The maximum number of results to be returned with a single call.

Destructuring the Response

data ListStoredQueriesResponse Source #

See: newListStoredQueriesResponse smart constructor.

Constructors

ListStoredQueriesResponse' 

Fields

  • storedQueryMetadata :: Maybe [StoredQueryMetadata]

    A list of StoredQueryMetadata objects.

  • nextToken :: Maybe Text

    If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Read ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Show ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Generic ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

Associated Types

type Rep ListStoredQueriesResponse :: Type -> Type #

NFData ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

type Rep ListStoredQueriesResponse Source # 
Instance details

Defined in Amazonka.Config.ListStoredQueries

type Rep ListStoredQueriesResponse = D1 ('MetaData "ListStoredQueriesResponse" "Amazonka.Config.ListStoredQueries" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "ListStoredQueriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "storedQueryMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StoredQueryMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListStoredQueriesResponse Source #

Create a value of ListStoredQueriesResponse 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:storedQueryMetadata:ListStoredQueriesResponse', listStoredQueriesResponse_storedQueryMetadata - A list of StoredQueryMetadata objects.

$sel:nextToken:ListStoredQueries', listStoredQueriesResponse_nextToken - If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

$sel:httpStatus:ListStoredQueriesResponse', listStoredQueriesResponse_httpStatus - The response's http status code.

Response Lenses

listStoredQueriesResponse_nextToken :: Lens' ListStoredQueriesResponse (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.