MediaConnect / Client / describe_flow_source_thumbnail

describe_flow_source_thumbnail#

MediaConnect.Client.describe_flow_source_thumbnail(**kwargs)#

Displays the thumbnail details of a flow’s source stream.

See also: AWS API Documentation

Request Syntax

response = client.describe_flow_source_thumbnail(
    FlowArn='string'
)
Parameters:

FlowArn (string) – [REQUIRED] The Amazon Resource Name (ARN) of the flow.

Return type:

dict

Returns:

Response Syntax

{
    'ThumbnailDetails': {
        'FlowArn': 'string',
        'Thumbnail': 'string',
        'ThumbnailMessages': [
            {
                'Code': 'string',
                'Message': 'string',
                'ResourceName': 'string'
            },
        ],
        'Timecode': 'string',
        'Timestamp': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) – Flow source thumbnail successfully described.

    • ThumbnailDetails (dict) – The details of the thumbnail, including thumbnail base64 string, timecode and the time when thumbnail was generated.

      • FlowArn (string) – The ARN of the flow that DescribeFlowSourceThumbnail was performed on.

      • Thumbnail (string) – Thumbnail Base64 string.

      • ThumbnailMessages (list) – Status code and messages about the flow source thumbnail.

        • (dict) –

          • Code (string) – The error code.

          • Message (string) – The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

          • ResourceName (string) – The name of the resource.

      • Timecode (string) – Timecode of thumbnail.

      • Timestamp (datetime) – The timestamp of when thumbnail was generated.

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException

  • MediaConnect.Client.exceptions.TooManyRequestsException