amazonka-codedeploy-1.5.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2017 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.DeleteDeploymentGroup

Contents

Description

Deletes a deployment group.

Synopsis

Creating a Request

deleteDeploymentGroup Source #

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

Represents the input of a DeleteDeploymentGroup operation.

See: deleteDeploymentGroup smart constructor.

Instances

Eq DeleteDeploymentGroup Source # 
Data DeleteDeploymentGroup Source # 

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 Source # 
Show DeleteDeploymentGroup Source # 
Generic DeleteDeploymentGroup Source # 
Hashable DeleteDeploymentGroup Source # 
ToJSON DeleteDeploymentGroup Source # 
NFData DeleteDeploymentGroup Source # 

Methods

rnf :: DeleteDeploymentGroup -> () #

AWSRequest DeleteDeploymentGroup Source # 
ToQuery DeleteDeploymentGroup Source # 
ToPath DeleteDeploymentGroup Source # 
ToHeaders DeleteDeploymentGroup Source # 
type Rep DeleteDeploymentGroup Source # 
type Rep DeleteDeploymentGroup = D1 (MetaData "DeleteDeploymentGroup" "Network.AWS.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" 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 Source # 

Request Lenses

ddgApplicationName :: Lens' DeleteDeploymentGroup Text Source #

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

ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text Source #

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

Destructuring the Response

deleteDeploymentGroupResponse Source #

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

Represents the output of a DeleteDeploymentGroup operation.

See: deleteDeploymentGroupResponse smart constructor.

Instances

Eq DeleteDeploymentGroupResponse Source # 
Data DeleteDeploymentGroupResponse Source # 

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 Source # 
Show DeleteDeploymentGroupResponse Source # 
Generic DeleteDeploymentGroupResponse Source # 
NFData DeleteDeploymentGroupResponse Source # 
type Rep DeleteDeploymentGroupResponse Source # 
type Rep DeleteDeploymentGroupResponse = D1 (MetaData "DeleteDeploymentGroupResponse" "Network.AWS.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" False) (C1 (MetaCons "DeleteDeploymentGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddgrsHooksNotCleanedUp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AutoScalingGroup]))) (S1 (MetaSel (Just Symbol "_ddgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup] Source #

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.