Skip to main content

data_catalog_export_configurations

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

Overview​

Namedata_catalog_export_configurations
TypeResource
Idaws.glue.data_catalog_export_configurations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp at which the export configuration was created.
encryption_configurationobjectThe encryption configuration for the exported data.
export_settingstringThe export setting for the data catalog. Valid values are ENABLED and DISABLED. (ENABLED, DISABLED)
s3_table_bucket_arnstringThe ARN of the S3 Tables bucket where catalog metadata is exported.
statusstringThe current status of the export. Valid values are ENABLING, ENABLED, DISABLING, DISABLED, and FAILED. (ENABLING, ENABLED, DISABLING, DISABLED, FAILED)
updated_atstring (date-time)The timestamp at which the export configuration was last updated.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_catalog_export_configurationselectregionRetrieves the current export configuration for the Glue Data Catalog. The export configuration controls whether catalog metadata is exported to S3 Tables.
put_data_catalog_export_configurationreplaceregion, ExportSettingCreates or updates the export configuration for the Glue Data Catalog. Use this operation to enable or disable the export of catalog metadata to S3 Tables.

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​

Retrieves the current export configuration for the Glue Data Catalog. The export configuration controls whether catalog metadata is exported to S3 Tables.

SELECT
created_at,
encryption_configuration,
export_setting,
s3_table_bucket_arn,
status,
updated_at
FROM aws.glue.data_catalog_export_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples​

Creates or updates the export configuration for the Glue Data Catalog. Use this operation to enable or disable the export of catalog metadata to S3 Tables.

REPLACE aws.glue.data_catalog_export_configurations
SET
ExportSetting = '{{ ExportSetting }}',
EncryptionConfiguration = '{{ EncryptionConfiguration }}',
ClientToken = '{{ ClientToken }}'
WHERE
region = '{{ region }}' --required
AND ExportSetting = '{{ ExportSetting }}' --required
RETURNING
encryption_configuration,
export_setting;