libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.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

  • includeValues :: Maybe Bool

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

  • customerId :: Maybe Text

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

  • nameQuery :: Maybe Text

    The name of queried API keys.

  • limit :: Maybe Int

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

  • position :: Maybe Text

    The current pagination position in the paged result set.

Instances

Instances details
Eq GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Read GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Generic GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeys :: Type -> Type #

NFData GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeys -> () #

Hashable 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 #

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

type Rep GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeys = D1 ('MetaData "GetApiKeys" "Amazonka.APIGateway.GetApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetApiKeys'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "customerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nameQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
type AWSResponse GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

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:

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

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

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

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

$sel:position:GetApiKeys', getApiKeys_position - The current pagination position in the paged result set.

Request Lenses

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

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

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_nameQuery :: Lens' GetApiKeys (Maybe Text) Source #

The name of queried API keys.

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

Use API Keys

See: newGetApiKeysResponse smart constructor.

Constructors

GetApiKeysResponse' 

Fields

Instances

Instances details
Eq GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Read GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Generic GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeysResponse :: Type -> Type #

NFData GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeysResponse -> () #

type Rep GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeysResponse = D1 ('MetaData "GetApiKeysResponse" "Amazonka.APIGateway.GetApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetApiKeysResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApiKey])) :*: S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "position") '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:

$sel:items:GetApiKeysResponse', getApiKeysResponse_items - The current page of elements from this collection.

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

$sel:position:GetApiKeys', getApiKeysResponse_position - Undocumented member.

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