amazonka-apigateway-1.3.6: Amazon API Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.GetStages

Contents

Description

Gets information about one or more Stage resources.

See: AWS API Reference for GetStages.

Synopsis

Creating a Request

getStages Source

Arguments

:: Text

gsRestAPIId

-> GetStages 

Creates a value of GetStages with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetStages Source

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

See: getStages smart constructor.

Request Lenses

gsDeploymentId :: Lens' GetStages (Maybe Text) Source

The stages' deployment identifiers.

gsRestAPIId :: Lens' GetStages Text Source

The stages' API identifiers.

Destructuring the Response

getStagesResponse Source

Creates a value of GetStagesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetStagesResponse Source

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

See: getStagesResponse smart constructor.

Response Lenses

gsrsItem :: Lens' GetStagesResponse [Stage] Source

An individual Stage resource.