:doc:`LaunchWizard <../../launch-wizard>` / Client / delete_deployment

*****************
delete_deployment
*****************



.. py:method:: LaunchWizard.Client.delete_deployment(**kwargs)

  

  Deletes a deployment.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/DeleteDeployment>`_  


  **Request Syntax**
  ::

    response = client.delete_deployment(
        deploymentId='string'
    )
    
  :type deploymentId: string
  :param deploymentId: **[REQUIRED]** 

    The ID of the deployment.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'status': 'COMPLETED'|'CREATING'|'DELETE_IN_PROGRESS'|'DELETE_INITIATING'|'DELETE_FAILED'|'DELETED'|'FAILED'|'IN_PROGRESS'|'VALIDATING'|'UPDATE_IN_PROGRESS'|'UPDATE_COMPLETED'|'UPDATE_FAILED'|'UPDATE_ROLLBACK_COMPLETED'|'UPDATE_ROLLBACK_FAILED',
          'statusReason': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **status** *(string) --* 

        The status of the deployment.

        
      

      - **statusReason** *(string) --* 

        The reason for the deployment status.

        
  
  **Exceptions**
  
  *   :py:class:`LaunchWizard.Client.exceptions.ResourceLimitException`

  
  *   :py:class:`LaunchWizard.Client.exceptions.InternalServerException`

  
  *   :py:class:`LaunchWizard.Client.exceptions.ValidationException`

  
  *   :py:class:`LaunchWizard.Client.exceptions.ResourceNotFoundException`

  