2020/09/18 - AWS Elemental MediaLive - 3 new api methods
Changes AWS Elemental MediaLive now supports batch operations, which allow users to start, stop, and delete multiple MediaLive resources with a single request.
Starts delete of resources.
See also: AWS API Documentation
Request Syntax
client.batch_delete(
    ChannelIds=[
        'string',
    ],
    InputIds=[
        'string',
    ],
    InputSecurityGroupIds=[
        'string',
    ],
    MultiplexIds=[
        'string',
    ]
)
list
List of channel IDs
(string) -- Placeholder documentation for __string
list
List of input IDs
(string) -- Placeholder documentation for __string
list
List of input security group IDs
(string) -- Placeholder documentation for __string
list
List of multiplex IDs
(string) -- Placeholder documentation for __string
dict
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
Stops running resources
See also: AWS API Documentation
Request Syntax
client.batch_stop(
    ChannelIds=[
        'string',
    ],
    MultiplexIds=[
        'string',
    ]
)
list
List of channel IDs
(string) -- Placeholder documentation for __string
list
List of multiplex IDs
(string) -- Placeholder documentation for __string
dict
Response Syntax
{
    'Failed': [
        {
            'Arn': 'string',
            'Code': 'string',
            'Id': 'string',
            'Message': 'string'
        },
    ],
    'Successful': [
        {
            'Arn': 'string',
            'Id': 'string',
            'State': 'string'
        },
    ]
}
Response Structure
(dict) -- Successfully initiated stop of the resources.
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
Starts existing resources
See also: AWS API Documentation
Request Syntax
client.batch_start(
    ChannelIds=[
        'string',
    ],
    MultiplexIds=[
        'string',
    ]
)
list
List of channel IDs
(string) -- Placeholder documentation for __string
list
List of multiplex IDs
(string) -- Placeholder documentation for __string
dict
Response Syntax
{
    'Failed': [
        {
            'Arn': 'string',
            'Code': 'string',
            'Id': 'string',
            'Message': 'string'
        },
    ],
    'Successful': [
        {
            'Arn': 'string',
            'Id': 'string',
            'State': 'string'
        },
    ]
}
Response Structure
(dict) -- Successfully initiated start of resources.
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