:doc:`MediaLive <../../medialive>` / Client / describe_input_device_thumbnail

*******************************
describe_input_device_thumbnail
*******************************



.. py:method:: MediaLive.Client.describe_input_device_thumbnail(**kwargs)

  Get the latest thumbnail data for the input device.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail>`_  


  **Request Syntax**
  ::

    response = 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.
  
  **Exceptions**
  
  *   :py:class:`MediaLive.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaLive.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaLive.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaLive.Client.exceptions.BadGatewayException`

  
  *   :py:class:`MediaLive.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaLive.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`MediaLive.Client.exceptions.TooManyRequestsException`

  