MediaLive / Client / create_sdi_source

create_sdi_source

MediaLive.Client.create_sdi_source(**kwargs)

Create an SdiSource for each video source that uses the SDI protocol. You will reference the SdiSource when you create an SDI input in MediaLive. You will also reference it in an SdiSourceMapping, in order to create a connection between the logical SdiSource and the physical SDI card and port that the physical SDI source uses.

See also: AWS API Documentation

Request Syntax

response = client.create_sdi_source(
    Mode='QUADRANT'|'INTERLEAVE',
    Name='string',
    RequestId='string',
    Tags={
        'string': 'string'
    },
    Type='SINGLE'|'QUAD'
)
Parameters:
  • Mode (string) – Applies only if the type is QUAD. Specify the mode for handling the quad-link signal: QUADRANT or INTERLEAVE.

  • Name (string) – Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.

  • RequestId (string) – An ID that you assign to a create request. This ID ensures idempotency when creating resources.This field is autopopulated if not provided.

  • Tags (dict) –

    A collection of key-value pairs.

    • (string) – Placeholder documentation for __string

      • (string) – Placeholder documentation for __string

  • Type (string) – Specify the type of the SDI source: SINGLE: The source is a single-link source. QUAD: The source is one part of a quad-link source.

Return type:

dict

Returns:

Response Syntax

{
    'SdiSource': {
        'Arn': 'string',
        'Id': 'string',
        'Inputs': [
            'string',
        ],
        'Mode': 'QUADRANT'|'INTERLEAVE',
        'Name': 'string',
        'State': 'IDLE'|'IN_USE'|'DELETED',
        'Type': 'SINGLE'|'QUAD'
    }
}

Response Structure

  • (dict) – The SdiSource is created.

    • SdiSource (dict) – Settings for the SDI source.

      • Arn (string) – The ARN of this SdiSource. It is automatically assigned when the SdiSource is created.

      • Id (string) – The ID of the SdiSource. Unique in the AWS account.The ID is the resource-id portion of the ARN.

      • Inputs (list) – The list of inputs that are currently using this SDI source. This list will be empty if the SdiSource has just been deleted.

        • (string) – Placeholder documentation for __string

      • Mode (string) – Applies only if the type is QUAD. The mode for handling the quad-link signal QUADRANT or INTERLEAVE.

      • Name (string) – The name of the SdiSource.

      • State (string) – Specifies whether the SDI source is attached to an SDI input (IN_USE) or not (IDLE).

      • Type (string) – Used in SdiSource, CreateSdiSourceRequest, UpdateSdiSourceRequest.

Exceptions