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

Contents

Description

Changes information about a deployment group.

Synopsis

Creating a Request

updateDeploymentGroup #

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

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

  • udgServiceRoleARN - A replacement ARN for the service role, if you want to change it.
  • udgDeploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
  • udgNewDeploymentGroupName - The new name of the deployment group, if you want to change it.
  • udgEc2TagFilters - The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
  • udgOnPremisesInstanceTagFilters - The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
  • udgAlarmConfiguration - Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
  • udgTriggerConfigurations - Information about triggers to change when the deployment group is updated. For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group in the AWS CodeDeploy User Guide.
  • udgAutoScalingGroups - The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names.
  • udgAutoRollbackConfiguration - Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
  • udgApplicationName - The application name corresponding to the deployment group to update.
  • udgCurrentDeploymentGroupName - The current name of the deployment group.

data UpdateDeploymentGroup #

Represents the input of an update deployment group operation.

See: updateDeploymentGroup smart constructor.

Instances

Eq UpdateDeploymentGroup # 
Data UpdateDeploymentGroup # 

Methods

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

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

toConstr :: UpdateDeploymentGroup -> Constr #

dataTypeOf :: UpdateDeploymentGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDeploymentGroup # 
Show UpdateDeploymentGroup # 
Generic UpdateDeploymentGroup # 
Hashable UpdateDeploymentGroup # 
ToJSON UpdateDeploymentGroup # 
NFData UpdateDeploymentGroup # 

Methods

rnf :: UpdateDeploymentGroup -> () #

AWSRequest UpdateDeploymentGroup # 
ToQuery UpdateDeploymentGroup # 
ToPath UpdateDeploymentGroup # 
ToHeaders UpdateDeploymentGroup # 
type Rep UpdateDeploymentGroup # 
type Rep UpdateDeploymentGroup = D1 (MetaData "UpdateDeploymentGroup" "Network.AWS.CodeDeploy.UpdateDeploymentGroup" "amazonka-codedeploy-1.4.5-7UWcGyWUHrLDqaWZl9U8ik" False) (C1 (MetaCons "UpdateDeploymentGroup'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_udgServiceRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_udgDeploymentConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_udgNewDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_udgEc2TagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EC2TagFilter]))) (S1 (MetaSel (Just Symbol "_udgOnPremisesInstanceTagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagFilter])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_udgAlarmConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlarmConfiguration))) ((:*:) (S1 (MetaSel (Just Symbol "_udgTriggerConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TriggerConfig]))) (S1 (MetaSel (Just Symbol "_udgAutoScalingGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) (S1 (MetaSel (Just Symbol "_udgAutoRollbackConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AutoRollbackConfiguration))) ((:*:) (S1 (MetaSel (Just Symbol "_udgApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_udgCurrentDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs UpdateDeploymentGroup # 

Request Lenses

udgServiceRoleARN :: Lens' UpdateDeploymentGroup (Maybe Text) #

A replacement ARN for the service role, if you want to change it.

udgDeploymentConfigName :: Lens' UpdateDeploymentGroup (Maybe Text) #

The replacement deployment configuration name to use, if you want to change it.

udgNewDeploymentGroupName :: Lens' UpdateDeploymentGroup (Maybe Text) #

The new name of the deployment group, if you want to change it.

udgEc2TagFilters :: Lens' UpdateDeploymentGroup [EC2TagFilter] #

The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

udgOnPremisesInstanceTagFilters :: Lens' UpdateDeploymentGroup [TagFilter] #

The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

udgAlarmConfiguration :: Lens' UpdateDeploymentGroup (Maybe AlarmConfiguration) #

Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.

udgTriggerConfigurations :: Lens' UpdateDeploymentGroup [TriggerConfig] #

Information about triggers to change when the deployment group is updated. For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group in the AWS CodeDeploy User Guide.

udgAutoScalingGroups :: Lens' UpdateDeploymentGroup [Text] #

The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names.

udgAutoRollbackConfiguration :: Lens' UpdateDeploymentGroup (Maybe AutoRollbackConfiguration) #

Information for an automatic rollback configuration that is added or changed when a deployment group is updated.

udgApplicationName :: Lens' UpdateDeploymentGroup Text #

The application name corresponding to the deployment group to update.

udgCurrentDeploymentGroupName :: Lens' UpdateDeploymentGroup Text #

The current name of the deployment group.

Destructuring the Response

updateDeploymentGroupResponse #

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

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

  • udgrsHooksNotCleanedUp - 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 AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS account.
  • udgrsResponseStatus - -- | The response status code.

data UpdateDeploymentGroupResponse #

Represents the output of an update deployment group operation.

See: updateDeploymentGroupResponse smart constructor.

Instances

Eq UpdateDeploymentGroupResponse # 
Data UpdateDeploymentGroupResponse # 

Methods

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

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

toConstr :: UpdateDeploymentGroupResponse -> Constr #

dataTypeOf :: UpdateDeploymentGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

udgrsHooksNotCleanedUp :: Lens' UpdateDeploymentGroupResponse [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 AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS account.