Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

describe_input_device_thumbnail

describe_input_device_thumbnail(**kwargs)

Get the latest thumbnail data for the input device.

See also: AWS API Documentation

Request Syntax

response = client.describe_input_device_thumbnail(
    InputDeviceId='string',
    Accept='image/jpeg'
)
Parameters
  • InputDeviceId (string) -- [REQUIRED] The unique ID of this input device. For example, hd-123456789abcdef.
  • Accept (string) -- [REQUIRED] The HTTP Accept header. Indicates the requested type for the thumbnail.
Return type

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 (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.

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