Skip to content

Put Data Export Configuration

datazone_put_data_export_configuration R Documentation

Creates data export configuration details

Description

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:

  1. Delete the export configuration for the currently enabled domain using the DeleteDataExportConfiguration operation.

  2. Delete the asset S3 table under the aws-sagemaker-catalog S3 table bucket. We recommend backing up the S3 table before deletion.

  3. Call the PutDataExportConfiguration API to enable export for the new domain.

Usage

datazone_put_data_export_configuration(domainIdentifier, enableExport,
  encryptionConfiguration, clientToken)

Arguments

domainIdentifier

[required] The domain ID for which you want to create data export configuration details.

enableExport

[required] Specifies that the export is to be enabled as part of creating data export configuration details.

encryptionConfiguration

The encryption configuration as part of creating data export configuration details.

The KMS key provided here as part of encryptionConfiguration must have the required permissions as described in KMS permissions for exporting asset metadata in Amazon SageMaker Unified Studio.

clientToken

A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.

Value

An empty list.

Request syntax

svc$put_data_export_configuration(
  domainIdentifier = "string",
  enableExport = TRUE|FALSE,
  encryptionConfiguration = list(
    kmsKeyArn = "string",
    sseAlgorithm = "string"
  ),
  clientToken = "string"
)