Glue / Client / put_data_catalog_export_configuration

put_data_catalog_export_configuration

Glue.Client.put_data_catalog_export_configuration(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.put_data_catalog_export_configuration(
    ExportSetting='ENABLED'|'DISABLED',
    EncryptionConfiguration={
        'SseAlgorithm': 'string',
        'KmsKeyArn': 'string'
    },
    ClientToken='string'
)
Parameters:
  • ExportSetting (string) –

    [REQUIRED]

    The export setting for the data catalog. Specify ENABLED to start exporting catalog metadata to S3 Tables, or DISABLED to stop exporting. This field is required.

  • EncryptionConfiguration (dict) –

    The encryption configuration for the exported data. If not specified, the default encryption settings are used.

    • SseAlgorithm (string) –

      The server-side encryption algorithm used for the exported data. Valid values are AES256 and aws:kms.

    • KmsKeyArn (string) –

      The ARN of the KMS key used to encrypt the exported data.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'ExportSetting': 'ENABLED'|'DISABLED',
    'EncryptionConfiguration': {
        'SseAlgorithm': 'string',
        'KmsKeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • ExportSetting (string) –

      The export setting for the data catalog.

    • EncryptionConfiguration (dict) –

      The encryption configuration for the exported data.

      • SseAlgorithm (string) –

        The server-side encryption algorithm used for the exported data. Valid values are AES256 and aws:kms.

      • KmsKeyArn (string) –

        The ARN of the KMS key used to encrypt the exported data.

Exceptions

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.AccessDeniedException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.ThrottlingException

  • Glue.Client.exceptions.ConflictException