MediaLive.Client.
create_multiplex
(**kwargs)¶Create a new multiplex.
See also: AWS API Documentation
Request Syntax
response = client.create_multiplex(
AvailabilityZones=[
'string',
],
MultiplexSettings={
'MaximumVideoBufferDelayMilliseconds': 123,
'TransportStreamBitrate': 123,
'TransportStreamId': 123,
'TransportStreamReservedBitrate': 123
},
Name='string',
RequestId='string',
Tags={
'string': 'string'
}
)
[REQUIRED] A list of availability zones for the multiplex. You must specify exactly two.
[REQUIRED] Configuration for a multiplex event.
A collection of key-value pairs.
dict
Response Syntax
{
'Multiplex': {
'Arn': 'string',
'AvailabilityZones': [
'string',
],
'Destinations': [
{
'MediaConnectSettings': {
'EntitlementArn': 'string'
}
},
],
'Id': 'string',
'MultiplexSettings': {
'MaximumVideoBufferDelayMilliseconds': 123,
'TransportStreamBitrate': 123,
'TransportStreamId': 123,
'TransportStreamReservedBitrate': 123
},
'Name': 'string',
'PipelinesRunningCount': 123,
'ProgramCount': 123,
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED',
'Tags': {
'string': 'string'
}
}
}
Response Structure
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.UnprocessableEntityException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException
MediaLive.Client.exceptions.ConflictException