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 |
Gets information about a Deployments
collection.
This operation returns paginated results.
Synopsis
- getDeployments :: Text -> GetDeployments
- data GetDeployments
- gdLimit :: Lens' GetDeployments (Maybe Int)
- gdPosition :: Lens' GetDeployments (Maybe Text)
- gdRestAPIId :: Lens' GetDeployments Text
- getDeploymentsResponse :: Int -> GetDeploymentsResponse
- data GetDeploymentsResponse
- gdrsItems :: Lens' GetDeploymentsResponse [Deployment]
- gdrsPosition :: Lens' GetDeploymentsResponse (Maybe Text)
- gdrsResponseStatus :: Lens' GetDeploymentsResponse Int
Creating a Request
Creates a value of GetDeployments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdLimit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.gdPosition
- The current pagination position in the paged result set.gdRestAPIId
- [Required] The string identifier of the associatedRestApi
.
data GetDeployments Source #
Requests API Gateway to get information about a Deployments
collection.
See: getDeployments
smart constructor.
Instances
Request Lenses
gdLimit :: Lens' GetDeployments (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
gdPosition :: Lens' GetDeployments (Maybe Text) Source #
The current pagination position in the paged result set.
gdRestAPIId :: Lens' GetDeployments Text Source #
- Required
- The string identifier of the associated
RestApi
.
Destructuring the Response
getDeploymentsResponse Source #
Creates a value of GetDeploymentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsItems
- The current page of elements from this collection.gdrsPosition
- Undocumented member.gdrsResponseStatus
- -- | The response status code.
data GetDeploymentsResponse Source #
Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.
To create a new deployment of a RestApi
, make a POST
request against this resource. To view, update, or delete an existing deployment, make a GET
, PATCH
, or DELETE
request, respectively, on a specified Deployment
resource.Deploying an API , AWS CLI , AWS SDKs
See: getDeploymentsResponse
smart constructor.
Instances
Response Lenses
gdrsItems :: Lens' GetDeploymentsResponse [Deployment] Source #
The current page of elements from this collection.
gdrsPosition :: Lens' GetDeploymentsResponse (Maybe Text) Source #
Undocumented member.
gdrsResponseStatus :: Lens' GetDeploymentsResponse Int Source #
- - | The response status code.