Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
- 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 ofDeployment
resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.gdPosition
- The position of the currentDeployment
resource in the collection to get information about.gdRestAPIId
- The identifier of theRestApi
resource for the collection ofDeployment
resources to get information about.
data GetDeployments Source #
Requests Amazon API Gateway to get information about a Deployments
collection.
See: getDeployments
smart constructor.
Request Lenses
gdLimit :: Lens' GetDeployments (Maybe Int) Source #
The maximum number of Deployment
resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
gdPosition :: Lens' GetDeployments (Maybe Text) Source #
The position of the current Deployment
resource in the collection to get information about.
gdRestAPIId :: Lens' GetDeployments Text Source #
The identifier of the RestApi
resource for the collection of Deployment
resources to get information about.
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 anyDeployment
resources in the collection of deployment resources.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.
Response Lenses
gdrsItems :: Lens' GetDeploymentsResponse [Deployment] Source #
The current page of any Deployment
resources in the collection of deployment resources.
gdrsPosition :: Lens' GetDeploymentsResponse (Maybe Text) Source #
Undocumented member.
gdrsResponseStatus :: Lens' GetDeploymentsResponse Int Source #
- - | The response status code.