upload_status
Creates, updates, deletes, gets or lists a upload_status resource.
Overview
| Name | upload_status |
| Type | Resource |
| Id | aws.iotthingsgraph.upload_status |
Fields
The following fields are returned by SELECT queries:
- get_upload_status
| Name | Datatype | Description |
|---|---|---|
created_date | string (date-time) | The date at which the upload was created. |
failure_reason | array | The reason for an upload failure. |
namespace_arn | string | The ARN of the upload. |
namespace_name | string | The name of the upload's namespace. |
namespace_version | integer (int64) | The version of the user's namespace. Defaults to the latest version of the user's namespace. |
upload_id | string | The ID of the upload. |
upload_status | string | The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails. (IN_PROGRESS, SUCCEEDED, FAILED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_upload_status | select | region | Gets the status of the specified upload. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_upload_status
Gets the status of the specified upload.
SELECT
created_date,
failure_reason,
namespace_arn,
namespace_name,
namespace_version,
upload_id,
upload_status
FROM aws.iotthingsgraph.upload_status
WHERE region = '{{ region }}' -- required
;