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

Contents

Description

Deletes a deployment group.

Synopsis

Creating a Request

deleteDeploymentGroup #

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

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

  • ddgApplicationName - The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
  • ddgDeploymentGroupName - The name of an existing deployment group for the specified application.

data DeleteDeploymentGroup #

Represents the input of a delete deployment group operation.

See: deleteDeploymentGroup smart constructor.

Instances

Eq DeleteDeploymentGroup # 
Data DeleteDeploymentGroup # 

Methods

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

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

toConstr :: DeleteDeploymentGroup -> Constr #

dataTypeOf :: DeleteDeploymentGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDeploymentGroup # 
Show DeleteDeploymentGroup # 
Generic DeleteDeploymentGroup # 
Hashable DeleteDeploymentGroup # 
ToJSON DeleteDeploymentGroup # 
NFData DeleteDeploymentGroup # 

Methods

rnf :: DeleteDeploymentGroup -> () #

AWSRequest DeleteDeploymentGroup # 
ToQuery DeleteDeploymentGroup # 
ToPath DeleteDeploymentGroup # 
ToHeaders DeleteDeploymentGroup # 
type Rep DeleteDeploymentGroup # 
type Rep DeleteDeploymentGroup = D1 (MetaData "DeleteDeploymentGroup" "Network.AWS.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-1.4.5-7UWcGyWUHrLDqaWZl9U8ik" False) (C1 (MetaCons "DeleteDeploymentGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddgApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ddgDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteDeploymentGroup # 

Request Lenses

ddgApplicationName :: Lens' DeleteDeploymentGroup Text #

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text #

The name of an existing deployment group for the specified application.

Destructuring the Response

deleteDeploymentGroupResponse #

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

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

  • ddgrsHooksNotCleanedUp - If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.
  • ddgrsResponseStatus - -- | The response status code.

data DeleteDeploymentGroupResponse #

Represents the output of a delete deployment group operation.

See: deleteDeploymentGroupResponse smart constructor.

Instances

Eq DeleteDeploymentGroupResponse # 
Data DeleteDeploymentGroupResponse # 

Methods

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

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

toConstr :: DeleteDeploymentGroupResponse -> Constr #

dataTypeOf :: DeleteDeploymentGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDeploymentGroupResponse # 
Show DeleteDeploymentGroupResponse # 
Generic DeleteDeploymentGroupResponse # 
NFData DeleteDeploymentGroupResponse # 
type Rep DeleteDeploymentGroupResponse # 
type Rep DeleteDeploymentGroupResponse = D1 (MetaData "DeleteDeploymentGroupResponse" "Network.AWS.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-1.4.5-7UWcGyWUHrLDqaWZl9U8ik" False) (C1 (MetaCons "DeleteDeploymentGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddgrsHooksNotCleanedUp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AutoScalingGroup]))) (S1 (MetaSel (Just Symbol "_ddgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup] #

If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.