Importing AWS Data Exchange assets from an AWS Data Exchange datashare for Amazon Redshift
When you import assets using AWS Data Exchange datashare for Amazon Redshift, you can begin querying, analyzing, and operationalizing third-party Amazon Redshift tables after subscribing.
Importing assets from an AWS Data Exchange datashare for Amazon Redshift (AWS SDKs)
To import assets from an AWS Data Exchange datashare for Amazon Redshift (AWS SDKs)
-
Create a
CreateJob
request of typeIMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES
. -
Include the following in the request:
-
AssetSources
-
DataShareArn
-
-
DataSetID
-
RevisionID
-
-
Start the
CreateJob
request with aStartJob
operation that requires theJobId
returned in step 1. -
(Optional) Poll the
GetJob
operation to wait for the job to complete. -
(Optional) Update the assets' name property after they are created.
Importing assets from an AWS Data Exchange datashare for Amazon Redshift (console)
To import an asset from an ADE datashare (for Amazon Redshift console)
-
Open your web browser and sign in to the AWS Data Exchange console
. -
In the left side navigation pane, for Publish data, choose Owned data sets.
-
In Owned data sets, choose the data set that has the asset you want to update.
-
On the Revisions tab, choose Create revision to open the Create revision page.
-
For Revision settings, provide an optional comment for your revision that describes the purpose of the revision.
-
For Add tags – optional, add tags associated with the resource.
-
Choose Create.
Your new revision is created.
-
-
For the AWS Data Exchange datashares for Amazon Redshift section, choose Add datashares.
-
On the Add AWS Data Exchange datashare to revision page, select the datashare or datashares that you want to add.
-
Choose Add datashare(s).
A job is started to import your assets into your data set. After the job is finished, the State field in the Jobs section is updated to Completed.