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
 
Creates a new deployment group for application revisions to be deployed to.

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

Syntax

C#
public abstract CreateDeploymentGroupResponse CreateDeploymentGroup(
         CreateDeploymentGroupRequest request
)

Parameters

request
Type: Amazon.CodeDeploy.Model.CreateDeploymentGroupRequest

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

Return Value
Type: Amazon.CodeDeploy.Model.CreateDeploymentGroupResponse
The response from the CreateDeploymentGroup 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.
DeploymentGroupLimitExceededException The deployment groups limit was exceeded.
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.
RoleRequiredException The role ID was not specified.
TriggerTargetsLimitExceededException The maximum allowed number of triggers was exceeded.

Version Information

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