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.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.
  • udgEc2TagSet - Information about groups of tags applied to on-premises instances. The deployment group will include only EC2 instances identified by all the tag groups.
  • udgDeploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
  • udgOnPremisesTagSet - Information about an on-premises instance tag set. The deployment group will include only on-premises instances identified by all the tag groups.
  • 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.
  • udgBlueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.
  • udgLoadBalancerInfo - Information about the load balancer used in a deployment.
  • 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.
  • udgDeploymentStyle - Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
  • 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 UpdateDeploymentGroup operation.

See: updateDeploymentGroup smart constructor.

Instances
Eq UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Data UpdateDeploymentGroup Source # 
Instance details

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

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Show UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Generic UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Associated Types

type Rep UpdateDeploymentGroup :: Type -> Type #

Hashable UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

ToJSON UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

AWSRequest UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Associated Types

type Rs UpdateDeploymentGroup :: Type #

ToHeaders UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

ToPath UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

ToQuery UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

NFData UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Methods

rnf :: UpdateDeploymentGroup -> () #

type Rep UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

type Rep UpdateDeploymentGroup = D1 (MetaData "UpdateDeploymentGroup" "Network.AWS.CodeDeploy.UpdateDeploymentGroup" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "UpdateDeploymentGroup'" PrefixI True) ((((S1 (MetaSel (Just "_udgServiceRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udgEc2TagSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EC2TagSet))) :*: (S1 (MetaSel (Just "_udgDeploymentConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udgOnPremisesTagSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OnPremisesTagSet)))) :*: ((S1 (MetaSel (Just "_udgNewDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udgEc2TagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EC2TagFilter]))) :*: (S1 (MetaSel (Just "_udgBlueGreenDeploymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BlueGreenDeploymentConfiguration)) :*: S1 (MetaSel (Just "_udgLoadBalancerInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LoadBalancerInfo))))) :*: (((S1 (MetaSel (Just "_udgOnPremisesInstanceTagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagFilter])) :*: S1 (MetaSel (Just "_udgAlarmConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlarmConfiguration))) :*: (S1 (MetaSel (Just "_udgTriggerConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TriggerConfig])) :*: S1 (MetaSel (Just "_udgAutoScalingGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 (MetaSel (Just "_udgDeploymentStyle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentStyle)) :*: S1 (MetaSel (Just "_udgAutoRollbackConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AutoRollbackConfiguration))) :*: (S1 (MetaSel (Just "_udgApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udgCurrentDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateDeploymentGroup Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Request Lenses

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

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

udgEc2TagSet :: Lens' UpdateDeploymentGroup (Maybe EC2TagSet) Source #

Information about groups of tags applied to on-premises instances. The deployment group will include only EC2 instances identified by all the tag groups.

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

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

udgOnPremisesTagSet :: Lens' UpdateDeploymentGroup (Maybe OnPremisesTagSet) Source #

Information about an on-premises instance tag set. The deployment group will include only on-premises instances identified by all the tag groups.

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.

udgBlueGreenDeploymentConfiguration :: Lens' UpdateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration) Source #

Information about blue/green deployment options for a deployment group.

udgLoadBalancerInfo :: Lens' UpdateDeploymentGroup (Maybe LoadBalancerInfo) Source #

Information about the load balancer used in a deployment.

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.

udgDeploymentStyle :: Lens' UpdateDeploymentGroup (Maybe DeploymentStyle) Source #

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

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

See: updateDeploymentGroupResponse smart constructor.

Instances
Eq UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Data UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

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

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Show UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Generic UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

Associated Types

type Rep UpdateDeploymentGroupResponse :: Type -> Type #

NFData UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

type Rep UpdateDeploymentGroupResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.UpdateDeploymentGroup

type Rep UpdateDeploymentGroupResponse = D1 (MetaData "UpdateDeploymentGroupResponse" "Network.AWS.CodeDeploy.UpdateDeploymentGroup" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "UpdateDeploymentGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_udgrsHooksNotCleanedUp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AutoScalingGroup])) :*: S1 (MetaSel (Just "_udgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.