:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / get_upload_status

*****************
get_upload_status
*****************



.. py:method:: IoTThingsGraph.Client.get_upload_status(**kwargs)

  

  Gets the status of the specified upload.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetUploadStatus>`_  


  **Request Syntax**
  ::

    response = client.get_upload_status(
        uploadId='string'
    )
    
  :type uploadId: string
  :param uploadId: **[REQUIRED]** 

    The ID of the upload. This value is returned by the ``UploadEntityDefinitions`` action.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'uploadId': 'string',
          'uploadStatus': 'IN_PROGRESS'|'SUCCEEDED'|'FAILED',
          'namespaceArn': 'string',
          'namespaceName': 'string',
          'namespaceVersion': 123,
          'failureReason': [
              'string',
          ],
          'createdDate': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **uploadId** *(string) --* 

        The ID of the upload.

        
      

      - **uploadStatus** *(string) --* 

        The status of the upload. The initial status is ``IN_PROGRESS``. The response show all validation failures if the upload fails.

        
      

      - **namespaceArn** *(string) --* 

        The ARN of the upload.

        
      

      - **namespaceName** *(string) --* 

        The name of the upload's namespace.

        
      

      - **namespaceVersion** *(integer) --* 

        The version of the user's namespace. Defaults to the latest version of the user's namespace.

        
      

      - **failureReason** *(list) --* 

        The reason for an upload failure.

        
        

        - *(string) --* 
    
      

      - **createdDate** *(datetime) --* 

        The date at which the upload was created.

        
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ThrottlingException`

  