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.UpdateDeployment

Contents

Description

Changes information about a Deployment resource.

Synopsis

Creating a Request

updateDeployment Source #

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 - [Required] The string identifier of the associated RestApi .
  • udDeploymentId - The replacement identifier for the Deployment resource to change information about.

data UpdateDeployment Source #

Requests API Gateway to change information about a Deployment resource.

See: updateDeployment smart constructor.

Instances
Eq UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Data UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.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 Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Show UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Generic UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Associated Types

type Rep UpdateDeployment :: Type -> Type #

Hashable UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

ToJSON UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

AWSRequest UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Associated Types

type Rs UpdateDeployment :: Type #

ToHeaders UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

ToPath UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

ToQuery UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

NFData UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Methods

rnf :: UpdateDeployment -> () #

type Rep UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

type Rep UpdateDeployment = D1 (MetaData "UpdateDeployment" "Network.AWS.APIGateway.UpdateDeployment" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "UpdateDeployment'" PrefixI True) (S1 (MetaSel (Just "_udPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 (MetaSel (Just "_udRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateDeployment

Request Lenses

udPatchOperations :: Lens' UpdateDeployment [PatchOperation] Source #

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

udRestAPIId :: Lens' UpdateDeployment Text Source #

Required
The string identifier of the associated RestApi .

udDeploymentId :: Lens' UpdateDeployment Text Source #

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

Destructuring the Response

deployment :: Deployment Source #

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 Source #

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

Defined in Network.AWS.APIGateway.Types.Product

Data Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

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

Defined in Network.AWS.APIGateway.Types.Product

Show Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Deployment :: Type -> Type #

Hashable Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Deployment -> () #

type Rep Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

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

Response Lenses

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

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

dCreatedDate :: Lens' Deployment (Maybe UTCTime) Source #

The date and time that the deployment resource was created.

dId :: Lens' Deployment (Maybe Text) Source #

The identifier for the deployment resource.

dDescription :: Lens' Deployment (Maybe Text) Source #

The description for the deployment resource.