AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket.
You can't export snapshot data from RDS Custom DB instances. For more information, see Supported Regions and DB engines for exporting snapshots to S3 in Amazon RDS.
For more information on exporting DB snapshot data, see Exporting DB snapshot data to Amazon S3 in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon S3 in the Amazon Aurora User Guide.
For more information on exporting DB cluster data, see Exporting DB cluster data to Amazon S3 in the Amazon Aurora User Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to StartExportTaskAsync.
Namespace: Amazon.RDS
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public abstract StartExportTaskResponse StartExportTask( StartExportTaskRequest request )
Container for the necessary parameters to execute the StartExportTask service method.
Exception | Condition |
---|---|
DBClusterNotFoundException | DBClusterIdentifier doesn't refer to an existing DB cluster. |
DBClusterSnapshotNotFoundException | DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. |
DBSnapshotNotFoundException | DBSnapshotIdentifier doesn't refer to an existing DB snapshot. |
ExportTaskAlreadyExistsException | You can't start an export task that's already running. |
IamRoleMissingPermissionsException | The IAM role requires additional permissions to export to an Amazon S3 bucket. |
IamRoleNotFoundException | The IAM role is missing for exporting to an Amazon S3 bucket. |
InvalidExportOnlyException | The export is invalid for exporting to an Amazon S3 bucket. |
InvalidExportSourceStateException | The state of the export snapshot is invalid for exporting to an Amazon S3 bucket. |
InvalidS3BucketException | The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and S3IngestionRoleArn values and try again. |
KMSKeyNotAccessibleException | An error occurred accessing an Amazon Web Services KMS key. |
.NET Framework:
Supported in: 4.5 and newer, 3.5