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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- ModifyEndpoint ( array $params = [] )
Modifies the specified endpoint.
- ModifyEventSubscription ( array $params = [] )
Modifies an existing DMS event notification subscription.
- 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.
- 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.
- StartRecommendations ( array $params = [] )
Starts the analysis of your source database to provide recommendations of target engines.
- 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.
- 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
- DescribeEndpointSettings
- DescribeEndpointTypes
- DescribeEndpoints
- DescribeEventSubscriptions
- DescribeEvents
- DescribeFleetAdvisorCollectors
- DescribeFleetAdvisorDatabases
- DescribeFleetAdvisorLsaAnalysis
- DescribeFleetAdvisorSchemaObjectSummary
- DescribeFleetAdvisorSchemas
- DescribeOrderableReplicationInstances
- DescribePendingMaintenanceActions
- DescribeRecommendationLimitations
- DescribeRecommendations
- DescribeReplicationInstanceTaskLogs
- DescribeReplicationInstances
- DescribeReplicationSubnetGroups
- DescribeReplicationTaskAssessmentResults
- DescribeReplicationTaskAssessmentRuns
- DescribeReplicationTaskIndividualAssessments
- DescribeReplicationTasks
- 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
-
The resource could not be found.
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
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
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>', 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The
ReplicationTaskAssessmentRun
object for the canceled assessment run.
Errors
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], // ... ], '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"
, and"babelfish"
. - 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.
- 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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The endpoint that was created.
Errors
-
DMS cannot access the KMS key.
-
The resource you are attempting to create already exists.
-
The quota for this resource quota has been exceeded.
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
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
-
The quota for this resource quota has been exceeded.
-
The resource could not be found.
-
The resource you are attempting to create already exists.
-
The SNS topic is invalid.
-
You are not authorized for the SNS subscription.
-
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
-
The specified KMS key isn't enabled.
-
The state of the specified KMS resource isn't valid for this request.
-
The specified KMS entity or resource can't be found.
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
Insufficient privileges are preventing access to an Amazon S3 object.
-
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
-
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.
Parameter Syntax
$result = $client->createReplicationInstance([ 'AllocatedStorage' => <integer>, 'AutoMinorVersionUpgrade' => true || false, 'AvailabilityZone' => '<string>', 'DnsNameServers' => '<string>', 'EngineVersion' => '<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
When
AutoMinorVersionUpgrade
is enabled, DMS uses the current default engine version when you create a replication instance. For example, if you setEngineVersion
to a lower version number than the current default version, DMS uses the default version.If
AutoMinorVersionUpgrade
isn’t enabled when you create a replication instance, DMS uses the engine version specified by theEngineVersion
parameter. - 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.
- 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 Selecting the right DMS replication instance for your migration.
- 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>, '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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource you are attempting to create already exists.
-
InsufficientResourceCapacityFault:
There are not enough resources allocated to the database migration.
-
The quota for this resource quota has been exceeded.
-
The storage quota has been exceeded.
-
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.
-
The resource is in a state that prevents it from being used for database migration.
-
The subnet provided is invalid.
-
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.
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, spaces, underscores, or hyphens. Must not be "default".
Example:
mySubnetgroup
- SubnetIds
-
- Required: Yes
- Type: Array of strings
One 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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource you are attempting to create already exists.
-
The resource could not be found.
-
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.
-
The subnet provided is invalid.
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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource is in a state that prevents it from being used for database migration.
-
The resource you are attempting to create already exists.
-
The resource could not be found.
-
DMS cannot access the KMS key.
-
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
-
The resource could not be found.
-
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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
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' => [ ], ]
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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The endpoint that was deleted.
Errors
-
The resource could not be found.
-
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
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
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
-
The resource is in a state that prevents it from being used for database migration.
-
The specified collector doesn't exist.
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
-
The resource could not be found.
-
The action or operation requested isn't valid.
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>, '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
-
The resource is in a state that prevents it from being used for database migration.
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
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
-
The resource could not be found.
-
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>', 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The
ReplicationTaskAssessmentRun
object for the deleted assessment run.
Errors
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
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
-
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
-
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' => '', ]
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 databse 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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], '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
-
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' => '', ]
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
-
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.
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
-
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
-
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
-
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
-
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
-
The resource is in a state that prevents it from being used for database migration.
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
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
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>', 'InstanceMemory' => <float>, 'InstanceVcpu' => <float>, 'StorageIops' => <integer>, 'StorageSize' => <integer>, ], 'TargetConfiguration' => [ 'DeploymentOption' => '<string>', 'EngineEdition' => '<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
-
The resource is in a state that prevents it from being used for database migration.
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
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' => [ ], ]
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
-
The resource could not be found.
-
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>, '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
-
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
-
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' => [ ], ]
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
-
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>', 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', '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
-
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
-
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
-
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' => [ ], ]
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
-
The resource is in a state that prevents it from being used for database migration.
-
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
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
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' => [ ], ]
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
-
The resource you are attempting to create already exists.
-
The certificate was not valid.
-
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
-
The resource could not be found.
Examples
Example 1: List tags for resource
Lists all tags for an AWS DMS resource.
$result = $client->listTagsForResource([ 'ResourceArn' => '', ]);
Result syntax:
[ 'TagList' => [ ], ]
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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], '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.
- 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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', '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>', 'MaxKBytesPerRead' => <integer>, 'Password' => '<string>', 'Port' => <integer>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'SetDataCaptureChanges' => true || false, 'Username' => '<string>', ], '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>', 'Topic' => '<string>', ], '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>', ], 'KmsKeyId' => '<string>', 'MicrosoftSQLServerSettings' => [ '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>, 'SecretsManagerAccessRoleArn' => '<string>', 'SecretsManagerSecretId' => '<string>', 'ServerName' => '<string>', 'Username' => '<string>', ], 'MySQLSettings' => [ '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>', ], '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>', '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>, '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>', 'CaptureDdls' => true || false, 'DatabaseName' => '<string>', 'DdlArtifactsSchema' => '<string>', 'ExecuteTimeout' => <integer>, 'FailTasksOnLobTruncation' => true || false, 'HeartbeatEnable' => true || false, 'HeartbeatFrequency' => <integer>, 'HeartbeatSchema' => '<string>', 'MapBooleanAsBoolean' => true || false, '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>', ], 'Username' => '<string>', ], ]
Result Details
Members
- Endpoint
-
- Type: Endpoint structure
The modified endpoint.
Errors
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
-
The resource you are attempting to create already exists.
-
DMS cannot access the KMS key.
-
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
-
The quota for this resource quota has been exceeded.
-
The resource could not be found.
-
The SNS topic is invalid.
-
You are not authorized for the SNS subscription.
-
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
-
The specified KMS key isn't enabled.
-
The state of the specified KMS resource isn't valid for this request.
-
The specified KMS entity or resource can't be found.
-
This request triggered KMS request throttling.
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>', '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.
When
AutoMinorVersionUpgrade
is enabled, DMS uses the current default engine version when you modify a replication instance. For example, if you setEngineVersion
to a lower version number than the current default version, DMS uses the default version.If
AutoMinorVersionUpgrade
isn’t enabled when you modify a replication instance, DMS uses the engine version specified by theEngineVersion
parameter. - EngineVersion
-
- Type: string
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgrade
totrue
. - 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>, '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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource is in a state that prevents it from being used for database migration.
-
The resource you are attempting to create already exists.
-
The resource could not be found.
-
InsufficientResourceCapacityFault:
There are not enough resources allocated to the database migration.
-
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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
The quota for this resource quota has been exceeded.
-
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.
-
The subnet provided is invalid.
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
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
-
The resource you are attempting to create already exists.
-
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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
-
DMS cannot access the KMS key.
-
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>, '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
-
The resource could not be found.
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
-
DMS cannot access the KMS key.
-
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' => [ ], ]
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
-
The resource could not be found.
-
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
-
The resource could not be found.
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
-
The resource is in a state that prevents it from being used for database migration.
-
The resource could not be found.
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
-
The resource is in a state that prevents it from being used for database migration.
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
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
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
-
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
-
The resource is in a state that prevents it from being used for database migration.
-
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 ]);
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.
Result Syntax
[ 'ReplicationTaskAssessmentRun' => [ 'AssessmentProgress' => [ 'IndividualAssessmentCompletedCount' => <integer>, 'IndividualAssessmentCount' => <integer>, ], 'AssessmentRunName' => '<string>', 'LastFailureMessage' => '<string>', 'ReplicationTaskArn' => '<string>', 'ReplicationTaskAssessmentRunArn' => '<string>', 'ReplicationTaskAssessmentRunCreationDate' => <DateTime>, 'ResultEncryptionMode' => '<string>', 'ResultKmsKeyArn' => '<string>', 'ResultLocationBucket' => '<string>', 'ResultLocationFolder' => '<string>', 'ServiceAccessRoleArn' => '<string>', 'Status' => '<string>', ], ]
Result Details
Members
- ReplicationTaskAssessmentRun
-
- Type: ReplicationTaskAssessmentRun structure
The premigration assessment run that was started.
Errors
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
-
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
-
The specified KMS key isn't enabled.
-
An Key Management Service (KMS) error is preventing access to KMS.
-
The state of the specified KMS resource isn't valid for this request.
-
The specified KMS entity or resource can't be found.
-
DMS cannot access the KMS key.
-
Insufficient privileges are preventing access to an Amazon S3 object.
-
A specified Amazon S3 bucket, bucket folder, or other object can't be found.
-
The resource you are attempting to create already exists.
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
-
The resource could not be found.
-
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
-
The resource could not be found.
-
The resource is in a state that prevents it from being used for database migration.
-
DMS cannot access the KMS key.
-
The quota for this resource quota has been exceeded.
-
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.6 or higher. If any replication instances are from versions earlier than 3.4.6, the operation raises an error and tells you to upgrade these instances to version 3.4.6 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.6, 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.6 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
-
DMS was denied access to the endpoint. Check that the role is correctly configured.
-
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.
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"
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.
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.
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.
- 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.
- 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"
,"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. - 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.
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.
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.
- 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.
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 is invalid.
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.
- 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.
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.
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.
MicrosoftSQLServerSettings
Description
Provides information that defines a Microsoft SQL Server endpoint.
Members
- 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 trim data on CHAR and NCHAR data types during migration. 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.
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.
- 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.
- 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.
- 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.
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.
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
Y
, 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. - 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
- 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 forAsmUserName
,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 Y to capture change data using the Binary Reader utility. Set
UseLogminerReader
to N to set this attribute to Y. 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 Y 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 Y to capture change data using the Oracle LogMiner utility (the default). Set this attribute to N if you want to access the redo logs as a binary file. When you set
UseLogminerReader
to N, also setUseBfile
to Y. 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'
- 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.
If this value is set to
N
, you don't have to create tables or triggers on the source database. - DatabaseName
-
- Type: string
Database name for the endpoint.
- DdlArtifactsSchema
-
- Type: string
The schema in which the operational DDL database artifacts are created.
Example:
ddlArtifactsSchema=xyzddlschema;
- 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
.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. - HeartbeatFrequency
-
- Type: int
Sets the WAL heartbeat frequency (in minutes).
- HeartbeatSchema
-
- Type: string
Sets the schema in which the heartbeat artifacts are created.
- MapBooleanAsBoolean
-
- Type: boolean
When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as
varchar(5)
. - MaxFileSize
-
- Type: int
Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.
Example:
maxFileSize=512
- Password
-
- Type: string
Endpoint connection password.
- PluginName
-
- Type: string
Specifies the plugin to use to create a replication slot.
- 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.
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.
- 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.
- 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.
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)
. - 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.
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.
- 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.
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"
-
"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"
- 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.
- LastFailur