libZSservicesZSamazonka-appsyncZSamazonka-appsync
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.AppSync.ListApiKeys

Description

Lists the API keys for a given API.

API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApiKeys Source #

See: newListApiKeys smart constructor.

Constructors

ListApiKeys' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • maxResults :: Maybe Natural

    The maximum number of results you want the request to return.

  • apiId :: Text

    The API ID.

Instances

Instances details
Eq ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Read ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Show ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Generic ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Associated Types

type Rep ListApiKeys :: Type -> Type #

NFData ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Methods

rnf :: ListApiKeys -> () #

Hashable ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

AWSPager ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

AWSRequest ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Associated Types

type AWSResponse ListApiKeys #

ToHeaders ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Methods

toHeaders :: ListApiKeys -> [Header] #

ToPath ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

ToQuery ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

type Rep ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

type Rep ListApiKeys = D1 ('MetaData "ListApiKeys" "Amazonka.AppSync.ListApiKeys" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "ListApiKeys'" '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 "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListApiKeys Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

newListApiKeys Source #

Create a value of ListApiKeys 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:ListApiKeys', listApiKeys_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:maxResults:ListApiKeys', listApiKeys_maxResults - The maximum number of results you want the request to return.

$sel:apiId:ListApiKeys', listApiKeys_apiId - The API ID.

Request Lenses

listApiKeys_nextToken :: Lens' ListApiKeys (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listApiKeys_maxResults :: Lens' ListApiKeys (Maybe Natural) Source #

The maximum number of results you want the request to return.

Destructuring the Response

data ListApiKeysResponse Source #

See: newListApiKeysResponse smart constructor.

Constructors

ListApiKeysResponse' 

Fields

Instances

Instances details
Eq ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Read ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Show ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Generic ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Associated Types

type Rep ListApiKeysResponse :: Type -> Type #

NFData ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

Methods

rnf :: ListApiKeysResponse -> () #

type Rep ListApiKeysResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListApiKeys

type Rep ListApiKeysResponse = D1 ('MetaData "ListApiKeysResponse" "Amazonka.AppSync.ListApiKeys" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "ListApiKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApiKey])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListApiKeysResponse Source #

Create a value of ListApiKeysResponse 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:apiKeys:ListApiKeysResponse', listApiKeysResponse_apiKeys - The ApiKey objects.

$sel:nextToken:ListApiKeys', listApiKeysResponse_nextToken - An identifier to be passed in the next request to this operation to return the next set of items in the list.

$sel:httpStatus:ListApiKeysResponse', listApiKeysResponse_httpStatus - The response's http status code.

Response Lenses

listApiKeysResponse_nextToken :: Lens' ListApiKeysResponse (Maybe Text) Source #

An identifier to be passed in the next request to this operation to return the next set of items in the list.