libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
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.ApiGatewayV2.GetApis

Description

Gets a collection of Api resources.

This operation returns paginated results.

Synopsis

Creating a Request

data GetApis Source #

See: newGetApis smart constructor.

Constructors

GetApis' 

Fields

  • nextToken :: Maybe Text

    The next page of elements from this collection. Not valid for the last element of the collection.

  • maxResults :: Maybe Text

    The maximum number of elements to be returned for this resource.

Instances

Instances details
Eq GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

(==) :: GetApis -> GetApis -> Bool #

(/=) :: GetApis -> GetApis -> Bool #

Read GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Show GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Generic GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Associated Types

type Rep GetApis :: Type -> Type #

Methods

from :: GetApis -> Rep GetApis x #

to :: Rep GetApis x -> GetApis #

NFData GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

rnf :: GetApis -> () #

Hashable GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

hashWithSalt :: Int -> GetApis -> Int #

hash :: GetApis -> Int #

AWSPager GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

AWSRequest GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Associated Types

type AWSResponse GetApis #

ToHeaders GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

toHeaders :: GetApis -> [Header] #

ToPath GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

toPath :: GetApis -> ByteString #

ToQuery GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

type Rep GetApis Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

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

Defined in Amazonka.ApiGatewayV2.GetApis

newGetApis :: GetApis Source #

Create a value of GetApis 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:GetApis', getApis_nextToken - The next page of elements from this collection. Not valid for the last element of the collection.

$sel:maxResults:GetApis', getApis_maxResults - The maximum number of elements to be returned for this resource.

Request Lenses

getApis_nextToken :: Lens' GetApis (Maybe Text) Source #

The next page of elements from this collection. Not valid for the last element of the collection.

getApis_maxResults :: Lens' GetApis (Maybe Text) Source #

The maximum number of elements to be returned for this resource.

Destructuring the Response

data GetApisResponse Source #

See: newGetApisResponse smart constructor.

Constructors

GetApisResponse' 

Fields

  • items :: Maybe [Api]

    The elements from this collection.

  • nextToken :: Maybe Text

    The next page of elements from this collection. Not valid for the last element of the collection.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Read GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Show GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Generic GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Associated Types

type Rep GetApisResponse :: Type -> Type #

NFData GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

Methods

rnf :: GetApisResponse -> () #

type Rep GetApisResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetApis

type Rep GetApisResponse = D1 ('MetaData "GetApisResponse" "Amazonka.ApiGatewayV2.GetApis" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "GetApisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Api])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetApisResponse Source #

Create a value of GetApisResponse 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:GetApisResponse', getApisResponse_items - The elements from this collection.

$sel:nextToken:GetApis', getApisResponse_nextToken - The next page of elements from this collection. Not valid for the last element of the collection.

$sel:httpStatus:GetApisResponse', getApisResponse_httpStatus - The response's http status code.

Response Lenses

getApisResponse_items :: Lens' GetApisResponse (Maybe [Api]) Source #

The elements from this collection.

getApisResponse_nextToken :: Lens' GetApisResponse (Maybe Text) Source #

The next page of elements from this collection. Not valid for the last element of the collection.

getApisResponse_httpStatus :: Lens' GetApisResponse Int Source #

The response's http status code.