amazonka-apigateway-1.4.5: 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.UpdateDeployment

Contents

Description

Changes information about a Deployment resource.

Synopsis

Creating a Request

updateDeployment #

Creates a value of UpdateDeployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • udPatchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.
  • udRestAPIId - The replacement identifier of the RestApi resource for the Deployment resource to change information about.
  • udDeploymentId - The replacement identifier for the Deployment resource to change information about.

data UpdateDeployment #

Requests Amazon API Gateway to change information about a Deployment resource.

See: updateDeployment smart constructor.

Instances

Eq UpdateDeployment # 
Data UpdateDeployment # 

Methods

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

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

toConstr :: UpdateDeployment -> Constr #

dataTypeOf :: UpdateDeployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDeployment # 
Show UpdateDeployment # 
Generic UpdateDeployment # 
Hashable UpdateDeployment # 
ToJSON UpdateDeployment # 
NFData UpdateDeployment # 

Methods

rnf :: UpdateDeployment -> () #

AWSRequest UpdateDeployment # 
ToQuery UpdateDeployment # 
ToPath UpdateDeployment # 
ToHeaders UpdateDeployment # 
type Rep UpdateDeployment # 
type Rep UpdateDeployment = D1 (MetaData "UpdateDeployment" "Network.AWS.APIGateway.UpdateDeployment" "amazonka-apigateway-1.4.5-5OCToOwmZjEH3FMiU9Yogu" False) (C1 (MetaCons "UpdateDeployment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation]))) ((:*:) (S1 (MetaSel (Just Symbol "_udRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_udDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateDeployment # 

Request Lenses

udPatchOperations :: Lens' UpdateDeployment [PatchOperation] #

A list of update operations to be applied to the specified resource and in the order specified in this list.

udRestAPIId :: Lens' UpdateDeployment Text #

The replacement identifier of the RestApi resource for the Deployment resource to change information about.

udDeploymentId :: Lens' UpdateDeployment Text #

The replacement identifier for the Deployment resource to change information about.

Destructuring the Response

deployment :: Deployment #

Creates a value of Deployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dApiSummary - A summary of the RestApi at the date and time that the deployment resource was created.
  • dCreatedDate - The date and time that the deployment resource was created.
  • dId - The identifier for the deployment resource.
  • dDescription - The description for the deployment resource.

data Deployment #

An immutable representation of a RestApi resource that can be called by users using Stages . A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi . To view, update, or delete a deployment, call GET , PATCH , or DELETE on the specified deployment resource (restapis{restapi_id}deployments{deployment_id} ).RestApi , Deployments , Stage , AWS CLI , AWS SDKs

See: deployment smart constructor.

Instances

Eq Deployment # 
Data Deployment # 

Methods

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

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

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Deployment # 
Show Deployment # 
Generic Deployment # 

Associated Types

type Rep Deployment :: * -> * #

Hashable Deployment # 
FromJSON Deployment # 
NFData Deployment # 

Methods

rnf :: Deployment -> () #

type Rep Deployment # 
type Rep Deployment = D1 (MetaData "Deployment" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.5-5OCToOwmZjEH3FMiU9Yogu" False) (C1 (MetaCons "Deployment'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dApiSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text (Map Text MethodSnapshot))))) (S1 (MetaSel (Just Symbol "_dCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

Response Lenses

dApiSummary :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot)) #

A summary of the RestApi at the date and time that the deployment resource was created.

dCreatedDate :: Lens' Deployment (Maybe UTCTime) #

The date and time that the deployment resource was created.

dId :: Lens' Deployment (Maybe Text) #

The identifier for the deployment resource.

dDescription :: Lens' Deployment (Maybe Text) #

The description for the deployment resource.