Import database from file

Returns a pre-signed URL for use in importing smaller databases. The pre-signed URL provides temporary access to an S3 bucket.

The client should upload a MDF, BAK, or DACPAC database artifact to the URL before initiating an import job. For step-by-step instructions on importing small databases to Data Bridge using Data Bridge and AWS APIs, see Import Small Databases.

📷

Database Size Limits

Use this operation to import databases that are no larger than 100GB in size. To upload larger databases, import the database in multiple parts using the Import/Upload API. To learn more, see Import Large Databases."

Path Params
string
required

Name of managed SQL Server instance.

string
required

Name of database.

Query Params
int32
enum

Format of database artifact. One of 0 (MDF), 1 (BAK), 2 (DACPAC).
If undefined, 1 (BAK) is default.

Allowed:
Body Params
groupIds
array of strings | null

List of groups that can access the database identified
by groupId.

groupIds
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Bad Request. Some of the provided parameters were not valid.

404

Not found. The entity you are trying to interact with does not
exist.

409

Conflict. The requested resource already exists.

500

Internal Server Error. If the problem persists you may want to
contact the Administrator.

Language
URL
Response
Choose an example:
application/json
text/plain
text/json