AWS Elemental MediaLive

2020/07/22 - AWS Elemental MediaLive - 1 new api methods

Changes  Update medialive client to latest version

DescribeInputDeviceThumbnail (new) Link ΒΆ

Get the latest thumbnail data for the input device.

See also: AWS API Documentation

Request Syntax

client.describe_input_device_thumbnail(
    InputDeviceId='string',
    Accept='image/jpeg'
)
type InputDeviceId:

string

param InputDeviceId:

[REQUIRED] The unique ID of this input device. For example, hd-123456789abcdef.

type Accept:

string

param Accept:

[REQUIRED] The HTTP Accept header. Indicates the requested type for the thumbnail.

rtype:

dict

returns:

Response Syntax

{
    'Body': StreamingBody(),
    'ContentType': 'image/jpeg',
    'ContentLength': 123,
    'ETag': 'string',
    'LastModified': datetime(2015, 1, 1)
}

Response Structure

  • (dict) -- Latest InputDevice Thumbnail

    • Body (:class:`.StreamingBody`) -- The binary data for the thumbnail that the Link device has most recently sent to MediaLive.

    • ContentType (string) -- Specifies the media type of the thumbnail.

    • ContentLength (integer) -- The length of the content.

    • ETag (string) -- The unique, cacheable version of this thumbnail.

    • LastModified (datetime) -- The date and time the thumbnail was last updated at the device.