Skip to main content

exports

Creates, updates, deletes, gets or lists an exports resource.

Overview

Nameexports
TypeResource
Idaws.dynamodb.exports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
billed_size_bytesinteger (int64)The billable size of the table export.
client_tokenstringThe client token that was provided for the export task. A client token makes calls to ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect as one single call. (pattern: <code>^[^$]+$</code>)
end_timestring (date-time)The time at which the export task completed.
export_arnstringThe Amazon Resource Name (ARN) of the table export.
export_formatstringThe format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or ION. (DYNAMODB_JSON, ION)
export_manifeststringThe name of the manifest file for the export task.
export_statusstringExport can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. (IN_PROGRESS, COMPLETED, FAILED)
export_timestring (date-time)Point in time from which table data was exported.
export_typestringThe type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. (FULL_EXPORT, INCREMENTAL_EXPORT)
failure_codestringStatus code for the result of the failed export.
failure_messagestringExport failure reason description.
incremental_export_specificationobjectOptional object containing the parameters specific to an incremental export.
item_countinteger (int64)The number of items exported.
s3_bucketstringThe name of the Amazon S3 bucket containing the export. (pattern: <code>^[a-z0-9A-Z]+[.-\w]*[a-z0-9A-Z]+$</code>)
s3_bucket_ownerstringThe ID of the Amazon Web Services account that owns the bucket containing the export. (pattern: <code>[0-9]{12}</code>)
s3_prefixstringThe Amazon S3 bucket prefix used as the file name and path of the exported snapshot.
s3_sse_algorithmstringType of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm are: AES256 - server-side encryption with Amazon S3 managed keys KMS - server-side encryption with KMS managed keys (AES256, KMS)
s3_sse_kms_key_idstringThe ID of the KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable).
start_timestring (date-time)The time at which the export task began.
table_arnstringThe Amazon Resource Name (ARN) of the table that was exported.
table_idstringUnique ID of the table that was exported. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_exportselectregionDescribes an existing table export.
list_exportsselectregionLists completed exports within the past 90 days, in reverse alphanumeric order of ExportArn.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes an existing table export.

SELECT
billed_size_bytes,
client_token,
end_time,
export_arn,
export_format,
export_manifest,
export_status,
export_time,
export_type,
failure_code,
failure_message,
incremental_export_specification,
item_count,
s3_bucket,
s3_bucket_owner,
s3_prefix,
s3_sse_algorithm,
s3_sse_kms_key_id,
start_time,
table_arn,
table_id
FROM aws.dynamodb.exports
WHERE region = '{{ region }}' -- required
;