:doc:`CodeDeploy <../../codedeploy>` / Client / delete_deployment_config

************************
delete_deployment_config
************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig>`_  


  **Request Syntax**
  ::

    response = client.delete_deployment_config(
        deploymentConfigName='string'
    )
    
  :type deploymentConfigName: string
  :param deploymentConfigName: **[REQUIRED]** 

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

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CodeDeploy.Client.exceptions.InvalidDeploymentConfigNameException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.DeploymentConfigNameRequiredException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.DeploymentConfigInUseException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.InvalidOperationException`

  