Importing AWS Data Exchange assets from an S3 bucket
When you import assets from Amazon S3 to AWS Data Exchange, the AWS Identity and Access Management (IAM) permissions you use must include the ability to write to the AWS Data Exchange service S3 buckets and to read from the S3 bucket where your assets are stored. You can import from any S3 bucket that you have permission to access, regardless of ownership. For more information, see Amazon S3 permissions.
You can import up to 100 assets in a single job.
Importing assets from an S3 bucket (AWS SDKs)
To import assets from an Amazon S3 bucket (AWS SDKs)
-
Create a
CreateJob
request of typeIMPORT_ASSETS_FROM_S3
. -
Include the following in the request:
-
AssetSources
-
Bucket
-
Key
-
-
DataSetID
-
RevisionID
-
-
Start the
CreateJob
request with aStartJob
operation that requires theJobId
returned in step 1. -
(Optional) Update the assets' name property after they are created.
Importing assets from an S3 bucket (console)
To import an asset from an S3 bucket (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 revision 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 Jobs section, choose Import from Amazon S3.
-
Follow the prompts in the Import from Amazon S3 window, and then choose Import assets.
A job is started to import your asset into your data set. After the job is finished, the State field in the Jobs section is updated to Completed.