| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.APIGateway.GetStages
Description
Gets information about one or more Stage resources.
Synopsis
Creating a Request
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:
gsDeploymentId- The stages' deployment identifiers.gsRestAPIId- [Required] The string identifier of the associatedRestApi.
Requests API Gateway to get information about one or more Stage resources.
See: getStages smart constructor.
Instances
Request Lenses
gsRestAPIId :: Lens' GetStages Text Source #
- Required
- The string identifier of the associated
RestApi.
Destructuring the Response
Arguments
| :: Int | |
| -> GetStagesResponse |
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:
gsrsItem- The current page of elements from this collection.gsrsResponseStatus- -- | The response status code.
data GetStagesResponse Source #
A list of Stage resources that are associated with the ApiKey resource.
See: getStagesResponse smart constructor.
Instances
Response Lenses
gsrsItem :: Lens' GetStagesResponse [Stage] Source #
The current page of elements from this collection.
gsrsResponseStatus :: Lens' GetStagesResponse Int Source #
- - | The response status code.