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

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

Represents the input of an update deployment group operation.

See: updateDeploymentGroup smart constructor.

Instances

Eq UpdateDeploymentGroup Source # 
Data UpdateDeploymentGroup Source # 

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

Methods

rnf :: UpdateDeploymentGroup -> () #

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

Request Lenses

udgServiceRoleARN :: Lens' UpdateDeploymentGroup (Maybe Text) Source #

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

udgDeploymentConfigName :: Lens' UpdateDeploymentGroup (Maybe Text) Source #

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

udgNewDeploymentGroupName :: Lens' UpdateDeploymentGroup (Maybe Text) Source #

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

udgEc2TagFilters :: Lens' UpdateDeploymentGroup [EC2TagFilter] Source #

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

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

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

udgTriggerConfigurations :: Lens' UpdateDeploymentGroup [TriggerConfig] Source #

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

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

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

udgApplicationName :: Lens' UpdateDeploymentGroup Text Source #

The application name corresponding to the deployment group to update.

udgCurrentDeploymentGroupName :: Lens' UpdateDeploymentGroup Text Source #

The current name of the deployment group.

Destructuring the Response

updateDeploymentGroupResponse Source #

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

Represents the output of an update deployment group operation.

See: updateDeploymentGroupResponse smart constructor.

Instances

Eq UpdateDeploymentGroupResponse Source # 
Data UpdateDeploymentGroupResponse Source # 

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 Source # 
Show UpdateDeploymentGroupResponse Source # 
Generic UpdateDeploymentGroupResponse Source # 
NFData UpdateDeploymentGroupResponse Source # 
type Rep UpdateDeploymentGroupResponse Source # 
type Rep UpdateDeploymentGroupResponse = D1 (MetaData "UpdateDeploymentGroupResponse" "Network.AWS.CodeDeploy.UpdateDeploymentGroup" "amazonka-codedeploy-1.4.5-DMGK5UWBbb6A8Bo92xdbdR" 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] 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 AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS account.