aws.workdocs.describe_document_versions
Example SQL Queries
SELECT * FROMaws.workdocs.describe_document_versionsWHERE"document_id" = 'VALUE';Description
Retrieves the document versions for the specified document.
By default, only active versions are returned.
Table Definition
| Column Name | Column Data Type |
|---|---|
| document_id Required Input Column The ID of the document. | VARCHAR |
| authentication_token Input Column Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. | VARCHAR |
| fields Input Column Specify "SOURCE" to include initialized versions and a URL for the source document. | VARCHAR |
| include Input Column A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| content_created_timestamp The timestamp when the content of the document was originally created. | TIMESTAMP_S |
| content_modified_timestamp The timestamp when the content of the document was modified. | TIMESTAMP_S |
| content_type The content type of the document. | VARCHAR |
| created_timestamp The timestamp when the document was first uploaded. | TIMESTAMP_S |
| creator_id The ID of the creator. | VARCHAR |
| id The ID of the version. | VARCHAR |
| modified_timestamp The timestamp when the document was last uploaded. | TIMESTAMP_S |
| name The name of the version. | VARCHAR |
| signature The signature of the document. | VARCHAR |
| size The size of the document, in bytes. | BIGINT |
| source The source of the document. | MAP(VARCHAR, VARCHAR) |
| status The status of the document. | VARCHAR |
| thumbnail The thumbnail of the document. | MAP(VARCHAR, VARCHAR) |