Amazon.CodeDeploy.AmazonCodeDeployClient.UpdateDeploymentGroup C# (CSharp) Method

UpdateDeploymentGroup() public method

Changes information about a deployment group.
/// The maximum number of alarms for a deployment group (10) was exceeded. /// /// The application does not exist with the applicable IAM user or AWS account. /// /// The minimum number of required application names was not specified. /// /// The deployment configuration does not exist with the applicable IAM user or AWS account. /// /// A deployment group with the specified name already exists with the applicable IAM /// user or AWS account. /// /// The named deployment group does not exist with the applicable IAM user or AWS account. /// /// The deployment group name was not specified. /// /// 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. /// ///
/// /// The application name was specified in an invalid format. /// /// 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. /// /// The Auto Scaling group was specified in an invalid format or does not exist. /// /// The deployment configuration name was specified in an invalid format. /// /// The deployment group name was specified in an invalid format. /// /// The tag was specified in an invalid format. /// /// 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. /// /// The specified tag was specified in an invalid format. /// /// The trigger was specified in an invalid format. /// /// The limit for lifecycle hooks was exceeded. /// /// The maximum allowed number of triggers was exceeded. ///
public UpdateDeploymentGroup ( UpdateDeploymentGroupRequest request ) : UpdateDeploymentGroupResponse
request Amazon.CodeDeploy.Model.UpdateDeploymentGroupRequest Container for the necessary parameters to execute the UpdateDeploymentGroup service method.
return Amazon.CodeDeploy.Model.UpdateDeploymentGroupResponse
        public UpdateDeploymentGroupResponse UpdateDeploymentGroup(UpdateDeploymentGroupRequest request)
        {
            var marshaller = new UpdateDeploymentGroupRequestMarshaller();
            var unmarshaller = UpdateDeploymentGroupResponseUnmarshaller.Instance;

            return Invoke<UpdateDeploymentGroupRequest,UpdateDeploymentGroupResponse>(request, marshaller, unmarshaller);
        }
AmazonCodeDeployClient