amazonka-apigateway-1.4.0: Amazon API Gateway SDK.

Copyright(c) 2013-2016 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.GetDeployments

Contents

Description

Gets information about a Deployments collection.

This operation returns paginated results.

Synopsis

Creating a Request

getDeployments Source

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:

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:

data GetDeploymentsResponse Source

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on ways to interact with your collection. The collection offers a paginated view of the contained deployments.

See: getDeploymentsResponse smart constructor.

Response Lenses

gdrsItems :: Lens' GetDeploymentsResponse [Deployment] Source

The current page of any Deployment resources in the collection of deployment resources.