AWS Database Migration Service 2016-01-01
- Client: Aws\DatabaseMigrationService\DatabaseMigrationServiceClient
- Service ID: dms
- Version: 2016-01-01
This page describes the parameters and results for the operations of the AWS Database Migration Service (2016-01-01), and shows how to use the Aws\DatabaseMigrationService\DatabaseMigrationServiceClient object to call the described operations. This documentation is specific to the 2016-01-01 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- AddTagsToResource ( array $params = [] )
- Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task.
- ApplyPendingMaintenanceAction ( array $params = [] )
- Applies a pending maintenance action to a resource (for example, to a replication instance).
- BatchStartRecommendations ( array $params = [] )
- Starts the analysis of up to 20 source databases to recommend target engines for each source database.
- CancelReplicationTaskAssessmentRun ( array $params = [] )
- Cancels a single premigration assessment run.
- CreateDataMigration ( array $params = [] )
- Creates a data migration using the provided settings.
- CreateDataProvider ( array $params = [] )
- Creates a data provider using the provided settings.
- CreateEndpoint ( array $params = [] )
- Creates an endpoint using the provided settings.
- CreateEventSubscription ( array $params = [] )
- Creates an DMS event notification subscription.
- CreateFleetAdvisorCollector ( array $params = [] )
- Creates a Fleet Advisor collector using the specified parameters.
- CreateInstanceProfile ( array $params = [] )
- Creates the instance profile using the specified parameters.
- CreateMigrationProject ( array $params = [] )
- Creates the migration project using the specified parameters.
- CreateReplicationConfig ( array $params = [] )
- Creates a configuration that you can later provide to configure and start an DMS Serverless replication.
- CreateReplicationInstance ( array $params = [] )
- Creates the replication instance using the specified parameters.
- CreateReplicationSubnetGroup ( array $params = [] )
- Creates a replication subnet group given a list of the subnet IDs in a VPC.
- CreateReplicationTask ( array $params = [] )
- Creates a replication task using the specified parameters.
- DeleteCertificate ( array $params = [] )
- Deletes the specified certificate.
- DeleteConnection ( array $params = [] )
- Deletes the connection between a replication instance and an endpoint.
- DeleteDataMigration ( array $params = [] )
- Deletes the specified data migration.
- DeleteDataProvider ( array $params = [] )
- Deletes the specified data provider.
- DeleteEndpoint ( array $params = [] )
- Deletes the specified endpoint.
- DeleteEventSubscription ( array $params = [] )
- Deletes an DMS event subscription.
- DeleteFleetAdvisorCollector ( array $params = [] )
- Deletes the specified Fleet Advisor collector.
- DeleteFleetAdvisorDatabases ( array $params = [] )
- Deletes the specified Fleet Advisor collector databases.
- DeleteInstanceProfile ( array $params = [] )
- Deletes the specified instance profile.
- DeleteMigrationProject ( array $params = [] )
- Deletes the specified migration project.
- DeleteReplicationConfig ( array $params = [] )
- Deletes an DMS Serverless replication configuration.
- DeleteReplicationInstance ( array $params = [] )
- Deletes the specified replication instance.
- DeleteReplicationSubnetGroup ( array $params = [] )
- Deletes a subnet group.
- DeleteReplicationTask ( array $params = [] )
- Deletes the specified replication task.
- DeleteReplicationTaskAssessmentRun ( array $params = [] )
- Deletes the record of a single premigration assessment run.
- DescribeAccountAttributes ( array $params = [] )
- Lists all of the DMS attributes for a customer account.
- DescribeApplicableIndividualAssessments ( array $params = [] )
- Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.
- DescribeCertificates ( array $params = [] )
- Provides a description of the certificate.
- DescribeConnections ( array $params = [] )
- Describes the status of the connections that have been made between the replication instance and an endpoint.
- DescribeConversionConfiguration ( array $params = [] )
- Returns configuration parameters for a schema conversion project.
- DescribeDataMigrations ( array $params = [] )
- Returns information about data migrations.
- DescribeDataProviders ( array $params = [] )
- Returns a paginated list of data providers for your account in the current region.
- DescribeEndpointSettings ( array $params = [] )
- Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.
- DescribeEndpointTypes ( array $params = [] )
- Returns information about the type of endpoints available.
- DescribeEndpoints ( array $params = [] )
- Returns information about the endpoints for your account in the current region.
- DescribeEngineVersions ( array $params = [] )
- Returns information about the replication instance versions used in the project.
- DescribeEventCategories ( array $params = [] )
- Lists categories for all event source types, or, if specified, for a specified source type.
- DescribeEventSubscriptions ( array $params = [] )
- Lists all the event subscriptions for a customer account.
- DescribeEvents ( array $params = [] )
- Lists events for a given source identifier and source type.
- DescribeExtensionPackAssociations ( array $params = [] )
- Returns a paginated list of extension pack associations for the specified migration project.
- DescribeFleetAdvisorCollectors ( array $params = [] )
- Returns a list of the Fleet Advisor collectors in your account.
- DescribeFleetAdvisorDatabases ( array $params = [] )
- Returns a list of Fleet Advisor databases in your account.
- DescribeFleetAdvisorLsaAnalysis ( array $params = [] )
- Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
- DescribeFleetAdvisorSchemaObjectSummary ( array $params = [] )
- Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
- DescribeFleetAdvisorSchemas ( array $params = [] )
- Returns a list of schemas detected by Fleet Advisor Collectors in your account.
- DescribeInstanceProfiles ( array $params = [] )
- Returns a paginated list of instance profiles for your account in the current region.
- DescribeMetadataModelAssessments ( array $params = [] )
- Returns a paginated list of metadata model assessments for your account in the current region.
- DescribeMetadataModelConversions ( array $params = [] )
- Returns a paginated list of metadata model conversions for a migration project.
- DescribeMetadataModelExportsAsScript ( array $params = [] )
- Returns a paginated list of metadata model exports.
- DescribeMetadataModelExportsToTarget ( array $params = [] )
- Returns a paginated list of metadata model exports.
- DescribeMetadataModelImports ( array $params = [] )
- Returns a paginated list of metadata model imports.
- DescribeMigrationProjects ( array $params = [] )
- Returns a paginated list of migration projects for your account in the current region.
- DescribeOrderableReplicationInstances ( array $params = [] )
- Returns information about the replication instance types that can be created in the specified region.
- DescribePendingMaintenanceActions ( array $params = [] )
- For internal use only
- DescribeRecommendationLimitations ( array $params = [] )
- Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
- DescribeRecommendations ( array $params = [] )
- Returns a paginated list of target engine recommendations for your source databases.
- DescribeRefreshSchemasStatus ( array $params = [] )
- Returns the status of the RefreshSchemas operation.
- DescribeReplicationConfigs ( array $params = [] )
- Returns one or more existing DMS Serverless replication configurations as a list of structures.
- DescribeReplicationInstanceTaskLogs ( array $params = [] )
- Returns information about the task logs for the specified task.
- DescribeReplicationInstances ( array $params = [] )
- Returns information about replication instances for your account in the current region.
- DescribeReplicationSubnetGroups ( array $params = [] )
- Returns information about the replication subnet groups.
- DescribeReplicationTableStatistics ( array $params = [] )
- Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.
- DescribeReplicationTaskAssessmentResults ( array $params = [] )
- Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account.
- DescribeReplicationTaskAssessmentRuns ( array $params = [] )
- Returns a paginated list of premigration assessment runs based on filter settings.
- DescribeReplicationTaskIndividualAssessments ( array $params = [] )
- Returns a paginated list of individual assessments based on filter settings.
- DescribeReplicationTasks ( array $params = [] )
- Returns information about replication tasks for your account in the current region.
- DescribeReplications ( array $params = [] )
- Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.
- DescribeSchemas ( array $params = [] )
- Returns information about the schema for the specified endpoint.
- DescribeTableStatistics ( array $params = [] )
- Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
- ExportMetadataModelAssessment ( array $params = [] )
- Saves a copy of a database migration assessment report to your Amazon S3 bucket.
- ImportCertificate ( array $params = [] )
- Uploads the specified certificate.
- ListTagsForResource ( array $params = [] )
- Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task.
- ModifyConversionConfiguration ( array $params = [] )
- Modifies the specified schema conversion configuration using the provided parameters.
- ModifyDataMigration ( array $params = [] )
- Modifies an existing DMS data migration.
- ModifyDataProvider ( array $params = [] )
- Modifies the specified data provider using the provided settings.
- ModifyEndpoint ( array $params = [] )
- Modifies the specified endpoint.
- ModifyEventSubscription ( array $params = [] )
- Modifies an existing DMS event notification subscription.
- ModifyInstanceProfile ( array $params = [] )
- Modifies the specified instance profile using the provided parameters.
- ModifyMigrationProject ( array $params = [] )
- Modifies the specified migration project using the provided parameters.
- ModifyReplicationConfig ( array $params = [] )
- Modifies an existing DMS Serverless replication configuration that you can use to start a replication.
- ModifyReplicationInstance ( array $params = [] )
- Modifies the replication instance to apply new settings.
- ModifyReplicationSubnetGroup ( array $params = [] )
- Modifies the settings for the specified replication subnet group.
- ModifyReplicationTask ( array $params = [] )
- Modifies the specified replication task.
- MoveReplicationTask ( array $params = [] )
- Moves a replication task from its current replication instance to a different target replication instance using the specified parameters.
- RebootReplicationInstance ( array $params = [] )
- Reboots a replication instance.
- RefreshSchemas ( array $params = [] )
- Populates the schema for the specified endpoint.
- ReloadReplicationTables ( array $params = [] )
- Reloads the target database table with the source data for a given DMS Serverless replication configuration.
- ReloadTables ( array $params = [] )
- Reloads the target database table with the source data.
- RemoveTagsFromResource ( array $params = [] )
- Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task.
- RunFleetAdvisorLsaAnalysis ( array $params = [] )
- Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
- StartDataMigration ( array $params = [] )
- Starts the specified data migration.
- StartExtensionPackAssociation ( array $params = [] )
- Applies the extension pack to your target database.
- StartMetadataModelAssessment ( array $params = [] )
- Creates a database migration assessment report by assessing the migration complexity for your source database.
- StartMetadataModelConversion ( array $params = [] )
- Converts your source database objects to a format compatible with the target database.
- StartMetadataModelExportAsScript ( array $params = [] )
- Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
- StartMetadataModelExportToTarget ( array $params = [] )
- Applies converted database objects to your target database.
- StartMetadataModelImport ( array $params = [] )
- Loads the metadata for all the dependent database objects of the parent object.
- StartRecommendations ( array $params = [] )
- Starts the analysis of your source database to provide recommendations of target engines.
- StartReplication ( array $params = [] )
- For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload.
- StartReplicationTask ( array $params = [] )
- Starts the replication task.
- StartReplicationTaskAssessment ( array $params = [] )
- Starts the replication task assessment for unsupported data types in the source database.
- StartReplicationTaskAssessmentRun ( array $params = [] )
- Starts a new premigration assessment run for one or more individual assessments of a migration task.
- StopDataMigration ( array $params = [] )
- Stops the specified data migration.
- StopReplication ( array $params = [] )
- For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications.
- StopReplicationTask ( array $params = [] )
- Stops the replication task.
- TestConnection ( array $params = [] )
- Tests the connection between the replication instance and the endpoint.
- UpdateSubscriptionsToEventBridge ( array $params = [] )
- Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- DescribeApplicableIndividualAssessments
- DescribeCertificates
- DescribeConnections
- DescribeDataMigrations
- DescribeDataProviders
- DescribeEndpointSettings
- DescribeEndpointTypes
- DescribeEndpoints
- DescribeEngineVersions
- DescribeEventSubscriptions
- DescribeEvents
- DescribeExtensionPackAssociations
- DescribeFleetAdvisorCollectors
- DescribeFleetAdvisorDatabases
- DescribeFleetAdvisorLsaAnalysis
- DescribeFleetAdvisorSchemaObjectSummary
- DescribeFleetAdvisorSchemas
- DescribeInstanceProfiles
- DescribeMetadataModelAssessments
- DescribeMetadataModelConversions
- DescribeMetadataModelExportsAsScript
- DescribeMetadataModelExportsToTarget
- DescribeMetadataModelImports
- DescribeMigrationProjects
- DescribeOrderableReplicationInstances
- DescribePendingMaintenanceActions
- DescribeRecommendationLimitations
- DescribeRecommendations
- DescribeReplicationConfigs
- DescribeReplicationInstanceTaskLogs
- DescribeReplicationInstances
- DescribeReplicationSubnetGroups
- DescribeReplicationTableStatistics
- DescribeReplicationTaskAssessmentResults
- DescribeReplicationTaskAssessmentRuns
- DescribeReplicationTaskIndividualAssessments
- DescribeReplicationTasks
- DescribeReplications
- DescribeSchemas
- DescribeTableStatistics
Waiters
Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:
Waiter name | API Operation | Delay | Max Attempts |
---|---|---|---|
TestConnectionSucceeds | DescribeConnections | 5 | 60 |
EndpointDeleted | DescribeEndpoints | 5 | 60 |
ReplicationInstanceAvailable | DescribeReplicationInstances | 60 | 60 |
ReplicationInstanceDeleted | DescribeReplicationInstances | 15 | 60 |
ReplicationTaskReady | DescribeReplicationTasks | 15 | 60 |
ReplicationTaskStopped | DescribeReplicationTasks | 15 | 60 |
ReplicationTaskRunning | DescribeReplicationTasks | 15 | 60 |
ReplicationTaskDeleted | DescribeReplicationTasks | 15 | 60 |
Operations
AddTagsToResource
$result = $client->addTagsToResource
([/* ... */]); $promise = $client->addTagsToResourceAsync
([/* ... */]);
Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see Tag
data type description.
Parameter Syntax
$result = $client->addTagsToResource([ 'ResourceArn' => '<string>', // REQUIRED 'Tags' => [ // REQUIRED [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
Identifies the DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).
For DMS, you can tag a replication instance, an endpoint, or a replication task.
- Tags
-
- Required: Yes
- Type: Array of Tag structures
One or more tags to be assigned to the resource.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Add tags to resource
Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.
$result = $client->addTagsToResource([ 'ResourceArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', // Required. Use the ARN of the resource you want to tag. 'Tags' => [ [ 'Key' => 'Acount', 'Value' => '1633456', ], ], // Required. Use the Key/Value pair format. ]);
Result syntax:
[ ]
ApplyPendingMaintenanceAction
$result = $client->applyPendingMaintenanceAction
([/* ... */]); $promise = $client->applyPendingMaintenanceActionAsync
([/* ... */]);
Applies a pending maintenance action to a resource (for example, to a replication instance).
Parameter Syntax
$result = $client->applyPendingMaintenanceAction([ 'ApplyAction' => '<string>', // REQUIRED 'OptInType' => '<string>', // REQUIRED 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ApplyAction
-
- Required: Yes
- Type: string
The pending maintenance action to apply to this resource.
Valid values:
os-upgrade
,system-update
,db-upgrade
- OptInType
-
- Required: Yes
- Type: string
A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of type
immediate
.Valid values:
-
immediate
- Apply the maintenance action immediately. -
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource. -
undo-opt-in
- Cancel any existingnext-maintenance
opt-in requests.
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.
Result Syntax
[ 'ResourcePendingMaintenanceActions' => [ 'PendingMaintenanceActionDetails' => [ [ 'Action' => '<string>', 'AutoAppliedAfterDate' => <DateTime>, 'CurrentApplyDate' => <DateTime>, 'Description' => '<string>', 'ForcedApplyDate' => <DateTime>, 'OptInStatus' => '<string>', ], // ... ], 'ResourceIdentifier' => '<string>', ], ]
Result Details
Members
- ResourcePendingMaintenanceActions
-
- Type: ResourcePendingMaintenanceActions structure
The DMS resource that the pending maintenance action will be applied to.
Errors
- ResourceNotFoundFault:
The resource could not be found.
BatchStartRecommendations
$result = $client->batchStartRecommendations
([/* ... */]); $promise = $client->batchStartRecommendationsAsync
([/* ... */]);
Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations.
The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200
.
Parameter Syntax
$result = $client->batchStartRecommendations([ 'Data' => [ [ 'DatabaseId' => '<string>', // REQUIRED 'Settings' => [ // REQUIRED 'InstanceSizingType' => '<string>', // REQUIRED 'WorkloadType' => '<string>', // REQUIRED ], ], // ... ], ]);
Parameter Details
Members
- Data
-
- Type: Array of StartRecommendationsRequestEntry structures
Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.
Result Syntax
[ 'ErrorEntries' => [ [ 'Code' => '<string>', 'DatabaseId' => '<string>', 'Message' => '<string>', ], // ... ], ]
Result Details
Members
- ErrorEntries
-
- Type: Array of BatchStartRecommendationsErrorEntry structures
A list with error details about the analysis of each source database.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
CancelReplicationTaskAssessmentRun
$result = $client->cancelReplicationTaskAssessmentRun
([/* ... */]); $promise = $client->cancelReplicationTaskAssessmentRunAsync
([/* ... */]);
Cancels a single premigration assessment run.
This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.
Parameter Syntax
$result = $client->cancelReplicationTaskAssessmentRun([ 'ReplicationTaskAssessmentRunArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskAssessmentRunArn
-
- Required: Yes
- Type: string
Amazon Resource Name (ARN) of the premigration assessment run to be canceled.
Result Syntax
[ 'ReplicationTaskAssessmentRun' => [ 'AssessmentProgress' => [ 'IndividualAssessmentCompletedCount' => <integer>, 'IndividualAssessmentCount' => <integer>, ], 'AssessmentRunName' => '<string>', 'IsLatestTaskAssessmentRun' => true || false, 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ResultStatistic' => [ 'Cancelled' => <integer>, 'Error' => <integer>, 'Failed' => <integer>, 'Passed' => <integer>, 'Warning' => <integer>, ], 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The
ReplicationTaskAssessmentRun
object for the canceled assessment run.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
CreateDataMigration
$result = $client->createDataMigration
([/* ... */]); $promise = $client->createDataMigrationAsync
([/* ... */]);
Creates a data migration using the provided settings.
Parameter Syntax
$result = $client->createDataMigration([ 'DataMigrationName' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', // REQUIRED 'EnableCloudwatchLogs' => true || false, 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', 'ServiceAccessRoleArn' => '<string>', // REQUIRED 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <integer || string || DateTime>, 'CDCStopTime' => <integer || string || DateTime>, 'SlotName' => '<string>', ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- DataMigrationName
-
- Type: string
A user-friendly name for the data migration. Data migration names have the following constraints:
-
Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.
-
Can't end with a hyphen or contain two consecutive hyphens.
-
Length must be from 1 to 255 characters.
- DataMigrationType
-
- Required: Yes
- Type: string
Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- EnableCloudwatchLogs
-
- Type: boolean
Specifies whether to enable CloudWatch logs for the data migration.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
An identifier for the migration project.
- NumberOfJobs
-
- Type: int
The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
- SelectionRules
-
- Type: string
An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.
- ServiceAccessRoleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.
- SourceDataSettings
-
- Type: Array of SourceDataSetting structures
Specifies information about the source data provider.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the data migration.
Result Syntax
[ 'DataMigration' => [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], ]
Result Details
Members
- DataMigration
-
- Type: DataMigration structure
Information about the created data migration.
Errors
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- InvalidOperationFault:
The action or operation requested isn't valid.
- FailedDependencyFault:
A dependency threw an exception.
CreateDataProvider
$result = $client->createDataProvider
([/* ... */]); $promise = $client->createDataProviderAsync
([/* ... */]);
Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.
Parameter Syntax
$result = $client->createDataProvider([ 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', // REQUIRED 'Settings' => [ // REQUIRED 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- DataProviderName
-
- Type: string
A user-friendly name for the data provider.
- Description
-
- Type: string
A user-friendly description of the data provider.
- Engine
-
- Required: Yes
- Type: string
The type of database engine for the data provider. Valid values include
"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition. - Settings
-
- Required: Yes
- Type: DataProviderSettings structure
The settings in JSON format for a data provider.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the data provider.
Result Syntax
[ 'DataProvider' => [ 'DataProviderArn' => '<string>', 'DataProviderCreationTime' => <DateTime>, 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', 'Settings' => [ 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], ], ]
Result Details
Members
- DataProvider
-
- Type: DataProvider structure
The data provider that was created.
Errors
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Create Data Provider
Creates the data provider with the specified parameters.
$result = $client->createDataProvider([ 'DataProviderName' => 'sqlServer-dev', 'Description' => 'description', 'Engine' => 'sqlserver', 'Settings' => [ 'MicrosoftSqlServerSettings' => [ 'DatabaseName' => 'DatabaseName', 'Port' => 11112, 'ServerName' => 'ServerName2', 'SslMode' => 'none', ], ], 'Tags' => [ [ 'Key' => 'access', 'Value' => 'authorizedusers', ], ], ]);
Result syntax:
[ 'DataProvider' => [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:my-target-dataprovider', 'DataProviderCreationTime' =>, 'DataProviderName' => 'my-target-dataprovider', 'Engine' => 'postgres', 'Settings' => [ 'PostgreSqlSettings' => [ 'DatabaseName' => 'target', 'Port' => 5432, 'ServerName' => 'postrgesql.a1b2c3d4e5f6.us-east-1.rds.amazonaws.com', 'SslMode' => 'none', ], ], ], ]
CreateEndpoint
$result = $client->createEndpoint
([/* ... */]); $promise = $client->createEndpointAsync
([/* ... */]);
Creates an endpoint using the provided settings.
For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName
request parameter on the CreateEndpoint
API call. Specifying DatabaseName
when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.
Parameter Syntax
$result = $client->createEndpoint([ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', // REQUIRED ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', // REQUIRED 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', // REQUIRED 'UseNewMappingType' => true || false, ], 'EndpointIdentifier' => '<string>', // REQUIRED 'EndpointType' => 'source|target', // REQUIRED 'EngineName' => '<string>', // REQUIRED 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', // REQUIRED 'S3BucketName' => '<string>', // REQUIRED 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Password' => '<string>', 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, // REQUIRED 'ServerName' => '<string>', // REQUIRED 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'ResourceIdentifier' => '<string>', 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', // REQUIRED 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, // REQUIRED 'MemoryDuration' => <integer>, // REQUIRED ], 'Username' => '<string>', ]);
Parameter Details
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate.
- DatabaseName
-
- Type: string
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and
targetDbType
. - DmsTransferSettings
-
- Type: DmsTransferSettings structure
The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings include the following:
-
ServiceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow theiam:PassRole
action. -
BucketName
- The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", }
- DocDbSettings
-
- Type: DocDbSettings structure
Provides information that defines a DocumentDB endpoint.
- DynamoDbSettings
-
- Type: DynamoDbSettings structure
Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.
- ElasticsearchSettings
-
- Type: ElasticsearchSettings structure
Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.
- EndpointIdentifier
-
- Required: Yes
- Type: string
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- EndpointType
-
- Required: Yes
- Type: string
The type of endpoint. Valid values are
source
andtarget
. - EngineName
-
- Required: Yes
- Type: string
The type of engine for the endpoint. Valid values, depending on the
EndpointType
value, include"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"opensearch"
,"redshift"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"docdb"
,"sqlserver"
,"neptune"
,"babelfish"
,redshift-serverless
,aurora-serverless
,aurora-postgresql-serverless
,gcp-mysql
,azure-sql-managed-instance
,redis
,dms-transfer
. - ExternalTableDefinition
-
- Type: string
The external table definition.
- ExtraConnectionAttributes
-
- Type: string
Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with DMS Endpoints in the Database Migration Service User Guide.
- GcpMySQLSettings
-
- Type: GcpMySQLSettings structure
Settings in JSON format for the source GCP MySQL endpoint.
- IBMDb2Settings
-
- Type: IBMDb2Settings structure
Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.
- KafkaSettings
-
- Type: KafkaSettings structure
Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
- KinesisSettings
-
- Type: KinesisSettings structure
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.
- KmsKeyId
-
- Type: string
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- MicrosoftSQLServerSettings
-
- Type: MicrosoftSQLServerSettings structure
Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
- MongoDbSettings
-
- Type: MongoDbSettings structure
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
- MySQLSettings
-
- Type: MySQLSettings structure
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.
- NeptuneSettings
-
- Type: NeptuneSettings structure
Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.
- OracleSettings
-
- Type: OracleSettings structure
Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
- Password
-
- Type: string
The password to be used to log in to the endpoint database.
- Port
-
- Type: int
The port used by the endpoint database.
- PostgreSQLSettings
-
- Type: PostgreSQLSettings structure
Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.
- RedisSettings
-
- Type: RedisSettings structure
Settings in JSON format for the target Redis endpoint.
- RedshiftSettings
-
- Type: RedshiftSettings structure
Provides information that defines an Amazon Redshift endpoint.
- ResourceIdentifier
-
- Type: string
A friendly name for the resource identifier at the end of the
EndpointArn
response parameter that is returned in the createdEndpoint
object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such asExample-App-ARN1
. For example, this value might result in theEndpointArn
valuearn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify aResourceIdentifier
value, DMS generates a default identifier value for the end ofEndpointArn
. - S3Settings
-
- Type: S3Settings structure
Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.
- ServerName
-
- Type: string
The name of the server where the endpoint database resides.
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the
iam:PassRole
action. - SslMode
-
- Type: string
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is
none
- SybaseSettings
-
- Type: SybaseSettings structure
Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the endpoint.
- TimestreamSettings
-
- Type: TimestreamSettings structure
Settings in JSON format for the target Amazon Timestream endpoint.
- Username
-
- Type: string
The user name to be used to log in to the endpoint database.
Result Syntax
[ 'Endpoint' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', 'UseNewMappingType' => true || false, ], 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'EndpointType' => 'source|target', 'EngineDisplayName' => '<string>', 'EngineName' => '<string>', 'ExternalId' => '<string>', 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'Status' => '<string>', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, 'MemoryDuration' => <integer>, ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The endpoint that was created.
Errors
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Create endpoint
Creates an endpoint using the provided settings.
$result = $client->createEndpoint([ 'CertificateArn' => '', 'DatabaseName' => 'testdb', 'EndpointIdentifier' => 'test-endpoint-1', 'EndpointType' => 'source', 'EngineName' => 'mysql', 'ExtraConnectionAttributes' => '', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'Password' => 'pasword', 'Port' => 3306, 'ServerName' => 'mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com', 'SslMode' => 'require', 'Tags' => [ [ 'Key' => 'Acount', 'Value' => '143327655', ], ], 'Username' => 'username', ]);
Result syntax:
[ 'Endpoint' => [ 'EndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM', 'EndpointIdentifier' => 'test-endpoint-1', 'EndpointType' => 'source', 'EngineName' => 'mysql', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'Port' => 3306, 'ServerName' => 'mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com', 'Status' => 'active', 'Username' => 'username', ], ]
CreateEventSubscription
$result = $client->createEventSubscription
([/* ... */]); $promise = $client->createEventSubscriptionAsync
([/* ... */]);
Creates an DMS event notification subscription.
You can specify the type of source (SourceType
) you want to be notified of, provide a list of DMS source IDs (SourceIds
) that triggers the events, and provide a list of event categories (EventCategories
) for events you want to be notified of. If you specify both the SourceType
and SourceIds
, such as SourceType = replication-instance
and SourceIdentifier = my-replinstance
, you will be notified of all the replication instance events for the specified source. If you specify a SourceType
but don't specify a SourceIdentifier
, you receive notice of the events for that source type for all your DMS sources. If you don't specify either SourceType
nor SourceIdentifier
, you will be notified of events generated from all DMS sources belonging to your customer account.
For more information about DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->createEventSubscription([ 'Enabled' => true || false, 'EventCategories' => ['<string>', ...], 'SnsTopicArn' => '<string>', // REQUIRED 'SourceIds' => ['<string>', ...], 'SourceType' => '<string>', 'SubscriptionName' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Enabled
-
- Type: boolean
A Boolean value; set to
true
to activate the subscription, or set tofalse
to create the subscription but not activate it. - EventCategories
-
- Type: Array of strings
A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.
- SnsTopicArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
- SourceIds
-
- Type: Array of strings
A list of identifiers for which DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
- SourceType
-
- Type: string
The type of DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to
replication-instance
. If this value isn't specified, all events are returned.Valid values:
replication-instance
|replication-task
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the DMS event notification subscription. This name must be less than 255 characters.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the event subscription.
Result Syntax
[ 'EventSubscription' => [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => '<string>', ], ]
Result Details
Members
- EventSubscription
-
- Type: EventSubscription structure
The event subscription that was created.
Errors
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- SNSInvalidTopicFault:
The SNS topic is invalid.
- SNSNoAuthorizationFault:
You are not authorized for the SNS subscription.
- KMSAccessDeniedFault:
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KMSDisabledFault:
The specified KMS key isn't enabled.
- KMSInvalidStateFault:
The state of the specified KMS resource isn't valid for this request.
- KMSNotFoundFault:
The specified KMS entity or resource can't be found.
- KMSThrottlingFault:
This request triggered KMS request throttling.
CreateFleetAdvisorCollector
$result = $client->createFleetAdvisorCollector
([/* ... */]); $promise = $client->createFleetAdvisorCollectorAsync
([/* ... */]);
Creates a Fleet Advisor collector using the specified parameters.
Parameter Syntax
$result = $client->createFleetAdvisorCollector([ 'CollectorName' => '<string>', // REQUIRED 'Description' => '<string>', 'S3BucketName' => '<string>', // REQUIRED 'ServiceAccessRoleArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- CollectorName
-
- Required: Yes
- Type: string
The name of your Fleet Advisor collector (for example,
sample-collector
). - Description
-
- Type: string
A summary description of your Fleet Advisor collector.
- S3BucketName
-
- Required: Yes
- Type: string
The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
- ServiceAccessRoleArn
-
- Required: Yes
- Type: string
The IAM role that grants permissions to access the specified Amazon S3 bucket.
Result Syntax
[ 'CollectorName' => '<string>', 'CollectorReferencedId' => '<string>', 'Description' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ]
Result Details
Members
- CollectorName
-
- Type: string
The name of the new Fleet Advisor collector.
- CollectorReferencedId
-
- Type: string
The unique ID of the new Fleet Advisor collector, for example:
22fda70c-40d5-4acf-b233-a495bd8eb7f5
- Description
-
- Type: string
A summary description of the Fleet Advisor collector.
- S3BucketName
-
- Type: string
The Amazon S3 bucket that the collector uses to store inventory metadata.
- ServiceAccessRoleArn
-
- Type: string
The IAM role that grants permissions to access the specified Amazon S3 bucket.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
CreateInstanceProfile
$result = $client->createInstanceProfile
([/* ... */]); $promise = $client->createInstanceProfileAsync
([/* ... */]);
Creates the instance profile using the specified parameters.
Parameter Syntax
$result = $client->createInstanceProfile([ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcSecurityGroups' => ['<string>', ...], ]);
Parameter Details
Members
- AvailabilityZone
-
- Type: string
The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem
us-east-1d
. - Description
-
- Type: string
A user-friendly description of the instance profile.
- InstanceProfileName
-
- Type: string
A user-friendly name for the instance profile.
- KmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the
KmsKeyArn
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- NetworkType
-
- Type: string
Specifies the network type for the instance profile. A value of
IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing. - PubliclyAccessible
-
- Type: boolean
Specifies the accessibility options for the instance profile. A value of
true
represents an instance profile with a public IP address. A value offalse
represents an instance profile with a private IP address. The default value istrue
. - SubnetGroupIdentifier
-
- Type: string
A subnet group to associate with the instance profile.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the instance profile.
- VpcSecurityGroups
-
- Type: Array of strings
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
Result Syntax
[ 'InstanceProfile' => [ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileCreationTime' => <DateTime>, 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'VpcSecurityGroups' => ['<string>', ...], ], ]
Result Details
Members
- InstanceProfile
-
- Type: InstanceProfile structure
The instance profile that was created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Create Instance Profile
Creates the instance profile using the specified parameters.
$result = $client->createInstanceProfile([ 'Description' => 'Description', 'InstanceProfileName' => 'my-instance-profile', 'KmsKeyArn' => 'arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef', 'NetworkType' => 'DUAL', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => 'my-subnet-group', 'Tags' => [ [ 'Key' => 'access', 'Value' => 'authorizedusers', ], ], ]);
Result syntax:
[ 'InstanceProfile' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:my-instance-profile', 'InstanceProfileCreationTime' =>, 'InstanceProfileName' => 'my-instance-profile', 'KmsKeyArn' => 'arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => 'public-subnets', ], ]
CreateMigrationProject
$result = $client->createMigrationProject
([/* ... */]); $promise = $client->createMigrationProjectAsync
([/* ... */]);
Creates the migration project using the specified parameters.
You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.
Parameter Syntax
$result = $client->createMigrationProject([ 'Description' => '<string>', 'InstanceProfileIdentifier' => '<string>', // REQUIRED 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ // REQUIRED [ 'DataProviderIdentifier' => '<string>', // REQUIRED 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ // REQUIRED [ 'DataProviderIdentifier' => '<string>', // REQUIRED 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ]);
Parameter Details
Members
- Description
-
- Type: string
A user-friendly description of the migration project.
- InstanceProfileIdentifier
-
- Required: Yes
- Type: string
The identifier of the associated instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- MigrationProjectName
-
- Type: string
A user-friendly name for the migration project.
- SchemaConversionApplicationAttributes
-
- Type: SCApplicationAttributes structure
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
- SourceDataProviderDescriptors
-
- Required: Yes
- Type: Array of DataProviderDescriptorDefinition structures
Information about the source data provider, including the name, ARN, and Secrets Manager parameters.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the migration project.
- TargetDataProviderDescriptors
-
- Required: Yes
- Type: Array of DataProviderDescriptorDefinition structures
Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- TransformationRules
-
- Type: string
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
Result Syntax
[ 'MigrationProject' => [ 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileName' => '<string>', 'MigrationProjectArn' => '<string>', 'MigrationProjectCreationTime' => <DateTime>, 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ], ]
Result Details
Members
- MigrationProject
-
- Type: MigrationProject structure
The migration project that was created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- ResourceNotFoundFault:
The resource could not be found.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Create Migration Project
Creates the migration project with the specified parameters.
$result = $client->createMigrationProject([ 'Description' => 'description', 'InstanceProfileIdentifier' => 'ip-au-17', 'MigrationProjectName' => 'my-migration-project', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'arn:aws:s3:::mylogin-bucket', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/Admin', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/myuser-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/ALL.SOURCE.ORACLE_12-A1B2C3', ], ], 'Tags' => [ [ 'Key' => 'access', 'Value' => 'authorizedusers', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/myuser-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/TARGET.postgresql-A1B2C3', ], ], 'TransformationRules' => '{"key0":"value0","key1":"value1","key2":"value2"}', ]);
Result syntax:
[ 'MigrationProject' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'InstanceProfileName' => 'my-instance-profile', 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'MigrationProjectCreationTime' =>, 'MigrationProjectName' => 'my-migration-project', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'my-s3-bucket/my_folder', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/my-s3role', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'source-oracle-12', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/my-access-role', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'target-dataprovider-3', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/dmytbon-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456', ], ], ], ]
CreateReplicationConfig
$result = $client->createReplicationConfig
([/* ... */]); $promise = $client->createReplicationConfigAsync
([/* ... */]);
Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.
Parameter Syntax
$result = $client->createReplicationConfig([ 'ComputeConfig' => [ // REQUIRED 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigIdentifier' => '<string>', // REQUIRED 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', // REQUIRED 'ResourceIdentifier' => '<string>', 'SourceEndpointArn' => '<string>', // REQUIRED 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetEndpointArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ComputeConfig
-
- Required: Yes
- Type: ComputeConfig structure
Configuration parameters for provisioning an DMS Serverless replication.
- ReplicationConfigIdentifier
-
- Required: Yes
- Type: string
A unique identifier that you want to use to create a
ReplicationConfigArn
that is returned as part of the output from this action. You can then pass this outputReplicationConfigArn
as the value of theReplicationConfigArn
option for other actions to identify both DMS Serverless replications and replication configurations that you want those actions to operate on. For some actions, you can also use either this unique identifier or a corresponding ARN in action filters to identify the specific replication and replication configuration to operate on. - ReplicationSettings
-
- Type: string
Optional JSON settings for DMS Serverless replications that are provisioned using this replication configuration. For example, see Change processing tuning settings.
- ReplicationType
-
- Required: Yes
- Type: string
The type of DMS Serverless replication to provision using this replication configuration.
Possible values:
-
"full-load"
-
"cdc"
-
"full-load-and-cdc"
- ResourceIdentifier
-
- Type: string
Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags.
- SourceEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the source endpoint for this DMS Serverless replication configuration.
- SupplementalSettings
-
- Type: string
Optional JSON settings for specifying supplemental data. For more information, see Specifying supplemental data for task settings.
- TableMappings
-
- Required: Yes
- Type: string
JSON table mappings for DMS Serverless replications that are provisioned using this replication configuration. For more information, see Specifying table selection and transformations rules using JSON.
- Tags
-
- Type: Array of Tag structures
One or more optional tags associated with resources used by the DMS Serverless replication. For more information, see Tagging resources in Database Migration Service.
- TargetEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
Result Syntax
[ 'ReplicationConfig' => [ 'ComputeConfig' => [ 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigArn' => '<string>', 'ReplicationConfigCreateTime' => <DateTime>, 'ReplicationConfigIdentifier' => '<string>', 'ReplicationConfigUpdateTime' => <DateTime>, 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'SourceEndpointArn' => '<string>', 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', ], ]
Result Details
Members
- ReplicationConfig
-
- Type: ReplicationConfig structure
Configuration parameters returned from the DMS Serverless replication after it is created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ReplicationSubnetGroupDoesNotCoverEnoughAZs:
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnet:
The subnet provided isn't valid.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
CreateReplicationInstance
$result = $client->createReplicationInstance
([/* ... */]); $promise = $client->createReplicationInstanceAsync
([/* ... */]);
Creates the replication instance using the specified parameters.
DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.
If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.
Parameter Syntax
$result = $client->createReplicationInstance([ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceClass' => '<string>', // REQUIRED 'ReplicationInstanceIdentifier' => '<string>', // REQUIRED 'ReplicationSubnetGroupIdentifier' => '<string>', 'ResourceIdentifier' => '<string>', 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- AllocatedStorage
-
- Type: int
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
- AutoMinorVersionUpgrade
-
- Type: boolean
A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. This parameter defaults to
true
.Default:
true
- AvailabilityZone
-
- Type: string
The Availability Zone where the replication instance will be created. The default value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, for example:
us-east-1d
. - DnsNameServers
-
- Type: string
A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database. This list overrides the default name servers supported by the replication instance. You can specify a comma-separated list of internet addresses for up to four on-premise DNS name servers. For example:
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
- EngineVersion
-
- Type: string
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
- KerberosAuthenticationSettings
-
- Type: KerberosAuthenticationSettings structure
Specifies the ID of the secret that stores the key cache file required for kerberos authentication, when creating a replication instance.
- KmsKeyId
-
- Type: string
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- MultiAZ
-
- Type: boolean
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set totrue
. - NetworkType
-
- Type: string
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- PreferredMaintenanceWindow
-
- Type: string
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region, occurring on a random day of the week.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- PubliclyAccessible
-
- Type: boolean
Specifies the accessibility options for the replication instance. A value of
true
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
. - ReplicationInstanceClass
-
- Required: Yes
- Type: string
The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to
"dms.c4.large"
.For more information on the settings and capacities for the available replication instance classes, see Choosing the right DMS replication instance; and, Selecting the best size for a replication instance.
- ReplicationInstanceIdentifier
-
- Required: Yes
- Type: string
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example:
myrepinstance
- ReplicationSubnetGroupIdentifier
-
- Type: string
A subnet group to associate with the replication instance.
- ResourceIdentifier
-
- Type: string
A friendly name for the resource identifier at the end of the
EndpointArn
response parameter that is returned in the createdEndpoint
object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such asExample-App-ARN1
. For example, this value might result in theEndpointArn
valuearn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify aResourceIdentifier
value, DMS generates a default identifier value for the end ofEndpointArn
. - Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the replication instance.
- VpcSecurityGroupIds
-
- Type: Array of strings
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
Result Syntax
[ 'ReplicationInstance' => [ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'FreeUntil' => <DateTime>, 'InstanceCreateTime' => <DateTime>, 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PendingModifiedValues' => [ 'AllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'ReplicationInstanceClass' => '<string>', ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'ReplicationInstanceIpv6Addresses' => ['<string>', ...], 'ReplicationInstancePrivateIpAddress' => '<string>', 'ReplicationInstancePrivateIpAddresses' => ['<string>', ...], 'ReplicationInstancePublicIpAddress' => '<string>', 'ReplicationInstancePublicIpAddresses' => ['<string>', ...], 'ReplicationInstanceStatus' => '<string>', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], 'SecondaryAvailabilityZone' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- ReplicationInstance
-
- Type: ReplicationInstance structure
The replication instance that was created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- InsufficientResourceCapacityFault:
There are not enough resources allocated to the database migration.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- StorageQuotaExceededFault:
The storage quota has been exceeded.
- ResourceNotFoundFault:
The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZs:
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- InvalidSubnet:
The subnet provided isn't valid.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
Examples
Example 1: Create replication instance
Creates the replication instance using the specified parameters.
$result = $client->createReplicationInstance([ 'AllocatedStorage' => 123, 'AutoMinorVersionUpgrade' => 1, 'AvailabilityZone' => '', 'EngineVersion' => '', 'KmsKeyId' => '', 'MultiAZ' => 1, 'PreferredMaintenanceWindow' => '', 'PubliclyAccessible' => 1, 'ReplicationInstanceClass' => '', 'ReplicationInstanceIdentifier' => '', 'ReplicationSubnetGroupIdentifier' => '', 'Tags' => [ [ 'Key' => 'string', 'Value' => 'string', ], ], 'VpcSecurityGroupIds' => [ ], ]);
Result syntax:
[ 'ReplicationInstance' => [ 'AllocatedStorage' => 5, 'AutoMinorVersionUpgrade' => 1, 'EngineVersion' => '1.5.0', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'PendingModifiedValues' => [ ], 'PreferredMaintenanceWindow' => 'sun:06:00-sun:14:00', 'PubliclyAccessible' => 1, 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationInstanceClass' => 'dms.t2.micro', 'ReplicationInstanceIdentifier' => 'test-rep-1', 'ReplicationInstanceStatus' => 'creating', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => 'default', 'ReplicationSubnetGroupIdentifier' => 'default', 'SubnetGroupStatus' => 'Complete', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1d', ], 'SubnetIdentifier' => 'subnet-f6dd91af', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1b', ], 'SubnetIdentifier' => 'subnet-3605751d', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1c', ], 'SubnetIdentifier' => 'subnet-c2daefb5', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1e', ], 'SubnetIdentifier' => 'subnet-85e90cb8', 'SubnetStatus' => 'Active', ], ], 'VpcId' => 'vpc-6741a603', ], ], ]
CreateReplicationSubnetGroup
$result = $client->createReplicationSubnetGroup
([/* ... */]); $promise = $client->createReplicationSubnetGroupAsync
([/* ... */]);
Creates a replication subnet group given a list of the subnet IDs in a VPC.
The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs
exception.
If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.
Parameter Syntax
$result = $client->createReplicationSubnetGroup([ 'ReplicationSubnetGroupDescription' => '<string>', // REQUIRED 'ReplicationSubnetGroupIdentifier' => '<string>', // REQUIRED 'SubnetIds' => ['<string>', ...], // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- ReplicationSubnetGroupDescription
-
- Required: Yes
- Type: string
The description for the subnet group.
- ReplicationSubnetGroupIdentifier
-
- Required: Yes
- Type: string
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, or hyphens. Must not be "default".
Example:
mySubnetgroup
- SubnetIds
-
- Required: Yes
- Type: Array of strings
Two or more subnet IDs to be assigned to the subnet group.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the subnet group.
Result Syntax
[ 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], ]
Result Details
Members
- ReplicationSubnetGroup
-
- Type: ReplicationSubnetGroup structure
The replication subnet group that was created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- ReplicationSubnetGroupDoesNotCoverEnoughAZs:
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnet:
The subnet provided isn't valid.
Examples
Example 1: Create replication subnet group
Creates a replication subnet group given a list of the subnet IDs in a VPC.
$result = $client->createReplicationSubnetGroup([ 'ReplicationSubnetGroupDescription' => 'US West subnet group', 'ReplicationSubnetGroupIdentifier' => 'us-west-2ab-vpc-215ds366', 'SubnetIds' => [ 'subnet-e145356n', 'subnet-58f79200', ], 'Tags' => [ [ 'Key' => 'Acount', 'Value' => '145235', ], ], ]);
Result syntax:
[ 'ReplicationSubnetGroup' => [ ], ]
CreateReplicationTask
$result = $client->createReplicationTask
([/* ... */]); $promise = $client->createReplicationTaskAsync
([/* ... */]);
Creates a replication task using the specified parameters.
Parameter Syntax
$result = $client->createReplicationTask([ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <integer || string || DateTime>, 'CdcStopPosition' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', // REQUIRED 'ReplicationInstanceArn' => '<string>', // REQUIRED 'ReplicationTaskIdentifier' => '<string>', // REQUIRED 'ReplicationTaskSettings' => '<string>', 'ResourceIdentifier' => '<string>', 'SourceEndpointArn' => '<string>', // REQUIRED 'TableMappings' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], 'TargetEndpointArn' => '<string>', // REQUIRED 'TaskData' => '<string>', ]);
Parameter Details
Members
- CdcStartPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
Date Example: --cdc-start-position “2018-03-08T12:12:12”
Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"
LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the
slotName
extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS. - CdcStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.
Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”
- CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”
Commit time example: --cdc-stop-position “commit_time:2018-02-09T12:12:12“
- MigrationType
-
- Required: Yes
- Type: string
The migration type. Valid values:
full-load
|cdc
|full-load-and-cdc
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of a replication instance.
- ReplicationTaskIdentifier
-
- Required: Yes
- Type: string
An identifier for the replication task.
Constraints:
-
Must contain 1-255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- ReplicationTaskSettings
-
- Type: string
Overall settings for the task, in JSON format. For more information, see Specifying Task Settings for Database Migration Service Tasks in the Database Migration Service User Guide.
- ResourceIdentifier
-
- Type: string
A friendly name for the resource identifier at the end of the
EndpointArn
response parameter that is returned in the createdEndpoint
object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such asExample-App-ARN1
. For example, this value might result in theEndpointArn
valuearn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify aResourceIdentifier
value, DMS generates a default identifier value for the end ofEndpointArn
. - SourceEndpointArn
-
- Required: Yes
- Type: string
An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.
- TableMappings
-
- Required: Yes
- Type: string
The table mappings for the task, in JSON format. For more information, see Using Table Mapping to Specify Task Settings in the Database Migration Service User Guide.
- Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the replication task.
- TargetEndpointArn
-
- Required: Yes
- Type: string
An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.
- TaskData
-
- Type: string
Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The replication task that was created.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
Examples
Example 1: Create replication task
Creates a replication task using the specified parameters.
$result = $client->createReplicationTask([ 'CdcStartTime' =>, 'MigrationType' => 'full-load', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationTaskIdentifier' => 'task1', 'ReplicationTaskSettings' => '', 'SourceEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'TableMappings' => 'file://mappingfile.json', 'Tags' => [ [ 'Key' => 'Acount', 'Value' => '24352226', ], ], 'TargetEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ]);
Result syntax:
[ 'ReplicationTask' => [ 'MigrationType' => 'full-load', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM', 'ReplicationTaskCreationDate' =>, 'ReplicationTaskIdentifier' => 'task1', 'ReplicationTaskSettings' => '{"TargetMetadata":{"TargetSchema":"","SupportLobs":true,"FullLobMode":true,"LobChunkSize":64,"LimitedSizeLobMode":false,"LobMaxSize":0},"FullLoadSettings":{"FullLoadEnabled":true,"ApplyChangesEnabled":false,"TargetTablePrepMode":"DROP_AND_CREATE","CreatePkAfterFullLoad":false,"StopTaskCachedChangesApplied":false,"StopTaskCachedChangesNotApplied":false,"ResumeEnabled":false,"ResumeMinTableSize":100000,"ResumeOnlyClusteredPKTables":true,"MaxFullLoadSubTasks":8,"TransactionConsistencyTimeout":600,"CommitRate":10000},"Logging":{"EnableLogging":false}}', 'SourceEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'Status' => 'creating', 'TableMappings' => 'file://mappingfile.json', 'TargetEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ], ]
DeleteCertificate
$result = $client->deleteCertificate
([/* ... */]); $promise = $client->deleteCertificateAsync
([/* ... */]);
Deletes the specified certificate.
Parameter Syntax
$result = $client->deleteCertificate([ 'CertificateArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- CertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the certificate.
Result Syntax
[ 'Certificate' => [ 'CertificateArn' => '<string>', 'CertificateCreationDate' => <DateTime>, 'CertificateIdentifier' => '<string>', 'CertificateOwner' => '<string>', 'CertificatePem' => '<string>', 'CertificateWallet' => <string || resource || Psr\Http\Message\StreamInterface>, 'KeyLength' => <integer>, 'SigningAlgorithm' => '<string>', 'ValidFromDate' => <DateTime>, 'ValidToDate' => <DateTime>, ], ]
Result Details
Members
- Certificate
-
- Type: Certificate structure
The Secure Sockets Layer (SSL) certificate.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Delete Certificate
Deletes the specified certificate.
$result = $client->deleteCertificate([ 'CertificateArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ', ]);
Result syntax:
[ 'Certificate' => [ ], ]
DeleteConnection
$result = $client->deleteConnection
([/* ... */]); $promise = $client->deleteConnectionAsync
([/* ... */]);
Deletes the connection between a replication instance and an endpoint.
Parameter Syntax
$result = $client->deleteConnection([ 'EndpointArn' => '<string>', // REQUIRED 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'Connection' => [ 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'LastFailureMessage' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- Connection
-
- Type: Connection structure
The connection that is being deleted.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Delete Connection
Deletes the connection between the replication instance and the endpoint.
$result = $client->deleteConnection([ 'EndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', ]);
Result syntax:
[ 'Connection' => [ ], ]
DeleteDataMigration
$result = $client->deleteDataMigration
([/* ... */]); $promise = $client->deleteDataMigrationAsync
([/* ... */]);
Deletes the specified data migration.
Parameter Syntax
$result = $client->deleteDataMigration([ 'DataMigrationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DataMigrationIdentifier
-
- Required: Yes
- Type: string
The identifier (name or ARN) of the data migration to delete.
Result Syntax
[ 'DataMigration' => [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], ]
Result Details
Members
- DataMigration
-
- Type: DataMigration structure
The deleted data migration.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- FailedDependencyFault:
A dependency threw an exception.
DeleteDataProvider
$result = $client->deleteDataProvider
([/* ... */]); $promise = $client->deleteDataProviderAsync
([/* ... */]);
Deletes the specified data provider.
All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.
Parameter Syntax
$result = $client->deleteDataProvider([ 'DataProviderIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DataProviderIdentifier
-
- Required: Yes
- Type: string
The identifier of the data provider to delete.
Result Syntax
[ 'DataProvider' => [ 'DataProviderArn' => '<string>', 'DataProviderCreationTime' => <DateTime>, 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', 'Settings' => [ 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], ], ]
Result Details
Members
- DataProvider
-
- Type: DataProvider structure
The data provider that was deleted.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Delete Data Provider
Deletes the specified data provider.
$result = $client->deleteDataProvider([ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]);
Result syntax:
[ 'DataProvider' => [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider', 'DataProviderCreationTime' =>, 'DataProviderName' => 'my-target-data-provider', 'Engine' => 'postgres', 'Settings' => [ 'PostgreSqlSettings' => [ 'DatabaseName' => 'target', 'Port' => 5432, 'ServerName' => 'postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com', 'SslMode' => 'none', ], ], ], ]
DeleteEndpoint
$result = $client->deleteEndpoint
([/* ... */]); $promise = $client->deleteEndpointAsync
([/* ... */]);
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
Parameter Syntax
$result = $client->deleteEndpoint([ 'EndpointArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Result Syntax
[ 'Endpoint' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', 'UseNewMappingType' => true || false, ], 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'EndpointType' => 'source|target', 'EngineDisplayName' => '<string>', 'EngineName' => '<string>', 'ExternalId' => '<string>', 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'Status' => '<string>', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, 'MemoryDuration' => <integer>, ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The endpoint that was deleted.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Delete Endpoint
Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.
$result = $client->deleteEndpoint([ 'EndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM', ]);
Result syntax:
[ 'Endpoint' => [ 'EndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM', 'EndpointIdentifier' => 'test-endpoint-1', 'EndpointType' => 'source', 'EngineName' => 'mysql', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'Port' => 3306, 'ServerName' => 'mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com', 'Status' => 'active', 'Username' => 'username', ], ]
DeleteEventSubscription
$result = $client->deleteEventSubscription
([/* ... */]); $promise = $client->deleteEventSubscriptionAsync
([/* ... */]);
Deletes an DMS event subscription.
Parameter Syntax
$result = $client->deleteEventSubscription([ 'SubscriptionName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the DMS event notification subscription to be deleted.
Result Syntax
[ 'EventSubscription' => [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => '<string>', ], ]
Result Details
Members
- EventSubscription
-
- Type: EventSubscription structure
The event subscription that was deleted.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
DeleteFleetAdvisorCollector
$result = $client->deleteFleetAdvisorCollector
([/* ... */]); $promise = $client->deleteFleetAdvisorCollectorAsync
([/* ... */]);
Deletes the specified Fleet Advisor collector.
Parameter Syntax
$result = $client->deleteFleetAdvisorCollector([ 'CollectorReferencedId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- CollectorReferencedId
-
- Required: Yes
- Type: string
The reference ID of the Fleet Advisor collector to delete.
Result Syntax
[]
Result Details
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- CollectorNotFoundFault:
The specified collector doesn't exist.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
DeleteFleetAdvisorDatabases
$result = $client->deleteFleetAdvisorDatabases
([/* ... */]); $promise = $client->deleteFleetAdvisorDatabasesAsync
([/* ... */]);
Deletes the specified Fleet Advisor collector databases.
Parameter Syntax
$result = $client->deleteFleetAdvisorDatabases([ 'DatabaseIds' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- DatabaseIds
-
- Required: Yes
- Type: Array of strings
The IDs of the Fleet Advisor collector databases to delete.
Result Syntax
[ 'DatabaseIds' => ['<string>', ...], ]
Result Details
Members
- DatabaseIds
-
- Type: Array of strings
The IDs of the databases that the operation deleted.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidOperationFault:
The action or operation requested isn't valid.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
DeleteInstanceProfile
$result = $client->deleteInstanceProfile
([/* ... */]); $promise = $client->deleteInstanceProfileAsync
([/* ... */]);
Deletes the specified instance profile.
All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.
Parameter Syntax
$result = $client->deleteInstanceProfile([ 'InstanceProfileIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceProfileIdentifier
-
- Required: Yes
- Type: string
The identifier of the instance profile to delete.
Result Syntax
[ 'InstanceProfile' => [ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileCreationTime' => <DateTime>, 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'VpcSecurityGroups' => ['<string>', ...], ], ]
Result Details
Members
- InstanceProfile
-
- Type: InstanceProfile structure
The instance profile that was deleted.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Delete Instance Profile
Deletes the specified instance profile.
$result = $client->deleteInstanceProfile([ 'InstanceProfileIdentifier' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]);
Result syntax:
[ 'InstanceProfile' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:my-instance-profile', 'InstanceProfileCreationTime' =>, 'InstanceProfileName' => 'my-instance-profile', 'KmsKeyArn' => 'arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => 'public-subnets', ], ]
DeleteMigrationProject
$result = $client->deleteMigrationProject
([/* ... */]); $promise = $client->deleteMigrationProjectAsync
([/* ... */]);
Deletes the specified migration project.
The migration project must be closed before you can delete it.
Parameter Syntax
$result = $client->deleteMigrationProject([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The name or Amazon Resource Name (ARN) of the migration project to delete.
Result Syntax
[ 'MigrationProject' => [ 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileName' => '<string>', 'MigrationProjectArn' => '<string>', 'MigrationProjectCreationTime' => <DateTime>, 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ], ]
Result Details
Members
- MigrationProject
-
- Type: MigrationProject structure
The migration project that was deleted.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Delete Migration Project
Deletes the specified migration project.
$result = $client->deleteMigrationProject([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]);
Result syntax:
[ 'MigrationProject' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'InstanceProfileName' => 'my-instance-profile', 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'MigrationProjectCreationTime' =>, 'MigrationProjectName' => 'my-migration-project', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'my-s3-bucket/my_folder', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/my-s3role', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'all-source-oracle-12', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/my-access-role', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'sde-obilyns-dataprovider-3', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::437223687239:role/dmytbon-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456', ], ], ], ]
DeleteReplicationConfig
$result = $client->deleteReplicationConfig
([/* ... */]); $promise = $client->deleteReplicationConfigAsync
([/* ... */]);
Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.
Parameter Syntax
$result = $client->deleteReplicationConfig([ 'ReplicationConfigArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationConfigArn
-
- Required: Yes
- Type: string
The replication config to delete.
Result Syntax
[ 'ReplicationConfig' => [ 'ComputeConfig' => [ 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigArn' => '<string>', 'ReplicationConfigCreateTime' => <DateTime>, 'ReplicationConfigIdentifier' => '<string>', 'ReplicationConfigUpdateTime' => <DateTime>, 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'SourceEndpointArn' => '<string>', 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', ], ]
Result Details
Members
- ReplicationConfig
-
- Type: ReplicationConfig structure
Configuration parameters returned for the DMS Serverless replication after it is deleted.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DeleteReplicationInstance
$result = $client->deleteReplicationInstance
([/* ... */]); $promise = $client->deleteReplicationInstanceAsync
([/* ... */]);
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
Parameter Syntax
$result = $client->deleteReplicationInstance([ 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance to be deleted.
Result Syntax
[ 'ReplicationInstance' => [ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'FreeUntil' => <DateTime>, 'InstanceCreateTime' => <DateTime>, 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PendingModifiedValues' => [ 'AllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'ReplicationInstanceClass' => '<string>', ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'ReplicationInstanceIpv6Addresses' => ['<string>', ...], 'ReplicationInstancePrivateIpAddress' => '<string>', 'ReplicationInstancePrivateIpAddresses' => ['<string>', ...], 'ReplicationInstancePublicIpAddress' => '<string>', 'ReplicationInstancePublicIpAddresses' => ['<string>', ...], 'ReplicationInstanceStatus' => '<string>', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], 'SecondaryAvailabilityZone' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- ReplicationInstance
-
- Type: ReplicationInstance structure
The replication instance that was deleted.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Delete Replication Instance
Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it.
$result = $client->deleteReplicationInstance([ 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', ]);
Result syntax:
[ 'ReplicationInstance' => [ 'AllocatedStorage' => 5, 'AutoMinorVersionUpgrade' => 1, 'EngineVersion' => '1.5.0', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'PendingModifiedValues' => [ ], 'PreferredMaintenanceWindow' => 'sun:06:00-sun:14:00', 'PubliclyAccessible' => 1, 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationInstanceClass' => 'dms.t2.micro', 'ReplicationInstanceIdentifier' => 'test-rep-1', 'ReplicationInstanceStatus' => 'creating', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => 'default', 'ReplicationSubnetGroupIdentifier' => 'default', 'SubnetGroupStatus' => 'Complete', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1d', ], 'SubnetIdentifier' => 'subnet-f6dd91af', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1b', ], 'SubnetIdentifier' => 'subnet-3605751d', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1c', ], 'SubnetIdentifier' => 'subnet-c2daefb5', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1e', ], 'SubnetIdentifier' => 'subnet-85e90cb8', 'SubnetStatus' => 'Active', ], ], 'VpcId' => 'vpc-6741a603', ], ], ]
DeleteReplicationSubnetGroup
$result = $client->deleteReplicationSubnetGroup
([/* ... */]); $promise = $client->deleteReplicationSubnetGroupAsync
([/* ... */]);
Deletes a subnet group.
Parameter Syntax
$result = $client->deleteReplicationSubnetGroup([ 'ReplicationSubnetGroupIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationSubnetGroupIdentifier
-
- Required: Yes
- Type: string
The subnet group name of the replication instance.
Result Syntax
[]
Result Details
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
Examples
Example 1: Delete Replication Subnet Group
Deletes a replication subnet group.
$result = $client->deleteReplicationSubnetGroup([ 'ReplicationSubnetGroupIdentifier' => 'us-west-2ab-vpc-215ds366', ]);
Result syntax:
[ ]
DeleteReplicationTask
$result = $client->deleteReplicationTask
([/* ... */]); $promise = $client->deleteReplicationTaskAsync
([/* ... */]);
Deletes the specified replication task.
Parameter Syntax
$result = $client->deleteReplicationTask([ 'ReplicationTaskArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task to be deleted.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The deleted replication task.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Delete Replication Task
Deletes the specified replication task.
$result = $client->deleteReplicationTask([ 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', ]);
Result syntax:
[ 'ReplicationTask' => [ 'MigrationType' => 'full-load', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM', 'ReplicationTaskCreationDate' =>, 'ReplicationTaskIdentifier' => 'task1', 'ReplicationTaskSettings' => '{"TargetMetadata":{"TargetSchema":"","SupportLobs":true,"FullLobMode":true,"LobChunkSize":64,"LimitedSizeLobMode":false,"LobMaxSize":0},"FullLoadSettings":{"FullLoadEnabled":true,"ApplyChangesEnabled":false,"TargetTablePrepMode":"DROP_AND_CREATE","CreatePkAfterFullLoad":false,"StopTaskCachedChangesApplied":false,"StopTaskCachedChangesNotApplied":false,"ResumeEnabled":false,"ResumeMinTableSize":100000,"ResumeOnlyClusteredPKTables":true,"MaxFullLoadSubTasks":8,"TransactionConsistencyTimeout":600,"CommitRate":10000},"Logging":{"EnableLogging":false}}', 'SourceEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'Status' => 'creating', 'TableMappings' => 'file://mappingfile.json', 'TargetEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ], ]
DeleteReplicationTaskAssessmentRun
$result = $client->deleteReplicationTaskAssessmentRun
([/* ... */]); $promise = $client->deleteReplicationTaskAssessmentRunAsync
([/* ... */]);
Deletes the record of a single premigration assessment run.
This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.
Parameter Syntax
$result = $client->deleteReplicationTaskAssessmentRun([ 'ReplicationTaskAssessmentRunArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskAssessmentRunArn
-
- Required: Yes
- Type: string
Amazon Resource Name (ARN) of the premigration assessment run to be deleted.
Result Syntax
[ 'ReplicationTaskAssessmentRun' => [ 'AssessmentProgress' => [ 'IndividualAssessmentCompletedCount' => <integer>, 'IndividualAssessmentCount' => <integer>, ], 'AssessmentRunName' => '<string>', 'IsLatestTaskAssessmentRun' => true || false, 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ResultStatistic' => [ 'Cancelled' => <integer>, 'Error' => <integer>, 'Failed' => <integer>, 'Passed' => <integer>, 'Warning' => <integer>, ], 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The
ReplicationTaskAssessmentRun
object for the deleted assessment run.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeAccountAttributes
$result = $client->describeAccountAttributes
([/* ... */]); $promise = $client->describeAccountAttributesAsync
([/* ... */]);
Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.
This command does not take any parameters.
Parameter Syntax
$result = $client->describeAccountAttributes([ ]);
Parameter Details
Members
Result Syntax
[ 'AccountQuotas' => [ [ 'AccountQuotaName' => '<string>', 'Max' => <integer>, 'Used' => <integer>, ], // ... ], 'UniqueAccountIdentifier' => '<string>', ]
Result Details
Members
- AccountQuotas
-
- Type: Array of AccountQuota structures
Account quota information.
- UniqueAccountIdentifier
-
- Type: string
A unique DMS identifier for an account in a particular Amazon Web Services Region. The value of this identifier has the following format:
c99999999999
. DMS uses this identifier to name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket for storing task assessment reports in a given Amazon Web Services Region. The format of this S3 bucket name is the following:dms-AccountNumber-UniqueAccountIdentifier.
Here is an example name for this default S3 bucket:dms-111122223333-c44445555666
.DMS supports the
UniqueAccountIdentifier
parameter in versions 3.1.4 and later.
Errors
There are no errors described for this operation.
Examples
Example 1: Describe acount attributes
Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This operation does not take any parameters.
$result = $client->describeAccountAttributes([ ]);
Result syntax:
[ 'AccountQuotas' => [ [ 'AccountQuotaName' => 'ReplicationInstances', 'Max' => 20, 'Used' => 0, ], [ 'AccountQuotaName' => 'AllocatedStorage', 'Max' => 20, 'Used' => 0, ], [ 'AccountQuotaName' => 'Endpoints', 'Max' => 20, 'Used' => 0, ], ], ]
DescribeApplicableIndividualAssessments
$result = $client->describeApplicableIndividualAssessments
([/* ... */]); $promise = $client->describeApplicableIndividualAssessmentsAsync
([/* ... */]);
Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.
If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.
To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.
If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the task.
Parameter Syntax
$result = $client->describeApplicableIndividualAssessments([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'SourceEngineName' => '<string>', 'TargetEngineName' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
Optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
Maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - MigrationType
-
- Type: string
Name of the migration type that each provided individual assessment must support.
- ReplicationInstanceArn
-
- Type: string
ARN of a replication instance on which you want to base the default list of individual assessments.
- ReplicationTaskArn
-
- Type: string
Amazon Resource Name (ARN) of a migration task on which you want to base the default list of individual assessments.
- SourceEngineName
-
- Type: string
Name of a database engine that the specified replication instance supports as a source.
- TargetEngineName
-
- Type: string
Name of a database engine that the specified replication instance supports as a target.
Result Syntax
[ 'IndividualAssessmentNames' => ['<string>', ...], 'Marker' => '<string>', ]
Result Details
Members
- IndividualAssessmentNames
-
- Type: Array of strings
List of names for the individual assessments supported by the premigration assessment run that you start based on the specified request parameters. For more information on the available individual assessments, including compatibility with different migration task configurations, see Working with premigration assessment runs in the Database Migration Service User Guide.
- Marker
-
- Type: string
Pagination token returned for you to pass to a subsequent request. If you pass this token as the
Marker
value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request byMaxRecords
.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeCertificates
$result = $client->describeCertificates
([/* ... */]); $promise = $client->describeCertificatesAsync
([/* ... */]);
Provides a description of the certificate.
Parameter Syntax
$result = $client->describeCertificates([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the certificates described in the form of key-value pairs. Valid values are
certificate-arn
andcertificate-id
. - Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 10
Result Syntax
[ 'Certificates' => [ [ 'CertificateArn' => '<string>', 'CertificateCreationDate' => <DateTime>, 'CertificateIdentifier' => '<string>', 'CertificateOwner' => '<string>', 'CertificatePem' => '<string>', 'CertificateWallet' => <string || resource || Psr\Http\Message\StreamInterface>, 'KeyLength' => <integer>, 'SigningAlgorithm' => '<string>', 'ValidFromDate' => <DateTime>, 'ValidToDate' => <DateTime>, ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Certificates
-
- Type: Array of Certificate structures
The Secure Sockets Layer (SSL) certificates associated with the replication instance.
- Marker
-
- Type: string
The pagination token.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe certificates
Provides a description of the certificate.
$result = $client->describeCertificates([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Certificates' => [ ], 'Marker' => '', ]
DescribeConnections
$result = $client->describeConnections
([/* ... */]); $promise = $client->describeConnectionsAsync
([/* ... */]);
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
Parameter Syntax
$result = $client->describeConnections([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
The filters applied to the connection.
Valid filter names: endpoint-arn | replication-instance-arn
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Connections' => [ [ 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'LastFailureMessage' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Connections
-
- Type: Array of Connection structures
A description of the connections.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe connections
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
$result = $client->describeConnections([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Connections' => [ [ 'EndpointArn' => 'arn:aws:dms:us-east-arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'EndpointIdentifier' => 'testsrc1', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationInstanceIdentifier' => 'test', 'Status' => 'successful', ], ], 'Marker' => '', ]
DescribeConversionConfiguration
$result = $client->describeConversionConfiguration
([/* ... */]); $promise = $client->describeConversionConfigurationAsync
([/* ... */]);
Returns configuration parameters for a schema conversion project.
Parameter Syntax
$result = $client->describeConversionConfiguration([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The name or Amazon Resource Name (ARN) for the schema conversion project to describe.
Result Syntax
[ 'ConversionConfiguration' => '<string>', 'MigrationProjectIdentifier' => '<string>', ]
Result Details
Members
- ConversionConfiguration
-
- Type: string
The configuration parameters for the schema conversion project.
- MigrationProjectIdentifier
-
- Type: string
The name or Amazon Resource Name (ARN) for the schema conversion project.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Conversion Configuration
Returns configuration parameters for a schema conversion project.
$result = $client->describeConversionConfiguration([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]);
Result syntax:
[ 'ConversionConfiguration' => '{"Common project settings":{"ShowSeverityLevelInSql":"CRITICAL"},"ORACLE_TO_POSTGRESQL" : {"ToTimeZone":false,"LastDayBuiltinFunctionOracle":false, "NextDayBuiltinFunctionOracle":false,"ConvertProceduresToFunction":false,"NvlBuiltinFunctionOracle":false,"DbmsAssertBuiltinFunctionOracle":false}}', 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]
DescribeDataMigrations
$result = $client->describeDataMigrations
([/* ... */]); $promise = $client->describeDataMigrationsAsync
([/* ... */]);
Returns information about data migrations.
Parameter Syntax
$result = $client->describeDataMigrations([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'WithoutSettings' => true || false, 'WithoutStatistics' => true || false, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the data migrations.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - WithoutSettings
-
- Type: boolean
An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose
true
; otherwise, choosefalse
(the default). - WithoutStatistics
-
- Type: boolean
An option to set to avoid returning information about statistics. Use this to reduce overhead when statistics information is too large. To use this option, choose
true
; otherwise, choosefalse
(the default).
Result Syntax
[ 'DataMigrations' => [ [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- DataMigrations
-
- Type: Array of DataMigration structures
Returns information about the data migrations used in the project.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- FailedDependencyFault:
A dependency threw an exception.
DescribeDataProviders
$result = $client->describeDataProviders
([/* ... */]); $promise = $client->describeDataProvidersAsync
([/* ... */]);
Returns a paginated list of data providers for your account in the current region.
Parameter Syntax
$result = $client->describeDataProviders([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the data providers described in the form of key-value pairs.
Valid filter names and values: data-provider-identifier, data provider arn or name
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
Result Syntax
[ 'DataProviders' => [ [ 'DataProviderArn' => '<string>', 'DataProviderCreationTime' => <DateTime>, 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', 'Settings' => [ 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- DataProviders
-
- Type: Array of DataProvider structures
A description of data providers.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Describe Data Providers
$result = $client->describeDataProviders([ 'Filters' => [ [ 'Name' => 'data-provider-identifier', 'Values' => [ 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ], ], ], 'Marker' => 'EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'MaxRecords' => 20, ]);
Result syntax:
[ 'DataProviders' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider', 'DataProviderCreationTime' =>, 'DataProviderName' => 'my-target-data-provider', 'Engine' => 'postgres', 'Settings' => [ 'PostgreSqlSettings' => [ 'DatabaseName' => 'target', 'Port' => 5432, 'ServerName' => 'postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com', 'SslMode' => 'none', ], ], ], ], 'Marker' => 'EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]
DescribeEndpointSettings
$result = $client->describeEndpointSettings
([/* ... */]); $promise = $client->describeEndpointSettingsAsync
([/* ... */]);
Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.
Parameter Syntax
$result = $client->describeEndpointSettings([ 'EngineName' => '<string>', // REQUIRED 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- EngineName
-
- Required: Yes
- Type: string
The database engine used for your source or target endpoint.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'EndpointSettings' => [ [ 'Applicability' => '<string>', 'DefaultValue' => '<string>', 'EnumValues' => ['<string>', ...], 'IntValueMax' => <integer>, 'IntValueMin' => <integer>, 'Name' => '<string>', 'Sensitive' => true || false, 'Type' => 'string|boolean|integer|enum', 'Units' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EndpointSettings
-
- Type: Array of EndpointSetting structures
Descriptions of the endpoint settings available for your source or target database engine.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
There are no errors described for this operation.
DescribeEndpointTypes
$result = $client->describeEndpointTypes
([/* ... */]); $promise = $client->describeEndpointTypesAsync
([/* ... */]);
Returns information about the type of endpoints available.
Parameter Syntax
$result = $client->describeEndpointTypes([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the endpoint types.
Valid filter names: engine-name | endpoint-type
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Marker' => '<string>', 'SupportedEndpointTypes' => [ [ 'EndpointType' => 'source|target', 'EngineDisplayName' => '<string>', 'EngineName' => '<string>', 'ReplicationInstanceEngineMinimumVersion' => '<string>', 'SupportsCDC' => true || false, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - SupportedEndpointTypes
-
- Type: Array of SupportedEndpointType structures
The types of endpoints that are supported.
Errors
There are no errors described for this operation.
Examples
Example 1: Describe endpoint types
Returns information about the type of endpoints available.
$result = $client->describeEndpointTypes([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'SupportedEndpointTypes' => [ ], ]
DescribeEndpoints
$result = $client->describeEndpoints
([/* ... */]); $promise = $client->describeEndpointsAsync
([/* ... */]);
Returns information about the endpoints for your account in the current region.
Parameter Syntax
$result = $client->describeEndpoints([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the endpoints.
Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Endpoints' => [ [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', 'UseNewMappingType' => true || false, ], 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'EndpointType' => 'source|target', 'EngineDisplayName' => '<string>', 'EngineName' => '<string>', 'ExternalId' => '<string>', 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'Status' => '<string>', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, 'MemoryDuration' => <integer>, ], 'Username' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Endpoints
-
- Type: Array of Endpoint structures
Endpoint description.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe endpoints
Returns information about the endpoints for your account in the current region.
$result = $client->describeEndpoints([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Endpoints' => [ ], 'Marker' => '', ]
DescribeEngineVersions
$result = $client->describeEngineVersions
([/* ... */]); $promise = $client->describeEngineVersionsAsync
([/* ... */]);
Returns information about the replication instance versions used in the project.
Parameter Syntax
$result = $client->describeEngineVersions([ 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'EngineVersions' => [ [ 'AutoUpgradeDate' => <DateTime>, 'AvailableUpgrades' => ['<string>', ...], 'DeprecationDate' => <DateTime>, 'ForceUpgradeDate' => <DateTime>, 'LaunchDate' => <DateTime>, 'Lifecycle' => '<string>', 'ReleaseStatus' => 'beta|prod', 'Version' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EngineVersions
-
- Type: Array of EngineVersion structures
Returned
EngineVersion
objects that describe the replication instance engine versions used in the project. - Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
There are no errors described for this operation.
DescribeEventCategories
$result = $client->describeEventCategories
([/* ... */]); $promise = $client->describeEventCategoriesAsync
([/* ... */]);
Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->describeEventCategories([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'SourceType' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the event categories.
- SourceType
-
- Type: string
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
Result Syntax
[ 'EventCategoryGroupList' => [ [ 'EventCategories' => ['<string>', ...], 'SourceType' => '<string>', ], // ... ], ]
Result Details
Members
- EventCategoryGroupList
-
- Type: Array of EventCategoryGroup structures
A list of event categories.
Errors
There are no errors described for this operation.
DescribeEventSubscriptions
$result = $client->describeEventSubscriptions
([/* ... */]); $promise = $client->describeEventSubscriptionsAsync
([/* ... */]);
Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
, SourceID
, CreationTime
, and Status
.
If you specify SubscriptionName
, this action lists the description for that subscription.
Parameter Syntax
$result = $client->describeEventSubscriptions([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SubscriptionName' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to event subscriptions.
Valid filter names: event-subscription-arn | event-subscription-id
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- SubscriptionName
-
- Type: string
The name of the DMS event subscription to be described.
Result Syntax
[ 'EventSubscriptionsList' => [ [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => '<string>', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- EventSubscriptionsList
-
- Type: Array of EventSubscription structures
A list of event subscriptions.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeEvents
$result = $client->describeEvents
([/* ... */]); $promise = $client->describeEventsAsync
([/* ... */]);
Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->describeEvents([ 'Duration' => <integer>, 'EndTime' => <integer || string || DateTime>, 'EventCategories' => ['<string>', ...], 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'SourceIdentifier' => '<string>', 'SourceType' => 'replication-instance', 'StartTime' => <integer || string || DateTime>, ]);
Parameter Details
Members
- Duration
-
- Type: int
The duration of the events to be listed.
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time for the events to be listed.
- EventCategories
-
- Type: Array of strings
A list of event categories for the source type that you've chosen.
- Filters
-
- Type: Array of Filter structures
Filters applied to events. The only valid filter is
replication-instance-id
. - Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- SourceIdentifier
-
- Type: string
The identifier of an event source.
- SourceType
-
- Type: string
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time for the events to be listed.
Result Syntax
[ 'Events' => [ [ 'Date' => <DateTime>, 'EventCategories' => ['<string>', ...], 'Message' => '<string>', 'SourceIdentifier' => '<string>', 'SourceType' => 'replication-instance', ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- Events
-
- Type: Array of Event structures
The events described.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
Errors
There are no errors described for this operation.
DescribeExtensionPackAssociations
$result = $client->describeExtensionPackAssociations
([/* ... */]); $promise = $client->describeExtensionPackAssociationsAsync
([/* ... */]);
Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
Parameter Syntax
$result = $client->describeExtensionPackAssociations([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the extension pack associations described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results. - MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The name or Amazon Resource Name (ARN) for the migration project.
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of extension pack associations for the specified migration project.
Errors
There are no errors described for this operation.
Examples
Example 1: Describe Extension Pack Associations
Returns a paginated list of extension pack associations for the specified migration project.
$result = $client->describeExtensionPackAssociations([ 'Filters' => [ [ 'Name' => 'instance-profile-identifier', 'Values' => [ 'arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeFleetAdvisorCollectors
$result = $client->describeFleetAdvisorCollectors
([/* ... */]); $promise = $client->describeFleetAdvisorCollectorsAsync
([/* ... */]);
Returns a list of the Fleet Advisor collectors in your account.
Parameter Syntax
$result = $client->describeFleetAdvisorCollectors([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:
-
collector-referenced-id
– The ID of the collector agent, for exampled4610ac5-e323-4ad9-bc50-eaf7249dfe9d
. -
collector-name
– The name of the collector agent.
An example is:
describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"
- MaxRecords
-
- Type: int
Sets the maximum number of records returned in the response.
- NextToken
-
- Type: string
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'Collectors' => [ [ 'CollectorHealthCheck' => [ 'CollectorStatus' => 'UNREGISTERED|ACTIVE', 'LocalCollectorS3Access' => true || false, 'WebCollectorGrantedRoleBasedAccess' => true || false, 'WebCollectorS3Access' => true || false, ], 'CollectorName' => '<string>', 'CollectorReferencedId' => '<string>', 'CollectorVersion' => '<string>', 'CreatedDate' => '<string>', 'Description' => '<string>', 'InventoryData' => [ 'NumberOfDatabases' => <integer>, 'NumberOfSchemas' => <integer>, ], 'LastDataReceived' => '<string>', 'ModifiedDate' => '<string>', 'RegisteredDate' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'VersionStatus' => 'UP_TO_DATE|OUTDATED|UNSUPPORTED', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Collectors
-
- Type: Array of CollectorResponse structures
Provides descriptions of the Fleet Advisor collectors, including the collectors' name and ID, and the latest inventory data.
- NextToken
-
- Type: string
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeFleetAdvisorDatabases
$result = $client->describeFleetAdvisorDatabases
([/* ... */]); $promise = $client->describeFleetAdvisorDatabasesAsync
([/* ... */]);
Returns a list of Fleet Advisor databases in your account.
Parameter Syntax
$result = $client->describeFleetAdvisorDatabases([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:
-
database-id
– The ID of the database. -
database-name
– The name of the database. -
database-engine
– The name of the database engine. -
server-ip-address
– The IP address of the database server. -
database-ip-address
– The IP address of the database. -
collector-name
– The name of the associated Fleet Advisor collector.
An example is:
describe-fleet-advisor-databases --filter Name="database-id",Values="45"
- MaxRecords
-
- Type: int
Sets the maximum number of records returned in the response.
- NextToken
-
- Type: string
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'Databases' => [ [ 'Collectors' => [ [ 'CollectorName' => '<string>', 'CollectorReferencedId' => '<string>', ], // ... ], 'DatabaseId' => '<string>', 'DatabaseName' => '<string>', 'IpAddress' => '<string>', 'NumberOfSchemas' => <integer>, 'Server' => [ 'IpAddress' => '<string>', 'ServerId' => '<string>', 'ServerName' => '<string>', ], 'SoftwareDetails' => [ 'Engine' => '<string>', 'EngineEdition' => '<string>', 'EngineVersion' => '<string>', 'OsArchitecture' => <integer>, 'ServicePack' => '<string>', 'SupportLevel' => '<string>', 'Tooltip' => '<string>', ], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Databases
-
- Type: Array of DatabaseResponse structures
Provides descriptions of the Fleet Advisor collector databases, including the database's collector, ID, and name.
- NextToken
-
- Type: string
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeFleetAdvisorLsaAnalysis
$result = $client->describeFleetAdvisorLsaAnalysis
([/* ... */]); $promise = $client->describeFleetAdvisorLsaAnalysisAsync
([/* ... */]);
Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
Parameter Syntax
$result = $client->describeFleetAdvisorLsaAnalysis([ 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- MaxRecords
-
- Type: int
Sets the maximum number of records returned in the response.
- NextToken
-
- Type: string
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'Analysis' => [ [ 'LsaAnalysisId' => '<string>', 'Status' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Analysis
-
- Type: Array of FleetAdvisorLsaAnalysisResponse structures
A list of
FleetAdvisorLsaAnalysisResponse
objects. - NextToken
-
- Type: string
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeFleetAdvisorSchemaObjectSummary
$result = $client->describeFleetAdvisorSchemaObjectSummary
([/* ... */]); $promise = $client->describeFleetAdvisorSchemaObjectSummaryAsync
([/* ... */]);
Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
Parameter Syntax
$result = $client->describeFleetAdvisorSchemaObjectSummary([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
If you specify any of the following filters, the output includes information for only those schema objects that meet the filter criteria:
-
schema-id
– The ID of the schema, for exampled4610ac5-e323-4ad9-bc50-eaf7249dfe9d
.
Example:
describe-fleet-advisor-schema-object-summary --filter Name="schema-id",Values="50"
- MaxRecords
-
- Type: int
Sets the maximum number of records returned in the response.
- NextToken
-
- Type: string
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'FleetAdvisorSchemaObjects' => [ [ 'CodeLineCount' => <integer>, 'CodeSize' => <integer>, 'NumberOfObjects' => <integer>, 'ObjectType' => '<string>', 'SchemaId' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- FleetAdvisorSchemaObjects
-
- Type: Array of FleetAdvisorSchemaObjectResponse structures
A collection of
FleetAdvisorSchemaObjectResponse
objects. - NextToken
-
- Type: string
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeFleetAdvisorSchemas
$result = $client->describeFleetAdvisorSchemas
([/* ... */]); $promise = $client->describeFleetAdvisorSchemasAsync
([/* ... */]);
Returns a list of schemas detected by Fleet Advisor Collectors in your account.
Parameter Syntax
$result = $client->describeFleetAdvisorSchemas([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
If you specify any of the following filters, the output includes information for only those schemas that meet the filter criteria:
-
complexity
– The schema's complexity, for exampleSimple
. -
database-id
– The ID of the schema's database. -
database-ip-address
– The IP address of the schema's database. -
database-name
– The name of the schema's database. -
database-engine
– The name of the schema database's engine. -
original-schema-name
– The name of the schema's database's main schema. -
schema-id
– The ID of the schema, for example15
. -
schema-name
– The name of the schema. -
server-ip-address
– The IP address of the schema database's server.
An example is:
describe-fleet-advisor-schemas --filter Name="schema-id",Values="50"
- MaxRecords
-
- Type: int
Sets the maximum number of records returned in the response.
- NextToken
-
- Type: string
If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'FleetAdvisorSchemas' => [ [ 'CodeLineCount' => <integer>, 'CodeSize' => <integer>, 'Complexity' => '<string>', 'DatabaseInstance' => [ 'DatabaseEngine' => '<string>', 'DatabaseId' => '<string>', 'DatabaseIpAddress' => '<string>', 'DatabaseName' => '<string>', ], 'OriginalSchema' => [ 'DatabaseId' => '<string>', 'DatabaseIpAddress' => '<string>', 'DatabaseName' => '<string>', 'SchemaId' => '<string>', 'SchemaName' => '<string>', ], 'SchemaId' => '<string>', 'SchemaName' => '<string>', 'Server' => [ 'IpAddress' => '<string>', 'ServerId' => '<string>', 'ServerName' => '<string>', ], 'Similarity' => <float>, ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- FleetAdvisorSchemas
-
- Type: Array of SchemaResponse structures
A collection of
SchemaResponse
objects. - NextToken
-
- Type: string
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeInstanceProfiles
$result = $client->describeInstanceProfiles
([/* ... */]); $promise = $client->describeInstanceProfilesAsync
([/* ... */]);
Returns a paginated list of instance profiles for your account in the current region.
Parameter Syntax
$result = $client->describeInstanceProfiles([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the instance profiles described in the form of key-value pairs.
Valid filter names and values: instance-profile-identifier, instance profile arn or name
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
Result Syntax
[ 'InstanceProfiles' => [ [ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileCreationTime' => <DateTime>, 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'VpcSecurityGroups' => ['<string>', ...], ], // ... ], 'Marker' => '<string>', ]
Result Details
Members
- InstanceProfiles
-
- Type: Array of InstanceProfile structures
A description of instance profiles.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Describe Instance Profiles
Returns a paginated list of instance profiles for your account in the current region.
$result = $client->describeInstanceProfiles([ 'Filters' => [ [ 'Name' => 'instance-profile-identifier', 'Values' => [ 'arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, ]);
Result syntax:
[ 'InstanceProfiles' => [ [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:my-instance-profile', 'InstanceProfileCreationTime' =>, 'InstanceProfileName' => 'my-instance-profile', 'KmsKeyArn' => 'arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => 'public-subnets', ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', ]
DescribeMetadataModelAssessments
$result = $client->describeMetadataModelAssessments
([/* ... */]); $promise = $client->describeMetadataModelAssessmentsAsync
([/* ... */]);
Returns a paginated list of metadata model assessments for your account in the current region.
Parameter Syntax
$result = $client->describeMetadataModelAssessments([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the metadata model assessments described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results. - MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The name or Amazon Resource Name (ARN) of the migration project.
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of metadata model assessments for the specified migration project.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Metadata Model Assessments
Returns a paginated list of metadata model assessments for your account in the current region.
$result = $client->describeMetadataModelAssessments([ 'Filters' => [ [ 'Name' => 'my-migration-project', 'Values' => [ 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, 'MigrationProjectIdentifier' => '', ]);
Result syntax:
[ 'Marker' => 'ASDLKJASDJKHDFHGDNBGDASKJHGFK', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeMetadataModelConversions
$result = $client->describeMetadataModelConversions
([/* ... */]); $promise = $client->describeMetadataModelConversionsAsync
([/* ... */]);
Returns a paginated list of metadata model conversions for a migration project.
Parameter Syntax
$result = $client->describeMetadataModelConversions([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the metadata model conversions described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results. - MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of metadata model conversions.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Metadata Model Conversions
Returns a paginated list of metadata model conversions for a migration project.
$result = $client->describeMetadataModelConversions([ 'Filters' => [ [ 'Name' => 'request-id', 'Values' => [ '01234567-89ab-cdef-0123-456789abcdef', ], ], ], 'Marker' => 'EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456', 'MaxRecords' => 123, 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeMetadataModelExportsAsScript
$result = $client->describeMetadataModelExportsAsScript
([/* ... */]); $promise = $client->describeMetadataModelExportsAsScriptAsync
([/* ... */]);
Returns a paginated list of metadata model exports.
Parameter Syntax
$result = $client->describeMetadataModelExportsAsScript([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the metadata model exports described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results. - MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of metadata model exports.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Metadata Model Exports As Script
Returns a paginated list of metadata model exports.
$result = $client->describeMetadataModelExportsAsScript([ 'Filters' => [ [ 'Name' => 'request-id', 'Values' => [ '01234567-89ab-cdef-0123-456789abcdef', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeMetadataModelExportsToTarget
$result = $client->describeMetadataModelExportsToTarget
([/* ... */]); $promise = $client->describeMetadataModelExportsToTargetAsync
([/* ... */]);
Returns a paginated list of metadata model exports.
Parameter Syntax
$result = $client->describeMetadataModelExportsToTarget([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the metadata model exports described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results. - MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of metadata model exports.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Metadata Model Exports To Target
Returns a paginated list of metadata model exports.
$result = $client->describeMetadataModelExportsToTarget([ 'Filters' => [ [ 'Name' => 'request-id', 'Values' => [ '01234567-89ab-cdef-0123-456789abcdef', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeMetadataModelImports
$result = $client->describeMetadataModelImports
([/* ... */]); $promise = $client->describeMetadataModelImportsAsync
([/* ... */]);
Returns a paginated list of metadata model imports.
Parameter Syntax
$result = $client->describeMetadataModelImports([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the metadata model imports described in the form of key-value pairs.
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
A paginated list of metadata model imports.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'Marker' => '<string>', 'Requests' => [ [ 'Error' => [ 'defaultErrorDetails' => [ 'Message' => '<string>', ], ], 'ExportSqlDetails' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'MigrationProjectArn' => '<string>', 'RequestIdentifier' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Requests
-
- Type: Array of SchemaConversionRequest structures
A paginated list of metadata model imports.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe Metadata Model Imports
Returns a paginated list of metadata model imports.
$result = $client->describeMetadataModelImports([ 'Filters' => [ [ 'Name' => 'request-id', 'Values' => [ '01234567-89ab-cdef-0123-456789abcdef', ], ], ], 'Marker' => '0123456789abcdefghijklmnopqrs', 'MaxRecords' => 20, 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'Requests' => [ [ 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', 'Status' => 'SUCCESS', ], ], ]
DescribeMigrationProjects
$result = $client->describeMigrationProjects
([/* ... */]); $promise = $client->describeMigrationProjectsAsync
([/* ... */]);
Returns a paginated list of migration projects for your account in the current region.
Parameter Syntax
$result = $client->describeMigrationProjects([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the migration projects described in the form of key-value pairs.
Valid filter names and values:
-
instance-profile-identifier, instance profile arn or name
-
data-provider-identifier, data provider arn or name
-
migration-project-identifier, migration project arn or name
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, DMS includes a pagination token in the response so that you can retrieve the remaining results.
Result Syntax
[ 'Marker' => '<string>', 'MigrationProjects' => [ [ 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileName' => '<string>', 'MigrationProjectArn' => '<string>', 'MigrationProjectCreationTime' => <DateTime>, 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
Marker
is returned by a previous response, there are more results available. The value ofMarker
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - MigrationProjects
-
- Type: Array of MigrationProject structures
A description of migration projects.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Describe Migration Projects
Returns a paginated list of migration projects for your account in the current region.
$result = $client->describeMigrationProjects([ 'Filters' => [ [ 'Name' => 'migration-project-identifier', 'Values' => [ 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901', ], ], ], 'Marker' => 'EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456', 'MaxRecords' => 20, ]);
Result syntax:
[ 'Marker' => '0123456789abcdefghijklmnopqrs', 'MigrationProjects' => [ [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'InstanceProfileName' => 'my-instance-profile', 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'MigrationProjectCreationTime' =>, 'MigrationProjectName' => 'my-migration-project', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'my-s3-bucket/my_folder', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/my-s3role', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'all-source-oracle-12', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/my-access-role', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-012345', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'my-data-provider', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/dmytbon-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-012345', ], ], ], ], ]
DescribeOrderableReplicationInstances
$result = $client->describeOrderableReplicationInstances
([/* ... */]); $promise = $client->describeOrderableReplicationInstancesAsync
([/* ... */]);
Returns information about the replication instance types that can be created in the specified region.
Parameter Syntax
$result = $client->describeOrderableReplicationInstances([ 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Marker' => '<string>', 'OrderableReplicationInstances' => [ [ 'AvailabilityZones' => ['<string>', ...], 'DefaultAllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'IncludedAllocatedStorage' => <integer>, 'MaxAllocatedStorage' => <integer>, 'MinAllocatedStorage' => <integer>, 'ReleaseStatus' => 'beta|prod', 'ReplicationInstanceClass' => '<string>', 'StorageType' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - OrderableReplicationInstances
-
- Type: Array of OrderableReplicationInstance structures
The order-able replication instances available.
Errors
There are no errors described for this operation.
Examples
Example 1: Describe orderable replication instances
Returns information about the replication instance types that can be created in the specified region.
$result = $client->describeOrderableReplicationInstances([ 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'OrderableReplicationInstances' => [ ], ]
DescribePendingMaintenanceActions
$result = $client->describePendingMaintenanceActions
([/* ... */]); $promise = $client->describePendingMaintenanceActionsAsync
([/* ... */]);
For internal use only
Parameter Syntax
$result = $client->describePendingMaintenanceActions([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReplicationInstanceArn' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- ReplicationInstanceArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'Marker' => '<string>', 'PendingMaintenanceActions' => [ [ 'PendingMaintenanceActionDetails' => [ [ 'Action' => '<string>', 'AutoAppliedAfterDate' => <DateTime>, 'CurrentApplyDate' => <DateTime>, 'Description' => '<string>', 'ForcedApplyDate' => <DateTime>, 'OptInStatus' => '<string>', ], // ... ], 'ResourceIdentifier' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - PendingMaintenanceActions
-
- Type: Array of ResourcePendingMaintenanceActions structures
The pending maintenance action.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeRecommendationLimitations
$result = $client->describeRecommendationLimitations
([/* ... */]); $promise = $client->describeRecommendationLimitationsAsync
([/* ... */]);
Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
Parameter Syntax
$result = $client->describeRecommendationLimitations([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the limitations described in the form of key-value pairs.
- MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results. - NextToken
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'Limitations' => [ [ 'DatabaseId' => '<string>', 'Description' => '<string>', 'EngineName' => '<string>', 'Impact' => '<string>', 'Name' => '<string>', 'Type' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Limitations
-
- Type: Array of Limitation structures
The list of limitations for recommendations of target Amazon Web Services engines.
- NextToken
-
- Type: string
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the
MaxRecords
value. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
DescribeRecommendations
$result = $client->describeRecommendations
([/* ... */]); $promise = $client->describeRecommendationsAsync
([/* ... */]);
Returns a paginated list of target engine recommendations for your source databases.
Parameter Syntax
$result = $client->describeRecommendations([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MaxRecords' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the target engine recommendations described in the form of key-value pairs.
- MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results. - NextToken
-
- Type: string
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Result Syntax
[ 'NextToken' => '<string>', 'Recommendations' => [ [ 'CreatedDate' => '<string>', 'Data' => [ 'RdsEngine' => [ 'RequirementsToTarget' => [ 'DeploymentOption' => '<string>', 'EngineEdition' => '<string>', 'EngineVersion' => '<string>', 'InstanceMemory' => <float>, 'InstanceVcpu' => <float>, 'StorageIops' => <integer>, 'StorageSize' => <integer>, ], 'TargetConfiguration' => [ 'DeploymentOption' => '<string>', 'EngineEdition' => '<string>', 'EngineVersion' => '<string>', 'InstanceMemory' => <float>, 'InstanceType' => '<string>', 'InstanceVcpu' => <float>, 'StorageIops' => <integer>, 'StorageSize' => <integer>, 'StorageType' => '<string>', ], ], ], 'DatabaseId' => '<string>', 'EngineName' => '<string>', 'Preferred' => true || false, 'Settings' => [ 'InstanceSizingType' => '<string>', 'WorkloadType' => '<string>', ], 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the
MaxRecords
value. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged. - Recommendations
-
- Type: Array of Recommendation structures
The list of recommendations of target engines that Fleet Advisor created for the source database.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
DescribeRefreshSchemasStatus
$result = $client->describeRefreshSchemasStatus
([/* ... */]); $promise = $client->describeRefreshSchemasStatusAsync
([/* ... */]);
Returns the status of the RefreshSchemas operation.
Parameter Syntax
$result = $client->describeRefreshSchemasStatus([ 'EndpointArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Result Syntax
[ 'RefreshSchemasStatus' => [ 'EndpointArn' => '<string>', 'LastFailureMessage' => '<string>', 'LastRefreshDate' => <DateTime>, 'ReplicationInstanceArn' => '<string>', 'Status' => 'successful|failed|refreshing', ], ]
Result Details
Members
- RefreshSchemasStatus
-
- Type: RefreshSchemasStatus structure
The status of the schema.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe refresh schema status
Returns the status of the refresh-schemas operation.
$result = $client->describeRefreshSchemasStatus([ 'EndpointArn' => '', ]);
Result syntax:
[ 'RefreshSchemasStatus' => [ ], ]
DescribeReplicationConfigs
$result = $client->describeReplicationConfigs
([/* ... */]); $promise = $client->describeReplicationConfigsAsync
([/* ... */]);
Returns one or more existing DMS Serverless replication configurations as a list of structures.
Parameter Syntax
$result = $client->describeReplicationConfigs([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the replication configs.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationConfigs' => [ [ 'ComputeConfig' => [ 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigArn' => '<string>', 'ReplicationConfigCreateTime' => <DateTime>, 'ReplicationConfigIdentifier' => '<string>', 'ReplicationConfigUpdateTime' => <DateTime>, 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'SourceEndpointArn' => '<string>', 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationConfigs
-
- Type: Array of ReplicationConfig structures
Returned configuration parameters that describe each provisioned DMS Serverless replication.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeReplicationInstanceTaskLogs
$result = $client->describeReplicationInstanceTaskLogs
([/* ... */]); $promise = $client->describeReplicationInstanceTaskLogsAsync
([/* ... */]);
Returns information about the task logs for the specified task.
Parameter Syntax
$result = $client->describeReplicationInstanceTaskLogs([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceTaskLogs' => [ [ 'ReplicationInstanceTaskLogSize' => <integer>, 'ReplicationTaskArn' => '<string>', 'ReplicationTaskName' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationInstanceArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
- ReplicationInstanceTaskLogs
-
- Type: Array of ReplicationInstanceTaskLog structures
An array of replication task log metadata. Each member of the array contains the replication task name, ARN, and task log size (in bytes).
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeReplicationInstances
$result = $client->describeReplicationInstances
([/* ... */]); $promise = $client->describeReplicationInstancesAsync
([/* ... */]);
Returns information about replication instances for your account in the current region.
Parameter Syntax
$result = $client->describeReplicationInstances([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to replication instances.
Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationInstances' => [ [ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'FreeUntil' => <DateTime>, 'InstanceCreateTime' => <DateTime>, 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PendingModifiedValues' => [ 'AllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'ReplicationInstanceClass' => '<string>', ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'ReplicationInstanceIpv6Addresses' => ['<string>', ...], 'ReplicationInstancePrivateIpAddress' => '<string>', 'ReplicationInstancePrivateIpAddresses' => ['<string>', ...], 'ReplicationInstancePublicIpAddress' => '<string>', 'ReplicationInstancePublicIpAddresses' => ['<string>', ...], 'ReplicationInstanceStatus' => '<string>', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], 'SecondaryAvailabilityZone' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationInstances
-
- Type: Array of ReplicationInstance structures
The replication instances described.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe replication instances
Returns the status of the refresh-schemas operation.
$result = $client->describeReplicationInstances([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'ReplicationInstances' => [ ], ]
DescribeReplicationSubnetGroups
$result = $client->describeReplicationSubnetGroups
([/* ... */]); $promise = $client->describeReplicationSubnetGroupsAsync
([/* ... */]);
Returns information about the replication subnet groups.
Parameter Syntax
$result = $client->describeReplicationSubnetGroups([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to replication subnet groups.
Valid filter names: replication-subnet-group-id
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationSubnetGroups' => [ [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationSubnetGroups
-
- Type: Array of ReplicationSubnetGroup structures
A description of the replication subnet groups.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe replication subnet groups
Returns information about the replication subnet groups.
$result = $client->describeReplicationSubnetGroups([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'ReplicationSubnetGroups' => [ ], ]
DescribeReplicationTableStatistics
$result = $client->describeReplicationTableStatistics
([/* ... */]); $promise = $client->describeReplicationTableStatisticsAsync
([/* ... */]);
Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.
Parameter Syntax
$result = $client->describeReplicationTableStatistics([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReplicationConfigArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the replication table statistics.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. - ReplicationConfigArn
-
- Required: Yes
- Type: string
The replication config to describe.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationConfigArn' => '<string>', 'ReplicationTableStatistics' => [ [ 'AppliedDdls' => <integer>, 'AppliedDeletes' => <integer>, 'AppliedInserts' => <integer>, 'AppliedUpdates' => <integer>, 'Ddls' => <integer>, 'Deletes' => <integer>, 'FullLoadCondtnlChkFailedRows' => <integer>, 'FullLoadEndTime' => <DateTime>, 'FullLoadErrorRows' => <integer>, 'FullLoadReloaded' => true || false, 'FullLoadRows' => <integer>, 'FullLoadStartTime' => <DateTime>, 'Inserts' => <integer>, 'LastUpdateTime' => <DateTime>, 'SchemaName' => '<string>', 'TableName' => '<string>', 'TableState' => '<string>', 'Updates' => <integer>, 'ValidationFailedRecords' => <integer>, 'ValidationPendingRecords' => <integer>, 'ValidationState' => '<string>', 'ValidationStateDetails' => '<string>', 'ValidationSuspendedRecords' => <integer>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationConfigArn
-
- Type: string
The Amazon Resource Name of the replication config.
- ReplicationTableStatistics
-
- Type: Array of TableStatistics structures
Returns table statistics on the replication, including table name, rows inserted, rows updated, and rows deleted.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
DescribeReplicationTaskAssessmentResults
$result = $client->describeReplicationTaskAssessmentResults
([/* ... */]); $promise = $client->describeReplicationTaskAssessmentResultsAsync
([/* ... */]);
Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.
For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->describeReplicationTaskAssessmentResults([ 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReplicationTaskArn' => '<string>', ]);
Parameter Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the task. When this input parameter is specified, the API returns only one result and ignore the values of the
MaxRecords
andMarker
parameters.
Result Syntax
[ 'BucketName' => '<string>', 'Marker' => '<string>', 'ReplicationTaskAssessmentResults' => [ [ 'AssessmentResults' => '<string>', 'AssessmentResultsFile' => '<string>', 'AssessmentStatus' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskLastAssessmentDate' => <DateTime>, 'S3ObjectUrl' => '<string>', ], // ... ], ]
Result Details
Members
- BucketName
-
- Type: string
- The Amazon S3 bucket where the task assessment report is located.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationTaskAssessmentResults
-
- Type: Array of ReplicationTaskAssessmentResult structures
The task assessment report.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeReplicationTaskAssessmentRuns
$result = $client->describeReplicationTaskAssessmentRuns
([/* ... */]); $promise = $client->describeReplicationTaskAssessmentRunsAsync
([/* ... */]);
Returns a paginated list of premigration assessment runs based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.
This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments
operation.
Parameter Syntax
$result = $client->describeReplicationTaskAssessmentRuns([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the premigration assessment runs described in the form of key-value pairs.
Valid filter names:
replication-task-assessment-run-arn
,replication-task-arn
,replication-instance-arn
,status
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationTaskAssessmentRuns' => [ [ 'AssessmentProgress' => [ 'IndividualAssessmentCompletedCount' => <integer>, 'IndividualAssessmentCount' => <integer>, ], 'AssessmentRunName' => '<string>', 'IsLatestTaskAssessmentRun' => true || false, 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ResultStatistic' => [ 'Cancelled' => <integer>, 'Error' => <integer>, 'Failed' => <integer>, 'Passed' => <integer>, 'Warning' => <integer>, ], 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A pagination token returned for you to pass to a subsequent request. If you pass this token as the
Marker
value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request byMaxRecords
. - ReplicationTaskAssessmentRuns
-
- Type: Array of ReplicationTaskAssessmentRun structures
One or more premigration assessment runs as specified by
Filters
.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeReplicationTaskIndividualAssessments
$result = $client->describeReplicationTaskIndividualAssessments
([/* ... */]); $promise = $client->describeReplicationTaskIndividualAssessmentsAsync
([/* ... */]);
Returns a paginated list of individual assessments based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.
Parameter Syntax
$result = $client->describeReplicationTaskIndividualAssessments([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the individual assessments described in the form of key-value pairs.
Valid filter names:
replication-task-assessment-run-arn
,replication-task-arn
,status
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationTaskIndividualAssessments' => [ [ 'IndividualAssessmentName' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskIndividualAssessmentArn' => '<string>', 'ReplicationTaskIndividualAssessmentStartDate' => <DateTime>, 'Status' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
A pagination token returned for you to pass to a subsequent request. If you pass this token as the
Marker
value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request byMaxRecords
. - ReplicationTaskIndividualAssessments
-
- Type: Array of ReplicationTaskIndividualAssessment structures
One or more individual assessments as specified by
Filters
.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeReplicationTasks
$result = $client->describeReplicationTasks
([/* ... */]); $promise = $client->describeReplicationTasksAsync
([/* ... */]);
Returns information about replication tasks for your account in the current region.
Parameter Syntax
$result = $client->describeReplicationTasks([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'WithoutSettings' => true || false, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to replication tasks.
Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- WithoutSettings
-
- Type: boolean
An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose
true
; otherwise, choosefalse
(the default).
Result Syntax
[ 'Marker' => '<string>', 'ReplicationTasks' => [ [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationTasks
-
- Type: Array of ReplicationTask structures
A description of the replication tasks.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe replication tasks
Returns information about replication tasks for your account in the current region.
$result = $client->describeReplicationTasks([ 'Filters' => [ [ 'Name' => 'string', 'Values' => [ 'string', 'string', ], ], ], 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'ReplicationTasks' => [ ], ]
DescribeReplications
$result = $client->describeReplications
([/* ... */]); $promise = $client->describeReplicationsAsync
([/* ... */]);
Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.
Parameter Syntax
$result = $client->describeReplications([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to the replications.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
Result Syntax
[ 'Marker' => '<string>', 'Replications' => [ [ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <DateTime>, 'CdcStopPosition' => '<string>', 'FailureMessages' => ['<string>', ...], 'ProvisionData' => [ 'DateNewProvisioningDataAvailable' => <DateTime>, 'DateProvisioned' => <DateTime>, 'IsNewProvisioningAvailable' => true || false, 'ProvisionState' => '<string>', 'ProvisionedCapacityUnits' => <integer>, 'ReasonForNewProvisioningData' => '<string>', ], 'RecoveryCheckpoint' => '<string>', 'ReplicationConfigArn' => '<string>', 'ReplicationConfigIdentifier' => '<string>', 'ReplicationCreateTime' => <DateTime>, 'ReplicationDeprovisionTime' => <DateTime>, 'ReplicationLastStopTime' => <DateTime>, 'ReplicationStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'ReplicationUpdateTime' => <DateTime>, 'SourceEndpointArn' => '<string>', 'StartReplicationType' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TargetEndpointArn' => '<string>', ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - Replications
-
- Type: Array of Replication structures
The replication descriptions.
Errors
- ResourceNotFoundFault:
The resource could not be found.
DescribeSchemas
$result = $client->describeSchemas
([/* ... */]); $promise = $client->describeSchemasAsync
([/* ... */]);
Returns information about the schema for the specified endpoint.
Parameter Syntax
$result = $client->describeSchemas([ 'EndpointArn' => '<string>', // REQUIRED 'Marker' => '<string>', 'MaxRecords' => <integer>, ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Result Syntax
[ 'Marker' => '<string>', 'Schemas' => ['<string>', ...], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - Schemas
-
- Type: Array of strings
The described schema.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Describe schemas
Returns information about the schema for the specified endpoint.
$result = $client->describeSchemas([ 'EndpointArn' => '', 'Marker' => '', 'MaxRecords' => 123, ]);
Result syntax:
[ 'Marker' => '', 'Schemas' => [ ], ]
DescribeTableStatistics
$result = $client->describeTableStatistics
([/* ... */]); $promise = $client->describeTableStatisticsAsync
([/* ... */]);
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.
Parameter Syntax
$result = $client->describeTableStatistics([ 'Filters' => [ [ 'Name' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'Marker' => '<string>', 'MaxRecords' => <integer>, 'ReplicationTaskArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Filters
-
- Type: Array of Filter structures
Filters applied to table statistics.
Valid filter names: schema-name | table-name | table-state
A combination of filters creates an AND condition where each record matches all specified filters.
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - MaxRecords
-
- Type: int
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 500.
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task.
Result Syntax
[ 'Marker' => '<string>', 'ReplicationTaskArn' => '<string>', 'TableStatistics' => [ [ 'AppliedDdls' => <integer>, 'AppliedDeletes' => <integer>, 'AppliedInserts' => <integer>, 'AppliedUpdates' => <integer>, 'Ddls' => <integer>, 'Deletes' => <integer>, 'FullLoadCondtnlChkFailedRows' => <integer>, 'FullLoadEndTime' => <DateTime>, 'FullLoadErrorRows' => <integer>, 'FullLoadReloaded' => true || false, 'FullLoadRows' => <integer>, 'FullLoadStartTime' => <DateTime>, 'Inserts' => <integer>, 'LastUpdateTime' => <DateTime>, 'SchemaName' => '<string>', 'TableName' => '<string>', 'TableState' => '<string>', 'Updates' => <integer>, 'ValidationFailedRecords' => <integer>, 'ValidationPendingRecords' => <integer>, 'ValidationState' => '<string>', 'ValidationStateDetails' => '<string>', 'ValidationSuspendedRecords' => <integer>, ], // ... ], ]
Result Details
Members
- Marker
-
- Type: string
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
. - ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- TableStatistics
-
- Type: Array of TableStatistics structures
The table statistics.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
Examples
Example 1: Describe table statistics
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
$result = $client->describeTableStatistics([ 'Marker' => '', 'MaxRecords' => 123, 'ReplicationTaskArn' => '', ]);
Result syntax:
[ 'Marker' => '', 'ReplicationTaskArn' => '', 'TableStatistics' => [ ], ]
ExportMetadataModelAssessment
$result = $client->exportMetadataModelAssessment
([/* ... */]); $promise = $client->exportMetadataModelAssessmentAsync
([/* ... */]);
Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.
Parameter Syntax
$result = $client->exportMetadataModelAssessment([ 'AssessmentReportTypes' => ['<string>', ...], 'FileName' => '<string>', 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AssessmentReportTypes
-
- Type: Array of strings
The file format of the assessment file.
- FileName
-
- Type: string
The name of the assessment file to create in your Amazon S3 bucket.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to assess.
Result Syntax
[ 'CsvReport' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], 'PdfReport' => [ 'ObjectURL' => '<string>', 'S3ObjectKey' => '<string>', ], ]
Result Details
Members
- CsvReport
-
- Type: ExportMetadataModelAssessmentResultEntry structure
The Amazon S3 details for an assessment exported in CSV format.
- PdfReport
-
- Type: ExportMetadataModelAssessmentResultEntry structure
The Amazon S3 details for an assessment exported in PDF format.
Errors
- ResourceNotFoundFault:
The resource could not be found.
Examples
Example 1: Export Metadata Model Assessment
Saves a copy of a database migration assessment report to your S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.
$result = $client->exportMetadataModelAssessment([ 'AssessmentReportTypes' => [ 'pdf', ], 'FileName' => 'file', 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'CsvReport' => [ 'ObjectURL' => 'url', 'S3ObjectKey' => 'object-name', ], 'PdfReport' => [ 'ObjectURL' => 'url', 'S3ObjectKey' => 'object-name', ], ]
ImportCertificate
$result = $client->importCertificate
([/* ... */]); $promise = $client->importCertificateAsync
([/* ... */]);
Uploads the specified certificate.
Parameter Syntax
$result = $client->importCertificate([ 'CertificateIdentifier' => '<string>', // REQUIRED 'CertificatePem' => '<string>', 'CertificateWallet' => <string || resource || Psr\Http\Message\StreamInterface>, 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- CertificateIdentifier
-
- Required: Yes
- Type: string
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- CertificatePem
-
- Type: string
The contents of a
.pem
file, which contains an X.509 certificate. - CertificateWallet
-
- Type: blob (string|resource|Psr\Http\Message\StreamInterface)
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a
.sso
file using thefileb://
prefix. You can't provide the certificate inline.Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
- Tags
-
- Type: Array of Tag structures
The tags associated with the certificate.
Result Syntax
[ 'Certificate' => [ 'CertificateArn' => '<string>', 'CertificateCreationDate' => <DateTime>, 'CertificateIdentifier' => '<string>', 'CertificateOwner' => '<string>', 'CertificatePem' => '<string>', 'CertificateWallet' => <string || resource || Psr\Http\Message\StreamInterface>, 'KeyLength' => <integer>, 'SigningAlgorithm' => '<string>', 'ValidFromDate' => <DateTime>, 'ValidToDate' => <DateTime>, ], ]
Result Details
Members
- Certificate
-
- Type: Certificate structure
The certificate to be uploaded.
Errors
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- InvalidCertificateFault:
The certificate was not valid.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
Examples
Example 1: Import certificate
Uploads the specified certificate.
$result = $client->importCertificate([ 'CertificateIdentifier' => '', 'CertificatePem' => '', ]);
Result syntax:
[ 'Certificate' => [ ], ]
ListTagsForResource
$result = $client->listTagsForResource
([/* ... */]); $promise = $client->listTagsForResourceAsync
([/* ... */]);
Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag
data type description.
Parameter Syntax
$result = $client->listTagsForResource([ 'ResourceArn' => '<string>', 'ResourceArnList' => ['<string>', ...], ]);
Parameter Details
Members
- ResourceArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to list tags for. This returns a list of keys (names of tags) created for the resource and their associated tag values.
- ResourceArnList
-
- Type: Array of strings
List of ARNs that identify multiple DMS resources that you want to list tags for. This returns a list of keys (tag names) and their associated tag values. It also returns each tag's associated
ResourceArn
value, which is the ARN of the resource for which each listed tag is created.
Result Syntax
[ 'TagList' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]
Result Details
Members
- TagList
-
- Type: Array of Tag structures
A list of tags for the resource.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: List tags for resource
Lists all tags for an AWS DMS resource.
$result = $client->listTagsForResource([ 'ResourceArn' => '', ]);
Result syntax:
[ 'TagList' => [ ], ]
ModifyConversionConfiguration
$result = $client->modifyConversionConfiguration
([/* ... */]); $promise = $client->modifyConversionConfigurationAsync
([/* ... */]);
Modifies the specified schema conversion configuration using the provided parameters.
Parameter Syntax
$result = $client->modifyConversionConfiguration([ 'ConversionConfiguration' => '<string>', // REQUIRED 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ConversionConfiguration
-
- Required: Yes
- Type: string
The new conversion configuration.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'MigrationProjectIdentifier' => '<string>', ]
Result Details
Members
- MigrationProjectIdentifier
-
- Type: string
The name or Amazon Resource Name (ARN) of the modified configuration.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Modify Conversion Configuration
Modifies the specified schema conversion configuration using the provided parameters.
$result = $client->modifyConversionConfiguration([ 'ConversionConfiguration' => '{"Common project settings":{"ShowSeverityLevelInSql":"CRITICAL"},"ORACLE_TO_POSTGRESQL" : {"ToTimeZone":false,"LastDayBuiltinFunctionOracle":false, "NextDayBuiltinFunctionOracle":false,"ConvertProceduresToFunction":false,"NvlBuiltinFunctionOracle":false,"DbmsAssertBuiltinFunctionOracle":false}}', 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]
ModifyDataMigration
$result = $client->modifyDataMigration
([/* ... */]); $promise = $client->modifyDataMigrationAsync
([/* ... */]);
Modifies an existing DMS data migration.
Parameter Syntax
$result = $client->modifyDataMigration([ 'DataMigrationIdentifier' => '<string>', // REQUIRED 'DataMigrationName' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'EnableCloudwatchLogs' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <integer || string || DateTime>, 'CDCStopTime' => <integer || string || DateTime>, 'SlotName' => '<string>', ], // ... ], ]);
Parameter Details
Members
- DataMigrationIdentifier
-
- Required: Yes
- Type: string
The identifier (name or ARN) of the data migration to modify.
- DataMigrationName
-
- Type: string
The new name for the data migration.
- DataMigrationType
-
- Type: string
The new migration type for the data migration.
- EnableCloudwatchLogs
-
- Type: boolean
Whether to enable Cloudwatch logs for the data migration.
- NumberOfJobs
-
- Type: int
The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
- SelectionRules
-
- Type: string
A JSON-formatted string that defines what objects to include and exclude from the migration.
- ServiceAccessRoleArn
-
- Type: string
The new service access role ARN for the data migration.
- SourceDataSettings
-
- Type: Array of SourceDataSetting structures
The new information about the source data provider for the data migration.
Result Syntax
[ 'DataMigration' => [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], ]
Result Details
Members
- DataMigration
-
- Type: DataMigration structure
Information about the modified data migration.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- FailedDependencyFault:
A dependency threw an exception.
ModifyDataProvider
$result = $client->modifyDataProvider
([/* ... */]); $promise = $client->modifyDataProviderAsync
([/* ... */]);
Modifies the specified data provider using the provided settings.
You must remove the data provider from all migration projects before you can modify it.
Parameter Syntax
$result = $client->modifyDataProvider([ 'DataProviderIdentifier' => '<string>', // REQUIRED 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', 'ExactSettings' => true || false, 'Settings' => [ 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], ]);
Parameter Details
Members
- DataProviderIdentifier
-
- Required: Yes
- Type: string
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- DataProviderName
-
- Type: string
The name of the data provider.
- Description
-
- Type: string
A user-friendly description of the data provider.
- Engine
-
- Type: string
The type of database engine for the data provider. Valid values include
"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition. - ExactSettings
-
- Type: boolean
If this attribute is Y, the current call to
ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyDataProvider
does two things:-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
- Settings
-
- Type: DataProviderSettings structure
The settings in JSON format for a data provider.
Result Syntax
[ 'DataProvider' => [ 'DataProviderArn' => '<string>', 'DataProviderCreationTime' => <DateTime>, 'DataProviderName' => '<string>', 'Description' => '<string>', 'Engine' => '<string>', 'Settings' => [ 'DocDbSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MariaDbSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MicrosoftSqlServerSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'MySqlSettings' => [ 'CertificateArn' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'OracleSettings' => [ 'AsmServer' => '<string>', 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecurityDbEncryptionAccessRoleArn' => '<string>', 'SecretsManagerSecurityDbEncryptionSecretId' => '<string>', 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'PostgreSqlSettings' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', ], 'RedshiftSettings' => [ 'DatabaseName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', ], ], ], ]
Result Details
Members
- DataProvider
-
- Type: DataProvider structure
The data provider that was modified.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Modify Data Provider
Modifies the specified data provider using the provided settings.
$result = $client->modifyDataProvider([ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'DataProviderName' => 'new-name', 'Description' => 'description', 'Engine' => 'sqlserver', 'Settings' => [ 'MicrosoftSqlServerSettings' => [ 'DatabaseName' => 'DatabaseName', 'Port' => 11112, 'ServerName' => 'ServerName2', 'SslMode' => 'none', ], ], ]);
Result syntax:
[ 'DataProvider' => [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider', 'DataProviderCreationTime' =>, 'DataProviderName' => 'my-target-data-provider', 'Engine' => 'postgres', 'Settings' => [ 'PostgreSqlSettings' => [ 'DatabaseName' => 'target', 'Port' => 5432, 'ServerName' => 'postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com', 'SslMode' => 'none', ], ], ], ]
ModifyEndpoint
$result = $client->modifyEndpoint
([/* ... */]); $promise = $client->modifyEndpointAsync
([/* ... */]);
Modifies the specified endpoint.
For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName
request parameter on the ModifyEndpoint
API call. Specifying DatabaseName
when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.
Parameter Syntax
$result = $client->modifyEndpoint([ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', // REQUIRED ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', // REQUIRED 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', // REQUIRED 'UseNewMappingType' => true || false, ], 'EndpointArn' => '<string>', // REQUIRED 'EndpointIdentifier' => '<string>', 'EndpointType' => 'source|target', 'EngineName' => '<string>', 'ExactSettings' => true || false, 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', // REQUIRED 'S3BucketName' => '<string>', // REQUIRED 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Password' => '<string>', 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, // REQUIRED 'ServerName' => '<string>', // REQUIRED 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', // REQUIRED 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, // REQUIRED 'MemoryDuration' => <integer>, // REQUIRED ], 'Username' => '<string>', ]);
Parameter Details
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
- DmsTransferSettings
-
- Type: DmsTransferSettings structure
The settings in JSON format for the DMS transfer type of source endpoint.
Attributes include the following:
-
serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the
iam:PassRole
action. -
BucketName - The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string ,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string"}
- DocDbSettings
-
- Type: DocDbSettings structure
Settings in JSON format for the source DocumentDB endpoint. For more information about the available settings, see the configuration properties section in Using DocumentDB as a Target for Database Migration Service in the Database Migration Service User Guide.
- DynamoDbSettings
-
- Type: DynamoDbSettings structure
Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.
- ElasticsearchSettings
-
- Type: ElasticsearchSettings structure
Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- EndpointIdentifier
-
- Type: string
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- EndpointType
-
- Type: string
The type of endpoint. Valid values are
source
andtarget
. - EngineName
-
- Type: string
The database engine name. Valid values, depending on the EndpointType, include
"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"redshift"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"documentdb"
,"sqlserver"
,"neptune"
, and"babelfish"
. - ExactSettings
-
- Type: boolean
If this attribute is Y, the current call to
ModifyEndpoint
replaces all existing endpoint settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyEndpoint
does two things:-
It replaces any endpoint settings that already exist with new values, for settings with the same names.
-
It creates new endpoint settings that you specify in the call, for settings with different names.
For example, if you call
create-endpoint ... --endpoint-settings '{"a":1}' ...
, the endpoint has the following endpoint settings:'{"a":1}'
. If you then callmodify-endpoint ... --endpoint-settings '{"b":2}' ...
for the same endpoint, the endpoint has the following settings:'{"a":1,"b":2}'
.However, suppose that you follow this with a call to
modify-endpoint ... --endpoint-settings '{"b":2}' --exact-settings ...
for that same endpoint again. Then the endpoint has the following settings:'{"b":2}'
. All existing settings are replaced with the exact settings that you specify. - ExternalTableDefinition
-
- Type: string
The external table definition.
- ExtraConnectionAttributes
-
- Type: string
Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
- GcpMySQLSettings
-
- Type: GcpMySQLSettings structure
Settings in JSON format for the source GCP MySQL endpoint.
- IBMDb2Settings
-
- Type: IBMDb2Settings structure
Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.
- KafkaSettings
-
- Type: KafkaSettings structure
Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
- KinesisSettings
-
- Type: KinesisSettings structure
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.
- MicrosoftSQLServerSettings
-
- Type: MicrosoftSQLServerSettings structure
Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
- MongoDbSettings
-
- Type: MongoDbSettings structure
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
- MySQLSettings
-
- Type: MySQLSettings structure
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.
- NeptuneSettings
-
- Type: NeptuneSettings structure
Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.
- OracleSettings
-
- Type: OracleSettings structure
Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
- Password
-
- Type: string
The password to be used to login to the endpoint database.
- Port
-
- Type: int
The port used by the endpoint database.
- PostgreSQLSettings
-
- Type: PostgreSQLSettings structure
Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.
- RedisSettings
-
- Type: RedisSettings structure
Settings in JSON format for the Redis target endpoint.
- RedshiftSettings
-
- Type: RedshiftSettings structure
Provides information that defines an Amazon Redshift endpoint.
- S3Settings
-
- Type: S3Settings structure
Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.
- ServerName
-
- Type: string
The name of the server where the endpoint database resides.
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint. The role must allow the
iam:PassRole
action. - SslMode
-
- Type: string
The SSL mode used to connect to the endpoint. The default value is
none
. - SybaseSettings
-
- Type: SybaseSettings structure
Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
- TimestreamSettings
-
- Type: TimestreamSettings structure
Settings in JSON format for the target Amazon Timestream endpoint.
- Username
-
- Type: string
The user name to be used to login to the endpoint database.
Result Syntax
[ 'Endpoint' => [ 'CertificateArn' => '<string>', 'DatabaseName' => '<string>', 'DmsTransferSettings' => [ 'BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'DocDbSettings' => [ 'DatabaseName' => '<string>', 'DocsToInvestigate' => <integer>, 'ExtractDocId' => true || false, 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'DynamoDbSettings' => [ 'ServiceAccessRoleArn' => '<string>', ], 'ElasticsearchSettings' => [ 'EndpointUri' => '<string>', 'ErrorRetryDuration' => <integer>, 'FullLoadErrorPercentage' => <integer>, 'ServiceAccessRoleArn' => '<string>', 'UseNewMappingType' => true || false, ], 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'EndpointType' => 'source|target', 'EngineDisplayName' => '<string>', 'EngineName' => '<string>', 'ExternalId' => '<string>', 'ExternalTableDefinition' => '<string>', 'ExtraConnectionAttributes' => '<string>', 'GcpMySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'IBMDb2Settings' => [ 'CurrentLsn' => '<string>', 'DatabaseName' => '<string>', 'KeepCsvFiles' => true || false, 'LoadTimeout' => <integer>, 'MaxFileSize' => <integer>, 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'KafkaSettings' => [ 'Broker' => '<string>', 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'MessageMaxBytes' => <integer>, 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'SaslMechanism' => 'scram-sha-512|plain', 'SaslPassword' => '<string>', 'SaslUsername' => '<string>', 'SecurityProtocol' => 'plaintext|ssl-authentication|ssl-encryption|sasl-ssl', 'SslCaCertificateArn' => '<string>', 'SslClientCertificateArn' => '<string>', 'SslClientKeyArn' => '<string>', 'SslClientKeyPassword' => '<string>', 'SslEndpointIdentificationAlgorithm' => 'none|https', 'Topic' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KinesisSettings' => [ 'IncludeControlDetails' => true || false, 'IncludeNullAndEmpty' => true || false, 'IncludePartitionValue' => true || false, 'IncludeTableAlterOperations' => true || false, 'IncludeTransactionDetails' => true || false, 'MessageFormat' => 'json|json-unformatted', 'NoHexPrefix' => true || false, 'PartitionIncludeSchemaTable' => true || false, 'ServiceAccessRoleArn' => '<string>', 'StreamArn' => '<string>', 'UseLargeIntegerValue' => true || false, ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ 'AuthenticationMethod' => 'password|kerberos', 'BcpPacketSize' => <integer>, 'ControlTablesFileGroup' => '<string>', 'DatabaseName' => '<string>', 'ForceLobLookup' => true || false, 'Password' => '<string>', 'Port' => <integer>, 'QuerySingleAlwaysOnNode' => true || false, 'ReadBackupOnly' => true || false, 'SafeguardPolicy' => 'rely-on-sql-server-replication-agent|exclusive-automatic-truncation|shared-automatic-truncation', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'TlogAccessMode' => 'BackupOnly|PreferBackup|PreferTlog|TlogOnly', 'TrimSpaceInChar' => true || false, 'UseBcpFullLoad' => true || false, 'UseThirdPartyBackupDevice' => true || false, 'Username' => '<string>', ], 'MongoDbSettings' => [ 'AuthMechanism' => 'default|mongodb_cr|scram_sha_1', 'AuthSource' => '<string>', 'AuthType' => 'no|password', 'DatabaseName' => '<string>', 'DocsToInvestigate' => '<string>', 'ExtractDocId' => '<string>', 'KmsKeyId' => '<string>', 'NestingLevel' => 'none|one', 'Password' => '<string>', 'Port' => <integer>, 'ReplicateShardCollections' => true || false, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'UseUpdateLookUp' => true || false, 'Username' => '<string>', ], 'MySQLSettings' => [ 'AfterConnectScript' => '<string>', 'CleanSourceMetadataOnMismatch' => true || false, 'DatabaseName' => '<string>', 'EventsPollInterval' => <integer>, 'ExecuteTimeout' => <integer>, 'MaxFileSize' => <integer>, 'ParallelLoadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerTimezone' => '<string>', 'TargetDbType' => 'specific-database|multiple-databases', 'Username' => '<string>', ], 'NeptuneSettings' => [ 'ErrorRetryDuration' => <integer>, 'IamAuthEnabled' => true || false, 'MaxFileSize' => <integer>, 'MaxRetryCount' => <integer>, 'S3BucketFolder' => '<string>', 'S3BucketName' => '<string>', 'ServiceAccessRoleArn' => '<string>', ], 'OracleSettings' => [ 'AccessAlternateDirectly' => true || false, 'AddSupplementalLogging' => true || false, 'AdditionalArchivedLogDestId' => <integer>, 'AllowSelectNestedTables' => true || false, 'ArchivedLogDestId' => <integer>, 'ArchivedLogsOnly' => true || false, 'AsmPassword' => '<string>', 'AsmServer' => '<string>', 'AsmUser' => '<string>', 'AuthenticationMethod' => 'password|kerberos', 'CharLengthSemantics' => 'default|char|byte', 'ConvertTimestampWithZoneToUTC' => true || false, 'DatabaseName' => '<string>', 'DirectPathNoLog' => true || false, 'DirectPathParallelLoad' => true || false, 'EnableHomogenousTablespace' => true || false, 'ExtraArchivedLogDestIds' => [<integer>, ...], 'FailTasksOnLobTruncation' => true || false, 'NumberDatatypeScale' => <integer>, 'OpenTransactionWindow' => <integer>, 'OraclePathPrefix' => '<string>', 'ParallelAsmReadThreads' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'ReadAheadBlocks' => <integer>, 'ReadTableSpaceName' => true || false, 'ReplacePathPrefix' => true || false, 'RetryInterval' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmAccessRoleArn' => '<string>', 'SecretsManagerOracleAsmSecretId' => '<string>', 'SecretsManagerSecretId' => '<string>', 'SecurityDbEncryption' => '<string>', 'SecurityDbEncryptionName' => '<string>', 'ServerName' => '<string>', 'SpatialDataOptionToGeoJsonFunctionName' => '<string>', 'StandbyDelayTime' => <integer>, 'TrimSpaceInChar' => true || false, 'UseAlternateFolderForOnline' => true || false, 'UseBFile' => true || false, 'UseDirectPathFullLoad' => true || false, 'UseLogminerReader' => true || false, 'UsePathPrefix' => '<string>', 'Username' => '<string>', ], 'Port' => <integer>, 'PostgreSQLSettings' => [ 'AfterConnectScript' => '<string>', 'BabelfishDatabaseName' => '<string>', 'CaptureDdls' => true || false, 'DatabaseMode' => 'default|babelfish', 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'DisableUnicodeSourceFilter' => true || false, 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, 'MapJsonbAsClob' => true || false, 'MapLongVarcharAs' => 'wstring|clob|nclob', 'MaxFileSize' => <integer>, 'Password' => '<string>', 'PluginName' => 'no-preference|test-decoding|pglogical', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SlotName' => '<string>', 'TrimSpaceInChar' => true || false, 'Username' => '<string>', ], 'RedisSettings' => [ 'AuthPassword' => '<string>', 'AuthType' => 'none|auth-role|auth-token', 'AuthUserName' => '<string>', 'Port' => <integer>, 'ServerName' => '<string>', 'SslCaCertificateArn' => '<string>', 'SslSecurityProtocol' => 'plaintext|ssl-encryption', ], 'RedshiftSettings' => [ 'AcceptAnyDate' => true || false, 'AfterConnectScript' => '<string>', 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CaseSensitiveNames' => true || false, 'CompUpdate' => true || false, 'ConnectionTimeout' => <integer>, 'DatabaseName' => '<string>', 'DateFormat' => '<string>', 'EmptyAsNull' => true || false, 'EncryptionMode' => 'sse-s3|sse-kms', 'ExplicitIds' => true || false, 'FileTransferUploadStreams' => <integer>, 'LoadTimeout' => <integer>, 'MapBooleanAsBoolean' => true || false, 'MaxFileSize' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'RemoveQuotes' => true || false, 'ReplaceChars' => '<string>', 'ReplaceInvalidChars' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimeFormat' => '<string>', 'TrimBlanks' => true || false, 'TruncateColumns' => true || false, 'Username' => '<string>', 'WriteBufferSize' => <integer>, ], 'S3Settings' => [ 'AddColumnName' => true || false, 'AddTrailingPaddingCharacter' => true || false, 'BucketFolder' => '<string>', 'BucketName' => '<string>', 'CannedAclForObjects' => 'none|private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control', 'CdcInsertsAndUpdates' => true || false, 'CdcInsertsOnly' => true || false, 'CdcMaxBatchInterval' => <integer>, 'CdcMinFileSize' => <integer>, 'CdcPath' => '<string>', 'CompressionType' => 'none|gzip', 'CsvDelimiter' => '<string>', 'CsvNoSupValue' => '<string>', 'CsvNullValue' => '<string>', 'CsvRowDelimiter' => '<string>', 'DataFormat' => 'csv|parquet', 'DataPageSize' => <integer>, 'DatePartitionDelimiter' => 'SLASH|UNDERSCORE|DASH|NONE', 'DatePartitionEnabled' => true || false, 'DatePartitionSequence' => 'YYYYMMDD|YYYYMMDDHH|YYYYMM|MMYYYYDD|DDMMYYYY', 'DatePartitionTimezone' => '<string>', 'DictPageSizeLimit' => <integer>, 'EnableStatistics' => true || false, 'EncodingType' => 'plain|plain-dictionary|rle-dictionary', 'EncryptionMode' => 'sse-s3|sse-kms', 'ExpectedBucketOwner' => '<string>', 'ExternalTableDefinition' => '<string>', 'GlueCatalogGeneration' => true || false, 'IgnoreHeaderRows' => <integer>, 'IncludeOpForFullLoad' => true || false, 'MaxFileSize' => <integer>, 'ParquetTimestampInMillisecond' => true || false, 'ParquetVersion' => 'parquet-1-0|parquet-2-0', 'PreserveTransactions' => true || false, 'Rfc4180' => true || false, 'RowGroupLength' => <integer>, 'ServerSideEncryptionKmsKeyId' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'TimestampColumnName' => '<string>', 'UseCsvNoSupValue' => true || false, 'UseTaskStartTimeForFullLoadTimestamp' => true || false, ], 'ServerName' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'SslMode' => 'none|require|verify-ca|verify-full', 'Status' => '<string>', 'SybaseSettings' => [ 'DatabaseName' => '<string>', 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'TimestreamSettings' => [ 'CdcInsertsAndUpdates' => true || false, 'DatabaseName' => '<string>', 'EnableMagneticStoreWrites' => true || false, 'MagneticDuration' => <integer>, 'MemoryDuration' => <integer>, ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The modified endpoint.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
Examples
Example 1: Modify endpoint
Modifies the specified endpoint.
$result = $client->modifyEndpoint([ 'CertificateArn' => '', 'DatabaseName' => '', 'EndpointArn' => '', 'EndpointIdentifier' => '', 'EndpointType' => 'source', 'EngineName' => '', 'ExtraConnectionAttributes' => '', 'Password' => '', 'Port' => 123, 'ServerName' => '', 'SslMode' => 'require', 'Username' => '', ]);
Result syntax:
[ 'Endpoint' => [ ], ]
ModifyEventSubscription
$result = $client->modifyEventSubscription
([/* ... */]); $promise = $client->modifyEventSubscriptionAsync
([/* ... */]);
Modifies an existing DMS event notification subscription.
Parameter Syntax
$result = $client->modifyEventSubscription([ 'Enabled' => true || false, 'EventCategories' => ['<string>', ...], 'SnsTopicArn' => '<string>', 'SourceType' => '<string>', 'SubscriptionName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Enabled
-
- Type: boolean
A Boolean value; set to true to activate the subscription.
- EventCategories
-
- Type: Array of strings
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories. - SnsTopicArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
- SourceType
-
- Type: string
The type of DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | replication-task
- SubscriptionName
-
- Required: Yes
- Type: string
The name of the DMS event notification subscription to be modified.
Result Syntax
[ 'EventSubscription' => [ 'CustSubscriptionId' => '<string>', 'CustomerAwsId' => '<string>', 'Enabled' => true || false, 'EventCategoriesList' => ['<string>', ...], 'SnsTopicArn' => '<string>', 'SourceIdsList' => ['<string>', ...], 'SourceType' => '<string>', 'Status' => '<string>', 'SubscriptionCreationTime' => '<string>', ], ]
Result Details
Members
- EventSubscription
-
- Type: EventSubscription structure
The modified event subscription.
Errors
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- ResourceNotFoundFault:
The resource could not be found.
- SNSInvalidTopicFault:
The SNS topic is invalid.
- SNSNoAuthorizationFault:
You are not authorized for the SNS subscription.
- KMSAccessDeniedFault:
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KMSDisabledFault:
The specified KMS key isn't enabled.
- KMSInvalidStateFault:
The state of the specified KMS resource isn't valid for this request.
- KMSNotFoundFault:
The specified KMS entity or resource can't be found.
- KMSThrottlingFault:
This request triggered KMS request throttling.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
ModifyInstanceProfile
$result = $client->modifyInstanceProfile
([/* ... */]); $promise = $client->modifyInstanceProfileAsync
([/* ... */]);
Modifies the specified instance profile using the provided parameters.
All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.
Parameter Syntax
$result = $client->modifyInstanceProfile([ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileIdentifier' => '<string>', // REQUIRED 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'VpcSecurityGroups' => ['<string>', ...], ]);
Parameter Details
Members
- AvailabilityZone
-
- Type: string
The Availability Zone where the instance profile runs.
- Description
-
- Type: string
A user-friendly description for the instance profile.
- InstanceProfileIdentifier
-
- Required: Yes
- Type: string
The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- InstanceProfileName
-
- Type: string
A user-friendly name for the instance profile.
- KmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the
KmsKeyArn
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- NetworkType
-
- Type: string
Specifies the network type for the instance profile. A value of
IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing. - PubliclyAccessible
-
- Type: boolean
Specifies the accessibility options for the instance profile. A value of
true
represents an instance profile with a public IP address. A value offalse
represents an instance profile with a private IP address. The default value istrue
. - SubnetGroupIdentifier
-
- Type: string
A subnet group to associate with the instance profile.
- VpcSecurityGroups
-
- Type: Array of strings
Specifies the VPC security groups to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
Result Syntax
[ 'InstanceProfile' => [ 'AvailabilityZone' => '<string>', 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileCreationTime' => <DateTime>, 'InstanceProfileName' => '<string>', 'KmsKeyArn' => '<string>', 'NetworkType' => '<string>', 'PubliclyAccessible' => true || false, 'SubnetGroupIdentifier' => '<string>', 'VpcSecurityGroups' => ['<string>', ...], ], ]
Result Details
Members
- InstanceProfile
-
- Type: InstanceProfile structure
The instance profile that was modified.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Modify Instance Profile
Modifies the specified instance profile using the provided parameters.
$result = $client->modifyInstanceProfile([ 'AvailabilityZone' => '', 'Description' => '', 'InstanceProfileIdentifier' => '', 'InstanceProfileName' => '', 'KmsKeyArn' => '', 'NetworkType' => '', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => '', 'VpcSecurityGroups' => [ ], ]);
Result syntax:
[ 'InstanceProfile' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:my-instance-profile', 'InstanceProfileCreationTime' =>, 'InstanceProfileName' => 'my-instance-profile', 'KmsKeyArn' => 'arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef', 'PubliclyAccessible' => 1, 'SubnetGroupIdentifier' => 'public-subnets', ], ]
ModifyMigrationProject
$result = $client->modifyMigrationProject
([/* ... */]); $promise = $client->modifyMigrationProjectAsync
([/* ... */]);
Modifies the specified migration project using the provided parameters.
The migration project must be closed before you can modify it.
Parameter Syntax
$result = $client->modifyMigrationProject([ 'Description' => '<string>', 'InstanceProfileIdentifier' => '<string>', 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => '<string>', // REQUIRED 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => '<string>', // REQUIRED 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ]);
Parameter Details
Members
- Description
-
- Type: string
A user-friendly description of the migration project.
- InstanceProfileIdentifier
-
- Type: string
The name or Amazon Resource Name (ARN) for the instance profile.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The identifier of the migration project. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- MigrationProjectName
-
- Type: string
A user-friendly name for the migration project.
- SchemaConversionApplicationAttributes
-
- Type: SCApplicationAttributes structure
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
- SourceDataProviderDescriptors
-
- Type: Array of DataProviderDescriptorDefinition structures
Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- TargetDataProviderDescriptors
-
- Type: Array of DataProviderDescriptorDefinition structures
Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- TransformationRules
-
- Type: string
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
Result Syntax
[ 'MigrationProject' => [ 'Description' => '<string>', 'InstanceProfileArn' => '<string>', 'InstanceProfileName' => '<string>', 'MigrationProjectArn' => '<string>', 'MigrationProjectCreationTime' => <DateTime>, 'MigrationProjectName' => '<string>', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => '<string>', 'S3BucketRoleArn' => '<string>', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => '<string>', 'DataProviderName' => '<string>', 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', ], // ... ], 'TransformationRules' => '<string>', ], ]
Result Details
Members
- MigrationProject
-
- Type: MigrationProject structure
The migration project that was modified.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- FailedDependencyFault:
A dependency threw an exception.
Examples
Example 1: Modify Migration Project
Modifies the specified migration project using the provided parameters.
$result = $client->modifyMigrationProject([ 'Description' => 'description', 'InstanceProfileIdentifier' => 'my-instance-profile', 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'MigrationProjectName' => 'new-name', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'arn:aws:s3:::myuser-bucket', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/Admin', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/myuser-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/ALL.SOURCE.ORACLE_12-A1B2C3', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderIdentifier' => 'arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/myuser-admin-access', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/TARGET.postgresql-A1B2C3', ], ], ]);
Result syntax:
[ 'MigrationProject' => [ 'InstanceProfileArn' => 'arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'InstanceProfileName' => 'my-instance-profile', 'MigrationProjectArn' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'MigrationProjectCreationTime' =>, 'MigrationProjectName' => 'my-migration-project', 'SchemaConversionApplicationAttributes' => [ 'S3BucketPath' => 'my-s3-bucket/my_folder', 'S3BucketRoleArn' => 'arn:aws:iam::012345678901:role/my-s3role', ], 'SourceDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'all-source-oracle-12', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/my-access-role', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-TP5rA9', ], ], 'TargetDataProviderDescriptors' => [ [ 'DataProviderArn' => 'arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'DataProviderName' => 'my-dataprovider', 'SecretsManagerAccessRoleArn' => 'arn:aws:iam::012345678901:role/my-access-role', 'SecretsManagerSecretId' => 'arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-mysecret', ], ], ], ]
ModifyReplicationConfig
$result = $client->modifyReplicationConfig
([/* ... */]); $promise = $client->modifyReplicationConfigAsync
([/* ... */]);
Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.
Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.
Parameter Syntax
$result = $client->modifyReplicationConfig([ 'ComputeConfig' => [ 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigArn' => '<string>', // REQUIRED 'ReplicationConfigIdentifier' => '<string>', 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'SourceEndpointArn' => '<string>', 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', ]);
Parameter Details
Members
- ComputeConfig
-
- Type: ComputeConfig structure
Configuration parameters for provisioning an DMS Serverless replication.
- ReplicationConfigArn
-
- Required: Yes
- Type: string
The Amazon Resource Name of the replication to modify.
- ReplicationConfigIdentifier
-
- Type: string
The new replication config to apply to the replication.
- ReplicationSettings
-
- Type: string
The settings for the replication.
- ReplicationType
-
- Type: string
The type of replication.
- SourceEndpointArn
-
- Type: string
The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
- SupplementalSettings
-
- Type: string
Additional settings for the replication.
- TableMappings
-
- Type: string
Table mappings specified in the replication.
- TargetEndpointArn
-
- Type: string
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
Result Syntax
[ 'ReplicationConfig' => [ 'ComputeConfig' => [ 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'KmsKeyId' => '<string>', 'MaxCapacityUnits' => <integer>, 'MinCapacityUnits' => <integer>, 'MultiAZ' => true || false, 'PreferredMaintenanceWindow' => '<string>', 'ReplicationSubnetGroupId' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ], 'ReplicationConfigArn' => '<string>', 'ReplicationConfigCreateTime' => <DateTime>, 'ReplicationConfigIdentifier' => '<string>', 'ReplicationConfigUpdateTime' => <DateTime>, 'ReplicationSettings' => '<string>', 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'SourceEndpointArn' => '<string>', 'SupplementalSettings' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', ], ]
Result Details
Members
- ReplicationConfig
-
- Type: ReplicationConfig structure
Information about the serverless replication config that was modified.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZs:
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnet:
The subnet provided isn't valid.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
ModifyReplicationInstance
$result = $client->modifyReplicationInstance
([/* ... */]); $promise = $client->modifyReplicationInstanceAsync
([/* ... */]);
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
Parameter Syntax
$result = $client->modifyReplicationInstance([ 'AllocatedStorage' => <integer>, 'AllowMajorVersionUpgrade' => true || false, 'ApplyImmediately' => true || false, 'AutoMinorVersionUpgrade' => true || false, 'EngineVersion' => '<string>', 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PreferredMaintenanceWindow' => '<string>', 'ReplicationInstanceArn' => '<string>', // REQUIRED 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'VpcSecurityGroupIds' => ['<string>', ...], ]);
Parameter Details
Members
- AllocatedStorage
-
- Type: int
The amount of storage (in gigabytes) to be allocated for the replication instance.
- AllowMajorVersionUpgrade
-
- Type: boolean
Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible.
This parameter must be set to
true
when specifying a value for theEngineVersion
parameter that is a different major version than the replication instance's current version. - ApplyImmediately
-
- Type: boolean
Indicates whether the changes should be applied immediately or during the next maintenance window.
- AutoMinorVersionUpgrade
-
- Type: boolean
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
-
This parameter is set to
true
during the maintenance window. -
A newer minor version is available.
-
DMS has enabled automatic patching for the given engine version.
- EngineVersion
-
- Type: string
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgrade
totrue
. - KerberosAuthenticationSettings
-
- Type: KerberosAuthenticationSettings structure
Specifies the ID of the secret that stores the key cache file required for kerberos authentication, when modifying a replication instance.
- MultiAZ
-
- Type: boolean
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set totrue
. - NetworkType
-
- Type: string
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- PreferredMaintenanceWindow
-
- Type: string
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.
Default: Uses existing setting
Format: ddd:hh24:mi-ddd:hh24:mi
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
- ReplicationInstanceClass
-
- Type: string
The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to
"dms.c4.large"
.For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
- ReplicationInstanceIdentifier
-
- Type: string
The replication instance identifier. This parameter is stored as a lowercase string.
- VpcSecurityGroupIds
-
- Type: Array of strings
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
Result Syntax
[ 'ReplicationInstance' => [ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'FreeUntil' => <DateTime>, 'InstanceCreateTime' => <DateTime>, 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PendingModifiedValues' => [ 'AllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'ReplicationInstanceClass' => '<string>', ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'ReplicationInstanceIpv6Addresses' => ['<string>', ...], 'ReplicationInstancePrivateIpAddress' => '<string>', 'ReplicationInstancePrivateIpAddresses' => ['<string>', ...], 'ReplicationInstancePublicIpAddress' => '<string>', 'ReplicationInstancePublicIpAddresses' => ['<string>', ...], 'ReplicationInstanceStatus' => '<string>', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], 'SecondaryAvailabilityZone' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- ReplicationInstance
-
- Type: ReplicationInstance structure
The modified replication instance.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- InsufficientResourceCapacityFault:
There are not enough resources allocated to the database migration.
- StorageQuotaExceededFault:
The storage quota has been exceeded.
- UpgradeDependencyFailureFault:
An upgrade dependency is preventing the database migration.
Examples
Example 1: Modify replication instance
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window.
$result = $client->modifyReplicationInstance([ 'AllocatedStorage' => 123, 'AllowMajorVersionUpgrade' => 1, 'ApplyImmediately' => 1, 'AutoMinorVersionUpgrade' => 1, 'EngineVersion' => '1.5.0', 'MultiAZ' => 1, 'PreferredMaintenanceWindow' => 'sun:06:00-sun:14:00', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationInstanceClass' => 'dms.t2.micro', 'ReplicationInstanceIdentifier' => 'test-rep-1', 'VpcSecurityGroupIds' => [ ], ]);
Result syntax:
[ 'ReplicationInstance' => [ 'AllocatedStorage' => 5, 'AutoMinorVersionUpgrade' => 1, 'EngineVersion' => '1.5.0', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'PendingModifiedValues' => [ ], 'PreferredMaintenanceWindow' => 'sun:06:00-sun:14:00', 'PubliclyAccessible' => 1, 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationInstanceClass' => 'dms.t2.micro', 'ReplicationInstanceIdentifier' => 'test-rep-1', 'ReplicationInstanceStatus' => 'available', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => 'default', 'ReplicationSubnetGroupIdentifier' => 'default', 'SubnetGroupStatus' => 'Complete', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1d', ], 'SubnetIdentifier' => 'subnet-f6dd91af', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1b', ], 'SubnetIdentifier' => 'subnet-3605751d', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1c', ], 'SubnetIdentifier' => 'subnet-c2daefb5', 'SubnetStatus' => 'Active', ], [ 'SubnetAvailabilityZone' => [ 'Name' => 'us-east-1e', ], 'SubnetIdentifier' => 'subnet-85e90cb8', 'SubnetStatus' => 'Active', ], ], 'VpcId' => 'vpc-6741a603', ], ], ]
ModifyReplicationSubnetGroup
$result = $client->modifyReplicationSubnetGroup
([/* ... */]); $promise = $client->modifyReplicationSubnetGroupAsync
([/* ... */]);
Modifies the settings for the specified replication subnet group.
Parameter Syntax
$result = $client->modifyReplicationSubnetGroup([ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', // REQUIRED 'SubnetIds' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ReplicationSubnetGroupDescription
-
- Type: string
A description for the replication instance subnet group.
- ReplicationSubnetGroupIdentifier
-
- Required: Yes
- Type: string
The name of the replication instance subnet group.
- SubnetIds
-
- Required: Yes
- Type: Array of strings
A list of subnet IDs.
Result Syntax
[ 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], ]
Result Details
Members
- ReplicationSubnetGroup
-
- Type: ReplicationSubnetGroup structure
The modified replication subnet group.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- SubnetAlreadyInUse:
The specified subnet is already in use.
- ReplicationSubnetGroupDoesNotCoverEnoughAZs:
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnet:
The subnet provided isn't valid.
Examples
Example 1: Modify replication subnet group
Modifies the settings for the specified replication subnet group.
$result = $client->modifyReplicationSubnetGroup([ 'ReplicationSubnetGroupDescription' => '', 'ReplicationSubnetGroupIdentifier' => '', 'SubnetIds' => [ ], ]);
Result syntax:
[ 'ReplicationSubnetGroup' => [ ], ]
ModifyReplicationTask
$result = $client->modifyReplicationTask
([/* ... */]); $promise = $client->modifyReplicationTaskAsync
([/* ... */]);
Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->modifyReplicationTask([ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <integer || string || DateTime>, 'CdcStopPosition' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'ReplicationTaskArn' => '<string>', // REQUIRED 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'TableMappings' => '<string>', 'TaskData' => '<string>', ]);
Parameter Details
Members
- CdcStartPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
Date Example: --cdc-start-position “2018-03-08T12:12:12”
Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"
LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the
slotName
extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS. - CdcStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.
Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”
- CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”
Commit time example: --cdc-stop-position “commit_time:2018-02-09T12:12:12“
- MigrationType
-
- Type: string
The migration type. Valid values:
full-load
|cdc
|full-load-and-cdc
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- ReplicationTaskIdentifier
-
- Type: string
The replication task identifier.
Constraints:
-
Must contain 1-255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- ReplicationTaskSettings
-
- Type: string
JSON file that contains settings for the task, such as task metadata settings.
- TableMappings
-
- Type: string
When using the CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with
file://
. For example,--table-mappings file://mappingfile.json
. When working with the DMS API, provide the JSON as the parameter value. - TaskData
-
- Type: string
Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The replication task that was modified.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
MoveReplicationTask
$result = $client->moveReplicationTask
([/* ... */]); $promise = $client->moveReplicationTaskAsync
([/* ... */]);
Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
Parameter Syntax
$result = $client->moveReplicationTask([ 'ReplicationTaskArn' => '<string>', // REQUIRED 'TargetReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the task that you want to move.
- TargetReplicationInstanceArn
-
- Required: Yes
- Type: string
The ARN of the replication instance where you want to move the task to.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The replication task that was moved.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
RebootReplicationInstance
$result = $client->rebootReplicationInstance
([/* ... */]); $promise = $client->rebootReplicationInstanceAsync
([/* ... */]);
Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
Parameter Syntax
$result = $client->rebootReplicationInstance([ 'ForceFailover' => true || false, 'ForcePlannedFailover' => true || false, 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ForceFailover
-
- Type: boolean
If this parameter is
true
, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specifytrue
. (--force-planned-failover
and--force-failover
can't both be set totrue
.) - ForcePlannedFailover
-
- Type: boolean
If this parameter is
true
, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specifytrue
. (--force-planned-failover
and--force-failover
can't both be set totrue
.) - ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'ReplicationInstance' => [ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<string>', 'FreeUntil' => <DateTime>, 'InstanceCreateTime' => <DateTime>, 'KerberosAuthenticationSettings' => [ 'KeyCacheSecretIamArn' => '<string>', 'KeyCacheSecretId' => '<string>', 'Krb5FileContents' => '<string>', ], 'KmsKeyId' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'PendingModifiedValues' => [ 'AllocatedStorage' => <integer>, 'EngineVersion' => '<string>', 'MultiAZ' => true || false, 'NetworkType' => '<string>', 'ReplicationInstanceClass' => '<string>', ], 'PreferredMaintenanceWindow' => '<string>', 'PubliclyAccessible' => true || false, 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceClass' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'ReplicationInstanceIpv6Addresses' => ['<string>', ...], 'ReplicationInstancePrivateIpAddress' => '<string>', 'ReplicationInstancePrivateIpAddresses' => ['<string>', ...], 'ReplicationInstancePublicIpAddress' => '<string>', 'ReplicationInstancePublicIpAddresses' => ['<string>', ...], 'ReplicationInstanceStatus' => '<string>', 'ReplicationSubnetGroup' => [ 'ReplicationSubnetGroupDescription' => '<string>', 'ReplicationSubnetGroupIdentifier' => '<string>', 'SubnetGroupStatus' => '<string>', 'Subnets' => [ [ 'SubnetAvailabilityZone' => [ 'Name' => '<string>', ], 'SubnetIdentifier' => '<string>', 'SubnetStatus' => '<string>', ], // ... ], 'SupportedNetworkTypes' => ['<string>', ...], 'VpcId' => '<string>', ], 'SecondaryAvailabilityZone' => '<string>', 'VpcSecurityGroups' => [ [ 'Status' => '<string>', 'VpcSecurityGroupId' => '<string>', ], // ... ], ], ]
Result Details
Members
- ReplicationInstance
-
- Type: ReplicationInstance structure
The replication instance that is being rebooted.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
RefreshSchemas
$result = $client->refreshSchemas
([/* ... */]); $promise = $client->refreshSchemasAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->refreshSchemas([ 'EndpointArn' => '<string>', // REQUIRED 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'RefreshSchemasStatus' => [ 'EndpointArn' => '<string>', 'LastFailureMessage' => '<string>', 'LastRefreshDate' => <DateTime>, 'ReplicationInstanceArn' => '<string>', 'Status' => 'successful|failed|refreshing', ], ]
Result Details
Members
- RefreshSchemasStatus
-
- Type: RefreshSchemasStatus structure
The status of the refreshed schema.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
Examples
Example 1: Refresh schema
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.
$result = $client->refreshSchemas([ 'EndpointArn' => '', 'ReplicationInstanceArn' => '', ]);
Result syntax:
[ 'RefreshSchemasStatus' => [ ], ]
ReloadReplicationTables
$result = $client->reloadReplicationTables
([/* ... */]); $promise = $client->reloadReplicationTablesAsync
([/* ... */]);
Reloads the target database table with the source data for a given DMS Serverless replication configuration.
You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault
exception.
Parameter Syntax
$result = $client->reloadReplicationTables([ 'ReloadOption' => 'data-reload|validate-only', 'ReplicationConfigArn' => '<string>', // REQUIRED 'TablesToReload' => [ // REQUIRED [ 'SchemaName' => '<string>', // REQUIRED 'TableName' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ReloadOption
-
- Type: string
Options for reload. Specify
data-reload
to reload the data and re-validate it if validation is enabled. Specifyvalidate-only
to re-validate the table. This option applies only when validation is enabled for the replication. - ReplicationConfigArn
-
- Required: Yes
- Type: string
The Amazon Resource Name of the replication config for which to reload tables.
- TablesToReload
-
- Required: Yes
- Type: Array of TableToReload structures
The list of tables to reload.
Result Syntax
[ 'ReplicationConfigArn' => '<string>', ]
Result Details
Members
- ReplicationConfigArn
-
- Type: string
The Amazon Resource Name of the replication config for which to reload tables.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
ReloadTables
$result = $client->reloadTables
([/* ... */]); $promise = $client->reloadTablesAsync
([/* ... */]);
Reloads the target database table with the source data.
You can only use this operation with a task in the RUNNING
state, otherwise the service will throw an InvalidResourceStateFault
exception.
Parameter Syntax
$result = $client->reloadTables([ 'ReloadOption' => 'data-reload|validate-only', 'ReplicationTaskArn' => '<string>', // REQUIRED 'TablesToReload' => [ // REQUIRED [ 'SchemaName' => '<string>', // REQUIRED 'TableName' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ReloadOption
-
- Type: string
Options for reload. Specify
data-reload
to reload the data and re-validate it if validation is enabled. Specifyvalidate-only
to re-validate the table. This option applies only when validation is enabled for the task.Valid values: data-reload, validate-only
Default value is data-reload.
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- TablesToReload
-
- Required: Yes
- Type: Array of TableToReload structures
The name and schema of the table to be reloaded.
Result Syntax
[ 'ReplicationTaskArn' => '<string>', ]
Result Details
Members
- ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication task.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
RemoveTagsFromResource
$result = $client->removeTagsFromResource
([/* ... */]); $promise = $client->removeTagsFromResourceAsync
([/* ... */]);
Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag
data type description.
Parameter Syntax
$result = $client->removeTagsFromResource([ 'ResourceArn' => '<string>', // REQUIRED 'TagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
- TagKeys
-
- Required: Yes
- Type: Array of strings
The tag key (name) of the tag to be removed.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Remove tags from resource
Removes metadata tags from an AWS DMS resource.
$result = $client->removeTagsFromResource([ 'ResourceArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', 'TagKeys' => [ ], ]);
Result syntax:
[ ]
RunFleetAdvisorLsaAnalysis
$result = $client->runFleetAdvisorLsaAnalysis
([/* ... */]); $promise = $client->runFleetAdvisorLsaAnalysisAsync
([/* ... */]);
Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
Parameter Syntax
$result = $client->runFleetAdvisorLsaAnalysis([ ]);
Parameter Details
Members
Result Syntax
[ 'LsaAnalysisId' => '<string>', 'Status' => '<string>', ]
Result Details
Members
- LsaAnalysisId
-
- Type: string
The ID of the LSA analysis run.
- Status
-
- Type: string
The status of the LSA analysis, for example
COMPLETED
.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
StartDataMigration
$result = $client->startDataMigration
([/* ... */]); $promise = $client->startDataMigrationAsync
([/* ... */]);
Starts the specified data migration.
Parameter Syntax
$result = $client->startDataMigration([ 'DataMigrationIdentifier' => '<string>', // REQUIRED 'StartType' => 'reload-target|resume-processing|start-replication', // REQUIRED ]);
Parameter Details
Members
- DataMigrationIdentifier
-
- Required: Yes
- Type: string
The identifier (name or ARN) of the data migration to start.
- StartType
-
- Required: Yes
- Type: string
Specifies the start type for the data migration. Valid values include
start-replication
,reload-target
, andresume-processing
.
Result Syntax
[ 'DataMigration' => [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], ]
Result Details
Members
- DataMigration
-
- Type: DataMigration structure
The data migration that DMS started.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- InvalidOperationFault:
The action or operation requested isn't valid.
- ResourceNotFoundFault:
The resource could not be found.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- FailedDependencyFault:
A dependency threw an exception.
StartExtensionPackAssociation
$result = $client->startExtensionPackAssociation
([/* ... */]); $promise = $client->startExtensionPackAssociationAsync
([/* ... */]);
Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
Parameter Syntax
$result = $client->startExtensionPackAssociation([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the request operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Extension Pack Association
Applies the extension pack to your target database.
$result = $client->startExtensionPackAssociation([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartMetadataModelAssessment
$result = $client->startMetadataModelAssessment
([/* ... */]); $promise = $client->startMetadataModelAssessmentAsync
([/* ... */]);
Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.
Parameter Syntax
$result = $client->startMetadataModelAssessment([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to assess.
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the assessment operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Metadata Model Assessment
Creates a database migration assessment report by assessing the migration complexity for your source database.
$result = $client->startMetadataModelAssessment([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartMetadataModelConversion
$result = $client->startMetadataModelConversion
([/* ... */]); $promise = $client->startMetadataModelConversionAsync
([/* ... */]);
Converts your source database objects to a format compatible with the target database.
Parameter Syntax
$result = $client->startMetadataModelConversion([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to convert.
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the conversion operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Metadata Model Conversion
Converts your source database objects to a format compatible with the target database.
$result = $client->startMetadataModelConversion([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartMetadataModelExportAsScript
$result = $client->startMetadataModelExportAsScript
([/* ... */]); $promise = $client->startMetadataModelExportAsScriptAsync
([/* ... */]);
Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
Parameter Syntax
$result = $client->startMetadataModelExportAsScript([ 'FileName' => '<string>', 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'Origin' => 'SOURCE|TARGET', // REQUIRED 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- FileName
-
- Type: string
The name of the model file to create in the Amazon S3 bucket.
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- Origin
-
- Required: Yes
- Type: string
Whether to export the metadata model from the source or the target.
- SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to export.
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the export operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Metadata Model Export As Script
Saves your converted code to a file as a SQL script, and stores this file on your S3 bucket.
$result = $client->startMetadataModelExportAsScript([ 'FileName' => 'FILE', 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'Origin' => 'SOURCE', 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartMetadataModelExportToTarget
$result = $client->startMetadataModelExportToTarget
([/* ... */]); $promise = $client->startMetadataModelExportToTargetAsync
([/* ... */]);
Applies converted database objects to your target database.
Parameter Syntax
$result = $client->startMetadataModelExportToTarget([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'OverwriteExtensionPack' => true || false, 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- OverwriteExtensionPack
-
- Type: boolean
Whether to overwrite the migration project extension pack. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
- SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to export.
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the export operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Metadata Model Export To Target
Applies converted database objects to your target database.
$result = $client->startMetadataModelExportToTarget([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345', 'OverwriteExtensionPack' => 1, 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartMetadataModelImport
$result = $client->startMetadataModelImport
([/* ... */]); $promise = $client->startMetadataModelImportAsync
([/* ... */]);
Loads the metadata for all the dependent database objects of the parent object.
This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.
Parameter Syntax
$result = $client->startMetadataModelImport([ 'MigrationProjectIdentifier' => '<string>', // REQUIRED 'Origin' => 'SOURCE|TARGET', // REQUIRED 'Refresh' => true || false, 'SelectionRules' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MigrationProjectIdentifier
-
- Required: Yes
- Type: string
The migration project name or Amazon Resource Name (ARN).
- Origin
-
- Required: Yes
- Type: string
Whether to load metadata to the source or target database.
- Refresh
-
- Type: boolean
If
true
, DMS loads metadata for the specified objects from the source database. - SelectionRules
-
- Required: Yes
- Type: string
A value that specifies the database objects to import.
Result Syntax
[ 'RequestIdentifier' => '<string>', ]
Result Details
Members
- RequestIdentifier
-
- Type: string
The identifier for the import operation.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
- ResourceNotFoundFault:
The resource could not be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
Examples
Example 1: Start Metadata Model Import
Loads the metadata for all the dependent database objects of the parent object.
$result = $client->startMetadataModelImport([ 'MigrationProjectIdentifier' => 'arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012', 'Origin' => 'SOURCE', 'Refresh' => , 'SelectionRules' => '{"rules": [{"rule-type": "selection","rule-id": "1","rule-name": "1","object-locator": {"server-name": "aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", "schema-name": "schema1", "table-name": "Cities"},"rule-action": "explicit"} ]}', ]);
Result syntax:
[ 'RequestIdentifier' => '01234567-89ab-cdef-0123-456789abcdef', ]
StartRecommendations
$result = $client->startRecommendations
([/* ... */]); $promise = $client->startRecommendationsAsync
([/* ... */]);
Starts the analysis of your source database to provide recommendations of target engines.
You can create recommendations for multiple source databases using BatchStartRecommendations.
Parameter Syntax
$result = $client->startRecommendations([ 'DatabaseId' => '<string>', // REQUIRED 'Settings' => [ // REQUIRED 'InstanceSizingType' => '<string>', // REQUIRED 'WorkloadType' => '<string>', // REQUIRED ], ]);
Parameter Details
Members
- DatabaseId
-
- Required: Yes
- Type: string
The identifier of the source database to analyze and provide recommendations for.
- Settings
-
- Required: Yes
- Type: RecommendationSettings structure
The settings in JSON format that Fleet Advisor uses to determine target engine recommendations. These parameters include target instance sizing and availability and durability settings. For target instance sizing, Fleet Advisor supports the following two options: total capacity and resource utilization. For availability and durability, Fleet Advisor supports the following two options: production (Multi-AZ deployments) and Dev/Test (Single-AZ deployments).
Result Syntax
[]
Result Details
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
StartReplication
$result = $client->startReplication
([/* ... */]); $promise = $client->startReplicationAsync
([/* ... */]);
For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.
Parameter Syntax
$result = $client->startReplication([ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <integer || string || DateTime>, 'CdcStopPosition' => '<string>', 'ReplicationConfigArn' => '<string>', // REQUIRED 'StartReplicationType' => '<string>', // REQUIRED ]);
Parameter Details
Members
- CdcStartPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to start. Use either
CdcStartPosition
orCdcStartTime
to specify when you want a CDC operation to start. Specifying both values results in an error.The value can be in date, checkpoint, or LSN/SCN format.
- CdcStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error. - CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
- ReplicationConfigArn
-
- Required: Yes
- Type: string
The Amazon Resource Name of the replication for which to start replication.
- StartReplicationType
-
- Required: Yes
- Type: string
The replication type.
When the replication type is
full-load
orfull-load-and-cdc
, the only valid value for the first run of the replication isstart-replication
. This option will start the replication.You can also use ReloadTables to reload specific tables that failed during replication instead of restarting the replication.
The
resume-processing
option isn't applicable for a full-load replication, because you can't resume partially loaded tables during the full load phase.For a
full-load-and-cdc
replication, DMS migrates table data, and then applies data changes that occur on the source. To load all the tables again, and start capturing source changes, usereload-target
. Otherwise useresume-processing
, to replicate the changes from the last stop position.
Result Syntax
[ 'Replication' => [ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <DateTime>, 'CdcStopPosition' => '<string>', 'FailureMessages' => ['<string>', ...], 'ProvisionData' => [ 'DateNewProvisioningDataAvailable' => <DateTime>, 'DateProvisioned' => <DateTime>, 'IsNewProvisioningAvailable' => true || false, 'ProvisionState' => '<string>', 'ProvisionedCapacityUnits' => <integer>, 'ReasonForNewProvisioningData' => '<string>', ], 'RecoveryCheckpoint' => '<string>', 'ReplicationConfigArn' => '<string>', 'ReplicationConfigIdentifier' => '<string>', 'ReplicationCreateTime' => <DateTime>, 'ReplicationDeprovisionTime' => <DateTime>, 'ReplicationLastStopTime' => <DateTime>, 'ReplicationStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'ReplicationUpdateTime' => <DateTime>, 'SourceEndpointArn' => '<string>', 'StartReplicationType' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TargetEndpointArn' => '<string>', ], ]
Result Details
Members
- Replication
-
- Type: Replication structure
The replication that DMS started.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
StartReplicationTask
$result = $client->startReplicationTask
([/* ... */]); $promise = $client->startReplicationTaskAsync
([/* ... */]);
Starts the replication task.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->startReplicationTask([ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <integer || string || DateTime>, 'CdcStopPosition' => '<string>', 'ReplicationTaskArn' => '<string>', // REQUIRED 'StartReplicationTaskType' => 'start-replication|resume-processing|reload-target', // REQUIRED ]);
Parameter Details
Members
- CdcStartPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
Date Example: --cdc-start-position “2018-03-08T12:12:12”
Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"
LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the
slotName
extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for DMS. - CdcStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.
Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”
- CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”
Commit time example: --cdc-stop-position “commit_time:2018-02-09T12:12:12“
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task to be started.
- StartReplicationTaskType
-
- Required: Yes
- Type: string
The type of replication task to start.
When the migration type is
full-load
orfull-load-and-cdc
, the only valid value for the first run of the task isstart-replication
. This option will start the migration.You can also use ReloadTables to reload specific tables that failed during migration instead of restarting the task.
The
resume-processing
option isn't applicable for a full-load task, because you can't resume partially loaded tables during the full load phase.For a
full-load-and-cdc
task, DMS migrates table data, and then applies data changes that occur on the source. To load all the tables again, and start capturing source changes, usereload-target
. Otherwise useresume-processing
, to replicate the changes from the last stop position.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The replication task started.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
Examples
Example 1: Start replication task
Starts the replication task.
$result = $client->startReplicationTask([ 'CdcStartTime' =>, 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'StartReplicationTaskType' => 'start-replication', ]);
Result syntax:
[ 'ReplicationTask' => [ 'MigrationType' => 'full-load', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM', 'ReplicationTaskCreationDate' =>, 'ReplicationTaskIdentifier' => 'task1', 'ReplicationTaskSettings' => '{"TargetMetadata":{"TargetSchema":"","SupportLobs":true,"FullLobMode":true,"LobChunkSize":64,"LimitedSizeLobMode":false,"LobMaxSize":0},"FullLoadSettings":{"FullLoadEnabled":true,"ApplyChangesEnabled":false,"TargetTablePrepMode":"DROP_AND_CREATE","CreatePkAfterFullLoad":false,"StopTaskCachedChangesApplied":false,"StopTaskCachedChangesNotApplied":false,"ResumeEnabled":false,"ResumeMinTableSize":100000,"ResumeOnlyClusteredPKTables":true,"MaxFullLoadSubTasks":8,"TransactionConsistencyTimeout":600,"CommitRate":10000},"Logging":{"EnableLogging":false}}', 'SourceEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'Status' => 'creating', 'TableMappings' => 'file://mappingfile.json', 'TargetEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ], ]
StartReplicationTaskAssessment
$result = $client->startReplicationTaskAssessment
([/* ... */]); $promise = $client->startReplicationTaskAssessmentAsync
([/* ... */]);
Starts the replication task assessment for unsupported data types in the source database.
You can only use this operation for a task if the following conditions are true:
-
The task must be in the
stopped
state. -
The task must have successful connections to the source and target.
If either of these conditions are not met, an InvalidResourceStateFault
error will result.
For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
Parameter Syntax
$result = $client->startReplicationTaskAssessment([ 'ReplicationTaskArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication task.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The assessed replication task.
Errors
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundFault:
The resource could not be found.
StartReplicationTaskAssessmentRun
$result = $client->startReplicationTaskAssessmentRun
([/* ... */]); $promise = $client->startReplicationTaskAssessmentRunAsync
([/* ... */]);
Starts a new premigration assessment run for one or more individual assessments of a migration task.
The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.
Parameter Syntax
$result = $client->startReplicationTaskAssessmentRun([ 'AssessmentRunName' => '<string>', // REQUIRED 'Exclude' => ['<string>', ...], 'IncludeOnly' => ['<string>', ...], 'ReplicationTaskArn' => '<string>', // REQUIRED 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', // REQUIRED 'ResultLocationFolder' => '<string>', 'ServiceAccessRoleArn' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', 'ResourceArn' => '<string>', 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- AssessmentRunName
-
- Required: Yes
- Type: string
Unique name to identify the assessment run.
- Exclude
-
- Type: Array of strings
Space-separated list of names for specific individual assessments that you want to exclude. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by
ReplicationTaskArn
.You can't set a value for
Exclude
if you also set a value forIncludeOnly
in the API operation.To identify the names of the default individual assessments that DMS supports for the associated migration task, run the
DescribeApplicableIndividualAssessments
operation using its ownReplicationTaskArn
request parameter. - IncludeOnly
-
- Type: Array of strings
Space-separated list of names for specific individual assessments that you want to include. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by
ReplicationTaskArn
.You can't set a value for
IncludeOnly
if you also set a value forExclude
in the API operation.To identify the names of the default individual assessments that DMS supports for the associated migration task, run the
DescribeApplicableIndividualAssessments
operation using its ownReplicationTaskArn
request parameter. - ReplicationTaskArn
-
- Required: Yes
- Type: string
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
- ResultEncryptionMode
-
- Type: string
Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, DMS stores the assessment run results without encryption. You can specify one of the options following:
-
"SSE_S3"
– The server-side encryption provided as a default by Amazon S3. -
"SSE_KMS"
– Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.
- ResultKmsKeyArn
-
- Type: string
ARN of a custom KMS encryption key that you specify when you set
ResultEncryptionMode
to"SSE_KMS
". - ResultLocationBucket
-
- Required: Yes
- Type: string
Amazon S3 bucket where you want DMS to store the results of this assessment run.
- ResultLocationFolder
-
- Type: string
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
- ServiceAccessRoleArn
-
- Required: Yes
- Type: string
ARN of the service role needed to start the assessment run. The role must allow the
iam:PassRole
action. - Tags
-
- Type: Array of Tag structures
One or more tags to be assigned to the premigration assessment run that you want to start.
Result Syntax
[ 'ReplicationTaskAssessmentRun' => [ 'AssessmentProgress' => [ 'IndividualAssessmentCompletedCount' => <integer>, 'IndividualAssessmentCount' => <integer>, ], 'AssessmentRunName' => '<string>', 'IsLatestTaskAssessmentRun' => true || false, 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ResultStatistic' => [ 'Cancelled' => <integer>, 'Error' => <integer>, 'Failed' => <integer>, 'Passed' => <integer>, 'Warning' => <integer>, ], 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The premigration assessment run that was started.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- KMSAccessDeniedFault:
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KMSDisabledFault:
The specified KMS key isn't enabled.
- KMSFault:
An Key Management Service (KMS) error is preventing access to KMS.
- KMSInvalidStateFault:
The state of the specified KMS resource isn't valid for this request.
- KMSNotFoundFault:
The specified KMS entity or resource can't be found.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- S3AccessDeniedFault:
Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundFault:
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceAlreadyExistsFault:
The resource you are attempting to create already exists.
StopDataMigration
$result = $client->stopDataMigration
([/* ... */]); $promise = $client->stopDataMigrationAsync
([/* ... */]);
Stops the specified data migration.
Parameter Syntax
$result = $client->stopDataMigration([ 'DataMigrationIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DataMigrationIdentifier
-
- Required: Yes
- Type: string
The identifier (name or ARN) of the data migration to stop.
Result Syntax
[ 'DataMigration' => [ 'DataMigrationArn' => '<string>', 'DataMigrationCidrBlocks' => ['<string>', ...], 'DataMigrationCreateTime' => <DateTime>, 'DataMigrationEndTime' => <DateTime>, 'DataMigrationName' => '<string>', 'DataMigrationSettings' => [ 'CloudwatchLogsEnabled' => true || false, 'NumberOfJobs' => <integer>, 'SelectionRules' => '<string>', ], 'DataMigrationStartTime' => <DateTime>, 'DataMigrationStatistics' => [ 'CDCLatency' => <integer>, 'ElapsedTimeMillis' => <integer>, 'FullLoadPercentage' => <integer>, 'StartTime' => <DateTime>, 'StopTime' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'DataMigrationStatus' => '<string>', 'DataMigrationType' => 'full-load|cdc|full-load-and-cdc', 'LastFailureMessage' => '<string>', 'MigrationProjectArn' => '<string>', 'PublicIpAddresses' => ['<string>', ...], 'ServiceAccessRoleArn' => '<string>', 'SourceDataSettings' => [ [ 'CDCStartPosition' => '<string>', 'CDCStartTime' => <DateTime>, 'CDCStopTime' => <DateTime>, 'SlotName' => '<string>', ], // ... ], 'StopReason' => '<string>', ], ]
Result Details
Members
- DataMigration
-
- Type: DataMigration structure
The data migration that DMS stopped.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- FailedDependencyFault:
A dependency threw an exception.
StopReplication
$result = $client->stopReplication
([/* ... */]); $promise = $client->stopReplicationAsync
([/* ... */]);
For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.
Parameter Syntax
$result = $client->stopReplication([ 'ReplicationConfigArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationConfigArn
-
- Required: Yes
- Type: string
The Amazon Resource Name of the replication to stop.
Result Syntax
[ 'Replication' => [ 'CdcStartPosition' => '<string>', 'CdcStartTime' => <DateTime>, 'CdcStopPosition' => '<string>', 'FailureMessages' => ['<string>', ...], 'ProvisionData' => [ 'DateNewProvisioningDataAvailable' => <DateTime>, 'DateProvisioned' => <DateTime>, 'IsNewProvisioningAvailable' => true || false, 'ProvisionState' => '<string>', 'ProvisionedCapacityUnits' => <integer>, 'ReasonForNewProvisioningData' => '<string>', ], 'RecoveryCheckpoint' => '<string>', 'ReplicationConfigArn' => '<string>', 'ReplicationConfigIdentifier' => '<string>', 'ReplicationCreateTime' => <DateTime>, 'ReplicationDeprovisionTime' => <DateTime>, 'ReplicationLastStopTime' => <DateTime>, 'ReplicationStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'ReplicationType' => 'full-load|cdc|full-load-and-cdc', 'ReplicationUpdateTime' => <DateTime>, 'SourceEndpointArn' => '<string>', 'StartReplicationType' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TargetEndpointArn' => '<string>', ], ]
Result Details
Members
- Replication
-
- Type: Replication structure
The replication that DMS stopped.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
StopReplicationTask
$result = $client->stopReplicationTask
([/* ... */]); $promise = $client->stopReplicationTaskAsync
([/* ... */]);
Stops the replication task.
Parameter Syntax
$result = $client->stopReplicationTask([ 'ReplicationTaskArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ReplicationTaskArn
-
- Required: Yes
- Type: string
The Amazon Resource Name(ARN) of the replication task to be stopped.
Result Syntax
[ 'ReplicationTask' => [ 'CdcStartPosition' => '<string>', 'CdcStopPosition' => '<string>', 'LastFailureMessage' => '<string>', 'MigrationType' => 'full-load|cdc|full-load-and-cdc', 'RecoveryCheckpoint' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskCreationDate' => <DateTime>, 'ReplicationTaskIdentifier' => '<string>', 'ReplicationTaskSettings' => '<string>', 'ReplicationTaskStartDate' => <DateTime>, 'ReplicationTaskStats' => [ 'ElapsedTimeMillis' => <integer>, 'FreshStartDate' => <DateTime>, 'FullLoadFinishDate' => <DateTime>, 'FullLoadProgressPercent' => <integer>, 'FullLoadStartDate' => <DateTime>, 'StartDate' => <DateTime>, 'StopDate' => <DateTime>, 'TablesErrored' => <integer>, 'TablesLoaded' => <integer>, 'TablesLoading' => <integer>, 'TablesQueued' => <integer>, ], 'SourceEndpointArn' => '<string>', 'Status' => '<string>', 'StopReason' => '<string>', 'TableMappings' => '<string>', 'TargetEndpointArn' => '<string>', 'TargetReplicationInstanceArn' => '<string>', 'TaskData' => '<string>', ], ]
Result Details
Members
- ReplicationTask
-
- Type: ReplicationTask structure
The replication task stopped.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Examples
Example 1: Stop replication task
Stops the replication task.
$result = $client->stopReplicationTask([ 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ]);
Result syntax:
[ 'ReplicationTask' => [ 'MigrationType' => 'full-load', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', 'ReplicationTaskArn' => 'arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM', 'ReplicationTaskCreationDate' =>, 'ReplicationTaskIdentifier' => 'task1', 'ReplicationTaskSettings' => '{"TargetMetadata":{"TargetSchema":"","SupportLobs":true,"FullLobMode":true,"LobChunkSize":64,"LimitedSizeLobMode":false,"LobMaxSize":0},"FullLoadSettings":{"FullLoadEnabled":true,"ApplyChangesEnabled":false,"TargetTablePrepMode":"DROP_AND_CREATE","CreatePkAfterFullLoad":false,"StopTaskCachedChangesApplied":false,"StopTaskCachedChangesNotApplied":false,"ResumeEnabled":false,"ResumeMinTableSize":100000,"ResumeOnlyClusteredPKTables":true,"MaxFullLoadSubTasks":8,"TransactionConsistencyTimeout":600,"CommitRate":10000},"Logging":{"EnableLogging":false}}', 'SourceEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE', 'Status' => 'creating', 'TableMappings' => 'file://mappingfile.json', 'TargetEndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E', ], ]
TestConnection
$result = $client->testConnection
([/* ... */]); $promise = $client->testConnectionAsync
([/* ... */]);
Tests the connection between the replication instance and the endpoint.
Parameter Syntax
$result = $client->testConnection([ 'EndpointArn' => '<string>', // REQUIRED 'ReplicationInstanceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- ReplicationInstanceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
Result Syntax
[ 'Connection' => [ 'EndpointArn' => '<string>', 'EndpointIdentifier' => '<string>', 'LastFailureMessage' => '<string>', 'ReplicationInstanceArn' => '<string>', 'ReplicationInstanceIdentifier' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- Connection
-
- Type: Connection structure
The connection tested.
Errors
- ResourceNotFoundFault:
The resource could not be found.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
- KMSKeyNotAccessibleFault:
DMS cannot access the KMS key.
- ResourceQuotaExceededFault:
The quota for this resource quota has been exceeded.
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
Examples
Example 1: Test conection
Tests the connection between the replication instance and the endpoint.
$result = $client->testConnection([ 'EndpointArn' => 'arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM', 'ReplicationInstanceArn' => 'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ', ]);
Result syntax:
[ 'Connection' => [ ], ]
UpdateSubscriptionsToEventBridge
$result = $client->updateSubscriptionsToEventBridge
([/* ... */]); $promise = $client->updateSubscriptionsToEventBridgeAsync
([/* ... */]);
Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the Force
option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.
To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.
Parameter Syntax
$result = $client->updateSubscriptionsToEventBridge([ 'ForceMove' => true || false, ]);
Parameter Details
Members
- ForceMove
-
- Type: boolean
When set to true, this operation migrates DMS subscriptions for Amazon SNS notifications no matter what your replication instance version is. If not set or set to false, this operation runs only when all your replication instances are from DMS version 3.4.5 or higher.
Result Syntax
[ 'Result' => '<string>', ]
Result Details
Members
- Result
-
- Type: string
A string that indicates how many event subscriptions were migrated and how many remain to be migrated.
Errors
- AccessDeniedFault:
DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateFault:
The resource is in a state that prevents it from being used for database migration.
Shapes
AccessDeniedFault
Description
DMS was denied access to the endpoint. Check that the role is correctly configured.
Members
- message
-
- Type: string
AccountQuota
Description
Describes a quota for an Amazon Web Services account, for example the number of replication instances allowed.
Members
- AccountQuotaName
-
- Type: string
The name of the DMS quota for this Amazon Web Services account.
- Max
-
- Type: long (int|float)
The maximum allowed value for the quota.
- Used
-
- Type: long (int|float)
The amount currently used toward the quota maximum.
AvailabilityZone
Description
The name of an Availability Zone for use during database migration. AvailabilityZone
is an optional parameter to the CreateReplicationInstance
operation, and it’s value relates to the Amazon Web Services Region of an endpoint. For example, the availability zone of an endpoint in the us-east-1 region might be us-east-1a, us-east-1b, us-east-1c, or us-east-1d.
Members
- Name
-
- Type: string
The name of the Availability Zone.
BatchStartRecommendationsErrorEntry
Description
Provides information about the errors that occurred during the analysis of the source database.
Members
- Code
-
- Type: string
The code of an error that occurred during the analysis of the source database.
- DatabaseId
-
- Type: string
The identifier of the source database.
- Message
-
- Type: string
The information about the error.
Certificate
Description
The SSL certificate that can be used to encrypt connections between the endpoints and the replication instance.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate.
- CertificateCreationDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date that the certificate was created.
- CertificateIdentifier
-
- Type: string
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- CertificateOwner
-
- Type: string
The owner of the certificate.
- CertificatePem
-
- Type: string
The contents of a
.pem
file, which contains an X.509 certificate. - CertificateWallet
-
- Type: blob (string|resource|Psr\Http\Message\StreamInterface)
The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
- KeyLength
-
- Type: int
The key length of the cryptographic algorithm being used.
- SigningAlgorithm
-
- Type: string
The signing algorithm for the certificate.
- ValidFromDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The beginning date that the certificate is valid.
- ValidToDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The final date that the certificate is valid.
CollectorHealthCheck
Description
Describes the last Fleet Advisor collector health check.
Members
- CollectorStatus
-
- Type: string
The status of the Fleet Advisor collector.
- LocalCollectorS3Access
-
- Type: boolean
Whether the local collector can access its Amazon S3 bucket.
- WebCollectorGrantedRoleBasedAccess
-
- Type: boolean
Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.
- WebCollectorS3Access
-
- Type: boolean
Whether the web collector can access its Amazon S3 bucket.
CollectorNotFoundFault
Description
The specified collector doesn't exist.
Members
- message
-
- Type: string
CollectorResponse
Description
Describes a Fleet Advisor collector.
Members
- CollectorHealthCheck
-
- Type: CollectorHealthCheck structure
Describes the last Fleet Advisor collector health check.
- CollectorName
-
- Type: string
The name of the Fleet Advisor collector .
- CollectorReferencedId
-
- Type: string
The reference ID of the Fleet Advisor collector.
- CollectorVersion
-
- Type: string
The version of your Fleet Advisor collector, in semantic versioning format, for example
1.0.2
- CreatedDate
-
- Type: string
The timestamp when you created the collector, in the following format:
2022-01-24T19:04:02.596113Z
- Description
-
- Type: string
A summary description of the Fleet Advisor collector.
- InventoryData
-
- Type: InventoryData structure
Describes a Fleet Advisor collector inventory.
- LastDataReceived
-
- Type: string
The timestamp of the last time the collector received data, in the following format:
2022-01-24T19:04:02.596113Z
- ModifiedDate
-
- Type: string
The timestamp when DMS last modified the collector, in the following format:
2022-01-24T19:04:02.596113Z
- RegisteredDate
-
- Type: string
The timestamp when DMS registered the collector, in the following format:
2022-01-24T19:04:02.596113Z
- S3BucketName
-
- Type: string
The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
- ServiceAccessRoleArn
-
- Type: string
The IAM role that grants permissions to access the specified Amazon S3 bucket.
- VersionStatus
-
- Type: string
Whether the collector version is up to date.
CollectorShortInfoResponse
Description
Briefly describes a Fleet Advisor collector.
Members
- CollectorName
-
- Type: string
The name of the Fleet Advisor collector.
- CollectorReferencedId
-
- Type: string
The reference ID of the Fleet Advisor collector.
ComputeConfig
Description
Configuration parameters for provisioning an DMS Serverless replication.
Members
- AvailabilityZone
-
- Type: string
The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example,
"us-west-2"
. You can't set this parameter if theMultiAZ
parameter is set totrue
. - DnsNameServers
-
- Type: string
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example:
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
- KmsKeyId
-
- Type: string
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.
If you don't specify a value for the
KmsKeyId
parameter, DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- MaxCapacityUnits
-
- Type: int
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The
MaxCapacityUnits
parameter is the only DCU parameter you are required to specify. - MinCapacityUnits
-
- Type: int
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. If you don't set this value, DMS sets this parameter to the minimum DCU value allowed, 1. If there is no current source activity, DMS scales down your replication until it reaches the value specified in
MinCapacityUnits
. - MultiAZ
-
- Type: boolean
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if theMultiAZ
parameter is set totrue
. - PreferredMaintenanceWindow
-
- Type: string
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is
ddd:hh24:mi-ddd:hh24:mi
.The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
, andSun
.Constraints include a minimum 30-minute window.
- ReplicationSubnetGroupId
-
- Type: string
Specifies a subnet group identifier to associate with the DMS Serverless replication.
- VpcSecurityGroupIds
-
- Type: Array of strings
Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
Connection
Description
Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.
Members
- EndpointArn
-
- Type: string
The ARN string that uniquely identifies the endpoint.
- EndpointIdentifier
-
- Type: string
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- LastFailureMessage
-
- Type: string
The error message when the connection last failed.
- ReplicationInstanceArn
-
- Type: string
The ARN of the replication instance.
- ReplicationInstanceIdentifier
-
- Type: string
The replication instance identifier. This parameter is stored as a lowercase string.
- Status
-
- Type: string
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
DataMigration
Description
This object provides information about a DMS data migration.
Members
- DataMigrationArn
-
- Type: string
The Amazon Resource Name (ARN) that identifies this replication.
- DataMigrationCidrBlocks
-
- Type: Array of strings
The CIDR blocks of the endpoints for the data migration.
- DataMigrationCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The UTC time when DMS created the data migration.
- DataMigrationEndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The UTC time when data migration ended.
- DataMigrationName
-
- Type: string
The user-friendly name for the data migration.
- DataMigrationSettings
-
- Type: DataMigrationSettings structure
Specifies CloudWatch settings and selection rules for the data migration.
- DataMigrationStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The UTC time when DMS started the data migration.
- DataMigrationStatistics
-
- Type: DataMigrationStatistics structure
Provides information about the data migration's run, including start and stop time, latency, and data migration progress.
- DataMigrationStatus
-
- Type: string
The current status of the data migration.
- DataMigrationType
-
- Type: string
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- LastFailureMessage
-
- Type: string
Information about the data migration's most recent error or failure.
- MigrationProjectArn
-
- Type: string
The Amazon Resource Name (ARN) of the data migration's associated migration project.
- PublicIpAddresses
-
- Type: Array of strings
The IP addresses of the endpoints for the data migration.
- ServiceAccessRoleArn
-
- Type: string
The IAM role that the data migration uses to access Amazon Web Services resources.
- SourceDataSettings
-
- Type: Array of SourceDataSetting structures
Specifies information about the data migration's source data provider.
- StopReason
-
- Type: string
The reason the data migration last stopped.
DataMigrationSettings
Description
Options for configuring a data migration, including whether to enable CloudWatch logs, and the selection rules to use to include or exclude database objects from the migration.
Members
- CloudwatchLogsEnabled
-
- Type: boolean
Whether to enable CloudWatch logging for the data migration.
- NumberOfJobs
-
- Type: int
The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
- SelectionRules
-
- Type: string
A JSON-formatted string that defines what objects to include and exclude from the migration.
DataMigrationStatistics
Description
Information about the data migration run, including start and stop time, latency, and migration progress.
Members
- CDCLatency
-
- Type: int
The current latency of the change data capture (CDC) operation.
- ElapsedTimeMillis
-
- Type: long (int|float)
The elapsed duration of the data migration run.
- FullLoadPercentage
-
- Type: int
The data migration's progress in the full-load migration phase.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when the migration started.
- StopTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when the migration stopped or failed.
- TablesErrored
-
- Type: int
The number of tables that DMS failed to process.
- TablesLoaded
-
- Type: int
The number of tables loaded in the current data migration run.
- TablesLoading
-
- Type: int
The data migration's table loading progress.
- TablesQueued
-
- Type: int
The number of tables that are waiting for processing.
DataProvider
Description
Provides information that defines a data provider.
Members
- DataProviderArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
- DataProviderCreationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the data provider was created.
- DataProviderName
-
- Type: string
The name of the data provider.
- Description
-
- Type: string
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
- Engine
-
- Type: string
The type of database engine for the data provider. Valid values include
"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition. - Settings
-
- Type: DataProviderSettings structure
The settings in JSON format for a data provider.
DataProviderDescriptor
Description
Information about a data provider.
Members
- DataProviderArn
-
- Type: string
The Amazon Resource Name (ARN) of the data provider.
- DataProviderName
-
- Type: string
The user-friendly name of the data provider.
- SecretsManagerAccessRoleArn
-
- Type: string
The ARN of the role used to access Amazon Web Services Secrets Manager.
- SecretsManagerSecretId
-
- Type: string
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
DataProviderDescriptorDefinition
Description
Information about a data provider.
Members
- DataProviderIdentifier
-
- Required: Yes
- Type: string
The name or Amazon Resource Name (ARN) of the data provider.
- SecretsManagerAccessRoleArn
-
- Type: string
The ARN of the role used to access Amazon Web Services Secrets Manager.
- SecretsManagerSecretId
-
- Type: string
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
DataProviderSettings
Description
Provides information that defines a data provider.
Members
- DocDbSettings
-
- Type: DocDbDataProviderSettings structure
Provides information that defines a DocumentDB data provider.
- MariaDbSettings
-
- Type: MariaDbDataProviderSettings structure
Provides information that defines a MariaDB data provider.
- MicrosoftSqlServerSettings
-
- Type: MicrosoftSqlServerDataProviderSettings structure
Provides information that defines a Microsoft SQL Server data provider.
- MongoDbSettings
-
- Type: MongoDbDataProviderSettings structure
Provides information that defines a MongoDB data provider.
- MySqlSettings
-
- Type: MySqlDataProviderSettings structure
Provides information that defines a MySQL data provider.
- OracleSettings
-
- Type: OracleDataProviderSettings structure
Provides information that defines an Oracle data provider.
- PostgreSqlSettings
-
- Type: PostgreSqlDataProviderSettings structure
Provides information that defines a PostgreSQL data provider.
- RedshiftSettings
-
- Type: RedshiftDataProviderSettings structure
Provides information that defines an Amazon Redshift data provider.
DatabaseInstanceSoftwareDetailsResponse
Description
Describes an inventory database instance for a Fleet Advisor collector.
Members
- Engine
-
- Type: string
The database engine of a database in a Fleet Advisor collector inventory, for example
Microsoft SQL Server
. - EngineEdition
-
- Type: string
The database engine edition of a database in a Fleet Advisor collector inventory, for example
Express
. - EngineVersion
-
- Type: string
The database engine version of a database in a Fleet Advisor collector inventory, for example
2019
. - OsArchitecture
-
- Type: int
The operating system architecture of the database.
- ServicePack
-
- Type: string
The service pack level of the database.
- SupportLevel
-
- Type: string
The support level of the database, for example
Mainstream support
. - Tooltip
-
- Type: string
Information about the database engine software, for example
Mainstream support ends on November 14th, 2024
.
DatabaseResponse
Description
Describes a database in a Fleet Advisor collector inventory.
Members
- Collectors
-
- Type: Array of CollectorShortInfoResponse structures
A list of collectors associated with the database.
- DatabaseId
-
- Type: string
The ID of a database in a Fleet Advisor collector inventory.
- DatabaseName
-
- Type: string
The name of a database in a Fleet Advisor collector inventory.
- IpAddress
-
- Type: string
The IP address of a database in a Fleet Advisor collector inventory.
- NumberOfSchemas
-
- Type: long (int|float)
The number of schemas in a Fleet Advisor collector inventory database.
- Server
-
- Type: ServerShortInfoResponse structure
The server name of a database in a Fleet Advisor collector inventory.
- SoftwareDetails
-
- Type: DatabaseInstanceSoftwareDetailsResponse structure
The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.
DatabaseShortInfoResponse
Description
Describes a database in a Fleet Advisor collector inventory.
Members
- DatabaseEngine
-
- Type: string
The database engine of a database in a Fleet Advisor collector inventory, for example
PostgreSQL
. - DatabaseId
-
- Type: string
The ID of a database in a Fleet Advisor collector inventory.
- DatabaseIpAddress
-
- Type: string
The IP address of a database in a Fleet Advisor collector inventory.
- DatabaseName
-
- Type: string
The name of a database in a Fleet Advisor collector inventory.
DefaultErrorDetails
Description
Provides error information about a schema conversion operation.
Members
- Message
-
- Type: string
The error message.
DmsTransferSettings
Description
The settings in JSON format for the DMS Transfer type source endpoint.
Members
- BucketName
-
- Type: string
The name of the S3 bucket to use.
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the
iam:PassRole
action.
DocDbDataProviderSettings
Description
Provides information that defines a DocumentDB data provider.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The database name on the DocumentDB data provider.
- Port
-
- Type: int
The port value for the DocumentDB data provider.
- ServerName
-
- Type: string
The name of the source DocumentDB server.
- SslMode
-
- Type: string
The SSL mode used to connect to the DocumentDB data provider. The default value is
none
.
DocDbSettings
Description
Provides information that defines a DocumentDB endpoint.
Members
- DatabaseName
-
- Type: string
The database name on the DocumentDB source endpoint.
- DocsToInvestigate
-
- Type: int
Indicates the number of documents to preview to determine the document organization. Use this setting when
NestingLevel
is set to"one"
.Must be a positive value greater than
0
. Default value is1000
. - ExtractDocId
-
- Type: boolean
Specifies the document ID. Use this setting when
NestingLevel
is set to"none"
.Default value is
"false"
. - KmsKeyId
-
- Type: string
The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key. KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region. - NestingLevel
-
- Type: string
Specifies either document or table mode.
Default value is
"none"
. Specify"none"
to use document mode. Specify"one"
to use table mode. - Password
-
- Type: string
The password for the user account you use to access the DocumentDB source endpoint.
- Port
-
- Type: int
The port value for the DocumentDB source endpoint.
- ReplicateShardCollections
-
- Type: boolean
If
true
, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.When this setting is
true
, note the following:-
You must set
TargetTablePrepMode
tonothing
. -
DMS automatically sets
useUpdateLookup
tofalse
.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the DocumentDB endpoint connection details. - ServerName
-
- Type: string
The name of the server on the DocumentDB source endpoint.
- UseUpdateLookUp
-
- Type: boolean
If
true
, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter tofalse
. - Username
-
- Type: string
The user name you use to access the DocumentDB source endpoint.
DynamoDbSettings
Description
Provides the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to define an Amazon DynamoDB target endpoint.
Members
- ServiceAccessRoleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole
action.
ElasticsearchSettings
Description
Provides information that defines an OpenSearch endpoint.
Members
- EndpointUri
-
- Required: Yes
- Type: string
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
- ErrorRetryDuration
-
- Type: int
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
- FullLoadErrorPercentage
-
- Type: int
The maximum percentage of records that can fail to be written before a full load operation stops.
To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
- ServiceAccessRoleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole
action. - UseNewMappingType
-
- Type: boolean
Set this option to
true
for DMS to migrate documentation using the documentation type_doc
. OpenSearch and an Elasticsearch cluster only support the _doc documentation type in versions 7. x and later. The default value isfalse
.
Endpoint
Description
Describes an endpoint of a database instance in response to operations such as the following:
-
CreateEndpoint
-
DescribeEndpoint
-
ModifyEndpoint
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
- DatabaseName
-
- Type: string
The name of the database at the endpoint.
- DmsTransferSettings
-
- Type: DmsTransferSettings structure
The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.
- DocDbSettings
-
- Type: DocDbSettings structure
Provides information that defines a DocumentDB endpoint.
- DynamoDbSettings
-
- Type: DynamoDbSettings structure
The settings for the DynamoDB target endpoint. For more information, see the
DynamoDBSettings
structure. - ElasticsearchSettings
-
- Type: ElasticsearchSettings structure
The settings for the OpenSearch source endpoint. For more information, see the
ElasticsearchSettings
structure. - EndpointArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- EndpointIdentifier
-
- Type: string
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- EndpointType
-
- Type: string
The type of endpoint. Valid values are
source
andtarget
. - EngineDisplayName
-
- Type: string
The expanded name for the engine name. For example, if the
EngineName
parameter is "aurora", this value would be "Amazon Aurora MySQL". - EngineName
-
- Type: string
The database engine name. Valid values, depending on the EndpointType, include
"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"redshift"
,"redshift-serverless"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"documentdb"
,"sqlserver"
,"neptune"
, and"babelfish"
. - ExternalId
-
- Type: string
Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.
- ExternalTableDefinition
-
- Type: string
The external table definition.
- ExtraConnectionAttributes
-
- Type: string
Additional connection attributes used to connect to the endpoint.
- GcpMySQLSettings
-
- Type: GcpMySQLSettings structure
Settings in JSON format for the source GCP MySQL endpoint.
- IBMDb2Settings
-
- Type: IBMDb2Settings structure
The settings for the IBM Db2 LUW source endpoint. For more information, see the
IBMDb2Settings
structure. - KafkaSettings
-
- Type: KafkaSettings structure
The settings for the Apache Kafka target endpoint. For more information, see the
KafkaSettings
structure. - KinesisSettings
-
- Type: KinesisSettings structure
The settings for the Amazon Kinesis target endpoint. For more information, see the
KinesisSettings
structure. - KmsKeyId
-
- Type: string
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- MicrosoftSQLServerSettings
-
- Type: MicrosoftSQLServerSettings structure
The settings for the Microsoft SQL Server source and target endpoint. For more information, see the
MicrosoftSQLServerSettings
structure. - MongoDbSettings
-
- Type: MongoDbSettings structure
The settings for the MongoDB source endpoint. For more information, see the
MongoDbSettings
structure. - MySQLSettings
-
- Type: MySQLSettings structure
The settings for the MySQL source and target endpoint. For more information, see the
MySQLSettings
structure. - NeptuneSettings
-
- Type: NeptuneSettings structure
The settings for the Amazon Neptune target endpoint. For more information, see the
NeptuneSettings
structure. - OracleSettings
-
- Type: OracleSettings structure
The settings for the Oracle source and target endpoint. For more information, see the
OracleSettings
structure. - Port
-
- Type: int
The port value used to access the endpoint.
- PostgreSQLSettings
-
- Type: PostgreSQLSettings structure
The settings for the PostgreSQL source and target endpoint. For more information, see the
PostgreSQLSettings
structure. - RedisSettings
-
- Type: RedisSettings structure
The settings for the Redis target endpoint. For more information, see the
RedisSettings
structure. - RedshiftSettings
-
- Type: RedshiftSettings structure
Settings for the Amazon Redshift endpoint.
- S3Settings
-
- Type: S3Settings structure
The settings for the S3 target endpoint. For more information, see the
S3Settings
structure. - ServerName
-
- Type: string
The name of the server at the endpoint.
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole
action. - SslMode
-
- Type: string
The SSL mode used to connect to the endpoint. The default value is
none
. - Status
-
- Type: string
The status of the endpoint.
- SybaseSettings
-
- Type: SybaseSettings structure
The settings for the SAP ASE source and target endpoint. For more information, see the
SybaseSettings
structure. - TimestreamSettings
-
- Type: TimestreamSettings structure
The settings for the Amazon Timestream target endpoint. For more information, see the
TimestreamSettings
structure. - Username
-
- Type: string
The user name used to connect to the endpoint.
EndpointSetting
Description
Endpoint settings.
Members
- Applicability
-
- Type: string
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
- DefaultValue
-
- Type: string
The default value of the endpoint setting if no value is specified using
CreateEndpoint
orModifyEndpoint
. - EnumValues
-
- Type: Array of strings
Enumerated values to use for this endpoint.
- IntValueMax
-
- Type: int
The maximum value of an endpoint setting that is of type
int
. - IntValueMin
-
- Type: int
The minimum value of an endpoint setting that is of type
int
. - Name
-
- Type: string
The name that you want to give the endpoint settings.
- Sensitive
-
- Type: boolean
A value that marks this endpoint setting as sensitive.
- Type
-
- Type: string
The type of endpoint. Valid values are
source
andtarget
. - Units
-
- Type: string
The unit of measure for this endpoint setting.
EngineVersion
Description
Provides information about a replication instance version.
Members
- AutoUpgradeDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled. - AvailableUpgrades
-
- Type: Array of strings
The list of valid replication instance versions that you can upgrade to.
- DeprecationDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date when the replication instance version will be deprecated and can no longer be requested.
- ForceUpgradeDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date when the replication instance will have a version upgrade forced.
- LaunchDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date when the replication instance version became publicly available.
- Lifecycle
-
- Type: string
The lifecycle status of the replication instance version. Valid values are
DEPRECATED
,DEFAULT_VERSION
, andACTIVE
. - ReleaseStatus
-
- Type: string
The release status of the replication instance version.
- Version
-
- Type: string
The version number of the replication instance.
ErrorDetails
Description
Provides error information about a project.
Members
- defaultErrorDetails
-
- Type: DefaultErrorDetails structure
Error information about a project.
Event
Description
Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.
Members
- Date
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date of the event.
- EventCategories
-
- Type: Array of strings
The event categories available for the specified source type.
- Message
-
- Type: string
The event message.
- SourceIdentifier
-
- Type: string
The identifier of an event source.
- SourceType
-
- Type: string
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
EventCategoryGroup
Description
Lists categories of events subscribed to, and generated by, the applicable DMS resource type. This data type appears in response to the DescribeEventCategories
action.
Members
- EventCategories
-
- Type: Array of strings
A list of event categories from a source type that you've chosen.
- SourceType
-
- Type: string
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
EventSubscription
Description
Describes an event notification subscription created by the CreateEventSubscription
operation.
Members
- CustSubscriptionId
-
- Type: string
The DMS event notification subscription Id.
- CustomerAwsId
-
- Type: string
The Amazon Web Services customer account associated with the DMS event notification subscription.
- Enabled
-
- Type: boolean
Boolean value that indicates if the event subscription is enabled.
- EventCategoriesList
-
- Type: Array of strings
A lists of event categories.
- SnsTopicArn
-
- Type: string
The topic ARN of the DMS event notification subscription.
- SourceIdsList
-
- Type: Array of strings
A list of source Ids for the event subscription.
- SourceType
-
- Type: string
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
- Status
-
- Type: string
The status of the DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
- SubscriptionCreationTime
-
- Type: string
The time the DMS event notification subscription was created.
ExportMetadataModelAssessmentResultEntry
Description
Provides information about an exported metadata model assessment.
Members
- ObjectURL
-
- Type: string
The URL for the object containing the exported metadata model assessment.
- S3ObjectKey
-
- Type: string
The object key for the object containing the exported metadata model assessment.
ExportSqlDetails
Description
Provides information about a metadata model assessment exported to SQL.
Members
- ObjectURL
-
- Type: string
The URL for the object containing the exported metadata model assessment.
- S3ObjectKey
-
- Type: string
The Amazon S3 object key for the object containing the exported metadata model assessment.
FailedDependencyFault
Description
A dependency threw an exception.
Members
- message
-
- Type: string
Filter
Description
Identifies the name and value of a filter object. This filter is used to limit the number and type of DMS objects that are returned for a particular Describe*
call or similar operation. Filters are used as an optional parameter for certain API operations.
Members
- Name
-
- Required: Yes
- Type: string
The name of the filter as specified for a
Describe*
or similar operation. - Values
-
- Required: Yes
- Type: Array of strings
The filter value, which can specify one or more values used to narrow the returned results.
FleetAdvisorLsaAnalysisResponse
Description
Describes a large-scale assessment (LSA) analysis run by a Fleet Advisor collector.
Members
- LsaAnalysisId
-
- Type: string
The ID of an LSA analysis run by a Fleet Advisor collector.
- Status
-
- Type: string
The status of an LSA analysis run by a Fleet Advisor collector.
FleetAdvisorSchemaObjectResponse
Description
Describes a schema object in a Fleet Advisor collector inventory.
Members
- CodeLineCount
-
- Type: long (int|float)
The number of lines of code in a schema object in a Fleet Advisor collector inventory.
- CodeSize
-
- Type: long (int|float)
The size level of the code in a schema object in a Fleet Advisor collector inventory.
- NumberOfObjects
-
- Type: long (int|float)
The number of objects in a schema object in a Fleet Advisor collector inventory.
- ObjectType
-
- Type: string
The type of the schema object, as reported by the database engine. Examples include the following:
-
function
-
trigger
-
SYSTEM_TABLE
-
QUEUE
- SchemaId
-
- Type: string
The ID of a schema object in a Fleet Advisor collector inventory.
GcpMySQLSettings
Description
Settings in JSON format for the source GCP MySQL endpoint.
Members
- AfterConnectScript
-
- Type: string
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
- CleanSourceMetadataOnMismatch
-
- Type: boolean
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
- DatabaseName
-
- Type: string
Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on either theCreateEndpoint
orModifyEndpoint
API call. SpecifyingDatabaseName
when you create or modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task. - EventsPollInterval
-
- Type: int
Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.
Example:
eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
- MaxFileSize
-
- Type: int
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
Example:
maxFileSize=512
- ParallelLoadThreads
-
- Type: int
Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.
Example:
parallelLoadThreads=1
- Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret.
The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the MySQL endpoint connection details. - ServerName
-
- Type: string
The MySQL host name.
- ServerTimezone
-
- Type: string
Specifies the time zone for the source MySQL database.
Example:
serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
- TargetDbType
-
- Type: string
Specifies where to migrate source tables on the target, either to a single database or multiple databases.
Example:
targetDbType=MULTIPLE_DATABASES
- Username
-
- Type: string
Endpoint connection user name.
IBMDb2Settings
Description
Provides information that defines an IBM Db2 LUW endpoint.
Members
- CurrentLsn
-
- Type: string
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
- DatabaseName
-
- Type: string
Database name for the endpoint.
- KeepCsvFiles
-
- Type: boolean
If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.
The default value is false.
- LoadTimeout
-
- Type: int
The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).
- MaxFileSize
-
- Type: int
Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.
- MaxKBytesPerRead
-
- Type: int
Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
- Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port. The default value is 50000.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the Db2 LUW endpoint connection details. - ServerName
-
- Type: string
Fully qualified domain name of the endpoint.
- SetDataCaptureChanges
-
- Type: boolean
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
- Username
-
- Type: string
Endpoint connection user name.
- WriteBufferSize
-
- Type: int
The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).
InstanceProfile
Description
Provides information that defines an instance profile.
Members
- AvailabilityZone
-
- Type: string
The Availability Zone where the instance profile runs.
- Description
-
- Type: string
A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
- InstanceProfileArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.
- InstanceProfileCreationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the instance profile was created.
- InstanceProfileName
-
- Type: string
The user-friendly name for the instance profile.
- KmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the
KmsKeyArn
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- NetworkType
-
- Type: string
Specifies the network type for the instance profile. A value of
IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing. - PubliclyAccessible
-
- Type: boolean
Specifies the accessibility options for the instance profile. A value of
true
represents an instance profile with a public IP address. A value offalse
represents an instance profile with a private IP address. The default value istrue
. - SubnetGroupIdentifier
-
- Type: string
The identifier of the subnet group that is associated with the instance profile.
- VpcSecurityGroups
-
- Type: Array of strings
The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
InsufficientResourceCapacityFault
Description
There are not enough resources allocated to the database migration.
Members
- message
-
- Type: string
InvalidCertificateFault
Description
The certificate was not valid.
Members
- message
-
- Type: string
InvalidOperationFault
Description
The action or operation requested isn't valid.
Members
- message
-
- Type: string
InvalidResourceStateFault
Description
The resource is in a state that prevents it from being used for database migration.
Members
- message
-
- Type: string
InvalidSubnet
Description
The subnet provided isn't valid.
Members
- message
-
- Type: string
InventoryData
Description
Describes a Fleet Advisor collector inventory.
Members
- NumberOfDatabases
-
- Type: int
The number of databases in the Fleet Advisor collector inventory.
- NumberOfSchemas
-
- Type: int
The number of schemas in the Fleet Advisor collector inventory.
KMSAccessDeniedFault
Description
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
Members
- message
-
- Type: string
KMSDisabledFault
Description
The specified KMS key isn't enabled.
Members
- message
-
- Type: string
KMSFault
Description
An Key Management Service (KMS) error is preventing access to KMS.
Members
- message
-
- Type: string
KMSInvalidStateFault
Description
The state of the specified KMS resource isn't valid for this request.
Members
- message
-
- Type: string
KMSKeyNotAccessibleFault
Description
DMS cannot access the KMS key.
Members
- message
-
- Type: string
KMSNotFoundFault
Description
The specified KMS entity or resource can't be found.
Members
- message
-
- Type: string
KMSThrottlingFault
Description
This request triggered KMS request throttling.
Members
- message
-
- Type: string
KafkaSettings
Description
Provides information that describes an Apache Kafka endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information.
Members
- Broker
-
- Type: string
A comma-separated list of one or more broker locations in your Kafka cluster that host your Kafka instance. Specify each broker location in the form
broker-hostname-or-ip:port
. For example,"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
. For more information and examples of specifying a list of broker locations, see Using Apache Kafka as a target for Database Migration Service in the Database Migration Service User Guide. - IncludeControlDetails
-
- Type: boolean
Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is
false
. - IncludeNullAndEmpty
-
- Type: boolean
Include NULL and empty columns for records migrated to the endpoint. The default is
false
. - IncludePartitionValue
-
- Type: boolean
Shows the partition value within the Kafka message output unless the partition type is
schema-table-type
. The default isfalse
. - IncludeTableAlterOperations
-
- Type: boolean
Includes any data definition language (DDL) operations that change the table in the control data, such as
rename-table
,drop-table
,add-column
,drop-column
, andrename-column
. The default isfalse
. - IncludeTransactionDetails
-
- Type: boolean
Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for
transaction_id
, previoustransaction_id
, andtransaction_record_id
(the record offset within a transaction). The default isfalse
. - MessageFormat
-
- Type: string
The output format for the records created on the endpoint. The message format is
JSON
(default) orJSON_UNFORMATTED
(a single line with no tab). - MessageMaxBytes
-
- Type: int
The maximum size in bytes for records created on the endpoint The default is 1,000,000.
- NoHexPrefix
-
- Type: boolean
Set this optional parameter to
true
to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use theNoHexPrefix
endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix. - PartitionIncludeSchemaTable
-
- Type: boolean
Prefixes schema and table names to partition values, when the partition type is
primary-key-type
. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. The default isfalse
. - SaslMechanism
-
- Type: string
For SASL/SSL authentication, DMS supports the
SCRAM-SHA-512
mechanism by default. DMS versions 3.5.0 and later also support thePLAIN
mechanism. To use thePLAIN
mechanism, set this parameter toPLAIN.
- SaslPassword
-
- Type: string
The secure password you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
- SaslUsername
-
- Type: string
The secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
- SecurityProtocol
-
- Type: string
Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include
ssl-encryption
,ssl-authentication
, andsasl-ssl
.sasl-ssl
requiresSaslUsername
andSaslPassword
. - SslCaCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.
- SslClientCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.
- SslClientKeyArn
-
- Type: string
The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.
- SslClientKeyPassword
-
- Type: string
The password for the client private key used to securely connect to a Kafka target endpoint.
- SslEndpointIdentificationAlgorithm
-
- Type: string
Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.
- Topic
-
- Type: string
The topic to which you migrate the data. If you don't specify a topic, DMS specifies
"kafka-default-topic"
as the migration topic. - UseLargeIntegerValue
-
- Type: boolean
Specifies using the large integer value with Kafka.
KerberosAuthenticationSettings
Description
Specifies using Kerberos authentication settings for use with DMS.
Members
- KeyCacheSecretIamArn
-
- Type: string
Specifies the Amazon Resource Name (ARN) of the IAM role that grants Amazon Web Services DMS access to the secret containing key cache file for the replication instance.
- KeyCacheSecretId
-
- Type: string
Specifies the secret ID of the key cache for the replication instance.
- Krb5FileContents
-
- Type: string
Specifies the ID of the secret that stores the key cache file required for kerberos authentication of the replication instance.
KinesisSettings
Description
Provides information that describes an Amazon Kinesis Data Stream endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information.
Members
- IncludeControlDetails
-
- Type: boolean
Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. The default is
false
. - IncludeNullAndEmpty
-
- Type: boolean
Include NULL and empty columns for records migrated to the endpoint. The default is
false
. - IncludePartitionValue
-
- Type: boolean
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default isfalse
. - IncludeTableAlterOperations
-
- Type: boolean
Includes any data definition language (DDL) operations that change the table in the control data, such as
rename-table
,drop-table
,add-column
,drop-column
, andrename-column
. The default isfalse
. - IncludeTransactionDetails
-
- Type: boolean
Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for
transaction_id
, previoustransaction_id
, andtransaction_record_id
(the record offset within a transaction). The default isfalse
. - MessageFormat
-
- Type: string
The output format for the records created on the endpoint. The message format is
JSON
(default) orJSON_UNFORMATTED
(a single line with no tab). - NoHexPrefix
-
- Type: boolean
Set this optional parameter to
true
to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to an Amazon Kinesis target. Use theNoHexPrefix
endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix. - PartitionIncludeSchemaTable
-
- Type: boolean
Prefixes schema and table names to partition values, when the partition type is
primary-key-type
. Doing this increases data distribution among Kinesis shards. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same shard, which causes throttling. The default isfalse
. - ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis data stream. The role must allow the
iam:PassRole
action. - StreamArn
-
- Type: string
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
- UseLargeIntegerValue
-
- Type: boolean
Specifies using the large integer value with Kinesis.
Limitation
Description
Provides information about the limitations of target Amazon Web Services engines.
Your source database might include features that the target Amazon Web Services engine doesn't support. Fleet Advisor lists these features as limitations. You should consider these limitations during database migration. For each limitation, Fleet Advisor recommends an action that you can take to address or avoid this limitation.
Members
- DatabaseId
-
- Type: string
The identifier of the source database.
- Description
-
- Type: string
A description of the limitation. Provides additional information about the limitation, and includes recommended actions that you can take to address or avoid this limitation.
- EngineName
-
- Type: string
The name of the target engine that Fleet Advisor should use in the target engine recommendation. Valid values include
"rds-aurora-mysql"
,"rds-aurora-postgresql"
,"rds-mysql"
,"rds-oracle"
,"rds-sql-server"
, and"rds-postgresql"
. - Impact
-
- Type: string
The impact of the limitation. You can use this parameter to prioritize limitations that you want to address. Valid values include
"Blocker"
,"High"
,"Medium"
, and"Low"
. - Name
-
- Type: string
The name of the limitation. Describes unsupported database features, migration action items, and other limitations.
- Type
-
- Type: string
The type of the limitation, such as action required, upgrade required, and limited feature.
MariaDbDataProviderSettings
Description
Provides information that defines a MariaDB data provider.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- Port
-
- Type: int
The port value for the MariaDB data provider
- ServerName
-
- Type: string
The name of the MariaDB server.
- SslMode
-
- Type: string
The SSL mode used to connect to the MariaDB data provider. The default value is
none
.
MicrosoftSQLServerSettings
Description
Provides information that defines a Microsoft SQL Server endpoint.
Members
- AuthenticationMethod
-
- Type: string
Specifies using Kerberos authentication with Microsoft SQL Server.
- BcpPacketSize
-
- Type: int
The maximum size of the packets (in bytes) used to transfer data using BCP.
- ControlTablesFileGroup
-
- Type: string
Specifies a file group for the DMS internal tables. When the replication task starts, all the internal DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created for the specified file group.
- DatabaseName
-
- Type: string
Database name for the endpoint.
- ForceLobLookup
-
- Type: boolean
Forces LOB lookup on inline LOB.
- Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port.
- QuerySingleAlwaysOnNode
-
- Type: boolean
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. An example is a situation where running an alter DDL statement on a table might result in different information about the table cached in the replication instance.
- ReadBackupOnly
-
- Type: boolean
When this attribute is set to
Y
, DMS only reads changes from transaction log backups and doesn't read from the active transaction log file during ongoing replication. Setting this parameter toY
enables you to control active transaction log file growth during full load and ongoing replication tasks. However, it can add some source latency to ongoing replication. - SafeguardPolicy
-
- Type: string
Use this attribute to minimize the need to access the backup log and enable DMS to prevent truncation using one of the following two methods.
Start transactions in the database: This is the default method. When this method is used, DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.
Exclusively use sp_repldone within a single task: When this method is used, DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one DMS task can access the database at any given time. Therefore, if you need to run parallel DMS tasks against the same database, use the default method.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the SQL Server endpoint connection details. - ServerName
-
- Type: string
Fully qualified domain name of the endpoint. For an Amazon RDS SQL Server instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field. - TlogAccessMode
-
- Type: string
Indicates the mode used to fetch CDC data.
- TrimSpaceInChar
-
- Type: boolean
Use the
TrimSpaceInChar
source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. SettingTrimSpaceInChar
does not left-trim data. The default value istrue
. - UseBcpFullLoad
-
- Type: boolean
Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.
- UseThirdPartyBackupDevice
-
- Type: boolean
When this attribute is set to
Y
, DMS processes third-party transaction log backups if they are created in native format. - Username
-
- Type: string
Endpoint connection user name.
MicrosoftSqlServerDataProviderSettings
Description
Provides information that defines a Microsoft SQL Server data provider.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The database name on the Microsoft SQL Server data provider.
- Port
-
- Type: int
The port value for the Microsoft SQL Server data provider.
- ServerName
-
- Type: string
The name of the Microsoft SQL Server server.
- SslMode
-
- Type: string
The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is
none
.
MigrationProject
Description
Provides information that defines a migration project.
Members
- Description
-
- Type: string
A user-friendly description of the migration project.
- InstanceProfileArn
-
- Type: string
The Amazon Resource Name (ARN) of the instance profile for your migration project.
- InstanceProfileName
-
- Type: string
The name of the associated instance profile.
- MigrationProjectArn
-
- Type: string
The ARN string that uniquely identifies the migration project.
- MigrationProjectCreationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when the migration project was created.
- MigrationProjectName
-
- Type: string
The name of the migration project.
- SchemaConversionApplicationAttributes
-
- Type: SCApplicationAttributes structure
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
- SourceDataProviderDescriptors
-
- Type: Array of DataProviderDescriptor structures
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
- TargetDataProviderDescriptors
-
- Type: Array of DataProviderDescriptor structures
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
- TransformationRules
-
- Type: string
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
MongoDbDataProviderSettings
Description
Provides information that defines a MongoDB data provider.
Members
- AuthMechanism
-
- Type: string
The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
- AuthSource
-
- Type: string
The MongoDB database name. This setting isn't used when
AuthType
is set to"no"
.The default is
"admin"
. - AuthType
-
- Type: string
The authentication type for the database connection. Valid values are PASSWORD or NO.
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The database name on the MongoDB data provider.
- Port
-
- Type: int
The port value for the MongoDB data provider.
- ServerName
-
- Type: string
The name of the MongoDB server.
- SslMode
-
- Type: string
The SSL mode used to connect to the MongoDB data provider. The default value is
none
.
MongoDbSettings
Description
Provides information that defines a MongoDB endpoint.
Members
- AuthMechanism
-
- Type: string
The authentication mechanism you use to access the MongoDB source endpoint.
For the default value, in MongoDB version 2.x,
"default"
is"mongodb_cr"
. For MongoDB version 3.x or later,"default"
is"scram_sha_1"
. This setting isn't used whenAuthType
is set to"no"
. - AuthSource
-
- Type: string
The MongoDB database name. This setting isn't used when
AuthType
is set to"no"
.The default is
"admin"
. - AuthType
-
- Type: string
The authentication type you use to access the MongoDB source endpoint.
When when set to
"no"
, user name and password parameters are not used and can be empty. - DatabaseName
-
- Type: string
The database name on the MongoDB source endpoint.
- DocsToInvestigate
-
- Type: string
Indicates the number of documents to preview to determine the document organization. Use this setting when
NestingLevel
is set to"one"
.Must be a positive value greater than
0
. Default value is1000
. - ExtractDocId
-
- Type: string
Specifies the document ID. Use this setting when
NestingLevel
is set to"none"
.Default value is
"false"
. - KmsKeyId
-
- Type: string
The KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key. KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region. - NestingLevel
-
- Type: string
Specifies either document or table mode.
Default value is
"none"
. Specify"none"
to use document mode. Specify"one"
to use table mode. - Password
-
- Type: string
The password for the user account you use to access the MongoDB source endpoint.
- Port
-
- Type: int
The port value for the MongoDB source endpoint.
- ReplicateShardCollections
-
- Type: boolean
If
true
, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.When this setting is
true
, note the following:-
You must set
TargetTablePrepMode
tonothing
. -
DMS automatically sets
useUpdateLookup
tofalse
.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the MongoDB endpoint connection details. - ServerName
-
- Type: string
The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.
- UseUpdateLookUp
-
- Type: boolean
If
true
, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter tofalse
. - Username
-
- Type: string
The user name you use to access the MongoDB source endpoint.
MySQLSettings
Description
Provides information that defines a MySQL endpoint.
Members
- AfterConnectScript
-
- Type: string
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
- CleanSourceMetadataOnMismatch
-
- Type: boolean
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
- DatabaseName
-
- Type: string
Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on either theCreateEndpoint
orModifyEndpoint
API call. SpecifyingDatabaseName
when you create or modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task. - EventsPollInterval
-
- Type: int
Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.
Example:
eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
- ExecuteTimeout
-
- Type: int
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
- MaxFileSize
-
- Type: int
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
Example:
maxFileSize=512
- ParallelLoadThreads
-
- Type: int
Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.
Example:
parallelLoadThreads=1
- Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the MySQL endpoint connection details. - ServerName
-
- Type: string
The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the
Endpoint
field. - ServerTimezone
-
- Type: string
Specifies the time zone for the source MySQL database.
Example:
serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
- TargetDbType
-
- Type: string
Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you specify
SPECIFIC_DATABASE
, specify the database name using theDatabaseName
parameter of theEndpoint
object.Example:
targetDbType=MULTIPLE_DATABASES
- Username
-
- Type: string
Endpoint connection user name.
MySqlDataProviderSettings
Description
Provides information that defines a MySQL data provider.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- Port
-
- Type: int
The port value for the MySQL data provider.
- ServerName
-
- Type: string
The name of the MySQL server.
- SslMode
-
- Type: string
The SSL mode used to connect to the MySQL data provider. The default value is
none
.
NeptuneSettings
Description
Provides information that defines an Amazon Neptune endpoint.
Members
- ErrorRetryDuration
-
- Type: int
The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.
- IamAuthEnabled
-
- Type: boolean
If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to
true
. Then attach the appropriate IAM policy document to your service role specified byServiceAccessRoleArn
. The default isfalse
. - MaxFileSize
-
- Type: int
The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.
- MaxRetryCount
-
- Type: int
The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.
- S3BucketFolder
-
- Required: Yes
- Type: string
A folder path where you want DMS to store migrated graph data in the S3 bucket specified by
S3BucketName
- S3BucketName
-
- Required: Yes
- Type: string
The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the
iam:PassRole
action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.
OracleDataProviderSettings
Description
Provides information that defines an Oracle data provider.
Members
- AsmServer
-
- Type: string
The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the
asm_server
value. You setasm_server
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database. - CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The database name on the Oracle data provider.
- Port
-
- Type: int
The port value for the Oracle data provider.
- SecretsManagerOracleAsmAccessRoleArn
-
- Type: string
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.
- SecretsManagerOracleAsmSecretId
-
- Type: string
The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.
Required only if your data provider uses the Oracle ASM server.
- SecretsManagerSecurityDbEncryptionAccessRoleArn
-
- Type: string
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.
- SecretsManagerSecurityDbEncryptionSecretId
-
- Type: string
The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.
- ServerName
-
- Type: string
The name of the Oracle server.
- SslMode
-
- Type: string
The SSL mode used to connect to the Oracle data provider. The default value is
none
.
OracleSettings
Description
Provides information that defines an Oracle endpoint.
Members
- AccessAlternateDirectly
-
- Type: boolean
Set this attribute to
false
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to not access redo logs through any specified path prefix replacement using direct file access. - AddSupplementalLogging
-
- Type: boolean
Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task.
If you use this option, you still need to enable database-level supplemental logging.
- AdditionalArchivedLogDestId
-
- Type: int
Set this attribute with
ArchivedLogDestId
in a primary/ standby setup. This attribute is useful in the case of a switchover. In this case, DMS needs to know which destination to get archive redo logs from to read changes. This need arises because the previous primary instance is now a standby instance after switchover.Although DMS supports the use of the Oracle
RESETLOGS
option to open the database, never useRESETLOGS
unless necessary. For additional information aboutRESETLOGS
, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide. - AllowSelectNestedTables
-
- Type: boolean
Set this attribute to
true
to enable replication of Oracle tables containing columns that are nested tables or defined types. - ArchivedLogDestId
-
- Type: int
Specifies the ID of the destination for the archived redo logs. This value should be the same as a number in the dest_id column of the v$archived_log view. If you work with an additional redo log destination, use the
AdditionalArchivedLogDestId
option to specify the additional destination ID. Doing this improves performance by ensuring that the correct logs are accessed from the outset. - ArchivedLogsOnly
-
- Type: boolean
When this field is set to
True
, DMS only accesses the archived redo logs. If the archived redo logs are stored on Automatic Storage Management (ASM) only, the DMS user account needs to be granted ASM privileges. - AsmPassword
-
- Type: string
For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password. You can set this value from the
asm_user_password
value. You set this value as part of the comma-separated value that you set to thePassword
request parameter when you create the endpoint to access transaction logs using Binary Reader. For more information, see Configuration for change data capture (CDC) on an Oracle source database. - AsmServer
-
- Type: string
For an Oracle source endpoint, your ASM server address. You can set this value from the
asm_server
value. You setasm_server
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database. - AsmUser
-
- Type: string
For an Oracle source endpoint, your ASM user name. You can set this value from the
asm_user
value. You setasm_user
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database. - AuthenticationMethod
-
- Type: string
Specifies using Kerberos authentication with Oracle.
- CharLengthSemantics
-
- Type: string
Specifies whether the length of a character column is in bytes or in characters. To indicate that the character column length is in characters, set this attribute to
CHAR
. Otherwise, the character column length is in bytes.Example:
charLengthSemantics=CHAR;
- ConvertTimestampWithZoneToUTC
-
- Type: boolean
When true, converts timestamps with the
timezone
datatype to their UTC value. - DatabaseName
-
- Type: string
Database name for the endpoint.
- DirectPathNoLog
-
- Type: boolean
When set to
true
, this attribute helps to increase the commit rate on the Oracle target database by writing directly to tables and not writing a trail to database logs. - DirectPathParallelLoad
-
- Type: boolean
When set to
true
, this attribute specifies a parallel load whenuseDirectPathFullLoad
is set toY
. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes. - EnableHomogenousTablespace
-
- Type: boolean
Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.
- ExtraArchivedLogDestIds
-
- Type: Array of ints
Specifies the IDs of one more destinations for one or more archived redo logs. These IDs are the values of the
dest_id
column in thev$archived_log
view. Use this setting with thearchivedLogDestId
extra connection attribute in a primary-to-single setup or a primary-to-multiple-standby setup.This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, DMS needs information about what destination to get archive redo logs from to read changes. DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although DMS supports the use of the Oracle
RESETLOGS
option to open the database, never useRESETLOGS
unless it's necessary. For more information aboutRESETLOGS
, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide. - FailTasksOnLobTruncation
-
- Type: boolean
When set to
true
, this attribute causes a task to fail if the actual size of an LOB column is greater than the specifiedLobMaxSize
.If a task is set to limited LOB mode and this option is set to
true
, the task fails instead of truncating the LOB data. - NumberDatatypeScale
-
- Type: int
Specifies the number scale. You can select a scale up to 38, or you can select FLOAT. By default, the NUMBER data type is converted to precision 38, scale 10.
Example:
numberDataTypeScale=12
- OpenTransactionWindow
-
- Type: int
The timeframe in minutes to check for open transactions for a CDC-only task.
You can specify an integer value between 0 (the default) and 240 (the maximum).
This parameter is only valid in DMS version 3.5.0 and later.
- OraclePathPrefix
-
- Type: string
Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the default Oracle root used to access the redo logs.
- ParallelAsmReadThreads
-
- Type: int
Set this attribute to change the number of threads that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute together with the
readAheadBlocks
attribute. - Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port.
- ReadAheadBlocks
-
- Type: int
Set this attribute to change the number of read-ahead blocks that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the maximum).
- ReadTableSpaceName
-
- Type: boolean
When set to
true
, this attribute supports tablespace replication. - ReplacePathPrefix
-
- Type: boolean
Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace the default Oracle root with the specified
usePathPrefix
setting to access the redo logs. - RetryInterval
-
- Type: int
Specifies the number of seconds that the system waits before resending a query.
Example:
retryInterval=6;
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerOracleAsmAccessRoleArn
-
- Type: string
Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the
SecretsManagerOracleAsmSecret
. ThisSecretsManagerOracleAsmSecret
has the secret value that allows access to the Oracle ASM of the endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerOracleAsmSecretId
. Or you can specify clear-text values forAsmUser
,AsmPassword
, andAsmServerName
. You can't specify both. For more information on creating thisSecretsManagerOracleAsmSecret
and theSecretsManagerOracleAsmAccessRoleArn
andSecretsManagerOracleAsmSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerOracleAsmSecretId
-
- Type: string
Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN, partial ARN, or friendly name of the
SecretsManagerOracleAsmSecret
that contains the Oracle ASM connection details for the Oracle endpoint. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the Oracle endpoint connection details. - SecurityDbEncryption
-
- Type: string
For an Oracle source endpoint, the transparent data encryption (TDE) password required by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the
TDE_Password
part of the comma-separated value you set to thePassword
request parameter when you create the endpoint. TheSecurityDbEncryptian
setting is related to thisSecurityDbEncryptionName
setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide. - SecurityDbEncryptionName
-
- Type: string
For an Oracle source endpoint, the name of a key used for the transparent data encryption (TDE) of the columns and tablespaces in an Oracle source database that is encrypted using TDE. The key value is the value of the
SecurityDbEncryption
setting. For more information on setting the key name value ofSecurityDbEncryptionName
, see the information and example for setting thesecurityDbEncryptionName
extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide. - ServerName
-
- Type: string
Fully qualified domain name of the endpoint.
For an Amazon RDS Oracle instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field. - SpatialDataOptionToGeoJsonFunctionName
-
- Type: string
Use this attribute to convert
SDO_GEOMETRY
toGEOJSON
format. By default, DMS calls theSDO2GEOJSON
custom function if present and accessible. Or you can create your own custom function that mimics the operation ofSDOGEOJSON
and setSpatialDataOptionToGeoJsonFunctionName
to call it instead. - StandbyDelayTime
-
- Type: int
Use this attribute to specify a time in minutes for the delay in standby sync. If the source is an Oracle Active Data Guard standby database, use this attribute to specify the time lag between primary and standby databases.
In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.
- TrimSpaceInChar
-
- Type: boolean
Use the
TrimSpaceInChar
source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value istrue
. - UseAlternateFolderForOnline
-
- Type: boolean
Set this attribute to
true
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs. - UseBFile
-
- Type: boolean
Set this attribute to True to capture change data using the Binary Reader utility. Set
UseLogminerReader
to False to set this attribute to True. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or DMS Binary Reader for CDC. - UseDirectPathFullLoad
-
- Type: boolean
Set this attribute to True to have DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.
- UseLogminerReader
-
- Type: boolean
Set this attribute to True to capture change data using the Oracle LogMiner utility (the default). Set this attribute to False if you want to access the redo logs as a binary file. When you set
UseLogminerReader
to False, also setUseBfile
to True. For more information on this setting and using Oracle ASM, see Using Oracle LogMiner or DMS Binary Reader for CDC in the DMS User Guide. - UsePathPrefix
-
- Type: string
Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.
- Username
-
- Type: string
Endpoint connection user name.
OrderableReplicationInstance
Description
In response to the DescribeOrderableReplicationInstances
operation, this object describes an available replication instance. This description includes the replication instance's type, engine version, and allocated storage.
Members
- AvailabilityZones
-
- Type: Array of strings
List of Availability Zones for this replication instance.
- DefaultAllocatedStorage
-
- Type: int
The default amount of storage (in gigabytes) that is allocated for the replication instance.
- EngineVersion
-
- Type: string
The version of the replication engine.
- IncludedAllocatedStorage
-
- Type: int
The amount of storage (in gigabytes) that is allocated for the replication instance.
- MaxAllocatedStorage
-
- Type: int
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- MinAllocatedStorage
-
- Type: int
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- ReleaseStatus
-
- Type: string
The value returned when the specified
EngineVersion
of the replication instance is in Beta or test mode. This indicates some features might not work as expected.DMS supports the
ReleaseStatus
parameter in versions 3.1.4 and later. - ReplicationInstanceClass
-
- Type: string
The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to
"dms.c4.large"
.For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
- StorageType
-
- Type: string
The type of storage used by the replication instance.
PendingMaintenanceAction
Description
Describes a maintenance action pending for an DMS resource, including when and how it will be applied. This data type is a response element to the DescribePendingMaintenanceActions
operation.
Members
- Action
-
- Type: string
The type of pending maintenance action that is available for the resource.
- AutoAppliedAfterDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date of the maintenance window when the action is to be applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any
next-maintenance
opt-in requests are ignored. - CurrentApplyDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the
ApplyPendingMaintenanceAction
API operation, and also theAutoAppliedAfterDate
andForcedApplyDate
parameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDate
orForcedApplyDate
. - Description
-
- Type: string
A description providing more detail about the maintenance action.
- ForcedApplyDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date when the maintenance action will be automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any
immediate
opt-in requests are ignored. - OptInStatus
-
- Type: string
The type of opt-in request that has been received for the resource.
PostgreSQLSettings
Description
Provides information that defines a PostgreSQL endpoint.
Members
- AfterConnectScript
-
- Type: string
For use with change data capture (CDC) only, this attribute has DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data.
Example:
afterConnectScript=SET session_replication_role='replica'
- BabelfishDatabaseName
-
- Type: string
The Babelfish for Aurora PostgreSQL database name for the endpoint.
- CaptureDdls
-
- Type: boolean
To capture DDL events, DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts.
The default value is
true
.If this value is set to
N
, you don't have to create tables or triggers on the source database. - DatabaseMode
-
- Type: string
Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
- DatabaseName
-
- Type: string
Database name for the endpoint.
- DdlArtifactsSchema
-
- Type: string
The schema in which the operational DDL database artifacts are created.
The default value is
public
.Example:
ddlArtifactsSchema=xyzddlschema;
- DisableUnicodeSourceFilter
-
- Type: boolean
Disables the Unicode source filter with PostgreSQL, for values passed into the Selection rule filter on Source Endpoint column values. By default DMS performs source filter comparisons using a Unicode string which can cause look ups to ignore the indexes in the text columns and slow down migrations.
Unicode support should only be disabled when using a selection rule filter is on a text column in the Source database that is indexed.
- ExecuteTimeout
-
- Type: int
Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.
Example:
executeTimeout=100;
- FailTasksOnLobTruncation
-
- Type: boolean
When set to
true
, this value causes a task to fail if the actual size of a LOB column is greater than the specifiedLobMaxSize
.The default value is
false
.If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
- HeartbeatEnable
-
- Type: boolean
The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source. This heartbeat keeps
restart_lsn
moving and prevents storage full scenarios.The default value is
false
. - HeartbeatFrequency
-
- Type: int
Sets the WAL heartbeat frequency (in minutes).
The default value is 5 minutes.
- HeartbeatSchema
-
- Type: string
Sets the schema in which the heartbeat artifacts are created.
The default value is
public
. - MapBooleanAsBoolean
-
- Type: boolean
When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as
varchar(5)
. You must set this setting on both the source and target endpoints for it to take effect.The default value is
false
. - MapJsonbAsClob
-
- Type: boolean
When true, DMS migrates JSONB values as CLOB.
The default value is
false
. - MapLongVarcharAs
-
- Type: string
Sets what datatype to map LONG values as.
The default value is
wstring
. - MaxFileSize
-
- Type: int
Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.
The default value is 32,768 KB (32 MB).
Example:
maxFileSize=512
- Password
-
- Type: string
Endpoint connection password.
- PluginName
-
- Type: string
Specifies the plugin to use to create a replication slot.
The default value is
pglogical
. - Port
-
- Type: int
Endpoint TCP port. The default is 5432.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the PostgreSQL endpoint connection details. - ServerName
-
- Type: string
The host name of the endpoint database.
For an Amazon RDS PostgreSQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.For an Aurora PostgreSQL instance, this is the output of DescribeDBClusters, in the
Endpoint
field. - SlotName
-
- Type: string
Sets the name of a previously created logical replication slot for a change data capture (CDC) load of the PostgreSQL source instance.
When used with the
CdcStartPosition
request parameter for the DMS API , this attribute also makes it possible to use native CDC start points. DMS verifies that the specified logical replication slot exists before starting the CDC load task. It also verifies that the task was created with a valid setting ofCdcStartPosition
. If the specified slot doesn't exist or the task doesn't have a validCdcStartPosition
setting, DMS raises an error.For more information about setting the
CdcStartPosition
request parameter, see Determining a CDC native start point in the Database Migration Service User Guide. For more information about usingCdcStartPosition
, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask. - TrimSpaceInChar
-
- Type: boolean
Use the
TrimSpaceInChar
source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value istrue
. - Username
-
- Type: string
Endpoint connection user name.
PostgreSqlDataProviderSettings
Description
Provides information that defines a PostgreSQL data provider.
Members
- CertificateArn
-
- Type: string
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- DatabaseName
-
- Type: string
The database name on the PostgreSQL data provider.
- Port
-
- Type: int
The port value for the PostgreSQL data provider.
- ServerName
-
- Type: string
The name of the PostgreSQL server.
- SslMode
-
- Type: string
The SSL mode used to connect to the PostgreSQL data provider. The default value is
none
.
ProvisionData
Description
Information about provisioning resources for an DMS serverless replication.
Members
- DateNewProvisioningDataAvailable
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when provisioning became available.
- DateProvisioned
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when DMS provisioned replication resources.
- IsNewProvisioningAvailable
-
- Type: boolean
Whether the new provisioning is available to the replication.
- ProvisionState
-
- Type: string
The current provisioning state
- ProvisionedCapacityUnits
-
- Type: int
The number of capacity units the replication is using.
- ReasonForNewProvisioningData
-
- Type: string
A message describing the reason that DMS provisioned new resources for the serverless replication.
RdsConfiguration
Description
Provides information that describes the configuration of the recommended target engine on Amazon RDS.
Members
- DeploymentOption
-
- Type: string
Describes the deployment option for the recommended Amazon RDS DB instance. The deployment options include Multi-AZ and Single-AZ deployments. Valid values include
"MULTI_AZ"
and"SINGLE_AZ"
. - EngineEdition
-
- Type: string
Describes the recommended target Amazon RDS engine edition.
- EngineVersion
-
- Type: string
Describes the recommended target Amazon RDS engine version.
- InstanceMemory
-
- Type: double
Describes the memory on the recommended Amazon RDS DB instance that meets your requirements.
- InstanceType
-
- Type: string
Describes the recommended target Amazon RDS instance type.
- InstanceVcpu
-
- Type: double
Describes the number of virtual CPUs (vCPU) on the recommended Amazon RDS DB instance that meets your requirements.
- StorageIops
-
- Type: int
Describes the number of I/O operations completed each second (IOPS) on the recommended Amazon RDS DB instance that meets your requirements.
- StorageSize
-
- Type: int
Describes the storage size of the recommended Amazon RDS DB instance that meets your requirements.
- StorageType
-
- Type: string
Describes the storage type of the recommended Amazon RDS DB instance that meets your requirements.
Amazon RDS provides three storage types: General Purpose SSD (also known as gp2 and gp3), Provisioned IOPS SSD (also known as io1), and magnetic (also known as standard).
RdsRecommendation
Description
Provides information that describes a recommendation of a target engine on Amazon RDS.
Members
- RequirementsToTarget
-
- Type: RdsRequirements structure
Supplemental information about the requirements to the recommended target database on Amazon RDS.
- TargetConfiguration
-
- Type: RdsConfiguration structure
Supplemental information about the configuration of the recommended target database on Amazon RDS.
RdsRequirements
Description
Provides information that describes the requirements to the target engine on Amazon RDS.
Members
- DeploymentOption
-
- Type: string
The required deployment option for the Amazon RDS DB instance. Valid values include
"MULTI_AZ"
for Multi-AZ deployments and"SINGLE_AZ"
for Single-AZ deployments. - EngineEdition
-
- Type: string
The required target Amazon RDS engine edition.
- EngineVersion
-
- Type: string
The required target Amazon RDS engine version.
- InstanceMemory
-
- Type: double
The required memory on the Amazon RDS DB instance.
- InstanceVcpu
-
- Type: double
The required number of virtual CPUs (vCPU) on the Amazon RDS DB instance.
- StorageIops
-
- Type: int
The required number of I/O operations completed each second (IOPS) on your Amazon RDS DB instance.
- StorageSize
-
- Type: int
The required Amazon RDS DB instance storage size.
Recommendation
Description
Provides information that describes a recommendation of a target engine.
A recommendation is a set of possible Amazon Web Services target engines that you can choose to migrate your source on-premises database. In this set, Fleet Advisor suggests a single target engine as the right sized migration destination. To determine this rightsized migration destination, Fleet Advisor uses the inventory metadata and metrics from data collector. You can use recommendations before the start of migration to save costs and reduce risks.
With recommendations, you can explore different target options and compare metrics, so you can make an informed decision when you choose the migration target.
Members
- CreatedDate
-
- Type: string
The date when Fleet Advisor created the target engine recommendation.
- Data
-
- Type: RecommendationData structure
The recommendation of a target engine for the specified source database.
- DatabaseId
-
- Type: string
The identifier of the source database for which Fleet Advisor provided this recommendation.
- EngineName
-
- Type: string
The name of the target engine. Valid values include
"rds-aurora-mysql"
,"rds-aurora-postgresql"
,"rds-mysql"
,"rds-oracle"
,"rds-sql-server"
, and"rds-postgresql"
. - Preferred
-
- Type: boolean
Indicates that this target is the rightsized migration destination.
- Settings
-
- Type: RecommendationSettings structure
The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).
- Status
-
- Type: string
The status of the target engine recommendation. Valid values include
"alternate"
,"in-progress"
,"not-viable"
, and"recommended"
.
RecommendationData
Description
Provides information about the target engine for the specified source database.
Members
- RdsEngine
-
- Type: RdsRecommendation structure
The recommendation of a target Amazon RDS database engine.
RecommendationSettings
Description
Provides information about the required target engine settings.
Members
- InstanceSizingType
-
- Required: Yes
- Type: string
The size of your target instance. Fleet Advisor calculates this value based on your data collection type, such as total capacity and resource utilization. Valid values include
"total-capacity"
and"utilization"
. - WorkloadType
-
- Required: Yes
- Type: string
The deployment option for your target engine. For production databases, Fleet Advisor chooses Multi-AZ deployment. For development or test databases, Fleet Advisor chooses Single-AZ deployment. Valid values include
"development"
and"production"
.
RedisSettings
Description
Provides information that defines a Redis target endpoint.
Members
- AuthPassword
-
- Type: string
The password provided with the
auth-role
andauth-token
options of theAuthType
setting for a Redis target endpoint. - AuthType
-
- Type: string
The type of authentication to perform when connecting to a Redis target. Options include
none
,auth-token
, andauth-role
. Theauth-token
option requires anAuthPassword
value to be provided. Theauth-role
option requiresAuthUserName
andAuthPassword
values to be provided. - AuthUserName
-
- Type: string
The user name provided with the
auth-role
option of theAuthType
setting for a Redis target endpoint. - Port
-
- Required: Yes
- Type: int
Transmission Control Protocol (TCP) port for the endpoint.
- ServerName
-
- Required: Yes
- Type: string
Fully qualified domain name of the endpoint.
- SslCaCertificateArn
-
- Type: string
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
- SslSecurityProtocol
-
- Type: string
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintext
andssl-encryption
. The default isssl-encryption
. Thessl-encryption
option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using theSslCaCertificateArn
setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.The
plaintext
option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database.
RedshiftDataProviderSettings
Description
Provides information that defines an Amazon Redshift data provider.
Members
- DatabaseName
-
- Type: string
The database name on the Amazon Redshift data provider.
- Port
-
- Type: int
The port value for the Amazon Redshift data provider.
- ServerName
-
- Type: string
The name of the Amazon Redshift server.
RedshiftSettings
Description
Provides information that defines an Amazon Redshift endpoint.
Members
- AcceptAnyDate
-
- Type: boolean
A value that indicates to allow any date format, including invalid formats such as 00/00/00 00:00:00, to be loaded without generating an error. You can choose
true
orfalse
(the default).This parameter applies only to TIMESTAMP and DATE columns. Always use ACCEPTANYDATE with the DATEFORMAT parameter. If the date format for the data doesn't match the DATEFORMAT specification, Amazon Redshift inserts a NULL value into that field.
- AfterConnectScript
-
- Type: string
Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.
- BucketFolder
-
- Type: string
An S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift cluster.
For full load mode, DMS converts source records into .csv files and loads them to the BucketFolder/TableID path. DMS uses the Redshift
COPY
command to upload the .csv files to the target table. The files are deleted once theCOPY
operation has finished. For more information, see COPY in the Amazon Redshift Database Developer Guide.For change-data-capture (CDC) mode, DMS creates a NetChanges table, and loads the .csv files to this BucketFolder/NetChangesTableID path.
- BucketName
-
- Type: string
The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.
- CaseSensitiveNames
-
- Type: boolean
If Amazon Redshift is configured to support case sensitive schema names, set
CaseSensitiveNames
totrue
. The default isfalse
. - CompUpdate
-
- Type: boolean
If you set
CompUpdate
totrue
Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other thanRAW
. If you setCompUpdate
tofalse
, automatic compression is disabled and existing column encodings aren't changed. The default istrue
. - ConnectionTimeout
-
- Type: int
A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.
- DatabaseName
-
- Type: string
The name of the Amazon Redshift data warehouse (service) that you are working with.
- DateFormat
-
- Type: string
The date format that you are using. Valid values are
auto
(case-sensitive), your date format string enclosed in quotes, or NULL. If this parameter is left unset (NULL), it defaults to a format of 'YYYY-MM-DD'. Usingauto
recognizes most strings, even some that aren't supported when you use a date format string.If your date and time values use formats different from each other, set this to
auto
. - EmptyAsNull
-
- Type: boolean
A value that specifies whether DMS should migrate empty CHAR and VARCHAR fields as NULL. A value of
true
sets empty CHAR and VARCHAR fields to null. The default isfalse
. - EncryptionMode
-
- Type: string
The type of server-side encryption that you want to use for your data. This encryption type is part of the endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) orSSE_KMS
.For the
ModifyEndpoint
operation, you can change the existing value of theEncryptionMode
parameter fromSSE_KMS
toSSE_S3
. But you can’t change the existing value fromSSE_S3
toSSE_KMS
.To use
SSE_S3
, create an Identity and Access Management (IAM) role with a policy that allows"arn:aws:s3:::*"
to use the following actions:"s3:PutObject", "s3:ListBucket"
- ExplicitIds
-
- Type: boolean
This setting is only valid for a full-load migration task. Set
ExplicitIds
totrue
to have tables withIDENTITY
columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default isfalse
. - FileTransferUploadStreams
-
- Type: int
The number of threads used to upload a single file. This parameter accepts a value from 1 through 64. It defaults to 10.
The number of parallel streams used to upload a single .csv file to an S3 bucket using S3 Multipart Upload. For more information, see Multipart upload overview.
FileTransferUploadStreams
accepts a value from 1 through 64. It defaults to 10. - LoadTimeout
-
- Type: int
The amount of time to wait (in milliseconds) before timing out of operations performed by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.
- MapBooleanAsBoolean
-
- Type: boolean
When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as
varchar(1)
. You must set this setting on both the source and target endpoints for it to take effect. - MaxFileSize
-
- Type: int
The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift. It defaults to 1048576KB (1 GB).
- Password
-
- Type: string
The password for the user named in the
username
property. - Port
-
- Type: int
The port number for Amazon Redshift. The default value is 5439.
- RemoveQuotes
-
- Type: boolean
A value that specifies to remove surrounding quotation marks from strings in the incoming data. All characters within the quotation marks, including delimiters, are retained. Choose
true
to remove quotation marks. The default isfalse
. - ReplaceChars
-
- Type: string
A value that specifies to replaces the invalid characters specified in
ReplaceInvalidChars
, substituting the specified characters instead. The default is"?"
. - ReplaceInvalidChars
-
- Type: string
A list of characters that you want to replace. Use with
ReplaceChars
. - SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the Amazon Redshift endpoint connection details. - ServerName
-
- Type: string
The name of the Amazon Redshift cluster you are using.
- ServerSideEncryptionKmsKeyId
-
- Type: string
The KMS key ID. If you are using
SSE_KMS
for theEncryptionMode
, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key. - ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role that has access to the Amazon Redshift service. The role must allow the
iam:PassRole
action. - TimeFormat
-
- Type: string
The time format that you want to use. Valid values are
auto
(case-sensitive),'timeformat_string'
,'epochsecs'
, or'epochmillisecs'
. It defaults to 10. Usingauto
recognizes most strings, even some that aren't supported when you use a time format string.If your date and time values use formats different from each other, set this parameter to
auto
. - TrimBlanks
-
- Type: boolean
A value that specifies to remove the trailing white space characters from a VARCHAR string. This parameter applies only to columns with a VARCHAR data type. Choose
true
to remove unneeded white space. The default isfalse
. - TruncateColumns
-
- Type: boolean
A value that specifies to truncate data in columns to the appropriate number of characters, so that the data fits in the column. This parameter applies only to columns with a VARCHAR or CHAR data type, and rows with a size of 4 MB or less. Choose
true
to truncate data. The default isfalse
. - Username
-
- Type: string
An Amazon Redshift user name for a registered user.
- WriteBufferSize
-
- Type: int
The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS replication instance. The default value is 1000 (buffer size is 1000KB).
RefreshSchemasStatus
Description
Provides information that describes status of a schema at an endpoint specified by the DescribeRefreshSchemaStatus
operation.
Members
- EndpointArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- LastFailureMessage
-
- Type: string
The last failure message for the schema.
- LastRefreshDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the schema was last refreshed.
- ReplicationInstanceArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
- Status
-
- Type: string
The status of the schema.
Replication
Description
Provides information that describes a serverless replication created by the CreateReplication
operation.
Members
- CdcStartPosition
-
- Type: string
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error. - CdcStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error. - CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
- FailureMessages
-
- Type: Array of strings
Error and other information about why a serverless replication failed.
- ProvisionData
-
- Type: ProvisionData structure
Information about provisioning resources for an DMS serverless replication.
- RecoveryCheckpoint
-
- Type: string
Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the
CdcStartPosition
parameter to start a CDC operation that begins at that checkpoint. - ReplicationConfigArn
-
- Type: string
The Amazon Resource Name for the
ReplicationConfig
associated with the replication. - ReplicationConfigIdentifier
-
- Type: string
The identifier for the
ReplicationConfig
associated with the replication. - ReplicationCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the serverless replication was created.
- ReplicationDeprovisionTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when DMS will deprovision the replication.
- ReplicationLastStopTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when replication was last stopped.
- ReplicationStats
-
- Type: ReplicationStats structure
This object provides a collection of statistics about a serverless replication.
- ReplicationType
-
- Type: string
The type of the serverless replication.
- ReplicationUpdateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the serverless replication was updated.
- SourceEndpointArn
-
- Type: string
The Amazon Resource Name for an existing
Endpoint
the serverless replication uses for its data source. - StartReplicationType
-
- Type: string
The type of replication to start.
- Status
-
- Type: string
The current status of the serverless replication.
- StopReason
-
- Type: string
The reason the replication task was stopped. This response parameter can return one of the following values:
-
"Stop Reason NORMAL"
-
"Stop Reason RECOVERABLE_ERROR"
-
"Stop Reason FATAL_ERROR"
-
"Stop Reason FULL_LOAD_ONLY_FINISHED"
-
"Stop Reason STOPPED_AFTER_FULL_LOAD"
– Full load completed, with cached changes not applied -
"Stop Reason STOPPED_AFTER_CACHED_EVENTS"
– Full load completed, with cached changes applied -
"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"
-
"Stop Reason STOPPED_AFTER_DDL_APPLY"
– User-defined stop task after DDL applied -
"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"
-
"Stop Reason STOPPED_DUE_TO_LOW_DISK"
-
"Stop Reason STOPPED_AT_SERVER_TIME"
– User-defined server time for stopping task -
"Stop Reason STOPPED_AT_COMMIT_TIME"
– User-defined commit time for stopping task -
"Stop Reason RECONFIGURATION_RESTART"
-
"Stop Reason RECYCLE_TASK"
- TargetEndpointArn
-
- Type: string
The Amazon Resource Name for an existing
Endpoint
the serverless replication uses for its data target.
ReplicationConfig
Description
This object provides configuration information about a serverless replication.
Members
- ComputeConfig
-
- Type: ComputeConfig structure
Configuration parameters for provisioning an DMS serverless replication.
- ReplicationConfigArn
-
- Type: string
The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.
- ReplicationConfigCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the serverless replication config was created.
- ReplicationConfigIdentifier
-
- Type: string
The identifier for the
ReplicationConfig
associated with the replication. - ReplicationConfigUpdateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the serverless replication config was updated.
- ReplicationSettings
-
- Type: string
Configuration parameters for an DMS serverless replication.
- ReplicationType
-
- Type: string
The type of the replication.
- SourceEndpointArn
-
- Type: string
The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
- SupplementalSettings
-
- Type: string
Additional parameters for an DMS serverless replication.
- TableMappings
-
- Type: string
Table mappings specified in the replication.
- TargetEndpointArn
-
- Type: string
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
ReplicationInstance
Description
Provides information that defines a replication instance.
Members
- AllocatedStorage
-
- Type: int
The amount of storage (in gigabytes) that is allocated for the replication instance.
- AutoMinorVersionUpgrade
-
- Type: boolean
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
- AvailabilityZone
-
- Type: string
The Availability Zone for the instance.
- DnsNameServers
-
- Type: string
The DNS name servers supported for the replication instance to access your on-premise source or target database.
- EngineVersion
-
- Type: string
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgrade
totrue
. - FreeUntil
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The expiration date of the free replication instance that is part of the Free DMS program.
- InstanceCreateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the replication instance was created.
- KerberosAuthenticationSettings
-
- Type: KerberosAuthenticationSettings structure
Specifies the ID of the secret that stores the key cache file required for kerberos authentication, when replicating an instance.
- KmsKeyId
-
- Type: string
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the
KmsKeyId
parameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- MultiAZ
-
- Type: boolean
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set totrue
. - NetworkType
-
- Type: string
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- PendingModifiedValues
-
- Type: ReplicationPendingModifiedValues structure
The pending modification values.
- PreferredMaintenanceWindow
-
- Type: string
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
- PubliclyAccessible
-
- Type: boolean
Specifies the accessibility options for the replication instance. A value of
true
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
. - ReplicationInstanceArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication instance.
- ReplicationInstanceClass
-
- Type: string
The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
- ReplicationInstanceIdentifier
-
- Type: string
The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
myrepinstance
- ReplicationInstanceIpv6Addresses
-
- Type: Array of strings
One or more IPv6 addresses for the replication instance.
- ReplicationInstancePrivateIpAddress
-
- Type: string
The private IP address of the replication instance.
- ReplicationInstancePrivateIpAddresses
-
- Type: Array of strings
One or more private IP addresses for the replication instance.
- ReplicationInstancePublicIpAddress
-
- Type: string
The public IP address of the replication instance.
- ReplicationInstancePublicIpAddresses
-
- Type: Array of strings
One or more public IP addresses for the replication instance.
- ReplicationInstanceStatus
-
- Type: string
The status of the replication instance. The possible return values include:
-
"available"
-
"creating"
-
"deleted"
-
"deleting"
-
"failed"
-
"modifying"
-
"upgrading"
-
"rebooting"
-
"resetting-master-credentials"
-
"storage-full"
-
"incompatible-credentials"
-
"incompatible-network"
-
"maintenance"
- ReplicationSubnetGroup
-
- Type: ReplicationSubnetGroup structure
The subnet group for the replication instance.
- SecondaryAvailabilityZone
-
- Type: string
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
- VpcSecurityGroups
-
- Type: Array of VpcSecurityGroupMembership structures
The VPC security group for the instance.
ReplicationInstanceTaskLog
Description
Contains metadata for a replication instance task log.
Members
- ReplicationInstanceTaskLogSize
-
- Type: long (int|float)
The size, in bytes, of the replication task log.
- ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- ReplicationTaskName
-
- Type: string
The name of the replication task.
ReplicationPendingModifiedValues
Description
Provides information about the values of pending modifications to a replication instance. This data type is an object of the ReplicationInstance
user-defined data type.
Members
- AllocatedStorage
-
- Type: int
The amount of storage (in gigabytes) that is allocated for the replication instance.
- EngineVersion
-
- Type: string
The engine version number of the replication instance.
- MultiAZ
-
- Type: boolean
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set totrue
. - NetworkType
-
- Type: string
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- ReplicationInstanceClass
-
- Type: string
The compute and memory capacity of the replication instance as defined for the specified replication instance class.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
ReplicationStats
Description
This object provides a collection of statistics about a serverless replication.
Members
- ElapsedTimeMillis
-
- Type: long (int|float)
The elapsed time of the replication, in milliseconds.
- FreshStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication was started either with a fresh start or a target reload.
- FullLoadFinishDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication full load was finished.
- FullLoadProgressPercent
-
- Type: int
The percent complete for the full load serverless replication.
- FullLoadStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication full load was started.
- StartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication is scheduled to start.
- StopDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication was stopped.
- TablesErrored
-
- Type: int
The number of errors that have occured for this replication.
- TablesLoaded
-
- Type: int
The number of tables loaded for this replication.
- TablesLoading
-
- Type: int
The number of tables currently loading for this replication.
- TablesQueued
-
- Type: int
The number of tables queued for this replication.
ReplicationSubnetGroup
Description
Describes a subnet group in response to a request by the DescribeReplicationSubnetGroups
operation.
Members
- ReplicationSubnetGroupDescription
-
- Type: string
A description for the replication subnet group.
- ReplicationSubnetGroupIdentifier
-
- Type: string
The identifier of the replication instance subnet group.
- SubnetGroupStatus
-
- Type: string
The status of the subnet group.
- Subnets
-
- Type: Array of Subnet structures
The subnets that are in the subnet group.
- SupportedNetworkTypes
-
- Type: Array of strings
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- VpcId
-
- Type: string
The ID of the VPC.
ReplicationSubnetGroupDoesNotCoverEnoughAZs
Description
The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
Members
- message
-
- Type: string
ReplicationTask
Description
Provides information that describes a replication task created by the CreateReplicationTask
operation.
Members
- CdcStartPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to start. Use either
CdcStartPosition
orCdcStartTime
to specify when you want the CDC operation to start. Specifying both values results in an error.The value can be in date, checkpoint, or LSN/SCN format.
Date Example: --cdc-start-position “2018-03-08T12:12:12”
Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"
LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
- CdcStopPosition
-
- Type: string
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”
Commit time example: --cdc-stop-position “commit_time:2018-02-09T12:12:12“
- LastFailureMessage
-
- Type: string
The last error (failure) message generated for the replication task.
- MigrationType
-
- Type: string
The type of migration.
- RecoveryCheckpoint
-
- Type: string
Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the
CdcStartPosition
parameter to start a CDC operation that begins at that checkpoint. - ReplicationInstanceArn
-
- Type: string
The ARN of the replication instance.
- ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- ReplicationTaskCreationDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task was created.
- ReplicationTaskIdentifier
-
- Type: string
The user-assigned replication task identifier or name.
Constraints:
-
Must contain 1-255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- ReplicationTaskSettings
-
- Type: string
The settings for the replication task.
- ReplicationTaskStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task is scheduled to start.
- ReplicationTaskStats
-
- Type: ReplicationTaskStats structure
The statistics for the task, including elapsed time, tables loaded, and table errors.
- SourceEndpointArn
-
- Type: string
The Amazon Resource Name (ARN) that uniquely identifies the endpoint.
- Status
-
- Type: string
The status of the replication task. This response parameter can return one of the following values:
-
"moving"
– The task is being moved in response to running theMoveReplicationTask
operation. -
"creating"
– The task is being created in response to running theCreateReplicationTask
operation. -
"deleting"
– The task is being deleted in response to running theDeleteReplicationTask
operation. -
"failed"
– The task failed to successfully complete the database migration in response to running theStartReplicationTask
operation. -
"failed-move"
– The task failed to move in response to running theMoveReplicationTask
operation. -
"modifying"
– The task definition is being modified in response to running theModifyReplicationTask
operation. -
"ready"
– The task is in aready
state where it can respond to other task operations, such asStartReplicationTask
orDeleteReplicationTask
. -
"running"
– The task is performing a database migration in response to running theStartReplicationTask
operation. -
"starting"
– The task is preparing to perform a database migration in response to running theStartReplicationTask
operation. -
"stopped"
– The task has stopped in response to running theStopReplicationTask
operation. -
"stopping"
– The task is preparing to stop in response to running theStopReplicationTask
operation. -
"testing"
– The database migration specified for this task is being tested in response to running either theStartReplicationTaskAssessmentRun
or theStartReplicationTaskAssessment
operation.StartReplicationTaskAssessmentRun
is an improved premigration task assessment operation. TheStartReplicationTaskAssessment
operation assesses data type compatibility only between the source and target database of a given migration task. In contrast,StartReplicationTaskAssessmentRun
enables you to specify a variety of premigration task assessments in addition to data type compatibility. These assessments include ones for the validity of primary key definitions and likely issues with database migration performance, among others.
- StopReason
-
- Type: string
The reason the replication task was stopped. This response parameter can return one of the following values:
-
"Stop Reason NORMAL"
– The task completed successfully with no additional information returned. -
"Stop Reason RECOVERABLE_ERROR"
-
"Stop Reason FATAL_ERROR"
-
"Stop Reason FULL_LOAD_ONLY_FINISHED"
– The task completed the full load phase. DMS applied cached changes if you setStopTaskCachedChangesApplied
totrue
. -
"Stop Reason STOPPED_AFTER_FULL_LOAD"
– Full load completed, with cached changes not applied -
"Stop Reason STOPPED_AFTER_CACHED_EVENTS"
– Full load completed, with cached changes applied -
"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"
-
"Stop Reason STOPPED_AFTER_DDL_APPLY"
– User-defined stop task after DDL applied -
"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"
-
"Stop Reason STOPPED_DUE_TO_LOW_DISK"
-
"Stop Reason STOPPED_AT_SERVER_TIME"
– User-defined server time for stopping task -
"Stop Reason STOPPED_AT_COMMIT_TIME"
– User-defined commit time for stopping task -
"Stop Reason RECONFIGURATION_RESTART"
-
"Stop Reason RECYCLE_TASK"
- TableMappings
-
- Type: string
Table mappings specified in the task.
- TargetEndpointArn
-
- Type: string
The ARN that uniquely identifies the endpoint.
- TargetReplicationInstanceArn
-
- Type: string
The ARN of the replication instance to which this task is moved in response to running the
MoveReplicationTask
operation. Otherwise, this response parameter isn't a member of theReplicationTask
object. - TaskData
-
- Type: string
Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.
ReplicationTaskAssessmentResult
Description
The task assessment report in JSON format.
Members
- AssessmentResults
-
- Type: string
The task assessment results in JSON format.
The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the request.
- AssessmentResultsFile
-
- Type: string
The file containing the results of the task assessment.
- AssessmentStatus
-
- Type: string
The status of the task assessment.
- ReplicationTaskArn
-
- Type: string
The Amazon Resource Name (ARN) of the replication task.
- ReplicationTaskIdentifier
-
- Type: string
The replication task identifier of the task on which the task assessment was run.
- ReplicationTaskLastAssessmentDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the task assessment was completed.
- S3ObjectUrl
-
- Type: string
The URL of the S3 object containing the task assessment results.
The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the request.
ReplicationTaskAssessmentRun
Description
Provides information that describes a premigration assessment run that you have started using the StartReplicationTaskAssessmentRun
operation.
Some of the information appears based on other operations that can return the ReplicationTaskAssessmentRun
object.
Members
- AssessmentProgress
-
- Type: ReplicationTaskAssessmentRunProgress structure
Indication of the completion progress for the individual assessments specified to run.
- AssessmentRunName
-
- Type: string
Unique name of the assessment run.
- IsLatestTaskAssessmentRun
-
- Type: boolean
Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.
- LastFailureMessage
-
- Type: string
Last message generated by an individual assessment failure.
- ReplicationTaskArn
-
- Type: string
ARN of the migration task associated with this premigration assessment run.
- ReplicationTaskAssessmentRunArn
-
- Type: string
Amazon Resource Name (ARN) of this assessment run.
- ReplicationTaskAssessmentRunCreationDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Date on which the assessment run was created using the
StartReplicationTaskAssessmentRun
operation. - ResultEncryptionMode
-
- Type: string
Encryption mode used to encrypt the assessment run results.
- ResultKmsKeyArn
-
- Type: string
ARN of the KMS encryption key used to encrypt the assessment run results.
- ResultLocationBucket
-
- Type: string
Amazon S3 bucket where DMS stores the results of this assessment run.
- ResultLocationFolder
-
- Type: string
Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
- ResultStatistic
-
- Type: ReplicationTaskAssessmentRunResultStatistic structure
Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.
- ServiceAccessRoleArn
-
- Type: string
ARN of the service role used to start the assessment run using the
StartReplicationTaskAssessmentRun
operation. The role must allow theiam:PassRole
action. - Status
-
- Type: string
Assessment run status.
This status can have one of the following values:
-
"cancelling"
– The assessment run was canceled by theCancelReplicationTaskAssessmentRun
operation. -
"deleting"
– The assessment run was deleted by theDeleteReplicationTaskAssessmentRun
operation. -
"failed"
– At least one individual assessment completed with afailed
status. -
"error-provisioning"
– An internal error occurred while resources were provisioned (duringprovisioning
status). -
"error-executing"
– An internal error occurred while individual assessments ran (duringrunning
status). -
"invalid state"
– The assessment run is in an unknown state. -
"passed"
– All individual assessments have completed, and none has afailed
status. -
"provisioning"
– Resources required to run individual assessments are being provisioned. -
"running"
– Individual assessments are being run. -
"starting"
– The assessment run is starting, but resources are not yet being provisioned for individual assessments. -
"warning"
– At least one individual assessment completed with awarning
status.
ReplicationTaskAssessmentRunProgress
Description
The progress values reported by the AssessmentProgress
response element.
Members
- IndividualAssessmentCompletedCount
-
- Type: int
The number of individual assessments that have completed, successfully or not.
- IndividualAssessmentCount
-
- Type: int
The number of individual assessments that are specified to run.
ReplicationTaskAssessmentRunResultStatistic
Description
The object containing the result statistics for a completed assessment run.
Members
- Cancelled
-
- Type: int
The number of individual assessments that were cancelled during the assessment run.
- Error
-
- Type: int
The number of individual assessments that encountered a critical error and could not complete properly.
- Failed
-
- Type: int
The number of individual assessments that failed to meet the criteria defined in the assessment run.
- Passed
-
- Type: int
The number of individual assessments that successfully passed all checks in the assessment run.
- Warning
-
- Type: int
Indicates that the recent completed AssessmentRun triggered a warning.
ReplicationTaskIndividualAssessment
Description
Provides information that describes an individual assessment from a premigration assessment run.
Members
- IndividualAssessmentName
-
- Type: string
Name of this individual assessment.
- ReplicationTaskAssessmentRunArn
-
- Type: string
ARN of the premigration assessment run that is created to run this individual assessment.
- ReplicationTaskIndividualAssessmentArn
-
- Type: string
Amazon Resource Name (ARN) of this individual assessment.
- ReplicationTaskIndividualAssessmentStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Date when this individual assessment was started as part of running the
StartReplicationTaskAssessmentRun
operation. - Status
-
- Type: string
Individual assessment status.
This status can have one of the following values:
-
"cancelled"
-
"error"
-
"failed"
-
"passed"
-
"pending"
-
"running"
ReplicationTaskStats
Description
In response to a request by the DescribeReplicationTasks
operation, this object provides a collection of statistics about a replication task.
Members
- ElapsedTimeMillis
-
- Type: long (int|float)
The elapsed time of the task, in milliseconds.
- FreshStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task was started either with a fresh start or a target reload.
- FullLoadFinishDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task full load was completed.
- FullLoadProgressPercent
-
- Type: int
The percent complete for the full load migration task.
- FullLoadStartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task full load was started.
- StartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.
- StopDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date the replication task was stopped.
- TablesErrored
-
- Type: int
The number of errors that have occurred during this task.
- TablesLoaded
-
- Type: int
The number of tables loaded for this task.
- TablesLoading
-
- Type: int
The number of tables currently loading for this task.
- TablesQueued
-
- Type: int
The number of tables queued for this task.
ResourceAlreadyExistsFault
Description
The resource you are attempting to create already exists.
Members
- message
-
- Type: string
- resourceArn
-
- Type: string
ResourceNotFoundFault
Description
The resource could not be found.
Members
- message
-
- Type: string
ResourcePendingMaintenanceActions
Description
Identifies an DMS resource and any pending actions for it.
Members
- PendingMaintenanceActionDetails
-
- Type: Array of PendingMaintenanceAction structures
Detailed information about the pending maintenance action.
- ResourceIdentifier
-
- Type: string
The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN) for DMS in the DMS documentation.
ResourceQuotaExceededFault
Description
The quota for this resource quota has been exceeded.
Members
- message
-
- Type: string
S3AccessDeniedFault
Description
Insufficient privileges are preventing access to an Amazon S3 object.
Members
- message
-
- Type: string
S3ResourceNotFoundFault
Description
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
Members
- message
-
- Type: string
S3Settings
Description
Settings for exporting data to Amazon S3.
Members
- AddColumnName
-
- Type: boolean
An optional parameter that, when set to
true
ory
, you can use to add column name information to the .csv output file.The default value is
false
. Valid values aretrue
,false
,y
, andn
. - AddTrailingPaddingCharacter
-
- Type: boolean
Use the S3 target endpoint setting
AddTrailingPaddingCharacter
to add padding on string data. The default value isfalse
. - BucketFolder
-
- Type: string
An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path
bucketFolder/schema_name/table_name/
. If this parameter isn't specified, then the path used isschema_name/table_name/
. - BucketName
-
- Type: string
The name of the S3 bucket.
- CannedAclForObjects
-
- Type: string
A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.
The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.
- CdcInsertsAndUpdates
-
- Type: boolean
A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is
false
, but whenCdcInsertsAndUpdates
is set totrue
ory
, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.DMS supports the use of the .parquet files in versions 3.4.7 and later.
How these INSERTs and UPDATEs are recorded depends on the value of the
IncludeOpForFullLoad
parameter. IfIncludeOpForFullLoad
is set totrue
, the first field of every CDC record is set to eitherI
orU
to indicate INSERT and UPDATE operations at the source. But ifIncludeOpForFullLoad
is set tofalse
, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..DMS supports the use of the
CdcInsertsAndUpdates
parameter in versions 3.3.1 and later.CdcInsertsOnly
andCdcInsertsAndUpdates
can't both be set totrue
for the same endpoint. Set eitherCdcInsertsOnly
orCdcInsertsAndUpdates
totrue
for the same endpoint, but not both. - CdcInsertsOnly
-
- Type: boolean
A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the
false
setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.If
CdcInsertsOnly
is set totrue
ory
, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value ofIncludeOpForFullLoad
. IfIncludeOpForFullLoad
is set totrue
, the first field of every CDC record is set to I to indicate the INSERT operation at the source. IfIncludeOpForFullLoad
is set tofalse
, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..DMS supports the interaction described preceding between the
CdcInsertsOnly
andIncludeOpForFullLoad
parameters in versions 3.1.4 and later.CdcInsertsOnly
andCdcInsertsAndUpdates
can't both be set totrue
for the same endpoint. Set eitherCdcInsertsOnly
orCdcInsertsAndUpdates
totrue
for the same endpoint, but not both. - CdcMaxBatchInterval
-
- Type: int
Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.
When
CdcMaxBatchInterval
andCdcMinFileSize
are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.The default value is 60 seconds.
- CdcMinFileSize
-
- Type: int
Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.
When
CdcMinFileSize
andCdcMaxBatchInterval
are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.The default value is 32 MB.
- CdcPath
-
- Type: string
Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If
CdcPath
is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you setPreserveTransactions
totrue
, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified byBucketFolder
andBucketName
.For example, if you specify
CdcPath
asMyChangedData
, and you specifyBucketName
asMyTargetBucket
but do not specifyBucketFolder
, DMS creates the CDC folder path following:MyTargetBucket/MyChangedData
.If you specify the same
CdcPath
, and you specifyBucketName
asMyTargetBucket
andBucketFolder
asMyTargetData
, DMS creates the CDC folder path following:MyTargetBucket/MyTargetData/MyChangedData
.For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.
This setting is supported in DMS versions 3.4.2 and later.
- CompressionType
-
- Type: string
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.
- CsvDelimiter
-
- Type: string
The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.
- CsvNoSupValue
-
- Type: string
This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If
UseCsvNoSupValue
is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of theUseCsvNoSupValue
setting.This setting is supported in DMS versions 3.4.1 and later.
- CsvNullValue
-
- Type: string
An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of
NULL
.The default value is
NULL
. Valid values include any valid string. - CsvRowDelimiter
-
- Type: string
The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (
\n
). - DataFormat
-
- Type: string
The format of the data that you want to use for output. You can choose one of the following:
-
csv
: This is a row-based file format with comma-separated values (.csv). -
parquet
: Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.
- DataPageSize
-
- Type: int
The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.
- DatePartitionDelimiter
-
- Type: string
Specifies a date separating delimiter to use during folder partitioning. The default value is
SLASH
. Use this parameter whenDatePartitionedEnabled
is set totrue
. - DatePartitionEnabled
-
- Type: boolean
When set to
true
, this parameter partitions S3 bucket folders based on transaction commit dates. The default value isfalse
. For more information about date-based folder partitioning, see Using date-based folder partitioning. - DatePartitionSequence
-
- Type: string
Identifies the sequence of the date format to use during folder partitioning. The default value is
YYYYMMDD
. Use this parameter whenDatePartitionedEnabled
is set totrue
. - DatePartitionTimezone
-
- Type: string
When creating an S3 target endpoint, set
DatePartitionTimezone
to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter whenDatePartitionedEnabled
is set totrue
, as shown in the following example.s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'
- DictPageSizeLimit
-
- Type: int
The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of
PLAIN
. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts toPLAIN
encoding. This size is used for .parquet file format only. - EnableStatistics
-
- Type: boolean
A value that enables statistics for Parquet pages and row groups. Choose
true
to enable statistics,false
to disable. Statistics includeNULL
,DISTINCT
,MAX
, andMIN
values. This parameter defaults totrue
. This value is used for .parquet file format only. - EncodingType
-
- Type: string
The type of encoding you are using:
-
RLE_DICTIONARY
uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default. -
PLAIN
doesn't use encoding at all. Values are stored as they are. -
PLAIN_DICTIONARY
builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.
- EncryptionMode
-
- Type: string
The type of server-side encryption that you want to use for your data. This encryption type is part of the endpoint settings or the extra connections attributes for Amazon S3. You can choose either
SSE_S3
(the default) orSSE_KMS
.For the
ModifyEndpoint
operation, you can change the existing value of theEncryptionMode
parameter fromSSE_KMS
toSSE_S3
. But you can’t change the existing value fromSSE_S3
toSSE_KMS
.To use
SSE_S3
, you need an Identity and Access Management (IAM) role with permission to allow"arn:aws:s3:::dms-*"
to use the following actions:-
s3:CreateBucket
-
s3:ListBucket
-
s3:DeleteBucket
-
s3:GetBucketLocation
-
s3:GetObject
-
s3:PutObject
-
s3:DeleteObject
-
s3:GetObjectVersion
-
s3:GetBucketPolicy
-
s3:PutBucketPolicy
-
s3:DeleteBucketPolicy
- ExpectedBucketOwner
-
- Type: string
To specify a bucket owner and prevent sniping, you can use the
ExpectedBucketOwner
endpoint setting.Example:
--s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'
When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.
- ExternalTableDefinition
-
- Type: string
Specifies how tables are defined in the S3 source files only.
- GlueCatalogGeneration
-
- Type: boolean
When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.
- IgnoreHeaderRows
-
- Type: int
When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.
The default is 0.
- IncludeOpForFullLoad
-
- Type: boolean
A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.
DMS supports the
IncludeOpForFullLoad
parameter in versions 3.1.4 and later.DMS supports the use of the .parquet files with the
IncludeOpForFullLoad
parameter in versions 3.4.7 and later.For full load, records can only be inserted. By default (the
false
setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. IfIncludeOpForFullLoad
is set totrue
ory
, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.This setting works together with the
CdcInsertsOnly
and theCdcInsertsAndUpdates
parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide.. - MaxFileSize
-
- Type: int
A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.
The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.
- ParquetTimestampInMillisecond
-
- Type: boolean
A value that specifies the precision of any
TIMESTAMP
column values that are written to an Amazon S3 object file in .parquet format.DMS supports the
ParquetTimestampInMillisecond
parameter in versions 3.1.4 and later.When
ParquetTimestampInMillisecond
is set totrue
ory
, DMS writes allTIMESTAMP
columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.Currently, Amazon Athena and Glue can handle only millisecond precision for
TIMESTAMP
values. Set this parameter totrue
for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.DMS writes any
TIMESTAMP
column values written to an S3 file in .csv format with microsecond precision.Setting
ParquetTimestampInMillisecond
has no effect on the string format of the timestamp column value that is inserted by setting theTimestampColumnName
parameter. - ParquetVersion
-
- Type: string
The version of the Apache Parquet format that you want to use:
parquet_1_0
(the default) orparquet_2_0
. - PreserveTransactions
-
- Type: boolean
If set to
true
, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified byCdcPath
. For more information, see Capturing data changes (CDC) including transaction order on the S3 target.This setting is supported in DMS versions 3.4.2 and later.
- Rfc4180
-
- Type: boolean
For an S3 source, when this value is set to
true
ory
, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set tofalse
orn
, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to
true
ory
using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.The default value is
true
. Valid values includetrue
,false
,y
, andn
. - RowGroupLength
-
- Type: int
The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.
If you choose a value larger than the maximum,
RowGroupLength
is set to the max row group length in bytes (64 * 1024 * 1024). - ServerSideEncryptionKmsKeyId
-
- Type: string
If you are using
SSE_KMS
for theEncryptionMode
, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.Here is a CLI example:
aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value
- ServiceAccessRoleArn
-
- Type: string
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole
action. It is a required parameter that enables DMS to write and read objects from an S3 bucket. - TimestampColumnName
-
- Type: string
A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.
DMS supports the
TimestampColumnName
parameter in versions 3.1.4 and later.DMS includes an additional
STRING
column in the .csv or .parquet object files of your migrated data when you setTimestampColumnName
to a nonblank value.For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.
For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.
The string format for this timestamp column value is
yyyy-MM-dd HH:mm:ss.SSSSSS
. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.When the
AddColumnName
parameter is set totrue
, DMS also includes a name for the timestamp column that you set withTimestampColumnName
. - UseCsvNoSupValue
-
- Type: boolean
This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to
true
for columns not included in the supplemental log, DMS uses the value specified byCsvNoSupValue
. If not set or set tofalse
, DMS uses the null value for these columns.This setting is supported in DMS versions 3.4.1 and later.
- UseTaskStartTimeForFullLoadTimestamp
-
- Type: boolean
When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when
useTaskStartTimeForFullLoadTimestamp
is set totrue
, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.When
useTaskStartTimeForFullLoadTimestamp
is set tofalse
, the full load timestamp in the timestamp column increments with the time data arrives at the target.
SCApplicationAttributes
Description
Provides information that defines a schema conversion application.
Members
- S3BucketPath
-
- Type: string
The path for the Amazon S3 bucket that the application uses for exporting assessment reports.
- S3BucketRoleArn
-
- Type: string
The ARN for the role the application uses to access its Amazon S3 bucket.
SNSInvalidTopicFault
Description
The SNS topic is invalid.
Members
- message
-
- Type: string
SNSNoAuthorizationFault
Description
You are not authorized for the SNS subscription.
Members
- message
-
- Type: string
SchemaConversionRequest
Description
Provides information about a schema conversion action.
Members
- Error
-
- Type: ErrorDetails structure
Provides error information about a project.
- ExportSqlDetails
-
- Type: ExportSqlDetails structure
Provides information about a metadata model assessment exported to SQL.
- MigrationProjectArn
-
- Type: string
The migration project ARN.
- RequestIdentifier
-
- Type: string
The identifier for the schema conversion action.
- Status
-
- Type: string
The schema conversion action status.
SchemaResponse
Description
Describes a schema in a Fleet Advisor collector inventory.
Members
- CodeLineCount
-
- Type: long (int|float)
The number of lines of code in a schema in a Fleet Advisor collector inventory.
- CodeSize
-
- Type: long (int|float)
The size level of the code in a schema in a Fleet Advisor collector inventory.
- Complexity
-
- Type: string
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
- DatabaseInstance
-
- Type: DatabaseShortInfoResponse structure
The database for a schema in a Fleet Advisor collector inventory.
- OriginalSchema
-
- Type: SchemaShortInfoResponse structure
Describes a schema in a Fleet Advisor collector inventory.
- SchemaId
-
- Type: string
The ID of a schema in a Fleet Advisor collector inventory.
- SchemaName
-
- Type: string
The name of a schema in a Fleet Advisor collector inventory.
- Server
-
- Type: ServerShortInfoResponse structure
The database server for a schema in a Fleet Advisor collector inventory.
- Similarity
-
- Type: double
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
SchemaShortInfoResponse
Description
Describes a schema in a Fleet Advisor collector inventory.
Members
- DatabaseId
-
- Type: string
The ID of a database in a Fleet Advisor collector inventory.
- DatabaseIpAddress
-
- Type: string
The IP address of a database in a Fleet Advisor collector inventory.
- DatabaseName
-
- Type: string
The name of a database in a Fleet Advisor collector inventory.
- SchemaId
-
- Type: string
The ID of a schema in a Fleet Advisor collector inventory.
- SchemaName
-
- Type: string
The name of a schema in a Fleet Advisor collector inventory.
ServerShortInfoResponse
Description
Describes a server in a Fleet Advisor collector inventory.
Members
- IpAddress
-
- Type: string
The IP address of a server in a Fleet Advisor collector inventory.
- ServerId
-
- Type: string
The ID of a server in a Fleet Advisor collector inventory.
- ServerName
-
- Type: string
The name address of a server in a Fleet Advisor collector inventory.
SourceDataSetting
Description
Defines settings for a source data provider for a data migration.
Members
- CDCStartPosition
-
- Type: string
The change data capture (CDC) start position for the source data provider.
- CDCStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The change data capture (CDC) start time for the source data provider.
- CDCStopTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The change data capture (CDC) stop time for the source data provider.
- SlotName
-
- Type: string
The name of the replication slot on the source data provider. This attribute is only valid for a PostgreSQL or Aurora PostgreSQL source.
StartRecommendationsRequestEntry
Description
Provides information about the source database to analyze and provide target recommendations according to the specified requirements.
Members
- DatabaseId
-
- Required: Yes
- Type: string
The identifier of the source database.
- Settings
-
- Required: Yes
- Type: RecommendationSettings structure
The required target engine settings.
StorageQuotaExceededFault
Description
The storage quota has been exceeded.
Members
- message
-
- Type: string
Subnet
Description
In response to a request by the DescribeReplicationSubnetGroups
operation, this object identifies a subnet by its given Availability Zone, subnet identifier, and status.
Members
- SubnetAvailabilityZone
-
- Type: AvailabilityZone structure
The Availability Zone of the subnet.
- SubnetIdentifier
-
- Type: string
The subnet identifier.
- SubnetStatus
-
- Type: string
The status of the subnet.
SubnetAlreadyInUse
Description
The specified subnet is already in use.
Members
- message
-
- Type: string
SupportedEndpointType
Description
Provides information about types of supported endpoints in response to a request by the DescribeEndpointTypes
operation. This information includes the type of endpoint, the database engine name, and whether change data capture (CDC) is supported.
Members
- EndpointType
-
- Type: string
The type of endpoint. Valid values are
source
andtarget
. - EngineDisplayName
-
- Type: string
The expanded name for the engine name. For example, if the
EngineName
parameter is "aurora", this value would be "Amazon Aurora MySQL". - EngineName
-
- Type: string
The database engine name. Valid values, depending on the EndpointType, include
"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"redshift"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"documentdb"
,"sqlserver"
,"neptune"
, and"babelfish"
. - ReplicationInstanceEngineMinimumVersion
-
- Type: string
The earliest DMS engine version that supports this endpoint engine. Note that endpoint engines released with DMS versions earlier than 3.1.1 do not return a value for this parameter.
- SupportsCDC
-
- Type: boolean
Indicates if change data capture (CDC) is supported.
SybaseSettings
Description
Provides information that defines a SAP ASE endpoint.
Members
- DatabaseName
-
- Type: string
Database name for the endpoint.
- Password
-
- Type: string
Endpoint connection password.
- Port
-
- Type: int
Endpoint TCP port. The default is 5000.
- SecretsManagerAccessRoleArn
-
- Type: string
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in
SecretsManagerSecret
. The role must allow theiam:PassRole
action.SecretsManagerSecret
has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values forUserName
,Password
,ServerName
, andPort
. You can't specify both. For more information on creating thisSecretsManagerSecret
and theSecretsManagerAccessRoleArn
andSecretsManagerSecretId
required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide. - SecretsManagerSecretId
-
- Type: string
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the SAP SAE endpoint connection details. - ServerName
-
- Type: string
Fully qualified domain name of the endpoint.
- Username
-
- Type: string
Endpoint connection user name.
TableStatistics
Description
Provides a collection of table statistics in response to a request by the DescribeTableStatistics
operation.
Members
- AppliedDdls
-
- Type: long (int|float)
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
- AppliedDeletes
-
- Type: long (int|float)
The number of delete actions applied on a target table.
- AppliedInserts
-
- Type: long (int|float)
The number of insert actions applied on a target table.
- AppliedUpdates
-
- Type: long (int|float)
The number of update actions applied on a target table.
- Ddls
-
- Type: long (int|float)
The data definition language (DDL) used to build and modify the structure of your tables.
- Deletes
-
- Type: long (int|float)
The number of delete actions performed on a table.
- FullLoadCondtnlChkFailedRows
-
- Type: long (int|float)
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
- FullLoadEndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when the full load operation completed.
- FullLoadErrorRows
-
- Type: long (int|float)
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
- FullLoadReloaded
-
- Type: boolean
A value that indicates if the table was reloaded (
true
) or loaded as part of a new full load operation (false
). - FullLoadRows
-
- Type: long (int|float)
The number of rows added during the full load operation.
- FullLoadStartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when the full load operation started.
- Inserts
-
- Type: long (int|float)
The number of insert actions performed on a table.
- LastUpdateTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time a table was updated.
- SchemaName
-
- Type: string
The schema name.
- TableName
-
- Type: string
The name of the table.
- TableState
-
- Type: string
The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded
- Updates
-
- Type: long (int|float)
The number of update actions performed on a table.
- ValidationFailedRecords
-
- Type: long (int|float)
The number of records that failed validation.
- ValidationPendingRecords
-
- Type: long (int|float)
The number of records that have yet to be validated.
- ValidationState
-
- Type: string
The validation state of the table.
This parameter can have the following values:
-
Not enabled – Validation isn't enabled for the table in the migration task.
-
Pending records – Some records in the table are waiting for validation.
-
Mismatched records – Some records in the table don't match between the source and target.
-
Suspended records – Some records in the table couldn't be validated.
-
No primary key –The table couldn't be validated because it has no primary key.
-
Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
-
Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
-
Error – The table couldn't be validated because of an unexpected error.
-
Pending validation – The table is waiting validation.
-
Preparing table – Preparing the table enabled in the migration task for validation.
-
Pending revalidation – All rows in the table are pending validation after the table was updated.
- ValidationStateDetails
-
- Type: string
Additional details about the state of validation.
- ValidationSuspendedRecords
-
- Type: long (int|float)
The number of records that couldn't be validated.
TableToReload
Description
Provides the name of the schema and table to be reloaded.
Members
- SchemaName
-
- Required: Yes
- Type: string
The schema name of the table to be reloaded.
- TableName
-
- Required: Yes
- Type: string
The table name of the table to be reloaded.
Tag
Description
A user-defined key-value pair that describes metadata added to an DMS resource and that is used by operations such as the following:
-
AddTagsToResource
-
ListTagsForResource
-
RemoveTagsFromResource
Members
- Key
-
- Type: string
A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
- ResourceArn
-
- Type: string
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
- Value
-
- Type: string
A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
TimestreamSettings
Description
Provides information that defines an Amazon Timestream endpoint.
Members
- CdcInsertsAndUpdates
-
- Type: boolean
Set this attribute to
true
to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value isfalse
, DMS nulls out the corresponding record in the Timestream database rather than deleting it. - DatabaseName
-
- Required: Yes
- Type: string
Database name for the endpoint.
- EnableMagneticStoreWrites
-
- Type: boolean
Set this attribute to
true
to enable memory store writes. When this value isfalse
, DMS does not write records that are older in days than the value specified inMagneticDuration
, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide. - MagneticDuration
-
- Required: Yes
- Type: int
Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.
- MemoryDuration
-
- Required: Yes
- Type: int
Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.
UpgradeDependencyFailureFault
Description
An upgrade dependency is preventing the database migration.
Members
- message
-
- Type: string
VpcSecurityGroupMembership
Description
Describes the status of a security group associated with the virtual private cloud (VPC) hosting your replication and DB instances.
Members
- Status
-
- Type: string
The status of the VPC security group.
- VpcSecurityGroupId
-
- Type: string
The VPC security group ID.