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

Description

Gets information about one or more Stage resources.

Synopsis

Creating a Request

data GetStages Source #

Requests API Gateway to get information about one or more Stage resources.

See: newGetStages smart constructor.

Constructors

GetStages' 

Fields

Instances

Instances details
Eq GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Read GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Show GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Generic GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type Rep GetStages :: Type -> Type #

NFData GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

rnf :: GetStages -> () #

Hashable GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

AWSRequest GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type AWSResponse GetStages #

ToHeaders GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

toHeaders :: GetStages -> [Header] #

ToPath GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

ToQuery GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStages = D1 ('MetaData "GetStages" "Amazonka.APIGateway.GetStages" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetStages'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.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:deploymentId:GetStages', getStages_deploymentId - The stages' deployment identifiers.

$sel:restApiId:GetStages', getStages_restApiId - [Required] The string identifier of the associated RestApi.

Request Lenses

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

The stages' deployment identifiers.

getStages_restApiId :: Lens' GetStages Text Source #

Required
The string identifier of the associated RestApi.

Destructuring the Response

data GetStagesResponse Source #

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages

See: newGetStagesResponse smart constructor.

Constructors

GetStagesResponse' 

Fields

Instances

Instances details
Eq GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Read GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Show GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Generic GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type Rep GetStagesResponse :: Type -> Type #

NFData GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

rnf :: GetStagesResponse -> () #

type Rep GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStagesResponse = D1 ('MetaData "GetStagesResponse" "Amazonka.APIGateway.GetStages" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetStagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Stage])) :*: 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:item:GetStagesResponse', getStagesResponse_item - The current page of elements from this collection.

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

Response Lenses

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

The current page of elements from this collection.

getStagesResponse_httpStatus :: Lens' GetStagesResponse Int Source #

The response's http status code.