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