stop_multiplex

stop_multiplex(**kwargs)

Stops a running multiplex. If the multiplex isn't running, this action has no effect.

See also: AWS API Documentation

Request Syntax

response = client.stop_multiplex(
    MultiplexId='string'
)
Parameters
MultiplexId (string) -- [REQUIRED] The ID of the multiplex.
Return type
dict
Returns
Response Syntax
{
    '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

  • (dict) -- The action to stop the multiplex is in progress.
    • Arn (string) -- The unique arn of the multiplex.
    • AvailabilityZones (list) -- A list of availability zones for the multiplex.
      • (string) -- Placeholder documentation for __string
    • Destinations (list) -- A list of the multiplex output destinations.
      • (dict) -- Multiplex output destination settings
        • MediaConnectSettings (dict) -- Multiplex MediaConnect output destination settings.
          • EntitlementArn (string) -- The MediaConnect entitlement ARN available as a Flow source.
    • Id (string) -- The unique id of the multiplex.
    • MultiplexSettings (dict) -- Configuration for a multiplex event.
      • MaximumVideoBufferDelayMilliseconds (integer) -- Maximum video buffer delay in milliseconds.
      • TransportStreamBitrate (integer) -- Transport stream bit rate.
      • TransportStreamId (integer) -- Transport stream ID.
      • TransportStreamReservedBitrate (integer) -- Transport stream reserved bit rate.
    • Name (string) -- The name of the multiplex.
    • PipelinesRunningCount (integer) -- The number of currently healthy pipelines.
    • ProgramCount (integer) -- The number of programs in the multiplex.
    • State (string) -- The current state of the multiplex.
    • Tags (dict) -- A collection of key-value pairs.
      • (string) -- Placeholder documentation for __string
        • (string) -- Placeholder documentation for __string

Exceptions

  • MediaLive.Client.exceptions.BadRequestException
  • MediaLive.Client.exceptions.InternalServerErrorException
  • MediaLive.Client.exceptions.ForbiddenException
  • MediaLive.Client.exceptions.BadGatewayException
  • MediaLive.Client.exceptions.NotFoundException
  • MediaLive.Client.exceptions.GatewayTimeoutException
  • MediaLive.Client.exceptions.TooManyRequestsException
  • MediaLive.Client.exceptions.ConflictException