Copyright | (c) 2013-2017 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 |
Gets information about one or more Stage
resources.
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
- The string identifier of the associatedRestApi
.
Requests Amazon API Gateway to get information about one or more Stage
resources.
See: getStages
smart constructor.
Request Lenses
Destructuring the Response
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.
Response Lenses
gsrsItem :: Lens' GetStagesResponse [Stage] Source #
The current page of elements from this collection.
gsrsResponseStatus :: Lens' GetStagesResponse Int Source #
- - | The response status code.