AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Changes information about a deployment group.

Note:

For PCL this operation is only available in asynchronous form. Please refer to UpdateDeploymentGroupAsync.

Namespace: Amazon.CodeDeploy
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public virtual UpdateDeploymentGroupResponse UpdateDeploymentGroup(
         UpdateDeploymentGroupRequest request
)
Parameters
request
Type: Amazon.CodeDeploy.Model.UpdateDeploymentGroupRequest

Container for the necessary parameters to execute the UpdateDeploymentGroup service method.

Return Value
The response from the UpdateDeploymentGroup service method, as returned by CodeDeploy.

Exceptions

ExceptionCondition
AlarmsLimitExceededException The maximum number of alarms for a deployment group (10) was exceeded.
ApplicationDoesNotExistException The application does not exist with the applicable IAM user or AWS account.
ApplicationNameRequiredException The minimum number of required application names was not specified.
DeploymentConfigDoesNotExistException The deployment configuration does not exist with the applicable IAM user or AWS account.
DeploymentGroupAlreadyExistsException A deployment group with the specified name already exists with the applicable IAM user or AWS account.
DeploymentGroupDoesNotExistException The named deployment group does not exist with the applicable IAM user or AWS account.
DeploymentGroupNameRequiredException The deployment group name was not specified.
InvalidAlarmConfigException The format of the alarm configuration is invalid. Possible causes include: The alarm list is null. The alarm object is null. The alarm name is empty or null or exceeds the 255 character limit. Two alarms with the same name have been specified. The alarm configuration is enabled but the alarm list is empty.
InvalidApplicationNameException The application name was specified in an invalid format.
InvalidAutoRollbackConfigException The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled but an invalid triggering event type or no event types were listed.
InvalidAutoScalingGroupException The Auto Scaling group was specified in an invalid format or does not exist.
InvalidBlueGreenDeploymentConfigurationException The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.
InvalidDeploymentConfigNameException The deployment configuration name was specified in an invalid format.
InvalidDeploymentGroupNameException The deployment group name was specified in an invalid format.
InvalidDeploymentStyleException An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN". Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".
InvalidEC2TagCombinationException A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.
InvalidEC2TagException The tag was specified in an invalid format.
InvalidLoadBalancerInfoException An invalid load balancer name, or no load balancer name, was specified.
InvalidOnPremisesTagCombinationException A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.
InvalidRoleException The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.
InvalidTagException The specified tag was specified in an invalid format.
InvalidTriggerConfigException The trigger was specified in an invalid format.
LifecycleHookLimitExceededException The limit for lifecycle hooks was exceeded.
TagSetListLimitExceededException The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.
TriggerTargetsLimitExceededException The maximum allowed number of triggers was exceeded.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also