:doc:`CodeBuild <../../codebuild>` / Client / delete_build_batch

******************
delete_build_batch
******************



.. py:method:: CodeBuild.Client.delete_build_batch(**kwargs)

  

  Deletes a batch build.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch>`_  


  **Request Syntax**
  ::

    response = client.delete_build_batch(
        id='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The identifier of the batch build to delete.

    

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

    
    ::

      {
          'statusCode': 'string',
          'buildsDeleted': [
              'string',
          ],
          'buildsNotDeleted': [
              {
                  'id': 'string',
                  'statusCode': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **statusCode** *(string) --* 

        The status code.

        
      

      - **buildsDeleted** *(list) --* 

        An array of strings that contain the identifiers of the builds that were deleted.

        
        

        - *(string) --* 
    
      

      - **buildsNotDeleted** *(list) --* 

        An array of ``BuildNotDeleted`` objects that specify the builds that could not be deleted.

        
        

        - *(dict) --* 

          Information about a build that could not be successfully deleted.

          
          

          - **id** *(string) --* 

            The ID of the build that could not be successfully deleted.

            
          

          - **statusCode** *(string) --* 

            Additional information about the build that could not be successfully deleted.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`CodeBuild.Client.exceptions.InvalidInputException`

  