Skip to main content

data_export_configurations

Creates, updates, deletes, gets or lists a data_export_configurations resource.

Overview

Namedata_export_configurations
TypeResource
Idaws.datazone.data_export_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp at which the data export configuration report was created.
encryption_configurationobjectThe encryption configuration as part of the data export configuration details.
is_export_enabledbooleanSpecifies whether the export is enabled.
s_3_table_bucket_arnstringThe Amazon S3 table bucket ARN as part of the data export configuration details.
statusstringThe status of the data export configuration. (COMPLETED, FAILED)
updated_atstring (date-time)The timestamp at which the data export configuration report was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_export_configurationselectdomain_identifier, regionGets data export configuration details.
put_data_export_configurationreplacedomain_identifier, region, enableExportCreates data export configuration details. If you want to temporarily disable export and later re-enable it for the same domain, use the --no-enable-export flag to disable and the --enable-export flag to re-enable. This preserves the configuration and allows you to re-enable export without deleting S3 table. You can enable asset metadata export for only one domain per account per Region. To enable export for a different domain, complete the following steps: Delete the export configuration for the currently enabled domain using the DeleteDataExportConfiguration operation. Delete the asset S3 table under the aws-sagemaker-catalog S3 table bucket. We recommend backing up the S3 table before deletion. Call the PutDataExportConfiguration API to enable export for the new domain.
delete_data_export_configurationdeletedomain_identifier, regionDeletes data export configuration for a domain. This operation does not delete the S3 table created by the PutDataExportConfiguration operation. To temporarily disable export without deleting the configuration, use the PutDataExportConfiguration operation with the --no-enable-export flag instead. This allows you to re-enable export for the same domain using the --enable-export flag without deleting S3 table.

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
domain_identifierstringThe domain ID for which you want to delete the data export configuration.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets data export configuration details.

SELECT
created_at,
encryption_configuration,
is_export_enabled,
s_3_table_bucket_arn,
status,
updated_at
FROM aws.datazone.data_export_configurations
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND region = '{{ region }}' -- required
;

REPLACE examples

Creates data export configuration details. If you want to temporarily disable export and later re-enable it for the same domain, use the --no-enable-export flag to disable and the --enable-export flag to re-enable. This preserves the configuration and allows you to re-enable export without deleting S3 table. You can enable asset metadata export for only one domain per account per Region. To enable export for a different domain, complete the following steps: Delete the export configuration for the currently enabled domain using the DeleteDataExportConfiguration operation. Delete the asset S3 table under the aws-sagemaker-catalog S3 table bucket. We recommend backing up the S3 table before deletion. Call the PutDataExportConfiguration API to enable export for the new domain.

REPLACE aws.datazone.data_export_configurations
SET
enableExport = {{ enableExport }},
encryptionConfiguration = '{{ encryptionConfiguration }}',
clientToken = '{{ clientToken }}'
WHERE
domain_identifier = '{{ domain_identifier }}' --required
AND region = '{{ region }}' --required
AND enableExport = {{ enableExport }} --required;

DELETE examples

Deletes data export configuration for a domain. This operation does not delete the S3 table created by the PutDataExportConfiguration operation. To temporarily disable export without deleting the configuration, use the PutDataExportConfiguration operation with the --no-enable-export flag instead. This allows you to re-enable export for the same domain using the --enable-export flag without deleting S3 table.

DELETE FROM aws.datazone.data_export_configurations
WHERE domain_identifier = '{{ domain_identifier }}' --required
AND region = '{{ region }}' --required
;