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

Contents

Description

Attempts to stop an ongoing deployment.

Synopsis

Creating a Request

stopDeployment #

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 #

Represents the input of a stop deployment operation.

See: stopDeployment smart constructor.

Instances

Eq StopDeployment # 
Data StopDeployment # 

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 # 
Show StopDeployment # 
Generic StopDeployment # 

Associated Types

type Rep StopDeployment :: * -> * #

Hashable StopDeployment # 
ToJSON StopDeployment # 
NFData StopDeployment # 

Methods

rnf :: StopDeployment -> () #

AWSRequest StopDeployment # 
ToQuery StopDeployment # 
ToPath StopDeployment # 
ToHeaders StopDeployment # 
type Rep StopDeployment # 
type Rep StopDeployment = D1 (MetaData "StopDeployment" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.4.5-7UWcGyWUHrLDqaWZl9U8ik" 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 # 

Request Lenses

sdAutoRollbackEnabled :: Lens' StopDeployment (Maybe Bool) #

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 #

The unique ID of a deployment.

Destructuring the Response

stopDeploymentResponse #

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 #

Represents the output of a stop deployment operation.

See: stopDeploymentResponse smart constructor.

Instances

Eq StopDeploymentResponse # 
Data StopDeploymentResponse # 

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 # 
Show StopDeploymentResponse # 
Generic StopDeploymentResponse # 
NFData StopDeploymentResponse # 

Methods

rnf :: StopDeploymentResponse -> () #

type Rep StopDeploymentResponse # 
type Rep StopDeploymentResponse = D1 (MetaData "StopDeploymentResponse" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.4.5-7UWcGyWUHrLDqaWZl9U8ik" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

sdrsStatus :: Lens' StopDeploymentResponse (Maybe StopStatus) #

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

sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) #

An accompanying status message.

sdrsResponseStatus :: Lens' StopDeploymentResponse Int #

  • - | The response status code.