MediaLive / Client / batch_delete

batch_delete#

MediaLive.Client.batch_delete(**kwargs)#

Starts delete of resources.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete(
    ChannelIds=[
        'string',
    ],
    InputIds=[
        'string',
    ],
    InputSecurityGroupIds=[
        'string',
    ],
    MultiplexIds=[
        'string',
    ]
)
Parameters:
  • ChannelIds (list) –

    List of channel IDs

    • (string) – Placeholder documentation for __string

  • InputIds (list) –

    List of input IDs

    • (string) – Placeholder documentation for __string

  • InputSecurityGroupIds (list) –

    List of input security group IDs

    • (string) – Placeholder documentation for __string

  • MultiplexIds (list) –

    List of multiplex IDs

    • (string) – Placeholder documentation for __string

Return type:

dict

Returns:

Response Syntax

{
    'Failed': [
        {
            'Arn': 'string',
            'Code': 'string',
            'Id': 'string',
            'Message': 'string'
        },
    ],
    'Successful': [
        {
            'Arn': 'string',
            'Id': 'string',
            'State': 'string'
        },
    ]
}

Response Structure

  • (dict) – Delete was successfully initiated.

    • Failed (list) – List of failed operations

      • (dict) – Details from a failed operation

        • Arn (string) – ARN of the resource

        • Code (string) – Error code for the failed operation

        • Id (string) – ID of the resource

        • Message (string) – Error message for the failed operation

    • Successful (list) – List of successful operations

      • (dict) – Details from a successful operation

        • Arn (string) – ARN of the resource

        • Id (string) – ID of the resource

        • State (string) – Current state of the resource

Exceptions