delete_deployment_group
¶
delete_deployment_group(
application_name: ApplicationName,
deployment_group_name: DeploymentGroupName,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
) -> DeleteDeploymentGroupOutput
Deletes a deployment group.
Parameters:
-
application_name(ApplicationName) –The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
deployment_group_name(DeploymentGroupName) –The name of a deployment group for the specified application.
Raises:
-
ApplicationNameRequiredException–The minimum number of required application names was not specified.
-
DeploymentGroupNameRequiredException–The deployment group name was not specified.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidDeploymentGroupNameException–The deployment group name 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 Amazon EC2 Auto Scaling.
-
UnknownServiceError–The service returned an error code this client does not model.