:doc:`MediaConnect <../../mediaconnect>` / Client / describe_flow_source_thumbnail

******************************
describe_flow_source_thumbnail
******************************



.. py:method:: MediaConnect.Client.describe_flow_source_thumbnail(**kwargs)

  

  Describes the thumbnail for the flow source.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowSourceThumbnail>`_  


  **Request Syntax**
  ::

    response = client.describe_flow_source_thumbnail(
        FlowArn='string'
    )
    
  :type FlowArn: string
  :param FlowArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the flow.

    

  
  
  :rtype: 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) --* 
      

      - **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) --* 

            The details of an error message.

            
            

            - **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**
  
  *   :py:class:`MediaConnect.Client.exceptions.BadRequestException`

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

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

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

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

  
  *   :py:class:`MediaConnect.Client.exceptions.ServiceUnavailableException`

  