amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.GetApiKeys

Description

Gets information about the current ApiKeys resource.

This operation returns paginated results.

Synopsis

Creating a Request

data GetApiKeys Source #

A request to get information about the current ApiKeys resource.

See: newGetApiKeys smart constructor.

Constructors

GetApiKeys' 

Fields

  • customerId :: Maybe Text

    The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

  • includeValues :: Maybe Bool

    A boolean flag to specify whether (true) or not (false) the result contains key values.

  • limit :: Maybe Int

    The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

  • nameQuery :: Maybe Text

    The name of queried API keys.

  • position :: Maybe Text

    The current pagination position in the paged result set.

Instances

Instances details
ToHeaders GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

toHeaders :: GetApiKeys -> [Header] #

ToPath GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

ToQuery GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

AWSPager GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

AWSRequest GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type AWSResponse GetApiKeys #

Generic GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeys :: Type -> Type #

Read GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

NFData GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeys -> () #

Eq GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Hashable GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type AWSResponse GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeys = D1 ('MetaData "GetApiKeys" "Amazonka.APIGateway.GetApiKeys" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "GetApiKeys'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nameQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newGetApiKeys :: GetApiKeys Source #

Create a value of GetApiKeys 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:

GetApiKeys, getApiKeys_customerId - The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

$sel:includeValues:GetApiKeys', getApiKeys_includeValues - A boolean flag to specify whether (true) or not (false) the result contains key values.

GetApiKeys, getApiKeys_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:nameQuery:GetApiKeys', getApiKeys_nameQuery - The name of queried API keys.

GetApiKeys, getApiKeys_position - The current pagination position in the paged result set.

Request Lenses

getApiKeys_customerId :: Lens' GetApiKeys (Maybe Text) Source #

The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

getApiKeys_includeValues :: Lens' GetApiKeys (Maybe Bool) Source #

A boolean flag to specify whether (true) or not (false) the result contains key values.

getApiKeys_limit :: Lens' GetApiKeys (Maybe Int) Source #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

getApiKeys_nameQuery :: Lens' GetApiKeys (Maybe Text) Source #

The name of queried API keys.

getApiKeys_position :: Lens' GetApiKeys (Maybe Text) Source #

The current pagination position in the paged result set.

Destructuring the Response

data GetApiKeysResponse Source #

Represents a collection of API keys as represented by an ApiKeys resource.

See: newGetApiKeysResponse smart constructor.

Constructors

GetApiKeysResponse' 

Fields

Instances

Instances details
Generic GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeysResponse :: Type -> Type #

Read GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

NFData GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeysResponse -> () #

Eq GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeysResponse = D1 ('MetaData "GetApiKeysResponse" "Amazonka.APIGateway.GetApiKeys" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "GetApiKeysResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApiKey])) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetApiKeysResponse Source #

Create a value of GetApiKeysResponse 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:

GetApiKeysResponse, getApiKeysResponse_items - The current page of elements from this collection.

GetApiKeys, getApiKeysResponse_position - Undocumented member.

GetApiKeysResponse, getApiKeysResponse_warnings - A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

$sel:httpStatus:GetApiKeysResponse', getApiKeysResponse_httpStatus - The response's http status code.

Response Lenses

getApiKeysResponse_items :: Lens' GetApiKeysResponse (Maybe [ApiKey]) Source #

The current page of elements from this collection.

getApiKeysResponse_warnings :: Lens' GetApiKeysResponse (Maybe [Text]) Source #

A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.