amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • 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 associated RestApi .

data GetDeployments Source #

Requests API Gateway to get information about a Deployments collection.

See: getDeployments smart constructor.

Instances
Eq GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Data GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetDeployments -> c GetDeployments #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetDeployments #

toConstr :: GetDeployments -> Constr #

dataTypeOf :: GetDeployments -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetDeployments) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetDeployments) #

gmapT :: (forall b. Data b => b -> b) -> GetDeployments -> GetDeployments #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetDeployments -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetDeployments -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetDeployments -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetDeployments -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetDeployments -> m GetDeployments #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDeployments -> m GetDeployments #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDeployments -> m GetDeployments #

Read GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Show GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Generic GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Associated Types

type Rep GetDeployments :: Type -> Type #

Hashable GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

AWSPager GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

AWSRequest GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Associated Types

type Rs GetDeployments :: Type #

ToHeaders GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

ToPath GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

ToQuery GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

NFData GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Methods

rnf :: GetDeployments -> () #

type Rep GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

type Rep GetDeployments = D1 (MetaData "GetDeployments" "Network.AWS.APIGateway.GetDeployments" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "GetDeployments'" PrefixI True) (S1 (MetaSel (Just "_gdLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_gdPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetDeployments Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

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:

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
Eq GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Data GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetDeploymentsResponse -> c GetDeploymentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetDeploymentsResponse #

toConstr :: GetDeploymentsResponse -> Constr #

dataTypeOf :: GetDeploymentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetDeploymentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetDeploymentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetDeploymentsResponse -> GetDeploymentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetDeploymentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetDeploymentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetDeploymentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetDeploymentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetDeploymentsResponse -> m GetDeploymentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDeploymentsResponse -> m GetDeploymentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDeploymentsResponse -> m GetDeploymentsResponse #

Read GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Show GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Generic GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Associated Types

type Rep GetDeploymentsResponse :: Type -> Type #

NFData GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

Methods

rnf :: GetDeploymentsResponse -> () #

type Rep GetDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetDeployments

type Rep GetDeploymentsResponse = D1 (MetaData "GetDeploymentsResponse" "Network.AWS.APIGateway.GetDeployments" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "GetDeploymentsResponse'" PrefixI True) (S1 (MetaSel (Just "_gdrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Deployment])) :*: (S1 (MetaSel (Just "_gdrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gdrsItems :: Lens' GetDeploymentsResponse [Deployment] Source #

The current page of elements from this collection.

gdrsResponseStatus :: Lens' GetDeploymentsResponse Int Source #

  • - | The response status code.