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

Description

Gets the Stages for an API.

This operation returns paginated results.

Synopsis

Creating a Request

data GetStages Source #

See: newGetStages smart constructor.

Constructors

GetStages' 

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.

  • apiId :: Text

    The API identifier.

Instances

Instances details
Eq GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Read GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Show GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Generic GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Associated Types

type Rep GetStages :: Type -> Type #

NFData GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Methods

rnf :: GetStages -> () #

Hashable GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

AWSPager GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

AWSRequest GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Associated Types

type AWSResponse GetStages #

ToHeaders GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Methods

toHeaders :: GetStages -> [Header] #

ToPath GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

ToQuery GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

type Rep GetStages Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

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

Defined in Amazonka.ApiGatewayV2.GetStages

newGetStages Source #

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

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

$sel:apiId:GetStages', getStages_apiId - The API identifier.

Request Lenses

getStages_nextToken :: Lens' GetStages (Maybe Text) Source #

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

getStages_maxResults :: Lens' GetStages (Maybe Text) Source #

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

getStages_apiId :: Lens' GetStages Text Source #

The API identifier.

Destructuring the Response

data GetStagesResponse Source #

See: newGetStagesResponse smart constructor.

Constructors

GetStagesResponse' 

Fields

Instances

Instances details
Eq GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Read GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Show GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Generic GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Associated Types

type Rep GetStagesResponse :: Type -> Type #

NFData GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

Methods

rnf :: GetStagesResponse -> () #

type Rep GetStagesResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetStages

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

newGetStagesResponse Source #

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

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

$sel:httpStatus:GetStagesResponse', getStagesResponse_httpStatus - The response's http status code.

Response Lenses

getStagesResponse_items :: Lens' GetStagesResponse (Maybe [Stage]) Source #

The elements from this collection.

getStagesResponse_nextToken :: Lens' GetStagesResponse (Maybe Text) Source #

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

getStagesResponse_httpStatus :: Lens' GetStagesResponse Int Source #

The response's http status code.