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
Request Syntax
response = client.get_upload_status(
uploadId='string'
)
[REQUIRED]
The ID of the upload. This value is returned by the UploadEntityDefinitions
action.
{
'uploadId': 'string',
'uploadStatus': 'IN_PROGRESS'|'SUCCEEDED'|'FAILED',
'namespaceArn': 'string',
'namespaceName': 'string',
'namespaceVersion': 123,
'failureReason': [
'string',
],
'createdDate': datetime(2015, 1, 1)
}
Response Structure
The ID of the upload.
The status of the upload. The initial status is IN_PROGRESS
. The response show all validation failures if the upload fails.
The ARN of the upload.
The name of the upload's namespace.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
The reason for an upload failure.
The date at which the upload was created.
Exceptions
IoTThingsGraph.Client.exceptions.InvalidRequestException
IoTThingsGraph.Client.exceptions.ResourceNotFoundException
IoTThingsGraph.Client.exceptions.InternalFailureException
IoTThingsGraph.Client.exceptions.ThrottlingException