CodeBuild / Client / batch_delete_builds

batch_delete_builds#

CodeBuild.Client.batch_delete_builds(**kwargs)#

Deletes one or more builds.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_builds(
    ids=[
        'string',
    ]
)
Parameters:

ids (list) –

[REQUIRED]

The IDs of the builds to delete.

  • (string) –

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • buildsDeleted (list) –

      The IDs of the builds that were successfully deleted.

      • (string) –

    • buildsNotDeleted (list) –

      Information about any builds that could not be successfully 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

  • CodeBuild.Client.exceptions.InvalidInputException