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.
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
For .NET Core this operation is only available in asynchronous form. Please refer to RefreshSchemasAsync.
Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public abstract RefreshSchemasResponse RefreshSchemas( RefreshSchemasRequest request )
Container for the necessary parameters to execute the RefreshSchemas service method.
Exception | Condition |
---|---|
InvalidResourceStateException | The resource is in a state that prevents it from being used for database migration. |
KMSKeyNotAccessibleException | DMS cannot access the KMS key. |
ResourceNotFoundException | The resource could not be found. |
ResourceQuotaExceededException | The quota for this resource quota has been exceeded. |
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the describe-refresh-schemas-status operation.
var client = new AmazonDatabaseMigrationServiceClient(); var response = client.RefreshSchemas(new RefreshSchemasRequest { EndpointArn = "", ReplicationInstanceArn = "" }); RefreshSchemasStatus refreshSchemasStatus = response.RefreshSchemasStatus;
.NET Framework:
Supported in: 4.5, 4.0, 3.5