amazonka-codedeploy-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Data StopDeployment Source # 
Instance details

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

Defined in Network.AWS.CodeDeploy.StopDeployment

Show StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Generic StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Associated Types

type Rep StopDeployment :: Type -> Type #

Hashable StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

ToJSON StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

AWSRequest StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Associated Types

type Rs StopDeployment :: Type #

ToHeaders StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

ToPath StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

ToQuery StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

NFData StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Methods

rnf :: StopDeployment -> () #

type Rep StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

type Rep StopDeployment = D1 (MetaData "StopDeployment" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "StopDeployment'" PrefixI True) (S1 (MetaSel (Just "_sdAutoRollbackEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_sdDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StopDeployment Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

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

Defined in Network.AWS.CodeDeploy.StopDeployment

Data StopDeploymentResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

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

Defined in Network.AWS.CodeDeploy.StopDeployment

Show StopDeploymentResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Generic StopDeploymentResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Associated Types

type Rep StopDeploymentResponse :: Type -> Type #

NFData StopDeploymentResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

Methods

rnf :: StopDeploymentResponse -> () #

type Rep StopDeploymentResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.StopDeployment

type Rep StopDeploymentResponse = D1 (MetaData "StopDeploymentResponse" "Network.AWS.CodeDeploy.StopDeployment" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "StopDeploymentResponse'" PrefixI True) (S1 (MetaSel (Just "_sdrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StopStatus)) :*: (S1 (MetaSel (Just "_sdrsStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.