AWS CodeBuild

2017/08/31 - AWS CodeBuild - 1 new api methods

Changes  The AWS CodeBuild HTTP API now provides the BatchDeleteBuilds operation, which enables you to delete existing builds.

BatchDeleteBuilds (new) Link ΒΆ

Deletes one or more builds.

See also: AWS API Documentation

Request Syntax

client.batch_delete_builds(
    ids=[
        'string',
    ]
)
type ids

list

param ids

[REQUIRED]

The IDs of the builds to delete.

  • (string) --

rtype

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.