AWS SDK Version 2 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.

.NET Framework 4.5
 
Changes information about an existing deployment group.

Namespace: Amazon.CodeDeploy
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract UpdateDeploymentGroupResponse UpdateDeploymentGroup(
         UpdateDeploymentGroupRequest request
)

Parameters

request
Type: Amazon.CodeDeploy.Model.UpdateDeploymentGroupRequest

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

Return Value
Type: Amazon.CodeDeploy.Model.UpdateDeploymentGroupResponse
The response from the UpdateDeploymentGroup service method, as returned by CodeDeploy.

Exceptions

ExceptionCondition
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.
InvalidApplicationNameException The application name was specified in an invalid format.
InvalidAutoScalingGroupException The Auto Scaling group was specified in an invalid format or does not exist.
InvalidDeploymentConfigNameException The deployment configuration name was specified in an invalid format.
InvalidDeploymentGroupNameException The deployment group name was specified in an invalid format.
InvalidEC2TagException The tag was specified in an invalid format.
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.
TriggerTargetsLimitExceededException The maximum allowed number of triggers was exceeded.

Version Information

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