amazonka-codedeploy-1.6.0: Amazon CodeDeploy 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.CodeDeploy.StopDeployment

Contents

Description

Attempts to stop an ongoing deployment.

Synopsis

Creating a Request

stopDeployment Source #

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

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

  • sdAutoRollbackEnabled - Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
  • sdDeploymentId - The unique ID of a deployment.

data StopDeployment Source #

Represents the input of a StopDeployment operation.

See: stopDeployment smart constructor.

Instances

Eq StopDeployment Source # 
Data StopDeployment Source # 

Methods

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

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

toConstr :: StopDeployment -> Constr #

dataTypeOf :: StopDeployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopDeployment Source # 
Show StopDeployment Source # 
Generic StopDeployment Source # 

Associated Types

type Rep StopDeployment :: * -> * #

Hashable StopDeployment Source # 
ToJSON StopDeployment Source # 
NFData StopDeployment Source # 

Methods

rnf :: StopDeployment -> () #

AWSRequest StopDeployment Source # 
ToHeaders StopDeployment Source # 
ToPath StopDeployment Source # 
ToQuery StopDeployment Source # 
type Rep StopDeployment Source # 
type Rep StopDeployment = D1 * (MetaData "StopDeployment" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "StopDeployment'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sdAutoRollbackEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_sdDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs StopDeployment Source # 

Request Lenses

sdAutoRollbackEnabled :: Lens' StopDeployment (Maybe Bool) Source #

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

sdDeploymentId :: Lens' StopDeployment Text Source #

The unique ID of a deployment.

Destructuring the Response

stopDeploymentResponse Source #

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

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

  • sdrsStatus - The status of the stop deployment operation: * Pending: The stop operation is pending. * Succeeded: The stop operation was successful.
  • sdrsStatusMessage - An accompanying status message.
  • sdrsResponseStatus - -- | The response status code.

data StopDeploymentResponse Source #

Represents the output of a StopDeployment operation.

See: stopDeploymentResponse smart constructor.

Instances

Eq StopDeploymentResponse Source # 
Data StopDeploymentResponse Source # 

Methods

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

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

toConstr :: StopDeploymentResponse -> Constr #

dataTypeOf :: StopDeploymentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopDeploymentResponse Source # 
Show StopDeploymentResponse Source # 
Generic StopDeploymentResponse Source # 
NFData StopDeploymentResponse Source # 

Methods

rnf :: StopDeploymentResponse -> () #

type Rep StopDeploymentResponse Source # 
type Rep StopDeploymentResponse = D1 * (MetaData "StopDeploymentResponse" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "StopDeploymentResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sdrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe StopStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_sdrsStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_sdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

sdrsStatus :: Lens' StopDeploymentResponse (Maybe StopStatus) Source #

The status of the stop deployment operation: * Pending: The stop operation is pending. * Succeeded: The stop operation was successful.

sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) Source #

An accompanying status message.

sdrsResponseStatus :: Lens' StopDeploymentResponse Int Source #

  • - | The response status code.