CodeDeploy / Client / delete_deployment_config

delete_deployment_config#

CodeDeploy.Client.delete_deployment_config(**kwargs)#

Deletes a deployment configuration.

Note

A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_deployment_config(
    deploymentConfigName='string'
)
Parameters:

deploymentConfigName (string) –

[REQUIRED]

The name of a deployment configuration associated with the user or Amazon Web Services account.

Returns:

None

Exceptions

  • CodeDeploy.Client.exceptions.InvalidDeploymentConfigNameException

  • CodeDeploy.Client.exceptions.DeploymentConfigNameRequiredException

  • CodeDeploy.Client.exceptions.DeploymentConfigInUseException

  • CodeDeploy.Client.exceptions.InvalidOperationException