We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.DMS

Inherits:
AWS.Service show all
Identifier:
dms
API Version:
2016-01-01
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Database Migration Service (DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.

For more information about DMS, see What Is Database Migration Service? in the Database Migration Service User Guide.

Sending a Request Using DMS

var dms = new AWS.DMS();
dms.describeMetadataModelExportsToTarget(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the DMS object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var dms = new AWS.DMS({apiVersion: '2016-01-01'});

You can also set the API version globally in AWS.config.apiVersions using the dms service identifier:

AWS.config.apiVersions = {
  dms: '2016-01-01',
  // other service API versions
};

var dms = new AWS.DMS();

Version:

  • 2016-01-01

Waiter Resource States

This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:

testConnectionSucceeds, endpointDeleted, replicationInstanceAvailable, replicationInstanceDeleted, replicationTaskReady, replicationTaskStopped, replicationTaskRunning, replicationTaskDeleted

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService

Constructor Details

new AWS.DMS(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a DMS object

var dms = new AWS.DMS({apiVersion: '2016-01-01'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.DMS.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.DMS.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.DMS.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

addTagsToResource(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

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. */

 var params = {
  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.
 };
 dms.addTagsToResource(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
   }
   */
 });

Calling the addTagsToResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  Tags: [ /* required */
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.addTagsToResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (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 — (Array<map>)

      One or more tags to be assigned to the resource.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

applyPendingMaintenanceAction(params = {}, callback) ⇒ AWS.Request

Applies a pending maintenance action to a resource (for example, to a replication instance).

Service Reference:

Examples:

Calling the applyPendingMaintenanceAction operation

var params = {
  ApplyAction: 'STRING_VALUE', /* required */
  OptInType: 'STRING_VALUE', /* required */
  ReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.applyPendingMaintenanceAction(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

    • ApplyAction — (String)

      The pending maintenance action to apply to this resource.

      Valid values: os-upgrade, system-update, db-upgrade

    • OptInType — (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 existing next-maintenance opt-in requests.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ResourcePendingMaintenanceActions — (map)

        The DMS resource that the pending maintenance action will be applied to.

        • ResourceIdentifier — (String)

          The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN) for DMS in the DMS documentation.

        • PendingMaintenanceActionDetails — (Array<map>)

          Detailed information about the pending maintenance action.

          • Action — (String)

            The type of pending maintenance action that is available for the resource.

          • AutoAppliedAfterDate — (Date)

            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.

          • ForcedApplyDate — (Date)

            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 — (String)

            The type of opt-in request that has been received for the resource.

          • CurrentApplyDate — (Date)

            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 the AutoAppliedAfterDate and ForcedApplyDate parameter values. This value is blank if an opt-in request has not been received and nothing has been specified for AutoAppliedAfterDate or ForcedApplyDate.

          • Description — (String)

            A description providing more detail about the maintenance action.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchStartRecommendations(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the batchStartRecommendations operation

var params = {
  Data: [
    {
      DatabaseId: 'STRING_VALUE', /* required */
      Settings: { /* required */
        InstanceSizingType: 'STRING_VALUE', /* required */
        WorkloadType: 'STRING_VALUE' /* required */
      }
    },
    /* more items */
  ]
};
dms.batchStartRecommendations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Data — (Array<map>)

      Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.

      • DatabaseIdrequired — (String)

        The identifier of the source database.

      • Settingsrequired — (map)

        The required target engine settings.

        • InstanceSizingTyperequired — (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".

        • WorkloadTyperequired — (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".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ErrorEntries — (Array<map>)

        A list with error details about the analysis of each source database.

        • DatabaseId — (String)

          The identifier of the source database.

        • Message — (String)

          The information about the error.

        • Code — (String)

          The code of an error that occurred during the analysis of the source database.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelReplicationTaskAssessmentRun(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the cancelReplicationTaskAssessmentRun operation

var params = {
  ReplicationTaskAssessmentRunArn: 'STRING_VALUE' /* required */
};
dms.cancelReplicationTaskAssessmentRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskAssessmentRunArn — (String)

      Amazon Resource Name (ARN) of the premigration assessment run to be canceled.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTaskAssessmentRun — (map)

        The ReplicationTaskAssessmentRun object for the canceled assessment run.

        • ReplicationTaskAssessmentRunArn — (String)

          Amazon Resource Name (ARN) of this assessment run.

        • ReplicationTaskArn — (String)

          ARN of the migration task associated with this premigration assessment run.

        • Status — (String)

          Assessment run status.

          This status can have one of the following values:

          • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

          • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

          • "failed" – At least one individual assessment completed with a failed status.

          • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

          • "error-executing" – An internal error occurred while individual assessments ran (during running status).

          • "invalid state" – The assessment run is in an unknown state.

          • "passed" – All individual assessments have completed, and none has a failed status.

          • "provisioning" – Resources required to run individual assessments are being provisioned.

          • "running" – Individual assessments are being run.

          • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        • ReplicationTaskAssessmentRunCreationDate — (Date)

          Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

        • AssessmentProgress — (map)

          Indication of the completion progress for the individual assessments specified to run.

          • IndividualAssessmentCount — (Integer)

            The number of individual assessments that are specified to run.

          • IndividualAssessmentCompletedCount — (Integer)

            The number of individual assessments that have completed, successfully or not.

        • LastFailureMessage — (String)

          Last message generated by an individual assessment failure.

        • ServiceAccessRoleArn — (String)

          ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

        • ResultLocationBucket — (String)

          Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultLocationFolder — (String)

          Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultEncryptionMode — (String)

          Encryption mode used to encrypt the assessment run results.

        • ResultKmsKeyArn — (String)

          ARN of the KMS encryption key used to encrypt the assessment run results.

        • AssessmentRunName — (String)

          Unique name of the assessment run.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDataProvider(params = {}, callback) ⇒ AWS.Request

Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.

Service Reference:

Examples:

Create Data Provider


/* Creates the data provider with the specified parameters. */

 var params = {
  DataProviderName: "sqlServer-dev", 
  Description: "description", 
  Engine: "sqlserver", 
  Settings: {
   MicrosoftSqlServerSettings: {
    DatabaseName: "DatabaseName", 
    Port: 11112, 
    ServerName: "ServerName2", 
    SslMode: "none"
   }
  }, 
  Tags: [
     {
    Key: "access", 
    Value: "authorizedusers"
   }
  ]
 };
 dms.createDataProvider(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    DataProvider: {
     DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-dataprovider", 
     DataProviderCreationTime: <Date Representation>, 
     DataProviderName: "my-target-dataprovider", 
     Engine: "postgres", 
     Settings: {
      PostgreSqlSettings: {
       DatabaseName: "target", 
       Port: 5432, 
       ServerName: "postrgesql.a1b2c3d4e5f6.us-east-1.rds.amazonaws.com", 
       SslMode: "none"
      }
     }
    }
   }
   */
 });

Calling the createDataProvider operation

var params = {
  Engine: 'STRING_VALUE', /* required */
  Settings: { /* required */
    DocDbSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MariaDbSettings: {
      CertificateArn: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MicrosoftSqlServerSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MongoDbSettings: {
      AuthMechanism: default | mongodb_cr | scram_sha_1,
      AuthSource: 'STRING_VALUE',
      AuthType: no | password,
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MySqlSettings: {
      CertificateArn: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    OracleSettings: {
      AsmServer: 'STRING_VALUE',
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      SecretsManagerOracleAsmAccessRoleArn: 'STRING_VALUE',
      SecretsManagerOracleAsmSecretId: 'STRING_VALUE',
      SecretsManagerSecurityDbEncryptionAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecurityDbEncryptionSecretId: 'STRING_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    PostgreSqlSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    RedshiftSettings: {
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE'
    }
  },
  DataProviderName: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.createDataProvider(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DataProviderName — (String)

      A user-friendly name for the data provider.

    • Description — (String)

      A user-friendly description of the data provider.

    • Engine — (String)

      The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

    • Settings — (map)

      The settings in JSON format for a data provider.

      • RedshiftSettings — (map)

        Provides information that defines an Amazon Redshift data provider.

        • ServerName — (String)

          The name of the Amazon Redshift server.

        • Port — (Integer)

          The port value for the Amazon Redshift data provider.

        • DatabaseName — (String)

          The database name on the Amazon Redshift data provider.

      • PostgreSqlSettings — (map)

        Provides information that defines a PostgreSQL data provider.

        • ServerName — (String)

          The name of the PostgreSQL server.

        • Port — (Integer)

          The port value for the PostgreSQL data provider.

        • DatabaseName — (String)

          The database name on the PostgreSQL data provider.

        • SslMode — (String)

          The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MySqlSettings — (map)

        Provides information that defines a MySQL data provider.

        • ServerName — (String)

          The name of the MySQL server.

        • Port — (Integer)

          The port value for the MySQL data provider.

        • SslMode — (String)

          The SSL mode used to connect to the MySQL data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • OracleSettings — (map)

        Provides information that defines an Oracle data provider.

        • ServerName — (String)

          The name of the Oracle server.

        • Port — (Integer)

          The port value for the Oracle data provider.

        • DatabaseName — (String)

          The database name on the Oracle data provider.

        • SslMode — (String)

          The SSL mode used to connect to the Oracle data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

        • AsmServer — (String)

          The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

        • SecretsManagerOracleAsmSecretId — (String)

          The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

          Required only if your data provider uses the Oracle ASM server.

        • SecretsManagerOracleAsmAccessRoleArn — (String)

          The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

        • SecretsManagerSecurityDbEncryptionSecretId — (String)

          The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

        • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

          The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

      • MicrosoftSqlServerSettings — (map)

        Provides information that defines a Microsoft SQL Server data provider.

        • ServerName — (String)

          The name of the Microsoft SQL Server server.

        • Port — (Integer)

          The port value for the Microsoft SQL Server data provider.

        • DatabaseName — (String)

          The database name on the Microsoft SQL Server data provider.

        • SslMode — (String)

          The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • DocDbSettings — (map)

        Provides information that defines a DocumentDB data provider.

        • ServerName — (String)

          The name of the source DocumentDB server.

        • Port — (Integer)

          The port value for the DocumentDB data provider.

        • DatabaseName — (String)

          The database name on the DocumentDB data provider.

        • SslMode — (String)

          The SSL mode used to connect to the DocumentDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MariaDbSettings — (map)

        Provides information that defines a MariaDB data provider.

        • ServerName — (String)

          The name of the MariaDB server.

        • Port — (Integer)

          The port value for the MariaDB data provider

        • SslMode — (String)

          The SSL mode used to connect to the MariaDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MongoDbSettings — (map)

        Provides information that defines a MongoDB data provider.

        • ServerName — (String)

          The name of the MongoDB server.

        • Port — (Integer)

          The port value for the MongoDB data provider.

        • DatabaseName — (String)

          The database name on the MongoDB data provider.

        • SslMode — (String)

          The SSL mode used to connect to the MongoDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

        • AuthType — (String)

          The authentication type for the database connection. Valid values are PASSWORD or NO.

          Possible values include:
          • "no"
          • "password"
        • AuthSource — (String)

          The MongoDB database name. This setting isn't used when AuthType is set to "no".

          The default is "admin".

        • AuthMechanism — (String)

          The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

          Possible values include:
          • "default"
          • "mongodb_cr"
          • "scram_sha_1"
    • Tags — (Array<map>)

      One or more tags to be assigned to the data provider.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataProvider — (map)

        The data provider that was created.

        • DataProviderName — (String)

          The name of the data provider.

        • DataProviderArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the data provider.

        • DataProviderCreationTime — (Date)

          The time the data provider was created.

        • Description — (String)

          A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • Engine — (String)

          The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

        • Settings — (map)

          The settings in JSON format for a data provider.

          • RedshiftSettings — (map)

            Provides information that defines an Amazon Redshift data provider.

            • ServerName — (String)

              The name of the Amazon Redshift server.

            • Port — (Integer)

              The port value for the Amazon Redshift data provider.

            • DatabaseName — (String)

              The database name on the Amazon Redshift data provider.

          • PostgreSqlSettings — (map)

            Provides information that defines a PostgreSQL data provider.

            • ServerName — (String)

              The name of the PostgreSQL server.

            • Port — (Integer)

              The port value for the PostgreSQL data provider.

            • DatabaseName — (String)

              The database name on the PostgreSQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MySqlSettings — (map)

            Provides information that defines a MySQL data provider.

            • ServerName — (String)

              The name of the MySQL server.

            • Port — (Integer)

              The port value for the MySQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MySQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • OracleSettings — (map)

            Provides information that defines an Oracle data provider.

            • ServerName — (String)

              The name of the Oracle server.

            • Port — (Integer)

              The port value for the Oracle data provider.

            • DatabaseName — (String)

              The database name on the Oracle data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Oracle data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AsmServer — (String)

              The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

            • SecretsManagerOracleAsmSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

              Required only if your data provider uses the Oracle ASM server.

            • SecretsManagerOracleAsmAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

            • SecretsManagerSecurityDbEncryptionSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

            • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

          • MicrosoftSqlServerSettings — (map)

            Provides information that defines a Microsoft SQL Server data provider.

            • ServerName — (String)

              The name of the Microsoft SQL Server server.

            • Port — (Integer)

              The port value for the Microsoft SQL Server data provider.

            • DatabaseName — (String)

              The database name on the Microsoft SQL Server data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • DocDbSettings — (map)

            Provides information that defines a DocumentDB data provider.

            • ServerName — (String)

              The name of the source DocumentDB server.

            • Port — (Integer)

              The port value for the DocumentDB data provider.

            • DatabaseName — (String)

              The database name on the DocumentDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the DocumentDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MariaDbSettings — (map)

            Provides information that defines a MariaDB data provider.

            • ServerName — (String)

              The name of the MariaDB server.

            • Port — (Integer)

              The port value for the MariaDB data provider

            • SslMode — (String)

              The SSL mode used to connect to the MariaDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MongoDbSettings — (map)

            Provides information that defines a MongoDB data provider.

            • ServerName — (String)

              The name of the MongoDB server.

            • Port — (Integer)

              The port value for the MongoDB data provider.

            • DatabaseName — (String)

              The database name on the MongoDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MongoDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AuthType — (String)

              The authentication type for the database connection. Valid values are PASSWORD or NO.

              Possible values include:
              • "no"
              • "password"
            • AuthSource — (String)

              The MongoDB database name. This setting isn't used when AuthType is set to "no".

              The default is "admin".

            • AuthMechanism — (String)

              The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

              Possible values include:
              • "default"
              • "mongodb_cr"
              • "scram_sha_1"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEndpoint(params = {}, callback) ⇒ AWS.Request

Creates an endpoint using the provided settings.

Note: 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.

Service Reference:

Examples:

Create endpoint


/* Creates an endpoint using the provided settings. */

 var params = {
  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"
 };
 dms.createEndpoint(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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"
    }
   }
   */
 });

Calling the createEndpoint operation

var params = {
  EndpointIdentifier: 'STRING_VALUE', /* required */
  EndpointType: source | target, /* required */
  EngineName: 'STRING_VALUE', /* required */
  CertificateArn: 'STRING_VALUE',
  DatabaseName: 'STRING_VALUE',
  DmsTransferSettings: {
    BucketName: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE'
  },
  DocDbSettings: {
    DatabaseName: 'STRING_VALUE',
    DocsToInvestigate: 'NUMBER_VALUE',
    ExtractDocId: true || false,
    KmsKeyId: 'STRING_VALUE',
    NestingLevel: none | one,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReplicateShardCollections: true || false,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    UseUpdateLookUp: true || false,
    Username: 'STRING_VALUE'
  },
  DynamoDbSettings: {
    ServiceAccessRoleArn: 'STRING_VALUE' /* required */
  },
  ElasticsearchSettings: {
    EndpointUri: 'STRING_VALUE', /* required */
    ServiceAccessRoleArn: 'STRING_VALUE', /* required */
    ErrorRetryDuration: 'NUMBER_VALUE',
    FullLoadErrorPercentage: 'NUMBER_VALUE',
    UseNewMappingType: true || false
  },
  ExternalTableDefinition: 'STRING_VALUE',
  ExtraConnectionAttributes: 'STRING_VALUE',
  GcpMySQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    CleanSourceMetadataOnMismatch: true || false,
    DatabaseName: 'STRING_VALUE',
    EventsPollInterval: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    ParallelLoadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerTimezone: 'STRING_VALUE',
    TargetDbType: specific-database | multiple-databases,
    Username: 'STRING_VALUE'
  },
  IBMDb2Settings: {
    CurrentLsn: 'STRING_VALUE',
    DatabaseName: 'STRING_VALUE',
    KeepCsvFiles: true || false,
    LoadTimeout: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    MaxKBytesPerRead: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SetDataCaptureChanges: true || false,
    Username: 'STRING_VALUE',
    WriteBufferSize: 'NUMBER_VALUE'
  },
  KafkaSettings: {
    Broker: 'STRING_VALUE',
    IncludeControlDetails: true || false,
    IncludeNullAndEmpty: true || false,
    IncludePartitionValue: true || false,
    IncludeTableAlterOperations: true || false,
    IncludeTransactionDetails: true || false,
    MessageFormat: json | json-unformatted,
    MessageMaxBytes: 'NUMBER_VALUE',
    NoHexPrefix: true || false,
    PartitionIncludeSchemaTable: true || false,
    SaslMechanism: scram-sha-512 | plain,
    SaslPassword: 'STRING_VALUE',
    SaslUsername: 'STRING_VALUE',
    SecurityProtocol: plaintext | ssl-authentication | ssl-encryption | sasl-ssl,
    SslCaCertificateArn: 'STRING_VALUE',
    SslClientCertificateArn: 'STRING_VALUE',
    SslClientKeyArn: 'STRING_VALUE',
    SslClientKeyPassword: 'STRING_VALUE',
    SslEndpointIdentificationAlgorithm: none | https,
    Topic: 'STRING_VALUE'
  },
  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_VALUE',
    StreamArn: 'STRING_VALUE'
  },
  KmsKeyId: 'STRING_VALUE',
  MicrosoftSQLServerSettings: {
    BcpPacketSize: 'NUMBER_VALUE',
    ControlTablesFileGroup: 'STRING_VALUE',
    DatabaseName: 'STRING_VALUE',
    ForceLobLookup: true || false,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    QuerySingleAlwaysOnNode: true || false,
    ReadBackupOnly: true || false,
    SafeguardPolicy: rely-on-sql-server-replication-agent | exclusive-automatic-truncation | shared-automatic-truncation,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    TlogAccessMode: BackupOnly | PreferBackup | PreferTlog | TlogOnly,
    TrimSpaceInChar: true || false,
    UseBcpFullLoad: true || false,
    UseThirdPartyBackupDevice: true || false,
    Username: 'STRING_VALUE'
  },
  MongoDbSettings: {
    AuthMechanism: default | mongodb_cr | scram_sha_1,
    AuthSource: 'STRING_VALUE',
    AuthType: no | password,
    DatabaseName: 'STRING_VALUE',
    DocsToInvestigate: 'STRING_VALUE',
    ExtractDocId: 'STRING_VALUE',
    KmsKeyId: 'STRING_VALUE',
    NestingLevel: none | one,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReplicateShardCollections: true || false,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    UseUpdateLookUp: true || false,
    Username: 'STRING_VALUE'
  },
  MySQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    CleanSourceMetadataOnMismatch: true || false,
    DatabaseName: 'STRING_VALUE',
    EventsPollInterval: 'NUMBER_VALUE',
    ExecuteTimeout: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    ParallelLoadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerTimezone: 'STRING_VALUE',
    TargetDbType: specific-database | multiple-databases,
    Username: 'STRING_VALUE'
  },
  NeptuneSettings: {
    S3BucketFolder: 'STRING_VALUE', /* required */
    S3BucketName: 'STRING_VALUE', /* required */
    ErrorRetryDuration: 'NUMBER_VALUE',
    IamAuthEnabled: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    MaxRetryCount: 'NUMBER_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE'
  },
  OracleSettings: {
    AccessAlternateDirectly: true || false,
    AddSupplementalLogging: true || false,
    AdditionalArchivedLogDestId: 'NUMBER_VALUE',
    AllowSelectNestedTables: true || false,
    ArchivedLogDestId: 'NUMBER_VALUE',
    ArchivedLogsOnly: true || false,
    AsmPassword: 'STRING_VALUE',
    AsmServer: 'STRING_VALUE',
    AsmUser: 'STRING_VALUE',
    CharLengthSemantics: default | char | byte,
    ConvertTimestampWithZoneToUTC: true || false,
    DatabaseName: 'STRING_VALUE',
    DirectPathNoLog: true || false,
    DirectPathParallelLoad: true || false,
    EnableHomogenousTablespace: true || false,
    ExtraArchivedLogDestIds: [
      'NUMBER_VALUE',
      /* more items */
    ],
    FailTasksOnLobTruncation: true || false,
    NumberDatatypeScale: 'NUMBER_VALUE',
    OpenTransactionWindow: 'NUMBER_VALUE',
    OraclePathPrefix: 'STRING_VALUE',
    ParallelAsmReadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReadAheadBlocks: 'NUMBER_VALUE',
    ReadTableSpaceName: true || false,
    ReplacePathPrefix: true || false,
    RetryInterval: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerOracleAsmAccessRoleArn: 'STRING_VALUE',
    SecretsManagerOracleAsmSecretId: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    SecurityDbEncryption: 'STRING_VALUE',
    SecurityDbEncryptionName: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SpatialDataOptionToGeoJsonFunctionName: 'STRING_VALUE',
    StandbyDelayTime: 'NUMBER_VALUE',
    TrimSpaceInChar: true || false,
    UseAlternateFolderForOnline: true || false,
    UseBFile: true || false,
    UseDirectPathFullLoad: true || false,
    UseLogminerReader: true || false,
    UsePathPrefix: 'STRING_VALUE',
    Username: 'STRING_VALUE'
  },
  Password: 'STRING_VALUE',
  Port: 'NUMBER_VALUE',
  PostgreSQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    BabelfishDatabaseName: 'STRING_VALUE',
    CaptureDdls: true || false,
    DatabaseMode: default | babelfish,
    DatabaseName: 'STRING_VALUE',
    DdlArtifactsSchema: 'STRING_VALUE',
    ExecuteTimeout: 'NUMBER_VALUE',
    FailTasksOnLobTruncation: true || false,
    HeartbeatEnable: true || false,
    HeartbeatFrequency: 'NUMBER_VALUE',
    HeartbeatSchema: 'STRING_VALUE',
    MapBooleanAsBoolean: true || false,
    MapJsonbAsClob: true || false,
    MapLongVarcharAs: wstring | clob | nclob,
    MaxFileSize: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    PluginName: no-preference | test-decoding | pglogical,
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SlotName: 'STRING_VALUE',
    TrimSpaceInChar: true || false,
    Username: 'STRING_VALUE'
  },
  RedisSettings: {
    Port: 'NUMBER_VALUE', /* required */
    ServerName: 'STRING_VALUE', /* required */
    AuthPassword: 'STRING_VALUE',
    AuthType: none | auth-role | auth-token,
    AuthUserName: 'STRING_VALUE',
    SslCaCertificateArn: 'STRING_VALUE',
    SslSecurityProtocol: plaintext | ssl-encryption
  },
  RedshiftSettings: {
    AcceptAnyDate: true || false,
    AfterConnectScript: 'STRING_VALUE',
    BucketFolder: 'STRING_VALUE',
    BucketName: 'STRING_VALUE',
    CaseSensitiveNames: true || false,
    CompUpdate: true || false,
    ConnectionTimeout: 'NUMBER_VALUE',
    DatabaseName: 'STRING_VALUE',
    DateFormat: 'STRING_VALUE',
    EmptyAsNull: true || false,
    EncryptionMode: sse-s3 | sse-kms,
    ExplicitIds: true || false,
    FileTransferUploadStreams: 'NUMBER_VALUE',
    LoadTimeout: 'NUMBER_VALUE',
    MapBooleanAsBoolean: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    RemoveQuotes: true || false,
    ReplaceChars: 'STRING_VALUE',
    ReplaceInvalidChars: 'STRING_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerSideEncryptionKmsKeyId: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE',
    TimeFormat: 'STRING_VALUE',
    TrimBlanks: true || false,
    TruncateColumns: true || false,
    Username: 'STRING_VALUE',
    WriteBufferSize: 'NUMBER_VALUE'
  },
  ResourceIdentifier: 'STRING_VALUE',
  S3Settings: {
    AddColumnName: true || false,
    AddTrailingPaddingCharacter: true || false,
    BucketFolder: 'STRING_VALUE',
    BucketName: 'STRING_VALUE',
    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: 'NUMBER_VALUE',
    CdcMinFileSize: 'NUMBER_VALUE',
    CdcPath: 'STRING_VALUE',
    CompressionType: none | gzip,
    CsvDelimiter: 'STRING_VALUE',
    CsvNoSupValue: 'STRING_VALUE',
    CsvNullValue: 'STRING_VALUE',
    CsvRowDelimiter: 'STRING_VALUE',
    DataFormat: csv | parquet,
    DataPageSize: 'NUMBER_VALUE',
    DatePartitionDelimiter: SLASH | UNDERSCORE | DASH | NONE,
    DatePartitionEnabled: true || false,
    DatePartitionSequence: YYYYMMDD | YYYYMMDDHH | YYYYMM | MMYYYYDD | DDMMYYYY,
    DatePartitionTimezone: 'STRING_VALUE',
    DictPageSizeLimit: 'NUMBER_VALUE',
    EnableStatistics: true || false,
    EncodingType: plain | plain-dictionary | rle-dictionary,
    EncryptionMode: sse-s3 | sse-kms,
    ExpectedBucketOwner: 'STRING_VALUE',
    ExternalTableDefinition: 'STRING_VALUE',
    GlueCatalogGeneration: true || false,
    IgnoreHeaderRows: 'NUMBER_VALUE',
    IncludeOpForFullLoad: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    ParquetTimestampInMillisecond: true || false,
    ParquetVersion: parquet-1-0 | parquet-2-0,
    PreserveTransactions: true || false,
    Rfc4180: true || false,
    RowGroupLength: 'NUMBER_VALUE',
    ServerSideEncryptionKmsKeyId: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE',
    TimestampColumnName: 'STRING_VALUE',
    UseCsvNoSupValue: true || false,
    UseTaskStartTimeForFullLoadTimestamp: true || false
  },
  ServerName: 'STRING_VALUE',
  ServiceAccessRoleArn: 'STRING_VALUE',
  SslMode: none | require | verify-ca | verify-full,
  SybaseSettings: {
    DatabaseName: 'STRING_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    Username: 'STRING_VALUE'
  },
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  TimestreamSettings: {
    DatabaseName: 'STRING_VALUE', /* required */
    MagneticDuration: 'NUMBER_VALUE', /* required */
    MemoryDuration: 'NUMBER_VALUE', /* required */
    CdcInsertsAndUpdates: true || false,
    EnableMagneticStoreWrites: true || false
  },
  Username: 'STRING_VALUE'
};
dms.createEndpoint(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointIdentifier — (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 — (String)

      The type of endpoint. Valid values are source and target.

      Possible values include:
      • "source"
      • "target"
    • EngineName — (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".

    • Username — (String)

      The user name to be used to log in to the endpoint database.

    • Password — (String)

      The password to be used to log in to the endpoint database.

    • ServerName — (String)

      The name of the server where the endpoint database resides.

    • Port — (Integer)

      The port used by the endpoint database.

    • DatabaseName — (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.

    • ExtraConnectionAttributes — (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.

    • KmsKeyId — (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.

    • Tags — (Array<map>)

      One or more tags to be assigned to the endpoint.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

    • CertificateArn — (String)

      The Amazon Resource Name (ARN) for the certificate.

    • SslMode — (String)

      The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none

      Possible values include:
      • "none"
      • "require"
      • "verify-ca"
      • "verify-full"
    • ServiceAccessRoleArn — (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.

    • ExternalTableDefinition — (String)

      The external table definition.

    • DynamoDbSettings — (map)

      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.

      • ServiceAccessRoleArnrequired — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

    • S3Settings — (map)

      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.

      • ServiceAccessRoleArn — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

      • ExternalTableDefinition — (String)

        Specifies how tables are defined in the S3 source files only.

      • CsvRowDelimiter — (String)

        The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

      • CsvDelimiter — (String)

        The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

      • BucketFolder — (String)

        An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

      • BucketName — (String)

        The name of the S3 bucket.

      • CompressionType — (String)

        An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

        Possible values include:
        • "none"
        • "gzip"
      • EncryptionMode — (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) or SSE_KMS.

        Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

        To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

        • s3:CreateBucket

        • s3:ListBucket

        • s3:DeleteBucket

        • s3:GetBucketLocation

        • s3:GetObject

        • s3:PutObject

        • s3:DeleteObject

        • s3:GetObjectVersion

        • s3:GetBucketPolicy

        • s3:PutBucketPolicy

        • s3:DeleteBucketPolicy

        Possible values include:
        • "sse-s3"
        • "sse-kms"
      • ServerSideEncryptionKmsKeyId — (String)

        If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

        Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

      • DataFormat — (String)

        The format of the data that you want to use for output. You can choose one of the following:

        • csv : This is a row-based file format with comma-separated values (.csv).

        • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

        Possible values include:
        • "csv"
        • "parquet"
      • EncodingType — (String)

        The type of encoding you are using:

        • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

        • PLAIN doesn't use encoding at all. Values are stored as they are.

        • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

        Possible values include:
        • "plain"
        • "plain-dictionary"
        • "rle-dictionary"
      • DictPageSizeLimit — (Integer)

        The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

      • RowGroupLength — (Integer)

        The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

        If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

      • DataPageSize — (Integer)

        The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

      • ParquetVersion — (String)

        The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

        Possible values include:
        • "parquet-1-0"
        • "parquet-2-0"
      • EnableStatistics — (Boolean)

        A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

      • IncludeOpForFullLoad — (Boolean)

        A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

        Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

        For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

        Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
      • CdcInsertsOnly — (Boolean)

        A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

        If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

        Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
      • TimestampColumnName — (String)

        A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

        Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

        DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

        For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

        For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

        The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

        When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

      • ParquetTimestampInMillisecond — (Boolean)

        A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

        Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

        When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

        Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

        Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
      • CdcInsertsAndUpdates — (Boolean)

        A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

        DMS supports the use of the .parquet files in versions 3.4.7 and later.

        How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

        Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
      • DatePartitionEnabled — (Boolean)

        When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

      • DatePartitionSequence — (String)

        Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

        Possible values include:
        • "YYYYMMDD"
        • "YYYYMMDDHH"
        • "YYYYMM"
        • "MMYYYYDD"
        • "DDMMYYYY"
      • DatePartitionDelimiter — (String)

        Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

        Possible values include:
        • "SLASH"
        • "UNDERSCORE"
        • "DASH"
        • "NONE"
      • UseCsvNoSupValue — (Boolean)

        This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

        Note: This setting is supported in DMS versions 3.4.1 and later.
      • CsvNoSupValue — (String)

        This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

        Note: This setting is supported in DMS versions 3.4.1 and later.
      • PreserveTransactions — (Boolean)

        If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

        Note: This setting is supported in DMS versions 3.4.2 and later.
      • CdcPath — (String)

        Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

        For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

        If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

        For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

        Note: This setting is supported in DMS versions 3.4.2 and later.
      • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

        When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

        When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

      • CannedAclForObjects — (String)

        A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

        The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

        Possible values include:
        • "none"
        • "private"
        • "public-read"
        • "public-read-write"
        • "authenticated-read"
        • "aws-exec-read"
        • "bucket-owner-read"
        • "bucket-owner-full-control"
      • AddColumnName — (Boolean)

        An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

        The default value is false. Valid values are true, false, y, and n.

      • CdcMaxBatchInterval — (Integer)

        Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

        When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

        The default value is 60 seconds.

      • CdcMinFileSize — (Integer)

        Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

        When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

        The default value is 32 MB.

      • CsvNullValue — (String)

        An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

        The default value is NULL. Valid values include any valid string.

      • IgnoreHeaderRows — (Integer)

        When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

        The default is 0.

      • MaxFileSize — (Integer)

        A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

        The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

      • Rfc4180 — (Boolean)

        For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

        For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

        The default value is true. Valid values include true, false, y, and n.

      • DatePartitionTimezone — (String)

        When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

        s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

      • AddTrailingPaddingCharacter — (Boolean)

        Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

      • ExpectedBucketOwner — (String)

        To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

        Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

        When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

      • GlueCatalogGeneration — (Boolean)

        When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

    • DmsTransferSettings — (map)

      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 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", }

      • ServiceAccessRoleArn — (String)

        The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

      • BucketName — (String)

        The name of the S3 bucket to use.

    • MongoDbSettings — (map)

      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.

      • Username — (String)

        The user name you use to access the MongoDB source endpoint.

      • Password — (String)

        The password for the user account you use to access the MongoDB source endpoint.

      • ServerName — (String)

        The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

      • Port — (Integer)

        The port value for the MongoDB source endpoint.

      • DatabaseName — (String)

        The database name on the MongoDB source endpoint.

      • AuthType — (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.

        Possible values include:
        • "no"
        • "password"
      • AuthMechanism — (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 when AuthType is set to "no".

        Possible values include:
        • "default"
        • "mongodb_cr"
        • "scram_sha_1"
      • NestingLevel — (String)

        Specifies either document or table mode.

        Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

        Possible values include:
        • "none"
        • "one"
      • ExtractDocId — (String)

        Specifies the document ID. Use this setting when NestingLevel is set to "none".

        Default value is "false".

      • DocsToInvestigate — (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 is 1000.

      • AuthSource — (String)

        The MongoDB database name. This setting isn't used when AuthType is set to "no".

        The default is "admin".

      • KmsKeyId — (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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

      • UseUpdateLookUp — (Boolean)

        If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

      • ReplicateShardCollections — (Boolean)

        If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

        When this setting is true, note the following:

        • You must set TargetTablePrepMode to nothing.

        • DMS automatically sets useUpdateLookup to false.

    • KinesisSettings — (map)

      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.

      • StreamArn — (String)

        The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

      • MessageFormat — (String)

        The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

        Possible values include:
        • "json"
        • "json-unformatted"
      • ServiceAccessRoleArn — (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.

      • IncludeTransactionDetails — (Boolean)

        Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

      • IncludePartitionValue — (Boolean)

        Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

      • PartitionIncludeSchemaTable — (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 is false.

      • IncludeTableAlterOperations — (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, and rename-column. The default is false.

      • IncludeControlDetails — (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 — (Boolean)

        Include NULL and empty columns for records migrated to the endpoint. The default is false.

      • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

    • KafkaSettings — (map)

      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.

      • Broker — (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.

      • Topic — (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.

      • MessageFormat — (String)

        The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

        Possible values include:
        • "json"
        • "json-unformatted"
      • IncludeTransactionDetails — (Boolean)

        Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

      • IncludePartitionValue — (Boolean)

        Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

      • PartitionIncludeSchemaTable — (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 is false.

      • IncludeTableAlterOperations — (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, and rename-column. The default is false.

      • IncludeControlDetails — (Boolean)

        Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

      • MessageMaxBytes — (Integer)

        The maximum size in bytes for records created on the endpoint The default is 1,000,000.

      • IncludeNullAndEmpty — (Boolean)

        Include NULL and empty columns for records migrated to the endpoint. The default is false.

      • SecurityProtocol — (String)

        Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

        Possible values include:
        • "plaintext"
        • "ssl-authentication"
        • "ssl-encryption"
        • "sasl-ssl"
      • SslClientCertificateArn — (String)

        The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

      • SslClientKeyArn — (String)

        The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

      • SslClientKeyPassword — (String)

        The password for the client private key used to securely connect to a Kafka target endpoint.

      • SslCaCertificateArn — (String)

        The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

      • SaslUsername — (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.

      • SaslPassword — (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.

      • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

      • SaslMechanism — (String)

        For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

        Possible values include:
        • "scram-sha-512"
        • "plain"
      • SslEndpointIdentificationAlgorithm — (String)

        Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

        Possible values include:
        • "none"
        • "https"
    • ElasticsearchSettings — (map)

      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.

      • ServiceAccessRoleArnrequired — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

      • EndpointUrirequired — (String)

        The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

      • FullLoadErrorPercentage — (Integer)

        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.

      • ErrorRetryDuration — (Integer)

        The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

      • UseNewMappingType — (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 is false.

    • NeptuneSettings — (map)

      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.

      • ServiceAccessRoleArn — (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.

      • S3BucketNamerequired — (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.

      • S3BucketFolderrequired — (String)

        A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

      • ErrorRetryDuration — (Integer)

        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.

      • MaxFileSize — (Integer)

        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 — (Integer)

        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.

      • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

    • RedshiftSettings — (map)

      Provides information that defines an Amazon Redshift endpoint.

      • AcceptAnyDate — (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 or false (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 — (String)

        Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

      • BucketFolder — (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 the COPY 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 — (String)

        The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

      • CaseSensitiveNames — (Boolean)

        If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

      • CompUpdate — (Boolean)

        If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

      • ConnectionTimeout — (Integer)

        A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

      • DatabaseName — (String)

        The name of the Amazon Redshift data warehouse (service) that you are working with.

      • DateFormat — (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'. Using auto 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 — (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 is false.

      • EncryptionMode — (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) or SSE_KMS.

        Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

        Possible values include:
        • "sse-s3"
        • "sse-kms"
      • ExplicitIds — (Boolean)

        This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

      • FileTransferUploadStreams — (Integer)

        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 — (Integer)

        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.

      • MaxFileSize — (Integer)

        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 — (String)

        The password for the user named in the username property.

      • Port — (Integer)

        The port number for Amazon Redshift. The default value is 5439.

      • RemoveQuotes — (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 is false.

      • ReplaceInvalidChars — (String)

        A list of characters that you want to replace. Use with ReplaceChars.

      • ReplaceChars — (String)

        A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

      • ServerName — (String)

        The name of the Amazon Redshift cluster you are using.

      • ServiceAccessRoleArn — (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.

      • ServerSideEncryptionKmsKeyId — (String)

        The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

      • TimeFormat — (String)

        The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

      • TruncateColumns — (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 is false.

      • Username — (String)

        An Amazon Redshift user name for a registered user.

      • WriteBufferSize — (Integer)

        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).

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

      • MapBooleanAsBoolean — (Boolean)

        When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

    • PostgreSQLSettings — (map)

      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.

      • AfterConnectScript — (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 — (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.

      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

        Example: maxFileSize=512

      • DatabaseName — (String)

        Database name for the endpoint.

      • DdlArtifactsSchema — (String)

        The schema in which the operational DDL database artifacts are created.

        Example: ddlArtifactsSchema=xyzddlschema;

      • ExecuteTimeout — (Integer)

        Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

        Example: executeTimeout=100;

      • FailTasksOnLobTruncation — (Boolean)

        When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

        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 — (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.

      • HeartbeatSchema — (String)

        Sets the schema in which the heartbeat artifacts are created.

      • HeartbeatFrequency — (Integer)

        Sets the WAL heartbeat frequency (in minutes).

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default is 5432.

      • ServerName — (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.

      • Username — (String)

        Endpoint connection user name.

      • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

      • PluginName — (String)

        Specifies the plugin to use to create a replication slot.

        Possible values include:
        • "no-preference"
        • "test-decoding"
        • "pglogical"
      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

      • MapBooleanAsBoolean — (Boolean)

        When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

      • MapJsonbAsClob — (Boolean)

        When true, DMS migrates JSONB values as CLOB.

      • MapLongVarcharAs — (String)

        When true, DMS migrates LONG values as VARCHAR.

        Possible values include:
        • "wstring"
        • "clob"
        • "nclob"
      • DatabaseMode — (String)

        Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

        Possible values include:
        • "default"
        • "babelfish"
      • BabelfishDatabaseName — (String)

        The Babelfish for Aurora PostgreSQL database name for the endpoint.

    • MySQLSettings — (map)

      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.

      • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

        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.

      • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

        Example: targetDbType=MULTIPLE_DATABASES

        Possible values include:
        • "specific-database"
        • "multiple-databases"
      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

        Example: maxFileSize=512

      • ParallelLoadThreads — (Integer)

        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 — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ServerName — (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 — (String)

        Specifies the time zone for the source MySQL database.

        Example: serverTimezone=US/Pacific;

        Note: Do not enclose time zones in single quotes.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

      • ExecuteTimeout — (Integer)

        Sets the client statement timeout (in seconds) for a MySQL source endpoint.

    • OracleSettings — (map)

      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.

      • AddSupplementalLogging — (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.

      • ArchivedLogDestId — (Integer)

        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.

      • AdditionalArchivedLogDestId — (Integer)

        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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

      • ExtraArchivedLogDestIds — (Array<Integer>)

        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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

      • AllowSelectNestedTables — (Boolean)

        Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

      • ParallelAsmReadThreads — (Integer)

        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.

      • ReadAheadBlocks — (Integer)

        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).

      • AccessAlternateDirectly — (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.

      • UseAlternateFolderForOnline — (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.

      • OraclePathPrefix — (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.

      • UsePathPrefix — (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.

      • ReplacePathPrefix — (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.

      • EnableHomogenousTablespace — (Boolean)

        Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

      • DirectPathNoLog — (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.

      • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

        For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

        For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

        Possible values include:
        • "default"
        • "char"
        • "byte"
      • DatabaseName — (String)

        Database name for the endpoint.

      • DirectPathParallelLoad — (Boolean)

        When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

      • FailTasksOnLobTruncation — (Boolean)

        When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

        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 — (Integer)

        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

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ReadTableSpaceName — (Boolean)

        When set to true, this attribute supports tablespace replication.

      • RetryInterval — (Integer)

        Specifies the number of seconds that the system waits before resending a query.

        Example: retryInterval=6;

      • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

      • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

      • ServerName — (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 — (String)

        Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

      • StandbyDelayTime — (Integer)

        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.

      • Username — (String)

        Endpoint connection user name.

      • UseBFile — (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 — (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 — (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 set UseBfile 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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

      • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

        Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerOracleAsmSecretId — (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.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

      • ConvertTimestampWithZoneToUTC — (Boolean)

        When true, converts timestamps with the timezone datatype to their UTC value.

      • OpenTransactionWindow — (Integer)

        The timeframe in minutes to check for open transactions for a CDC-only task.

        You can specify an integer value between 0 (the default) and 240 (the maximum).

        Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
    • SybaseSettings — (map)

      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.

      • DatabaseName — (String)

        Database name for the endpoint.

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default is 5000.

      • ServerName — (String)

        Fully qualified domain name of the endpoint.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

    • MicrosoftSQLServerSettings — (map)

      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.

      • Port — (Integer)

        Endpoint TCP port.

      • BcpPacketSize — (Integer)

        The maximum size of the packets (in bytes) used to transfer data using BCP.

      • DatabaseName — (String)

        Database name for the endpoint.

      • ControlTablesFileGroup — (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.

      • Password — (String)

        Endpoint connection password.

      • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

        Possible values include:
        • "rely-on-sql-server-replication-agent"
        • "exclusive-automatic-truncation"
        • "shared-automatic-truncation"
      • ServerName — (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.

      • Username — (String)

        Endpoint connection user name.

      • UseBcpFullLoad — (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 — (Boolean)

        When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

      • TlogAccessMode — (String)

        Indicates the mode used to fetch CDC data.

        Possible values include:
        • "BackupOnly"
        • "PreferBackup"
        • "PreferTlog"
        • "TlogOnly"
      • ForceLobLookup — (Boolean)

        Forces LOB lookup on inline LOB.

    • IBMDb2Settings — (map)

      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.

      • DatabaseName — (String)

        Database name for the endpoint.

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default value is 50000.

      • ServerName — (String)

        Fully qualified domain name of the endpoint.

      • SetDataCaptureChanges — (Boolean)

        Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

      • CurrentLsn — (String)

        For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

      • MaxKBytesPerRead — (Integer)

        Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

      • LoadTimeout — (Integer)

        The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

      • WriteBufferSize — (Integer)

        The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

      • KeepCsvFiles — (Boolean)

        If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

        The default value is false.

    • ResourceIdentifier — (String)

      A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint 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 as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

    • DocDbSettings — (map)

      Provides information that defines a DocumentDB endpoint.

      • Username — (String)

        The user name you use to access the DocumentDB source endpoint.

      • Password — (String)

        The password for the user account you use to access the DocumentDB source endpoint.

      • ServerName — (String)

        The name of the server on the DocumentDB source endpoint.

      • Port — (Integer)

        The port value for the DocumentDB source endpoint.

      • DatabaseName — (String)

        The database name on the DocumentDB source endpoint.

      • NestingLevel — (String)

        Specifies either document or table mode.

        Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

        Possible values include:
        • "none"
        • "one"
      • ExtractDocId — (Boolean)

        Specifies the document ID. Use this setting when NestingLevel is set to "none".

        Default value is "false".

      • DocsToInvestigate — (Integer)

        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 is 1000.

      • KmsKeyId — (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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

      • UseUpdateLookUp — (Boolean)

        If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

      • ReplicateShardCollections — (Boolean)

        If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

        When this setting is true, note the following:

        • You must set TargetTablePrepMode to nothing.

        • DMS automatically sets useUpdateLookup to false.

    • RedisSettings — (map)

      Settings in JSON format for the target Redis endpoint.

      • ServerNamerequired — (String)

        Fully qualified domain name of the endpoint.

      • Portrequired — (Integer)

        Transmission Control Protocol (TCP) port for the endpoint.

      • SslSecurityProtocol — (String)

        The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

        Possible values include:
        • "plaintext"
        • "ssl-encryption"
      • AuthType — (String)

        The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

        Possible values include:
        • "none"
        • "auth-role"
        • "auth-token"
      • AuthUserName — (String)

        The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

      • AuthPassword — (String)

        The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

      • SslCaCertificateArn — (String)

        The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

    • GcpMySQLSettings — (map)

      Settings in JSON format for the source GCP MySQL endpoint.

      • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

        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.

      • TargetDbType — (String)

        Specifies where to migrate source tables on the target, either to a single database or multiple databases.

        Example: targetDbType=MULTIPLE_DATABASES

        Possible values include:
        • "specific-database"
        • "multiple-databases"
      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

        Example: maxFileSize=512

      • ParallelLoadThreads — (Integer)

        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 — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ServerName — (String)

        The MySQL host name.

      • ServerTimezone — (String)

        Specifies the time zone for the source MySQL database.

        Example: serverTimezone=US/Pacific;

        Note: Do not enclose time zones in single quotes.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

    • TimestreamSettings — (map)

      Settings in JSON format for the target Amazon Timestream endpoint.

      • DatabaseNamerequired — (String)

        Database name for the endpoint.

      • MemoryDurationrequired — (Integer)

        Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

      • MagneticDurationrequired — (Integer)

        Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

      • CdcInsertsAndUpdates — (Boolean)

        Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

      • EnableMagneticStoreWrites — (Boolean)

        Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Endpoint — (map)

        The endpoint that was created.

        • EndpointIdentifier — (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 — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • EngineName — (String)

          The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "redshift-serverless", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

        • Username — (String)

          The user name used to connect to the endpoint.

        • ServerName — (String)

          The name of the server at the endpoint.

        • Port — (Integer)

          The port value used to access the endpoint.

        • DatabaseName — (String)

          The name of the database at the endpoint.

        • ExtraConnectionAttributes — (String)

          Additional connection attributes used to connect to the endpoint.

        • Status — (String)

          The status of the endpoint.

        • KmsKeyId — (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.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

        • SslMode — (String)

          The SSL mode used to connect to the endpoint. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • ServiceAccessRoleArn — (String)

          The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • ExternalTableDefinition — (String)

          The external table definition.

        • ExternalId — (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.

        • DynamoDbSettings — (map)

          The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • S3Settings — (map)

          The settings for the S3 target endpoint. For more information, see the S3Settings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

          • ExternalTableDefinition — (String)

            Specifies how tables are defined in the S3 source files only.

          • CsvRowDelimiter — (String)

            The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

          • CsvDelimiter — (String)

            The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

          • BucketFolder — (String)

            An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

          • BucketName — (String)

            The name of the S3 bucket.

          • CompressionType — (String)

            An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

            Possible values include:
            • "none"
            • "gzip"
          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

            To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

            • s3:CreateBucket

            • s3:ListBucket

            • s3:DeleteBucket

            • s3:GetBucketLocation

            • s3:GetObject

            • s3:PutObject

            • s3:DeleteObject

            • s3:GetObjectVersion

            • s3:GetBucketPolicy

            • s3:PutBucketPolicy

            • s3:DeleteBucketPolicy

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ServerSideEncryptionKmsKeyId — (String)

            If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

            Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

          • DataFormat — (String)

            The format of the data that you want to use for output. You can choose one of the following:

            • csv : This is a row-based file format with comma-separated values (.csv).

            • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

            Possible values include:
            • "csv"
            • "parquet"
          • EncodingType — (String)

            The type of encoding you are using:

            • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

            • PLAIN doesn't use encoding at all. Values are stored as they are.

            • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

            Possible values include:
            • "plain"
            • "plain-dictionary"
            • "rle-dictionary"
          • DictPageSizeLimit — (Integer)

            The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

          • RowGroupLength — (Integer)

            The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

            If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

          • DataPageSize — (Integer)

            The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

          • ParquetVersion — (String)

            The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

            Possible values include:
            • "parquet-1-0"
            • "parquet-2-0"
          • EnableStatistics — (Boolean)

            A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

          • IncludeOpForFullLoad — (Boolean)

            A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

            Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

            For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

            Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
          • CdcInsertsOnly — (Boolean)

            A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

            If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • TimestampColumnName — (String)

            A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

            Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

            DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

            For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

            For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

            The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

            When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

          • ParquetTimestampInMillisecond — (Boolean)

            A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

            Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

            When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

            Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

            Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
          • CdcInsertsAndUpdates — (Boolean)

            A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

            DMS supports the use of the .parquet files in versions 3.4.7 and later.

            How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • DatePartitionEnabled — (Boolean)

            When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

          • DatePartitionSequence — (String)

            Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "YYYYMMDD"
            • "YYYYMMDDHH"
            • "YYYYMM"
            • "MMYYYYDD"
            • "DDMMYYYY"
          • DatePartitionDelimiter — (String)

            Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "SLASH"
            • "UNDERSCORE"
            • "DASH"
            • "NONE"
          • UseCsvNoSupValue — (Boolean)

            This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • CsvNoSupValue — (String)

            This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • PreserveTransactions — (Boolean)

            If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • CdcPath — (String)

            Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

            For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

            If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

            For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

            When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

            When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

          • CannedAclForObjects — (String)

            A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

            The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

            Possible values include:
            • "none"
            • "private"
            • "public-read"
            • "public-read-write"
            • "authenticated-read"
            • "aws-exec-read"
            • "bucket-owner-read"
            • "bucket-owner-full-control"
          • AddColumnName — (Boolean)

            An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

            The default value is false. Valid values are true, false, y, and n.

          • CdcMaxBatchInterval — (Integer)

            Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

            When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 60 seconds.

          • CdcMinFileSize — (Integer)

            Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

            When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 32 MB.

          • CsvNullValue — (String)

            An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

            The default value is NULL. Valid values include any valid string.

          • IgnoreHeaderRows — (Integer)

            When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

            The default is 0.

          • MaxFileSize — (Integer)

            A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

            The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

          • Rfc4180 — (Boolean)

            For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

            For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

            The default value is true. Valid values include true, false, y, and n.

          • DatePartitionTimezone — (String)

            When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

            s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

          • AddTrailingPaddingCharacter — (Boolean)

            Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

          • ExpectedBucketOwner — (String)

            To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

            Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

            When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

          • GlueCatalogGeneration — (Boolean)

            When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

        • DmsTransferSettings — (map)

          The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

          • BucketName — (String)

            The name of the S3 bucket to use.

        • MongoDbSettings — (map)

          The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

          • Username — (String)

            The user name you use to access the MongoDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the MongoDB source endpoint.

          • ServerName — (String)

            The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

          • Port — (Integer)

            The port value for the MongoDB source endpoint.

          • DatabaseName — (String)

            The database name on the MongoDB source endpoint.

          • AuthType — (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.

            Possible values include:
            • "no"
            • "password"
          • AuthMechanism — (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 when AuthType is set to "no".

            Possible values include:
            • "default"
            • "mongodb_cr"
            • "scram_sha_1"
          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (String)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (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 is 1000.

          • AuthSource — (String)

            The MongoDB database name. This setting isn't used when AuthType is set to "no".

            The default is "admin".

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • KinesisSettings — (map)

          The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

          • StreamArn — (String)

            The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • ServiceAccessRoleArn — (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.

          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (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 — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

        • KafkaSettings — (map)

          The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

          • Broker — (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.

          • Topic — (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.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (Boolean)

            Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

          • MessageMaxBytes — (Integer)

            The maximum size in bytes for records created on the endpoint The default is 1,000,000.

          • IncludeNullAndEmpty — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • SecurityProtocol — (String)

            Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

            Possible values include:
            • "plaintext"
            • "ssl-authentication"
            • "ssl-encryption"
            • "sasl-ssl"
          • SslClientCertificateArn — (String)

            The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

          • SslClientKeyArn — (String)

            The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

          • SslClientKeyPassword — (String)

            The password for the client private key used to securely connect to a Kafka target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

          • SaslUsername — (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.

          • SaslPassword — (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.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

          • SaslMechanism — (String)

            For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

            Possible values include:
            • "scram-sha-512"
            • "plain"
          • SslEndpointIdentificationAlgorithm — (String)

            Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

            Possible values include:
            • "none"
            • "https"
        • ElasticsearchSettings — (map)

          The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

          • EndpointUrirequired — (String)

            The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

          • FullLoadErrorPercentage — (Integer)

            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.

          • ErrorRetryDuration — (Integer)

            The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

          • UseNewMappingType — (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 is false.

        • NeptuneSettings — (map)

          The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

          • ServiceAccessRoleArn — (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.

          • S3BucketNamerequired — (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.

          • S3BucketFolderrequired — (String)

            A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

          • ErrorRetryDuration — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (Integer)

            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.

          • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

        • RedshiftSettings — (map)

          Settings for the Amazon Redshift endpoint.

          • AcceptAnyDate — (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 or false (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 — (String)

            Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

          • BucketFolder — (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 the COPY 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 — (String)

            The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

          • CaseSensitiveNames — (Boolean)

            If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

          • CompUpdate — (Boolean)

            If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

          • ConnectionTimeout — (Integer)

            A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

          • DatabaseName — (String)

            The name of the Amazon Redshift data warehouse (service) that you are working with.

          • DateFormat — (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'. Using auto 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 — (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 is false.

          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ExplicitIds — (Boolean)

            This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

          • FileTransferUploadStreams — (Integer)

            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 — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (String)

            The password for the user named in the username property.

          • Port — (Integer)

            The port number for Amazon Redshift. The default value is 5439.

          • RemoveQuotes — (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 is false.

          • ReplaceInvalidChars — (String)

            A list of characters that you want to replace. Use with ReplaceChars.

          • ReplaceChars — (String)

            A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

          • ServerName — (String)

            The name of the Amazon Redshift cluster you are using.

          • ServiceAccessRoleArn — (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.

          • ServerSideEncryptionKmsKeyId — (String)

            The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

          • TimeFormat — (String)

            The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

          • TruncateColumns — (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 is false.

          • Username — (String)

            An Amazon Redshift user name for a registered user.

          • WriteBufferSize — (Integer)

            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).

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

        • PostgreSQLSettings — (map)

          The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

          • AfterConnectScript — (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 — (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.

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

            Example: maxFileSize=512

          • DatabaseName — (String)

            Database name for the endpoint.

          • DdlArtifactsSchema — (String)

            The schema in which the operational DDL database artifacts are created.

            Example: ddlArtifactsSchema=xyzddlschema;

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

            Example: executeTimeout=100;

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

            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 — (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.

          • HeartbeatSchema — (String)

            Sets the schema in which the heartbeat artifacts are created.

          • HeartbeatFrequency — (Integer)

            Sets the WAL heartbeat frequency (in minutes).

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5432.

          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

          • PluginName — (String)

            Specifies the plugin to use to create a replication slot.

            Possible values include:
            • "no-preference"
            • "test-decoding"
            • "pglogical"
          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

          • MapJsonbAsClob — (Boolean)

            When true, DMS migrates JSONB values as CLOB.

          • MapLongVarcharAs — (String)

            When true, DMS migrates LONG values as VARCHAR.

            Possible values include:
            • "wstring"
            • "clob"
            • "nclob"
          • DatabaseMode — (String)

            Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

            Possible values include:
            • "default"
            • "babelfish"
          • BabelfishDatabaseName — (String)

            The Babelfish for Aurora PostgreSQL database name for the endpoint.

        • MySQLSettings — (map)

          The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (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 — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout (in seconds) for a MySQL source endpoint.

        • OracleSettings — (map)

          The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

          • AddSupplementalLogging — (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.

          • ArchivedLogDestId — (Integer)

            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.

          • AdditionalArchivedLogDestId — (Integer)

            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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • ExtraArchivedLogDestIds — (Array<Integer>)

            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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • AllowSelectNestedTables — (Boolean)

            Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

          • ParallelAsmReadThreads — (Integer)

            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.

          • ReadAheadBlocks — (Integer)

            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).

          • AccessAlternateDirectly — (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.

          • UseAlternateFolderForOnline — (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.

          • OraclePathPrefix — (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.

          • UsePathPrefix — (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.

          • ReplacePathPrefix — (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.

          • EnableHomogenousTablespace — (Boolean)

            Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

          • DirectPathNoLog — (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.

          • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

            For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

            For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

            Possible values include:
            • "default"
            • "char"
            • "byte"
          • DatabaseName — (String)

            Database name for the endpoint.

          • DirectPathParallelLoad — (Boolean)

            When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

            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 — (Integer)

            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

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ReadTableSpaceName — (Boolean)

            When set to true, this attribute supports tablespace replication.

          • RetryInterval — (Integer)

            Specifies the number of seconds that the system waits before resending a query.

            Example: retryInterval=6;

          • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • ServerName — (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 — (String)

            Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

          • StandbyDelayTime — (Integer)

            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.

          • Username — (String)

            Endpoint connection user name.

          • UseBFile — (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 — (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 — (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 set UseBfile 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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

          • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

            Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerOracleAsmSecretId — (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.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • ConvertTimestampWithZoneToUTC — (Boolean)

            When true, converts timestamps with the timezone datatype to their UTC value.

          • OpenTransactionWindow — (Integer)

            The timeframe in minutes to check for open transactions for a CDC-only task.

            You can specify an integer value between 0 (the default) and 240 (the maximum).

            Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
        • SybaseSettings — (map)

          The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

        • MicrosoftSQLServerSettings — (map)

          The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

          • Port — (Integer)

            Endpoint TCP port.

          • BcpPacketSize — (Integer)

            The maximum size of the packets (in bytes) used to transfer data using BCP.

          • DatabaseName — (String)

            Database name for the endpoint.

          • ControlTablesFileGroup — (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.

          • Password — (String)

            Endpoint connection password.

          • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

            Possible values include:
            • "rely-on-sql-server-replication-agent"
            • "exclusive-automatic-truncation"
            • "shared-automatic-truncation"
          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • UseBcpFullLoad — (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 — (Boolean)

            When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

          • TlogAccessMode — (String)

            Indicates the mode used to fetch CDC data.

            Possible values include:
            • "BackupOnly"
            • "PreferBackup"
            • "PreferTlog"
            • "TlogOnly"
          • ForceLobLookup — (Boolean)

            Forces LOB lookup on inline LOB.

        • IBMDb2Settings — (map)

          The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default value is 50000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • SetDataCaptureChanges — (Boolean)

            Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

          • CurrentLsn — (String)

            For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

          • MaxKBytesPerRead — (Integer)

            Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

          • LoadTimeout — (Integer)

            The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

          • WriteBufferSize — (Integer)

            The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

          • KeepCsvFiles — (Boolean)

            If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

            The default value is false.

        • DocDbSettings — (map)

          Provides information that defines a DocumentDB endpoint.

          • Username — (String)

            The user name you use to access the DocumentDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the DocumentDB source endpoint.

          • ServerName — (String)

            The name of the server on the DocumentDB source endpoint.

          • Port — (Integer)

            The port value for the DocumentDB source endpoint.

          • DatabaseName — (String)

            The database name on the DocumentDB source endpoint.

          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (Boolean)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (Integer)

            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 is 1000.

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • RedisSettings — (map)

          The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

          • ServerNamerequired — (String)

            Fully qualified domain name of the endpoint.

          • Portrequired — (Integer)

            Transmission Control Protocol (TCP) port for the endpoint.

          • SslSecurityProtocol — (String)

            The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

            Possible values include:
            • "plaintext"
            • "ssl-encryption"
          • AuthType — (String)

            The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

            Possible values include:
            • "none"
            • "auth-role"
            • "auth-token"
          • AuthUserName — (String)

            The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

          • AuthPassword — (String)

            The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

        • GcpMySQLSettings — (map)

          Settings in JSON format for the source GCP MySQL endpoint.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (String)

            Specifies where to migrate source tables on the target, either to a single database or multiple databases.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (String)

            The MySQL host name.

          • ServerTimezone — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

        • TimestreamSettings — (map)

          The settings for the Amazon Timestream target endpoint. For more information, see the TimestreamSettings structure.

          • DatabaseNamerequired — (String)

            Database name for the endpoint.

          • MemoryDurationrequired — (Integer)

            Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

          • MagneticDurationrequired — (Integer)

            Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

          • CdcInsertsAndUpdates — (Boolean)

            Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

          • EnableMagneticStoreWrites — (Boolean)

            Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEventSubscription(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the createEventSubscription operation

var params = {
  SnsTopicArn: 'STRING_VALUE', /* required */
  SubscriptionName: 'STRING_VALUE', /* required */
  Enabled: true || false,
  EventCategories: [
    'STRING_VALUE',
    /* more items */
  ],
  SourceIds: [
    'STRING_VALUE',
    /* more items */
  ],
  SourceType: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.createEventSubscription(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SubscriptionName — (String)

      The name of the DMS event notification subscription. This name must be less than 255 characters.

    • SnsTopicArn — (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 — (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

    • EventCategories — (Array<String>)

      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.

    • SourceIds — (Array<String>)

      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.

    • Enabled — (Boolean)

      A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.

    • Tags — (Array<map>)

      One or more tags to be assigned to the event subscription.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EventSubscription — (map)

        The event subscription that was created.

        • CustomerAwsId — (String)

          The Amazon Web Services customer account associated with the DMS event notification subscription.

        • CustSubscriptionId — (String)

          The DMS event notification subscription Id.

        • SnsTopicArn — (String)

          The topic ARN of the DMS event notification subscription.

        • Status — (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 — (String)

          The time the DMS event notification subscription was created.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • SourceIdsList — (Array<String>)

          A list of source Ids for the event subscription.

        • EventCategoriesList — (Array<String>)

          A lists of event categories.

        • Enabled — (Boolean)

          Boolean value that indicates if the event subscription is enabled.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createFleetAdvisorCollector(params = {}, callback) ⇒ AWS.Request

Creates a Fleet Advisor collector using the specified parameters.

Service Reference:

Examples:

Calling the createFleetAdvisorCollector operation

var params = {
  CollectorName: 'STRING_VALUE', /* required */
  S3BucketName: 'STRING_VALUE', /* required */
  ServiceAccessRoleArn: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE'
};
dms.createFleetAdvisorCollector(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CollectorName — (String)

      The name of your Fleet Advisor collector (for example, sample-collector).

    • Description — (String)

      A summary description of your Fleet Advisor collector.

    • ServiceAccessRoleArn — (String)

      The IAM role that grants permissions to access the specified Amazon S3 bucket.

    • S3BucketName — (String)

      The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CollectorReferencedId — (String)

        The unique ID of the new Fleet Advisor collector, for example: 22fda70c-40d5-4acf-b233-a495bd8eb7f5

      • CollectorName — (String)

        The name of the new Fleet Advisor collector.

      • Description — (String)

        A summary description of the Fleet Advisor collector.

      • ServiceAccessRoleArn — (String)

        The IAM role that grants permissions to access the specified Amazon S3 bucket.

      • S3BucketName — (String)

        The Amazon S3 bucket that the collector uses to store inventory metadata.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createInstanceProfile(params = {}, callback) ⇒ AWS.Request

Creates the instance profile using the specified parameters.

Service Reference:

Examples:

Calling the createInstanceProfile operation

var params = {
  AvailabilityZone: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  InstanceProfileName: 'STRING_VALUE',
  KmsKeyArn: 'STRING_VALUE',
  NetworkType: 'STRING_VALUE',
  PubliclyAccessible: true || false,
  SubnetGroupIdentifier: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  VpcSecurityGroups: [
    'STRING_VALUE',
    /* more items */
  ]
};
dms.createInstanceProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AvailabilityZone — (String)

      The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem us-east-1d.

    • KmsKeyArn — (String)

      The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

      If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

      KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

    • PubliclyAccessible — (Boolean)

      Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

    • Tags — (Array<map>)

      One or more tags to be assigned to the instance profile.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

    • NetworkType — (String)

      Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

    • InstanceProfileName — (String)

      A user-friendly name for the instance profile.

    • Description — (String)

      A user-friendly description of the instance profile.

    • SubnetGroupIdentifier — (String)

      A subnet group to associate with the instance profile.

    • VpcSecurityGroups — (Array<String>)

      Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • InstanceProfile — (map)

        The instance profile that was created.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.

        • AvailabilityZone — (String)

          The Availability Zone where the instance profile runs.

        • KmsKeyArn — (String)

          The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

          If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

          KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

        • NetworkType — (String)

          Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

        • InstanceProfileName — (String)

          The user-friendly name for the instance profile.

        • Description — (String)

          A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • InstanceProfileCreationTime — (Date)

          The time the instance profile was created.

        • SubnetGroupIdentifier — (String)

          The identifier of the subnet group that is associated with the instance profile.

        • VpcSecurityGroups — (Array<String>)

          The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createMigrationProject(params = {}, callback) ⇒ AWS.Request

Creates the migration project using the specified parameters.

You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.

Service Reference:

Examples:

Create Migration Project


/* Creates the migration project with the specified parameters. */

 var params = {
  Description: "description", 
  InstanceProfileIdentifier: "ip-au-17", 
  MigrationProjectName: "my-migration-project", 
  SchemaConversionApplicationAttributes: {
   S3BucketPath: "arn:aws:s3:::mylogin-bucket", 
   S3BucketRoleArn: "arn:aws:iam::012345678901:role/Admin"
  }, 
  SourceDataProviderDescriptors: [
     {
    DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
    SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access", 
    SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/ALL.SOURCE.ORACLE_12-A1B2C3"
   }
  ], 
  Tags: [
     {
    Key: "access", 
    Value: "authorizedusers"
   }
  ], 
  TargetDataProviderDescriptors: [
     {
    DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
    SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access", 
    SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/TARGET.postgresql-A1B2C3"
   }
  ], 
  TransformationRules: "{\"key0\":\"value0\",\"key1\":\"value1\",\"key2\":\"value2\"}"
 };
 dms.createMigrationProject(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    MigrationProject: {
     InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     InstanceProfileName: "my-instance-profile", 
     MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     MigrationProjectCreationTime: <Date Representation>, 
     MigrationProjectName: "my-migration-project", 
     SchemaConversionApplicationAttributes: {
      S3BucketPath: "my-s3-bucket/my_folder", 
      S3BucketRoleArn: "arn:aws:iam::012345678901:role/my-s3role"
     }, 
     SourceDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "source-oracle-12", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456"
      }
     ], 
     TargetDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "target-dataprovider-3", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/dmytbon-admin-access", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456"
      }
     ]
    }
   }
   */
 });

Calling the createMigrationProject operation

var params = {
  InstanceProfileIdentifier: 'STRING_VALUE', /* required */
  SourceDataProviderDescriptors: [ /* required */
    {
      DataProviderIdentifier: 'STRING_VALUE', /* required */
      SecretsManagerAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecretId: 'STRING_VALUE'
    },
    /* more items */
  ],
  TargetDataProviderDescriptors: [ /* required */
    {
      DataProviderIdentifier: 'STRING_VALUE', /* required */
      SecretsManagerAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecretId: 'STRING_VALUE'
    },
    /* more items */
  ],
  Description: 'STRING_VALUE',
  MigrationProjectName: 'STRING_VALUE',
  SchemaConversionApplicationAttributes: {
    S3BucketPath: 'STRING_VALUE',
    S3BucketRoleArn: 'STRING_VALUE'
  },
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  TransformationRules: 'STRING_VALUE'
};
dms.createMigrationProject(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectName — (String)

      A user-friendly name for the migration project.

    • SourceDataProviderDescriptors — (Array<map>)

      Information about the source data provider, including the name, ARN, and Secrets Manager parameters.

      • DataProviderIdentifierrequired — (String)

        The name or Amazon Resource Name (ARN) of the data provider.

      • SecretsManagerSecretId — (String)

        The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

      • SecretsManagerAccessRoleArn — (String)

        The ARN of the role used to access Amazon Web Services Secrets Manager.

    • TargetDataProviderDescriptors — (Array<map>)

      Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.

      • DataProviderIdentifierrequired — (String)

        The name or Amazon Resource Name (ARN) of the data provider.

      • SecretsManagerSecretId — (String)

        The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

      • SecretsManagerAccessRoleArn — (String)

        The ARN of the role used to access Amazon Web Services Secrets Manager.

    • InstanceProfileIdentifier — (String)

      The identifier of the associated instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

    • TransformationRules — (String)

      The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

    • Description — (String)

      A user-friendly description of the migration project.

    • Tags — (Array<map>)

      One or more tags to be assigned to the migration project.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

    • SchemaConversionApplicationAttributes — (map)

      The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

      • S3BucketPath — (String)

        The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

      • S3BucketRoleArn — (String)

        The ARN for the role the application uses to access its Amazon S3 bucket.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • MigrationProject — (map)

        The migration project that was created.

        • MigrationProjectName — (String)

          The name of the migration project.

        • MigrationProjectArn — (String)

          The ARN string that uniquely identifies the migration project.

        • MigrationProjectCreationTime — (Date)

          The time when the migration project was created.

        • SourceDataProviderDescriptors — (Array<map>)

          Information about the source data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • TargetDataProviderDescriptors — (Array<map>)

          Information about the target data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) of the instance profile for your migration project.

        • InstanceProfileName — (String)

          The name of the associated instance profile.

        • TransformationRules — (String)

          The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

        • Description — (String)

          A user-friendly description of the migration project.

        • SchemaConversionApplicationAttributes — (map)

          The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

          • S3BucketPath — (String)

            The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

          • S3BucketRoleArn — (String)

            The ARN for the role the application uses to access its Amazon S3 bucket.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createReplicationConfig(params = {}, callback) ⇒ AWS.Request

Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.

Service Reference:

Examples:

Calling the createReplicationConfig operation

var params = {
  ComputeConfig: { /* required */
    AvailabilityZone: 'STRING_VALUE',
    DnsNameServers: 'STRING_VALUE',
    KmsKeyId: 'STRING_VALUE',
    MaxCapacityUnits: 'NUMBER_VALUE',
    MinCapacityUnits: 'NUMBER_VALUE',
    MultiAZ: true || false,
    PreferredMaintenanceWindow: 'STRING_VALUE',
    ReplicationSubnetGroupId: 'STRING_VALUE',
    VpcSecurityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ]
  },
  ReplicationConfigIdentifier: 'STRING_VALUE', /* required */
  ReplicationType: full-load | cdc | full-load-and-cdc, /* required */
  SourceEndpointArn: 'STRING_VALUE', /* required */
  TableMappings: 'STRING_VALUE', /* required */
  TargetEndpointArn: 'STRING_VALUE', /* required */
  ReplicationSettings: 'STRING_VALUE',
  ResourceIdentifier: 'STRING_VALUE',
  SupplementalSettings: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.createReplicationConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigIdentifier — (String)

      A unique identifier that you want to use to create a ReplicationConfigArn that is returned as part of the output from this action. You can then pass this output ReplicationConfigArn as the value of the ReplicationConfigArn option for other actions to identify both DMS Serverless replications and replication configurations that you want those actions to operate on. For some actions, you can also use either this unique identifier or a corresponding ARN in action filters to identify the specific replication and replication configuration to operate on.

    • SourceEndpointArn — (String)

      The Amazon Resource Name (ARN) of the source endpoint for this DMS Serverless replication configuration.

    • TargetEndpointArn — (String)

      The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

    • ComputeConfig — (map)

      Configuration parameters for provisioning an DMS Serverless replication.

      • AvailabilityZone — (String)

        The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

      • DnsNameServers — (String)

        A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

      • KmsKeyId — (String)

        An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

        If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

        KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

      • MaxCapacityUnits — (Integer)

        Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

      • MinCapacityUnits — (Integer)

        Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

      • MultiAZ — (Boolean)

        Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

      • PreferredMaintenanceWindow — (String)

        The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

        The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

        Constraints include a minimum 30-minute window.

      • ReplicationSubnetGroupId — (String)

        Specifies a subnet group identifier to associate with the DMS Serverless replication.

      • VpcSecurityGroupIds — (Array<String>)

        Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

    • ReplicationType — (String)

      The type of DMS Serverless replication to provision using this replication configuration.

      Possible values:

      • "full-load"

      • "cdc"

      • "full-load-and-cdc"

      Possible values include:
      • "full-load"
      • "cdc"
      • "full-load-and-cdc"
    • TableMappings — (String)

      JSON table mappings for DMS Serverless replications that are provisioned using this replication configuration. For more information, see Specifying table selection and transformations rules using JSON.

    • ReplicationSettings — (String)

      Optional JSON settings for DMS Serverless replications that are provisioned using this replication configuration. For example, see Change processing tuning settings.

    • SupplementalSettings — (String)

      Optional JSON settings for specifying supplemental data. For more information, see Specifying supplemental data for task settings.

    • ResourceIdentifier — (String)

      Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags.

    • Tags — (Array<map>)

      One or more optional tags associated with resources used by the DMS Serverless replication. For more information, see Tagging resources in Database Migration Service.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationConfig — (map)

        Configuration parameters returned from the DMS Serverless replication after it is created.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

        • TargetEndpointArn — (String)

          The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

        • ReplicationType — (String)

          The type of the replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • ComputeConfig — (map)

          Configuration parameters for provisioning an DMS serverless replication.

          • AvailabilityZone — (String)

            The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

          • DnsNameServers — (String)

            A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

          • KmsKeyId — (String)

            An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

            If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

            KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

          • MaxCapacityUnits — (Integer)

            Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

          • MinCapacityUnits — (Integer)

            Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

          • MultiAZ — (Boolean)

            Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

          • PreferredMaintenanceWindow — (String)

            The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

            The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

            Constraints include a minimum 30-minute window.

          • ReplicationSubnetGroupId — (String)

            Specifies a subnet group identifier to associate with the DMS Serverless replication.

          • VpcSecurityGroupIds — (Array<String>)

            Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

        • ReplicationSettings — (String)

          Configuration parameters for an DMS serverless replication.

        • SupplementalSettings — (String)

          Additional parameters for an DMS serverless replication.

        • TableMappings — (String)

          Table mappings specified in the replication.

        • ReplicationConfigCreateTime — (Date)

          The time the serverless replication config was created.

        • ReplicationConfigUpdateTime — (Date)

          The time the serverless replication config was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createReplicationInstance(params = {}, callback) ⇒ AWS.Request

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.

Note: If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.

Service Reference:

Examples:

Create replication instance


/* Creates the replication instance using the specified parameters. */

 var params = {
  AllocatedStorage: 123, 
  AutoMinorVersionUpgrade: true, 
  AvailabilityZone: "", 
  EngineVersion: "", 
  KmsKeyId: "", 
  MultiAZ: true, 
  PreferredMaintenanceWindow: "", 
  PubliclyAccessible: true, 
  ReplicationInstanceClass: "", 
  ReplicationInstanceIdentifier: "", 
  ReplicationSubnetGroupIdentifier: "", 
  Tags: [
     {
    Key: "string", 
    Value: "string"
   }
  ], 
  VpcSecurityGroupIds: [
  ]
 };
 dms.createReplicationInstance(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ReplicationInstance: {
     AllocatedStorage: 5, 
     AutoMinorVersionUpgrade: true, 
     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: true, 
     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"
     }
    }
   }
   */
 });

Calling the createReplicationInstance operation

var params = {
  ReplicationInstanceClass: 'STRING_VALUE', /* required */
  ReplicationInstanceIdentifier: 'STRING_VALUE', /* required */
  AllocatedStorage: 'NUMBER_VALUE',
  AutoMinorVersionUpgrade: true || false,
  AvailabilityZone: 'STRING_VALUE',
  DnsNameServers: 'STRING_VALUE',
  EngineVersion: 'STRING_VALUE',
  KmsKeyId: 'STRING_VALUE',
  MultiAZ: true || false,
  NetworkType: 'STRING_VALUE',
  PreferredMaintenanceWindow: 'STRING_VALUE',
  PubliclyAccessible: true || false,
  ReplicationSubnetGroupIdentifier: 'STRING_VALUE',
  ResourceIdentifier: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  VpcSecurityGroupIds: [
    'STRING_VALUE',
    /* more items */
  ]
};
dms.createReplicationInstance(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceIdentifier — (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

    • AllocatedStorage — (Integer)

      The amount of storage (in gigabytes) to be initially allocated for the replication instance.

    • ReplicationInstanceClass — (String)

      The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large".

      For more information on the settings and capacities for the available replication instance classes, see Choosing the right DMS replication instance; and, Selecting the best size for a replication instance.

    • VpcSecurityGroupIds — (Array<String>)

      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.

    • AvailabilityZone — (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.

    • ReplicationSubnetGroupIdentifier — (String)

      A subnet group to associate with the replication instance.

    • PreferredMaintenanceWindow — (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.

    • MultiAZ — (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 to true.

    • EngineVersion — (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.

    • AutoMinorVersionUpgrade — (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

    • Tags — (Array<map>)

      One or more tags to be assigned to the replication instance.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

    • KmsKeyId — (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.

    • PubliclyAccessible — (Boolean)

      Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

    • DnsNameServers — (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"

    • ResourceIdentifier — (String)

      A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint 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 as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

    • NetworkType — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationInstance — (map)

        The replication instance that was created.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createReplicationSubnetGroup(params = {}, callback) ⇒ AWS.Request

Creates a replication subnet group given a list of the subnet IDs in a VPC.

The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.

Service Reference:

Examples:

Create replication subnet group


/* Creates a replication subnet group given a list of the subnet IDs in a VPC. */

 var params = {
  ReplicationSubnetGroupDescription: "US West subnet group", 
  ReplicationSubnetGroupIdentifier: "us-west-2ab-vpc-215ds366", 
  SubnetIds: [
     "subnet-e145356n", 
     "subnet-58f79200"
  ], 
  Tags: [
     {
    Key: "Acount", 
    Value: "145235"
   }
  ]
 };
 dms.createReplicationSubnetGroup(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ReplicationSubnetGroup: {
    }
   }
   */
 });

Calling the createReplicationSubnetGroup operation

var params = {
  ReplicationSubnetGroupDescription: 'STRING_VALUE', /* required */
  ReplicationSubnetGroupIdentifier: 'STRING_VALUE', /* required */
  SubnetIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.createReplicationSubnetGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationSubnetGroupIdentifier — (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

    • ReplicationSubnetGroupDescription — (String)

      The description for the subnet group.

    • SubnetIds — (Array<String>)

      Two or more subnet IDs to be assigned to the subnet group.

    • Tags — (Array<map>)

      One or more tags to be assigned to the subnet group.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationSubnetGroup — (map)

        The replication subnet group that was created.

        • ReplicationSubnetGroupIdentifier — (String)

          The identifier of the replication instance subnet group.

        • ReplicationSubnetGroupDescription — (String)

          A description for the replication subnet group.

        • VpcId — (String)

          The ID of the VPC.

        • SubnetGroupStatus — (String)

          The status of the subnet group.

        • Subnets — (Array<map>)

          The subnets that are in the subnet group.

          • SubnetIdentifier — (String)

            The subnet identifier.

          • SubnetAvailabilityZone — (map)

            The Availability Zone of the subnet.

            • Name — (String)

              The name of the Availability Zone.

          • SubnetStatus — (String)

            The status of the subnet.

        • SupportedNetworkTypes — (Array<String>)

          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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createReplicationTask(params = {}, callback) ⇒ AWS.Request

Creates a replication task using the specified parameters.

Service Reference:

Examples:

Create replication task


/* Creates a replication task using the specified parameters. */

 var params = {
  CdcStartTime: <Date Representation>, 
  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"
 };
 dms.createReplicationTask(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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: <Date Representation>, 
     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"
    }
   }
   */
 });

Calling the createReplicationTask operation

var params = {
  MigrationType: full-load | cdc | full-load-and-cdc, /* required */
  ReplicationInstanceArn: 'STRING_VALUE', /* required */
  ReplicationTaskIdentifier: 'STRING_VALUE', /* required */
  SourceEndpointArn: 'STRING_VALUE', /* required */
  TableMappings: 'STRING_VALUE', /* required */
  TargetEndpointArn: 'STRING_VALUE', /* required */
  CdcStartPosition: 'STRING_VALUE',
  CdcStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
  CdcStopPosition: 'STRING_VALUE',
  ReplicationTaskSettings: 'STRING_VALUE',
  ResourceIdentifier: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  TaskData: 'STRING_VALUE'
};
dms.createReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskIdentifier — (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.

    • SourceEndpointArn — (String)

      An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

    • TargetEndpointArn — (String)

      An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of a replication instance.

    • MigrationType — (String)

      The migration type. Valid values: full-load | cdc | full-load-and-cdc

      Possible values include:
      • "full-load"
      • "cdc"
      • "full-load-and-cdc"
    • TableMappings — (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.

    • ReplicationTaskSettings — (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.

    • CdcStartTime — (Date)

      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”

    • CdcStartPosition — (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”

      Note: 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.
    • CdcStopPosition — (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“

    • Tags — (Array<map>)

      One or more tags to be assigned to the replication task.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

    • TaskData — (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.

    • ResourceIdentifier — (String)

      A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint 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 as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The replication task that was created.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteCertificate(params = {}, callback) ⇒ AWS.Request

Deletes the specified certificate.

Service Reference:

Examples:

Delete Certificate


/* Deletes the specified certificate. */

 var params = {
  CertificateArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ"
 };
 dms.deleteCertificate(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Certificate: {
    }
   }
   */
 });

Calling the deleteCertificate operation

var params = {
  CertificateArn: 'STRING_VALUE' /* required */
};
dms.deleteCertificate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CertificateArn — (String)

      The Amazon Resource Name (ARN) of the certificate.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Certificate — (map)

        The Secure Sockets Layer (SSL) certificate.

        • CertificateIdentifier — (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.

        • CertificateCreationDate — (Date)

          The date that the certificate was created.

        • CertificatePem — (String)

          The contents of a .pem file, which contains an X.509 certificate.

        • CertificateWallet — (Buffer, Typed Array, Blob, String)

          The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64("${path.root}/rds-ca-2019-root.sso")

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) for the certificate.

        • CertificateOwner — (String)

          The owner of the certificate.

        • ValidFromDate — (Date)

          The beginning date that the certificate is valid.

        • ValidToDate — (Date)

          The final date that the certificate is valid.

        • SigningAlgorithm — (String)

          The signing algorithm for the certificate.

        • KeyLength — (Integer)

          The key length of the cryptographic algorithm being used.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteConnection(params = {}, callback) ⇒ AWS.Request

Deletes the connection between a replication instance and an endpoint.

Service Reference:

Examples:

Delete Connection


/* Deletes the connection between the replication instance and the endpoint. */

 var params = {
  EndpointArn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM", 
  ReplicationInstanceArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
 };
 dms.deleteConnection(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Connection: {
    }
   }
   */
 });

Calling the deleteConnection operation

var params = {
  EndpointArn: 'STRING_VALUE', /* required */
  ReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.deleteConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connection — (map)

        The connection that is being deleted.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • EndpointArn — (String)

          The ARN string that uniquely identifies the endpoint.

        • Status — (String)

          The connection status. This parameter can return one of the following values:

          • "successful"

          • "testing"

          • "failed"

          • "deleting"

        • LastFailureMessage — (String)

          The error message when the connection last failed.

        • EndpointIdentifier — (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.

        • ReplicationInstanceIdentifier — (String)

          The replication instance identifier. This parameter is stored as a lowercase string.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteDataProvider(params = {}, callback) ⇒ AWS.Request

Deletes the specified data provider.

Note: All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.

Service Reference:

Examples:

Delete Data Provider


/* Deletes the specified data provider. */

 var params = {
  DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
 };
 dms.deleteDataProvider(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    DataProvider: {
     DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider", 
     DataProviderCreationTime: <Date Representation>, 
     DataProviderName: "my-target-data-provider", 
     Engine: "postgres", 
     Settings: {
      PostgreSqlSettings: {
       DatabaseName: "target", 
       Port: 5432, 
       ServerName: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", 
       SslMode: "none"
      }
     }
    }
   }
   */
 });

Calling the deleteDataProvider operation

var params = {
  DataProviderIdentifier: 'STRING_VALUE' /* required */
};
dms.deleteDataProvider(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DataProviderIdentifier — (String)

      The identifier of the data provider to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataProvider — (map)

        The data provider that was deleted.

        • DataProviderName — (String)

          The name of the data provider.

        • DataProviderArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the data provider.

        • DataProviderCreationTime — (Date)

          The time the data provider was created.

        • Description — (String)

          A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • Engine — (String)

          The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

        • Settings — (map)

          The settings in JSON format for a data provider.

          • RedshiftSettings — (map)

            Provides information that defines an Amazon Redshift data provider.

            • ServerName — (String)

              The name of the Amazon Redshift server.

            • Port — (Integer)

              The port value for the Amazon Redshift data provider.

            • DatabaseName — (String)

              The database name on the Amazon Redshift data provider.

          • PostgreSqlSettings — (map)

            Provides information that defines a PostgreSQL data provider.

            • ServerName — (String)

              The name of the PostgreSQL server.

            • Port — (Integer)

              The port value for the PostgreSQL data provider.

            • DatabaseName — (String)

              The database name on the PostgreSQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MySqlSettings — (map)

            Provides information that defines a MySQL data provider.

            • ServerName — (String)

              The name of the MySQL server.

            • Port — (Integer)

              The port value for the MySQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MySQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • OracleSettings — (map)

            Provides information that defines an Oracle data provider.

            • ServerName — (String)

              The name of the Oracle server.

            • Port — (Integer)

              The port value for the Oracle data provider.

            • DatabaseName — (String)

              The database name on the Oracle data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Oracle data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AsmServer — (String)

              The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

            • SecretsManagerOracleAsmSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

              Required only if your data provider uses the Oracle ASM server.

            • SecretsManagerOracleAsmAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

            • SecretsManagerSecurityDbEncryptionSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

            • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

          • MicrosoftSqlServerSettings — (map)

            Provides information that defines a Microsoft SQL Server data provider.

            • ServerName — (String)

              The name of the Microsoft SQL Server server.

            • Port — (Integer)

              The port value for the Microsoft SQL Server data provider.

            • DatabaseName — (String)

              The database name on the Microsoft SQL Server data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • DocDbSettings — (map)

            Provides information that defines a DocumentDB data provider.

            • ServerName — (String)

              The name of the source DocumentDB server.

            • Port — (Integer)

              The port value for the DocumentDB data provider.

            • DatabaseName — (String)

              The database name on the DocumentDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the DocumentDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MariaDbSettings — (map)

            Provides information that defines a MariaDB data provider.

            • ServerName — (String)

              The name of the MariaDB server.

            • Port — (Integer)

              The port value for the MariaDB data provider

            • SslMode — (String)

              The SSL mode used to connect to the MariaDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MongoDbSettings — (map)

            Provides information that defines a MongoDB data provider.

            • ServerName — (String)

              The name of the MongoDB server.

            • Port — (Integer)

              The port value for the MongoDB data provider.

            • DatabaseName — (String)

              The database name on the MongoDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MongoDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AuthType — (String)

              The authentication type for the database connection. Valid values are PASSWORD or NO.

              Possible values include:
              • "no"
              • "password"
            • AuthSource — (String)

              The MongoDB database name. This setting isn't used when AuthType is set to "no".

              The default is "admin".

            • AuthMechanism — (String)

              The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

              Possible values include:
              • "default"
              • "mongodb_cr"
              • "scram_sha_1"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteEndpoint(params = {}, callback) ⇒ AWS.Request

Deletes the specified endpoint.

Note: All tasks associated with the endpoint must be deleted before you can delete the endpoint.

Service Reference:

Examples:

Delete Endpoint


/* Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.
*/

 var params = {
  EndpointArn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"
 };
 dms.deleteEndpoint(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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"
    }
   }
   */
 });

Calling the deleteEndpoint operation

var params = {
  EndpointArn: 'STRING_VALUE' /* required */
};
dms.deleteEndpoint(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Endpoint — (map)

        The endpoint that was deleted.

        • EndpointIdentifier — (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 — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • EngineName — (String)

          The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "redshift-serverless", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

        • Username — (String)

          The user name used to connect to the endpoint.

        • ServerName — (String)

          The name of the server at the endpoint.

        • Port — (Integer)

          The port value used to access the endpoint.

        • DatabaseName — (String)

          The name of the database at the endpoint.

        • ExtraConnectionAttributes — (String)

          Additional connection attributes used to connect to the endpoint.

        • Status — (String)

          The status of the endpoint.

        • KmsKeyId — (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.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

        • SslMode — (String)

          The SSL mode used to connect to the endpoint. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • ServiceAccessRoleArn — (String)

          The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • ExternalTableDefinition — (String)

          The external table definition.

        • ExternalId — (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.

        • DynamoDbSettings — (map)

          The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • S3Settings — (map)

          The settings for the S3 target endpoint. For more information, see the S3Settings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

          • ExternalTableDefinition — (String)

            Specifies how tables are defined in the S3 source files only.

          • CsvRowDelimiter — (String)

            The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

          • CsvDelimiter — (String)

            The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

          • BucketFolder — (String)

            An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

          • BucketName — (String)

            The name of the S3 bucket.

          • CompressionType — (String)

            An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

            Possible values include:
            • "none"
            • "gzip"
          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

            To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

            • s3:CreateBucket

            • s3:ListBucket

            • s3:DeleteBucket

            • s3:GetBucketLocation

            • s3:GetObject

            • s3:PutObject

            • s3:DeleteObject

            • s3:GetObjectVersion

            • s3:GetBucketPolicy

            • s3:PutBucketPolicy

            • s3:DeleteBucketPolicy

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ServerSideEncryptionKmsKeyId — (String)

            If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

            Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

          • DataFormat — (String)

            The format of the data that you want to use for output. You can choose one of the following:

            • csv : This is a row-based file format with comma-separated values (.csv).

            • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

            Possible values include:
            • "csv"
            • "parquet"
          • EncodingType — (String)

            The type of encoding you are using:

            • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

            • PLAIN doesn't use encoding at all. Values are stored as they are.

            • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

            Possible values include:
            • "plain"
            • "plain-dictionary"
            • "rle-dictionary"
          • DictPageSizeLimit — (Integer)

            The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

          • RowGroupLength — (Integer)

            The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

            If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

          • DataPageSize — (Integer)

            The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

          • ParquetVersion — (String)

            The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

            Possible values include:
            • "parquet-1-0"
            • "parquet-2-0"
          • EnableStatistics — (Boolean)

            A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

          • IncludeOpForFullLoad — (Boolean)

            A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

            Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

            For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

            Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
          • CdcInsertsOnly — (Boolean)

            A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

            If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • TimestampColumnName — (String)

            A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

            Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

            DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

            For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

            For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

            The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

            When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

          • ParquetTimestampInMillisecond — (Boolean)

            A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

            Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

            When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

            Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

            Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
          • CdcInsertsAndUpdates — (Boolean)

            A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

            DMS supports the use of the .parquet files in versions 3.4.7 and later.

            How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • DatePartitionEnabled — (Boolean)

            When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

          • DatePartitionSequence — (String)

            Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "YYYYMMDD"
            • "YYYYMMDDHH"
            • "YYYYMM"
            • "MMYYYYDD"
            • "DDMMYYYY"
          • DatePartitionDelimiter — (String)

            Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "SLASH"
            • "UNDERSCORE"
            • "DASH"
            • "NONE"
          • UseCsvNoSupValue — (Boolean)

            This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • CsvNoSupValue — (String)

            This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • PreserveTransactions — (Boolean)

            If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • CdcPath — (String)

            Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

            For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

            If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

            For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

            When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

            When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

          • CannedAclForObjects — (String)

            A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

            The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

            Possible values include:
            • "none"
            • "private"
            • "public-read"
            • "public-read-write"
            • "authenticated-read"
            • "aws-exec-read"
            • "bucket-owner-read"
            • "bucket-owner-full-control"
          • AddColumnName — (Boolean)

            An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

            The default value is false. Valid values are true, false, y, and n.

          • CdcMaxBatchInterval — (Integer)

            Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

            When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 60 seconds.

          • CdcMinFileSize — (Integer)

            Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

            When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 32 MB.

          • CsvNullValue — (String)

            An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

            The default value is NULL. Valid values include any valid string.

          • IgnoreHeaderRows — (Integer)

            When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

            The default is 0.

          • MaxFileSize — (Integer)

            A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

            The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

          • Rfc4180 — (Boolean)

            For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

            For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

            The default value is true. Valid values include true, false, y, and n.

          • DatePartitionTimezone — (String)

            When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

            s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

          • AddTrailingPaddingCharacter — (Boolean)

            Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

          • ExpectedBucketOwner — (String)

            To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

            Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

            When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

          • GlueCatalogGeneration — (Boolean)

            When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

        • DmsTransferSettings — (map)

          The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

          • BucketName — (String)

            The name of the S3 bucket to use.

        • MongoDbSettings — (map)

          The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

          • Username — (String)

            The user name you use to access the MongoDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the MongoDB source endpoint.

          • ServerName — (String)

            The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

          • Port — (Integer)

            The port value for the MongoDB source endpoint.

          • DatabaseName — (String)

            The database name on the MongoDB source endpoint.

          • AuthType — (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.

            Possible values include:
            • "no"
            • "password"
          • AuthMechanism — (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 when AuthType is set to "no".

            Possible values include:
            • "default"
            • "mongodb_cr"
            • "scram_sha_1"
          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (String)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (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 is 1000.

          • AuthSource — (String)

            The MongoDB database name. This setting isn't used when AuthType is set to "no".

            The default is "admin".

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • KinesisSettings — (map)

          The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

          • StreamArn — (String)

            The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • ServiceAccessRoleArn — (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.

          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (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 — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

        • KafkaSettings — (map)

          The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

          • Broker — (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.

          • Topic — (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.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (Boolean)

            Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

          • MessageMaxBytes — (Integer)

            The maximum size in bytes for records created on the endpoint The default is 1,000,000.

          • IncludeNullAndEmpty — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • SecurityProtocol — (String)

            Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

            Possible values include:
            • "plaintext"
            • "ssl-authentication"
            • "ssl-encryption"
            • "sasl-ssl"
          • SslClientCertificateArn — (String)

            The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

          • SslClientKeyArn — (String)

            The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

          • SslClientKeyPassword — (String)

            The password for the client private key used to securely connect to a Kafka target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

          • SaslUsername — (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.

          • SaslPassword — (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.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

          • SaslMechanism — (String)

            For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

            Possible values include:
            • "scram-sha-512"
            • "plain"
          • SslEndpointIdentificationAlgorithm — (String)

            Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

            Possible values include:
            • "none"
            • "https"
        • ElasticsearchSettings — (map)

          The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

          • EndpointUrirequired — (String)

            The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

          • FullLoadErrorPercentage — (Integer)

            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.

          • ErrorRetryDuration — (Integer)

            The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

          • UseNewMappingType — (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 is false.

        • NeptuneSettings — (map)

          The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

          • ServiceAccessRoleArn — (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.

          • S3BucketNamerequired — (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.

          • S3BucketFolderrequired — (String)

            A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

          • ErrorRetryDuration — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (Integer)

            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.

          • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

        • RedshiftSettings — (map)

          Settings for the Amazon Redshift endpoint.

          • AcceptAnyDate — (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 or false (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 — (String)

            Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

          • BucketFolder — (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 the COPY 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 — (String)

            The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

          • CaseSensitiveNames — (Boolean)

            If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

          • CompUpdate — (Boolean)

            If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

          • ConnectionTimeout — (Integer)

            A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

          • DatabaseName — (String)

            The name of the Amazon Redshift data warehouse (service) that you are working with.

          • DateFormat — (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'. Using auto 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 — (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 is false.

          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ExplicitIds — (Boolean)

            This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

          • FileTransferUploadStreams — (Integer)

            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 — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (String)

            The password for the user named in the username property.

          • Port — (Integer)

            The port number for Amazon Redshift. The default value is 5439.

          • RemoveQuotes — (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 is false.

          • ReplaceInvalidChars — (String)

            A list of characters that you want to replace. Use with ReplaceChars.

          • ReplaceChars — (String)

            A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

          • ServerName — (String)

            The name of the Amazon Redshift cluster you are using.

          • ServiceAccessRoleArn — (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.

          • ServerSideEncryptionKmsKeyId — (String)

            The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

          • TimeFormat — (String)

            The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

          • TruncateColumns — (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 is false.

          • Username — (String)

            An Amazon Redshift user name for a registered user.

          • WriteBufferSize — (Integer)

            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).

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

        • PostgreSQLSettings — (map)

          The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

          • AfterConnectScript — (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 — (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.

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

            Example: maxFileSize=512

          • DatabaseName — (String)

            Database name for the endpoint.

          • DdlArtifactsSchema — (String)

            The schema in which the operational DDL database artifacts are created.

            Example: ddlArtifactsSchema=xyzddlschema;

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

            Example: executeTimeout=100;

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

            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 — (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.

          • HeartbeatSchema — (String)

            Sets the schema in which the heartbeat artifacts are created.

          • HeartbeatFrequency — (Integer)

            Sets the WAL heartbeat frequency (in minutes).

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5432.

          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

          • PluginName — (String)

            Specifies the plugin to use to create a replication slot.

            Possible values include:
            • "no-preference"
            • "test-decoding"
            • "pglogical"
          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

          • MapJsonbAsClob — (Boolean)

            When true, DMS migrates JSONB values as CLOB.

          • MapLongVarcharAs — (String)

            When true, DMS migrates LONG values as VARCHAR.

            Possible values include:
            • "wstring"
            • "clob"
            • "nclob"
          • DatabaseMode — (String)

            Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

            Possible values include:
            • "default"
            • "babelfish"
          • BabelfishDatabaseName — (String)

            The Babelfish for Aurora PostgreSQL database name for the endpoint.

        • MySQLSettings — (map)

          The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (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 — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout (in seconds) for a MySQL source endpoint.

        • OracleSettings — (map)

          The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

          • AddSupplementalLogging — (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.

          • ArchivedLogDestId — (Integer)

            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.

          • AdditionalArchivedLogDestId — (Integer)

            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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • ExtraArchivedLogDestIds — (Array<Integer>)

            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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • AllowSelectNestedTables — (Boolean)

            Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

          • ParallelAsmReadThreads — (Integer)

            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.

          • ReadAheadBlocks — (Integer)

            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).

          • AccessAlternateDirectly — (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.

          • UseAlternateFolderForOnline — (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.

          • OraclePathPrefix — (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.

          • UsePathPrefix — (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.

          • ReplacePathPrefix — (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.

          • EnableHomogenousTablespace — (Boolean)

            Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

          • DirectPathNoLog — (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.

          • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

            For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

            For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

            Possible values include:
            • "default"
            • "char"
            • "byte"
          • DatabaseName — (String)

            Database name for the endpoint.

          • DirectPathParallelLoad — (Boolean)

            When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

            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 — (Integer)

            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

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ReadTableSpaceName — (Boolean)

            When set to true, this attribute supports tablespace replication.

          • RetryInterval — (Integer)

            Specifies the number of seconds that the system waits before resending a query.

            Example: retryInterval=6;

          • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • ServerName — (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 — (String)

            Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

          • StandbyDelayTime — (Integer)

            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.

          • Username — (String)

            Endpoint connection user name.

          • UseBFile — (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 — (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 — (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 set UseBfile 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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

          • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

            Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerOracleAsmSecretId — (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.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • ConvertTimestampWithZoneToUTC — (Boolean)

            When true, converts timestamps with the timezone datatype to their UTC value.

          • OpenTransactionWindow — (Integer)

            The timeframe in minutes to check for open transactions for a CDC-only task.

            You can specify an integer value between 0 (the default) and 240 (the maximum).

            Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
        • SybaseSettings — (map)

          The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

        • MicrosoftSQLServerSettings — (map)

          The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

          • Port — (Integer)

            Endpoint TCP port.

          • BcpPacketSize — (Integer)

            The maximum size of the packets (in bytes) used to transfer data using BCP.

          • DatabaseName — (String)

            Database name for the endpoint.

          • ControlTablesFileGroup — (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.

          • Password — (String)

            Endpoint connection password.

          • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

            Possible values include:
            • "rely-on-sql-server-replication-agent"
            • "exclusive-automatic-truncation"
            • "shared-automatic-truncation"
          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • UseBcpFullLoad — (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 — (Boolean)

            When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

          • TlogAccessMode — (String)

            Indicates the mode used to fetch CDC data.

            Possible values include:
            • "BackupOnly"
            • "PreferBackup"
            • "PreferTlog"
            • "TlogOnly"
          • ForceLobLookup — (Boolean)

            Forces LOB lookup on inline LOB.

        • IBMDb2Settings — (map)

          The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default value is 50000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • SetDataCaptureChanges — (Boolean)

            Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

          • CurrentLsn — (String)

            For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

          • MaxKBytesPerRead — (Integer)

            Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

          • LoadTimeout — (Integer)

            The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

          • WriteBufferSize — (Integer)

            The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

          • KeepCsvFiles — (Boolean)

            If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

            The default value is false.

        • DocDbSettings — (map)

          Provides information that defines a DocumentDB endpoint.

          • Username — (String)

            The user name you use to access the DocumentDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the DocumentDB source endpoint.

          • ServerName — (String)

            The name of the server on the DocumentDB source endpoint.

          • Port — (Integer)

            The port value for the DocumentDB source endpoint.

          • DatabaseName — (String)

            The database name on the DocumentDB source endpoint.

          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (Boolean)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (Integer)

            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 is 1000.

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • RedisSettings — (map)

          The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

          • ServerNamerequired — (String)

            Fully qualified domain name of the endpoint.

          • Portrequired — (Integer)

            Transmission Control Protocol (TCP) port for the endpoint.

          • SslSecurityProtocol — (String)

            The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

            Possible values include:
            • "plaintext"
            • "ssl-encryption"
          • AuthType — (String)

            The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

            Possible values include:
            • "none"
            • "auth-role"
            • "auth-token"
          • AuthUserName — (String)

            The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

          • AuthPassword — (String)

            The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

        • GcpMySQLSettings — (map)

          Settings in JSON format for the source GCP MySQL endpoint.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (String)

            Specifies where to migrate source tables on the target, either to a single database or multiple databases.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (String)

            The MySQL host name.

          • ServerTimezone — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

        • TimestreamSettings — (map)

          The settings for the Amazon Timestream target endpoint. For more information, see the TimestreamSettings structure.

          • DatabaseNamerequired — (String)

            Database name for the endpoint.

          • MemoryDurationrequired — (Integer)

            Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

          • MagneticDurationrequired — (Integer)

            Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

          • CdcInsertsAndUpdates — (Boolean)

            Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

          • EnableMagneticStoreWrites — (Boolean)

            Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteEventSubscription(params = {}, callback) ⇒ AWS.Request

Deletes an DMS event subscription.

Service Reference:

Examples:

Calling the deleteEventSubscription operation

var params = {
  SubscriptionName: 'STRING_VALUE' /* required */
};
dms.deleteEventSubscription(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SubscriptionName — (String)

      The name of the DMS event notification subscription to be deleted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EventSubscription — (map)

        The event subscription that was deleted.

        • CustomerAwsId — (String)

          The Amazon Web Services customer account associated with the DMS event notification subscription.

        • CustSubscriptionId — (String)

          The DMS event notification subscription Id.

        • SnsTopicArn — (String)

          The topic ARN of the DMS event notification subscription.

        • Status — (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 — (String)

          The time the DMS event notification subscription was created.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • SourceIdsList — (Array<String>)

          A list of source Ids for the event subscription.

        • EventCategoriesList — (Array<String>)

          A lists of event categories.

        • Enabled — (Boolean)

          Boolean value that indicates if the event subscription is enabled.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteFleetAdvisorCollector(params = {}, callback) ⇒ AWS.Request

Deletes the specified Fleet Advisor collector.

Service Reference:

Examples:

Calling the deleteFleetAdvisorCollector operation

var params = {
  CollectorReferencedId: 'STRING_VALUE' /* required */
};
dms.deleteFleetAdvisorCollector(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CollectorReferencedId — (String)

      The reference ID of the Fleet Advisor collector to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteFleetAdvisorDatabases(params = {}, callback) ⇒ AWS.Request

Deletes the specified Fleet Advisor collector databases.

Service Reference:

Examples:

Calling the deleteFleetAdvisorDatabases operation

var params = {
  DatabaseIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
dms.deleteFleetAdvisorDatabases(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DatabaseIds — (Array<String>)

      The IDs of the Fleet Advisor collector databases to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DatabaseIds — (Array<String>)

        The IDs of the databases that the operation deleted.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteInstanceProfile(params = {}, callback) ⇒ AWS.Request

Deletes the specified instance profile.

Note: All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.

Service Reference:

Examples:

Calling the deleteInstanceProfile operation

var params = {
  InstanceProfileIdentifier: 'STRING_VALUE' /* required */
};
dms.deleteInstanceProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • InstanceProfileIdentifier — (String)

      The identifier of the instance profile to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • InstanceProfile — (map)

        The instance profile that was deleted.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.

        • AvailabilityZone — (String)

          The Availability Zone where the instance profile runs.

        • KmsKeyArn — (String)

          The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

          If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

          KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

        • NetworkType — (String)

          Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

        • InstanceProfileName — (String)

          The user-friendly name for the instance profile.

        • Description — (String)

          A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • InstanceProfileCreationTime — (Date)

          The time the instance profile was created.

        • SubnetGroupIdentifier — (String)

          The identifier of the subnet group that is associated with the instance profile.

        • VpcSecurityGroups — (Array<String>)

          The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteMigrationProject(params = {}, callback) ⇒ AWS.Request

Deletes the specified migration project.

Note: The migration project must be closed before you can delete it.

Service Reference:

Examples:

Delete Migration Project


/* Deletes the specified migration project. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
 };
 dms.deleteMigrationProject(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    MigrationProject: {
     InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     InstanceProfileName: "my-instance-profile", 
     MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     MigrationProjectCreationTime: <Date Representation>, 
     MigrationProjectName: "my-migration-project", 
     SchemaConversionApplicationAttributes: {
      S3BucketPath: "my-s3-bucket/my_folder", 
      S3BucketRoleArn: "arn:aws:iam::012345678901:role/my-s3role"
     }, 
     SourceDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "all-source-oracle-12", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456"
      }
     ], 
     TargetDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "sde-obilyns-dataprovider-3", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::437223687239:role/dmytbon-admin-access", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456"
      }
     ]
    }
   }
   */
 });

Calling the deleteMigrationProject operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE' /* required */
};
dms.deleteMigrationProject(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The name or Amazon Resource Name (ARN) of the migration project to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • MigrationProject — (map)

        The migration project that was deleted.

        • MigrationProjectName — (String)

          The name of the migration project.

        • MigrationProjectArn — (String)

          The ARN string that uniquely identifies the migration project.

        • MigrationProjectCreationTime — (Date)

          The time when the migration project was created.

        • SourceDataProviderDescriptors — (Array<map>)

          Information about the source data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • TargetDataProviderDescriptors — (Array<map>)

          Information about the target data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) of the instance profile for your migration project.

        • InstanceProfileName — (String)

          The name of the associated instance profile.

        • TransformationRules — (String)

          The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

        • Description — (String)

          A user-friendly description of the migration project.

        • SchemaConversionApplicationAttributes — (map)

          The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

          • S3BucketPath — (String)

            The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

          • S3BucketRoleArn — (String)

            The ARN for the role the application uses to access its Amazon S3 bucket.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReplicationConfig(params = {}, callback) ⇒ AWS.Request

Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.

Service Reference:

Examples:

Calling the deleteReplicationConfig operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE' /* required */
};
dms.deleteReplicationConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The replication config to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationConfig — (map)

        Configuration parameters returned for the DMS Serverless replication after it is deleted.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

        • TargetEndpointArn — (String)

          The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

        • ReplicationType — (String)

          The type of the replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • ComputeConfig — (map)

          Configuration parameters for provisioning an DMS serverless replication.

          • AvailabilityZone — (String)

            The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

          • DnsNameServers — (String)

            A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

          • KmsKeyId — (String)

            An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

            If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

            KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

          • MaxCapacityUnits — (Integer)

            Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

          • MinCapacityUnits — (Integer)

            Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

          • MultiAZ — (Boolean)

            Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

          • PreferredMaintenanceWindow — (String)

            The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

            The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

            Constraints include a minimum 30-minute window.

          • ReplicationSubnetGroupId — (String)

            Specifies a subnet group identifier to associate with the DMS Serverless replication.

          • VpcSecurityGroupIds — (Array<String>)

            Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

        • ReplicationSettings — (String)

          Configuration parameters for an DMS serverless replication.

        • SupplementalSettings — (String)

          Additional parameters for an DMS serverless replication.

        • TableMappings — (String)

          Table mappings specified in the replication.

        • ReplicationConfigCreateTime — (Date)

          The time the serverless replication config was created.

        • ReplicationConfigUpdateTime — (Date)

          The time the serverless replication config was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReplicationInstance(params = {}, callback) ⇒ AWS.Request

Deletes the specified replication instance.

Note: You must delete any migration tasks that are associated with the replication instance before you can delete it.

Service Reference:

Examples:

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.

*/

 var params = {
  ReplicationInstanceArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
 };
 dms.deleteReplicationInstance(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ReplicationInstance: {
     AllocatedStorage: 5, 
     AutoMinorVersionUpgrade: true, 
     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: true, 
     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"
     }
    }
   }
   */
 });

Calling the deleteReplicationInstance operation

var params = {
  ReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.deleteReplicationInstance(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance to be deleted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationInstance — (map)

        The replication instance that was deleted.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReplicationSubnetGroup(params = {}, callback) ⇒ AWS.Request

Deletes a subnet group.

Service Reference:

Examples:

Delete Replication Subnet Group


/* Deletes a replication subnet group. */

 var params = {
  ReplicationSubnetGroupIdentifier: "us-west-2ab-vpc-215ds366"
 };
 dms.deleteReplicationSubnetGroup(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
   }
   */
 });

Calling the deleteReplicationSubnetGroup operation

var params = {
  ReplicationSubnetGroupIdentifier: 'STRING_VALUE' /* required */
};
dms.deleteReplicationSubnetGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationSubnetGroupIdentifier — (String)

      The subnet group name of the replication instance.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReplicationTask(params = {}, callback) ⇒ AWS.Request

Deletes the specified replication task.

Service Reference:

Examples:

Delete Replication Task


/* Deletes the specified replication task. */

 var params = {
  ReplicationTaskArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
 };
 dms.deleteReplicationTask(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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: <Date Representation>, 
     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"
    }
   }
   */
 });

Calling the deleteReplicationTask operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE' /* required */
};
dms.deleteReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task to be deleted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The deleted replication task.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReplicationTaskAssessmentRun(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the deleteReplicationTaskAssessmentRun operation

var params = {
  ReplicationTaskAssessmentRunArn: 'STRING_VALUE' /* required */
};
dms.deleteReplicationTaskAssessmentRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskAssessmentRunArn — (String)

      Amazon Resource Name (ARN) of the premigration assessment run to be deleted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTaskAssessmentRun — (map)

        The ReplicationTaskAssessmentRun object for the deleted assessment run.

        • ReplicationTaskAssessmentRunArn — (String)

          Amazon Resource Name (ARN) of this assessment run.

        • ReplicationTaskArn — (String)

          ARN of the migration task associated with this premigration assessment run.

        • Status — (String)

          Assessment run status.

          This status can have one of the following values:

          • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

          • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

          • "failed" – At least one individual assessment completed with a failed status.

          • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

          • "error-executing" – An internal error occurred while individual assessments ran (during running status).

          • "invalid state" – The assessment run is in an unknown state.

          • "passed" – All individual assessments have completed, and none has a failed status.

          • "provisioning" – Resources required to run individual assessments are being provisioned.

          • "running" – Individual assessments are being run.

          • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        • ReplicationTaskAssessmentRunCreationDate — (Date)

          Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

        • AssessmentProgress — (map)

          Indication of the completion progress for the individual assessments specified to run.

          • IndividualAssessmentCount — (Integer)

            The number of individual assessments that are specified to run.

          • IndividualAssessmentCompletedCount — (Integer)

            The number of individual assessments that have completed, successfully or not.

        • LastFailureMessage — (String)

          Last message generated by an individual assessment failure.

        • ServiceAccessRoleArn — (String)

          ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

        • ResultLocationBucket — (String)

          Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultLocationFolder — (String)

          Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultEncryptionMode — (String)

          Encryption mode used to encrypt the assessment run results.

        • ResultKmsKeyArn — (String)

          ARN of the KMS encryption key used to encrypt the assessment run results.

        • AssessmentRunName — (String)

          Unique name of the assessment run.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeAccountAttributes(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

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. */

 var params = {
 };
 dms.describeAccountAttributes(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    AccountQuotas: [
       {
      AccountQuotaName: "ReplicationInstances", 
      Max: 20, 
      Used: 0
     }, 
       {
      AccountQuotaName: "AllocatedStorage", 
      Max: 20, 
      Used: 0
     }, 
       {
      AccountQuotaName: "Endpoints", 
      Max: 20, 
      Used: 0
     }
    ]
   }
   */
 });

Calling the describeAccountAttributes operation

var params = {
};
dms.describeAccountAttributes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AccountQuotas — (Array<map>)

        Account quota information.

        • AccountQuotaName — (String)

          The name of the DMS quota for this Amazon Web Services account.

        • Used — (Integer)

          The amount currently used toward the quota maximum.

        • Max — (Integer)

          The maximum allowed value for the quota.

      • UniqueAccountIdentifier — (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.

        Note: DMS supports the UniqueAccountIdentifier parameter in versions 3.1.4 and later.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeApplicableIndividualAssessments(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the describeApplicableIndividualAssessments operation

var params = {
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  MigrationType: full-load | cdc | full-load-and-cdc,
  ReplicationInstanceArn: 'STRING_VALUE',
  ReplicationTaskArn: 'STRING_VALUE',
  SourceEngineName: 'STRING_VALUE',
  TargetEngineName: 'STRING_VALUE'
};
dms.describeApplicableIndividualAssessments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      Amazon Resource Name (ARN) of a migration task on which you want to base the default list of individual assessments.

    • ReplicationInstanceArn — (String)

      ARN of a replication instance on which you want to base the default list of individual assessments.

    • SourceEngineName — (String)

      Name of a database engine that the specified replication instance supports as a source.

    • TargetEngineName — (String)

      Name of a database engine that the specified replication instance supports as a target.

    • MigrationType — (String)

      Name of the migration type that each provided individual assessment must support.

      Possible values include:
      • "full-load"
      • "cdc"
      • "full-load-and-cdc"
    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • IndividualAssessmentNames — (Array<String>)

        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 — (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 by MaxRecords.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeCertificates(params = {}, callback) ⇒ AWS.Request

Provides a description of the certificate.

Service Reference:

Examples:

Describe certificates


/* Provides a description of the certificate. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeCertificates(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Certificates: [
    ], 
    Marker: ""
   }
   */
 });

Calling the describeCertificates operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeCertificates(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the certificates described in the form of key-value pairs. Valid values are certificate-arn and certificate-id.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        The pagination token.

      • Certificates — (Array<map>)

        The Secure Sockets Layer (SSL) certificates associated with the replication instance.

        • CertificateIdentifier — (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.

        • CertificateCreationDate — (Date)

          The date that the certificate was created.

        • CertificatePem — (String)

          The contents of a .pem file, which contains an X.509 certificate.

        • CertificateWallet — (Buffer, Typed Array, Blob, String)

          The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64("${path.root}/rds-ca-2019-root.sso")

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) for the certificate.

        • CertificateOwner — (String)

          The owner of the certificate.

        • ValidFromDate — (Date)

          The beginning date that the certificate is valid.

        • ValidToDate — (Date)

          The final date that the certificate is valid.

        • SigningAlgorithm — (String)

          The signing algorithm for the certificate.

        • KeyLength — (Integer)

          The key length of the cryptographic algorithm being used.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeConnections(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

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. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeConnections(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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: ""
   }
   */
 });

Calling the describeConnections operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeConnections(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      The filters applied to the connection.

      Valid filter names: endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • Connections — (Array<map>)

        A description of the connections.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • EndpointArn — (String)

          The ARN string that uniquely identifies the endpoint.

        • Status — (String)

          The connection status. This parameter can return one of the following values:

          • "successful"

          • "testing"

          • "failed"

          • "deleting"

        • LastFailureMessage — (String)

          The error message when the connection last failed.

        • EndpointIdentifier — (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.

        • ReplicationInstanceIdentifier — (String)

          The replication instance identifier. This parameter is stored as a lowercase string.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

describeConversionConfiguration(params = {}, callback) ⇒ AWS.Request

Returns configuration parameters for a schema conversion project.

Service Reference:

Examples:

Describe Conversion Configuration


/* Returns configuration parameters for a schema conversion project. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
 };
 dms.describeConversionConfiguration(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ConversionConfiguration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false,   \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}", 
    MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
   }
   */
 });

Calling the describeConversionConfiguration operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE' /* required */
};
dms.describeConversionConfiguration(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The name or Amazon Resource Name (ARN) for the schema conversion project to describe.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • MigrationProjectIdentifier — (String)

        The name or Amazon Resource Name (ARN) for the schema conversion project.

      • ConversionConfiguration — (String)

        The configuration parameters for the schema conversion project.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDataProviders(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of data providers for your account in the current region.

Service Reference:

Examples:

Describe Data Providers


/*  */

 var params = {
  Filters: [
     {
    Name: "data-provider-identifier", 
    Values: [
       "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
    ]
   }
  ], 
  Marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
  MaxRecords: 20
 };
 dms.describeDataProviders(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    DataProviders: [
       {
      DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider", 
      DataProviderCreationTime: <Date Representation>, 
      DataProviderName: "my-target-data-provider", 
      Engine: "postgres", 
      Settings: {
       PostgreSqlSettings: {
        DatabaseName: "target", 
        Port: 5432, 
        ServerName: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", 
        SslMode: "none"
       }
      }
     }
    ], 
    Marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
   }
   */
 });

Calling the describeDataProviders operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeDataProviders(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the data providers described in the form of key-value pairs.

      Valid filter names: data-provider-identifier

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • DataProviders — (Array<map>)

        A description of data providers.

        • DataProviderName — (String)

          The name of the data provider.

        • DataProviderArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the data provider.

        • DataProviderCreationTime — (Date)

          The time the data provider was created.

        • Description — (String)

          A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • Engine — (String)

          The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

        • Settings — (map)

          The settings in JSON format for a data provider.

          • RedshiftSettings — (map)

            Provides information that defines an Amazon Redshift data provider.

            • ServerName — (String)

              The name of the Amazon Redshift server.

            • Port — (Integer)

              The port value for the Amazon Redshift data provider.

            • DatabaseName — (String)

              The database name on the Amazon Redshift data provider.

          • PostgreSqlSettings — (map)

            Provides information that defines a PostgreSQL data provider.

            • ServerName — (String)

              The name of the PostgreSQL server.

            • Port — (Integer)

              The port value for the PostgreSQL data provider.

            • DatabaseName — (String)

              The database name on the PostgreSQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MySqlSettings — (map)

            Provides information that defines a MySQL data provider.

            • ServerName — (String)

              The name of the MySQL server.

            • Port — (Integer)

              The port value for the MySQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MySQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • OracleSettings — (map)

            Provides information that defines an Oracle data provider.

            • ServerName — (String)

              The name of the Oracle server.

            • Port — (Integer)

              The port value for the Oracle data provider.

            • DatabaseName — (String)

              The database name on the Oracle data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Oracle data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AsmServer — (String)

              The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

            • SecretsManagerOracleAsmSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

              Required only if your data provider uses the Oracle ASM server.

            • SecretsManagerOracleAsmAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

            • SecretsManagerSecurityDbEncryptionSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

            • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

          • MicrosoftSqlServerSettings — (map)

            Provides information that defines a Microsoft SQL Server data provider.

            • ServerName — (String)

              The name of the Microsoft SQL Server server.

            • Port — (Integer)

              The port value for the Microsoft SQL Server data provider.

            • DatabaseName — (String)

              The database name on the Microsoft SQL Server data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • DocDbSettings — (map)

            Provides information that defines a DocumentDB data provider.

            • ServerName — (String)

              The name of the source DocumentDB server.

            • Port — (Integer)

              The port value for the DocumentDB data provider.

            • DatabaseName — (String)

              The database name on the DocumentDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the DocumentDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MariaDbSettings — (map)

            Provides information that defines a MariaDB data provider.

            • ServerName — (String)

              The name of the MariaDB server.

            • Port — (Integer)

              The port value for the MariaDB data provider

            • SslMode — (String)

              The SSL mode used to connect to the MariaDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MongoDbSettings — (map)

            Provides information that defines a MongoDB data provider.

            • ServerName — (String)

              The name of the MongoDB server.

            • Port — (Integer)

              The port value for the MongoDB data provider.

            • DatabaseName — (String)

              The database name on the MongoDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MongoDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AuthType — (String)

              The authentication type for the database connection. Valid values are PASSWORD or NO.

              Possible values include:
              • "no"
              • "password"
            • AuthSource — (String)

              The MongoDB database name. This setting isn't used when AuthType is set to "no".

              The default is "admin".

            • AuthMechanism — (String)

              The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

              Possible values include:
              • "default"
              • "mongodb_cr"
              • "scram_sha_1"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEndpoints(params = {}, callback) ⇒ AWS.Request

Returns information about the endpoints for your account in the current region.

Service Reference:

Examples:

Describe endpoints


/* Returns information about the endpoints for your account in the current region. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeEndpoints(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Endpoints: [
    ], 
    Marker: ""
   }
   */
 });

Calling the describeEndpoints operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeEndpoints(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the endpoints.

      Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • Endpoints — (Array<map>)

        Endpoint description.

        • EndpointIdentifier — (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 — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • EngineName — (String)

          The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "redshift-serverless", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

        • Username — (String)

          The user name used to connect to the endpoint.

        • ServerName — (String)

          The name of the server at the endpoint.

        • Port — (Integer)

          The port value used to access the endpoint.

        • DatabaseName — (String)

          The name of the database at the endpoint.

        • ExtraConnectionAttributes — (String)

          Additional connection attributes used to connect to the endpoint.

        • Status — (String)

          The status of the endpoint.

        • KmsKeyId — (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.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

        • SslMode — (String)

          The SSL mode used to connect to the endpoint. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • ServiceAccessRoleArn — (String)

          The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • ExternalTableDefinition — (String)

          The external table definition.

        • ExternalId — (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.

        • DynamoDbSettings — (map)

          The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • S3Settings — (map)

          The settings for the S3 target endpoint. For more information, see the S3Settings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

          • ExternalTableDefinition — (String)

            Specifies how tables are defined in the S3 source files only.

          • CsvRowDelimiter — (String)

            The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

          • CsvDelimiter — (String)

            The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

          • BucketFolder — (String)

            An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

          • BucketName — (String)

            The name of the S3 bucket.

          • CompressionType — (String)

            An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

            Possible values include:
            • "none"
            • "gzip"
          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

            To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

            • s3:CreateBucket

            • s3:ListBucket

            • s3:DeleteBucket

            • s3:GetBucketLocation

            • s3:GetObject

            • s3:PutObject

            • s3:DeleteObject

            • s3:GetObjectVersion

            • s3:GetBucketPolicy

            • s3:PutBucketPolicy

            • s3:DeleteBucketPolicy

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ServerSideEncryptionKmsKeyId — (String)

            If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

            Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

          • DataFormat — (String)

            The format of the data that you want to use for output. You can choose one of the following:

            • csv : This is a row-based file format with comma-separated values (.csv).

            • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

            Possible values include:
            • "csv"
            • "parquet"
          • EncodingType — (String)

            The type of encoding you are using:

            • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

            • PLAIN doesn't use encoding at all. Values are stored as they are.

            • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

            Possible values include:
            • "plain"
            • "plain-dictionary"
            • "rle-dictionary"
          • DictPageSizeLimit — (Integer)

            The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

          • RowGroupLength — (Integer)

            The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

            If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

          • DataPageSize — (Integer)

            The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

          • ParquetVersion — (String)

            The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

            Possible values include:
            • "parquet-1-0"
            • "parquet-2-0"
          • EnableStatistics — (Boolean)

            A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

          • IncludeOpForFullLoad — (Boolean)

            A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

            Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

            For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

            Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
          • CdcInsertsOnly — (Boolean)

            A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

            If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • TimestampColumnName — (String)

            A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

            Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

            DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

            For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

            For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

            The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

            When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

          • ParquetTimestampInMillisecond — (Boolean)

            A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

            Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

            When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

            Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

            Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
          • CdcInsertsAndUpdates — (Boolean)

            A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

            DMS supports the use of the .parquet files in versions 3.4.7 and later.

            How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • DatePartitionEnabled — (Boolean)

            When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

          • DatePartitionSequence — (String)

            Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "YYYYMMDD"
            • "YYYYMMDDHH"
            • "YYYYMM"
            • "MMYYYYDD"
            • "DDMMYYYY"
          • DatePartitionDelimiter — (String)

            Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "SLASH"
            • "UNDERSCORE"
            • "DASH"
            • "NONE"
          • UseCsvNoSupValue — (Boolean)

            This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • CsvNoSupValue — (String)

            This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • PreserveTransactions — (Boolean)

            If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • CdcPath — (String)

            Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

            For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

            If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

            For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

            When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

            When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

          • CannedAclForObjects — (String)

            A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

            The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

            Possible values include:
            • "none"
            • "private"
            • "public-read"
            • "public-read-write"
            • "authenticated-read"
            • "aws-exec-read"
            • "bucket-owner-read"
            • "bucket-owner-full-control"
          • AddColumnName — (Boolean)

            An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

            The default value is false. Valid values are true, false, y, and n.

          • CdcMaxBatchInterval — (Integer)

            Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

            When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 60 seconds.

          • CdcMinFileSize — (Integer)

            Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

            When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 32 MB.

          • CsvNullValue — (String)

            An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

            The default value is NULL. Valid values include any valid string.

          • IgnoreHeaderRows — (Integer)

            When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

            The default is 0.

          • MaxFileSize — (Integer)

            A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

            The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

          • Rfc4180 — (Boolean)

            For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

            For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

            The default value is true. Valid values include true, false, y, and n.

          • DatePartitionTimezone — (String)

            When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

            s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

          • AddTrailingPaddingCharacter — (Boolean)

            Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

          • ExpectedBucketOwner — (String)

            To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

            Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

            When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

          • GlueCatalogGeneration — (Boolean)

            When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

        • DmsTransferSettings — (map)

          The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

          • BucketName — (String)

            The name of the S3 bucket to use.

        • MongoDbSettings — (map)

          The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

          • Username — (String)

            The user name you use to access the MongoDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the MongoDB source endpoint.

          • ServerName — (String)

            The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

          • Port — (Integer)

            The port value for the MongoDB source endpoint.

          • DatabaseName — (String)

            The database name on the MongoDB source endpoint.

          • AuthType — (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.

            Possible values include:
            • "no"
            • "password"
          • AuthMechanism — (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 when AuthType is set to "no".

            Possible values include:
            • "default"
            • "mongodb_cr"
            • "scram_sha_1"
          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (String)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (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 is 1000.

          • AuthSource — (String)

            The MongoDB database name. This setting isn't used when AuthType is set to "no".

            The default is "admin".

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • KinesisSettings — (map)

          The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

          • StreamArn — (String)

            The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • ServiceAccessRoleArn — (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.

          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (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 — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

        • KafkaSettings — (map)

          The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

          • Broker — (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.

          • Topic — (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.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (Boolean)

            Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

          • MessageMaxBytes — (Integer)

            The maximum size in bytes for records created on the endpoint The default is 1,000,000.

          • IncludeNullAndEmpty — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • SecurityProtocol — (String)

            Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

            Possible values include:
            • "plaintext"
            • "ssl-authentication"
            • "ssl-encryption"
            • "sasl-ssl"
          • SslClientCertificateArn — (String)

            The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

          • SslClientKeyArn — (String)

            The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

          • SslClientKeyPassword — (String)

            The password for the client private key used to securely connect to a Kafka target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

          • SaslUsername — (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.

          • SaslPassword — (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.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

          • SaslMechanism — (String)

            For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

            Possible values include:
            • "scram-sha-512"
            • "plain"
          • SslEndpointIdentificationAlgorithm — (String)

            Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

            Possible values include:
            • "none"
            • "https"
        • ElasticsearchSettings — (map)

          The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

          • EndpointUrirequired — (String)

            The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

          • FullLoadErrorPercentage — (Integer)

            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.

          • ErrorRetryDuration — (Integer)

            The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

          • UseNewMappingType — (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 is false.

        • NeptuneSettings — (map)

          The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

          • ServiceAccessRoleArn — (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.

          • S3BucketNamerequired — (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.

          • S3BucketFolderrequired — (String)

            A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

          • ErrorRetryDuration — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (Integer)

            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.

          • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

        • RedshiftSettings — (map)

          Settings for the Amazon Redshift endpoint.

          • AcceptAnyDate — (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 or false (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 — (String)

            Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

          • BucketFolder — (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 the COPY 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 — (String)

            The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

          • CaseSensitiveNames — (Boolean)

            If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

          • CompUpdate — (Boolean)

            If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

          • ConnectionTimeout — (Integer)

            A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

          • DatabaseName — (String)

            The name of the Amazon Redshift data warehouse (service) that you are working with.

          • DateFormat — (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'. Using auto 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 — (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 is false.

          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ExplicitIds — (Boolean)

            This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

          • FileTransferUploadStreams — (Integer)

            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 — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (String)

            The password for the user named in the username property.

          • Port — (Integer)

            The port number for Amazon Redshift. The default value is 5439.

          • RemoveQuotes — (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 is false.

          • ReplaceInvalidChars — (String)

            A list of characters that you want to replace. Use with ReplaceChars.

          • ReplaceChars — (String)

            A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

          • ServerName — (String)

            The name of the Amazon Redshift cluster you are using.

          • ServiceAccessRoleArn — (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.

          • ServerSideEncryptionKmsKeyId — (String)

            The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

          • TimeFormat — (String)

            The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

          • TruncateColumns — (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 is false.

          • Username — (String)

            An Amazon Redshift user name for a registered user.

          • WriteBufferSize — (Integer)

            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).

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

        • PostgreSQLSettings — (map)

          The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

          • AfterConnectScript — (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 — (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.

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

            Example: maxFileSize=512

          • DatabaseName — (String)

            Database name for the endpoint.

          • DdlArtifactsSchema — (String)

            The schema in which the operational DDL database artifacts are created.

            Example: ddlArtifactsSchema=xyzddlschema;

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

            Example: executeTimeout=100;

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

            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 — (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.

          • HeartbeatSchema — (String)

            Sets the schema in which the heartbeat artifacts are created.

          • HeartbeatFrequency — (Integer)

            Sets the WAL heartbeat frequency (in minutes).

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5432.

          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

          • PluginName — (String)

            Specifies the plugin to use to create a replication slot.

            Possible values include:
            • "no-preference"
            • "test-decoding"
            • "pglogical"
          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

          • MapJsonbAsClob — (Boolean)

            When true, DMS migrates JSONB values as CLOB.

          • MapLongVarcharAs — (String)

            When true, DMS migrates LONG values as VARCHAR.

            Possible values include:
            • "wstring"
            • "clob"
            • "nclob"
          • DatabaseMode — (String)

            Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

            Possible values include:
            • "default"
            • "babelfish"
          • BabelfishDatabaseName — (String)

            The Babelfish for Aurora PostgreSQL database name for the endpoint.

        • MySQLSettings — (map)

          The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (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 — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout (in seconds) for a MySQL source endpoint.

        • OracleSettings — (map)

          The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

          • AddSupplementalLogging — (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.

          • ArchivedLogDestId — (Integer)

            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.

          • AdditionalArchivedLogDestId — (Integer)

            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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • ExtraArchivedLogDestIds — (Array<Integer>)

            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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • AllowSelectNestedTables — (Boolean)

            Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

          • ParallelAsmReadThreads — (Integer)

            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.

          • ReadAheadBlocks — (Integer)

            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).

          • AccessAlternateDirectly — (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.

          • UseAlternateFolderForOnline — (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.

          • OraclePathPrefix — (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.

          • UsePathPrefix — (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.

          • ReplacePathPrefix — (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.

          • EnableHomogenousTablespace — (Boolean)

            Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

          • DirectPathNoLog — (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.

          • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

            For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

            For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

            Possible values include:
            • "default"
            • "char"
            • "byte"
          • DatabaseName — (String)

            Database name for the endpoint.

          • DirectPathParallelLoad — (Boolean)

            When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

            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 — (Integer)

            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

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ReadTableSpaceName — (Boolean)

            When set to true, this attribute supports tablespace replication.

          • RetryInterval — (Integer)

            Specifies the number of seconds that the system waits before resending a query.

            Example: retryInterval=6;

          • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • ServerName — (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 — (String)

            Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

          • StandbyDelayTime — (Integer)

            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.

          • Username — (String)

            Endpoint connection user name.

          • UseBFile — (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 — (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 — (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 set UseBfile 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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

          • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

            Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerOracleAsmSecretId — (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.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • ConvertTimestampWithZoneToUTC — (Boolean)

            When true, converts timestamps with the timezone datatype to their UTC value.

          • OpenTransactionWindow — (Integer)

            The timeframe in minutes to check for open transactions for a CDC-only task.

            You can specify an integer value between 0 (the default) and 240 (the maximum).

            Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
        • SybaseSettings — (map)

          The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

        • MicrosoftSQLServerSettings — (map)

          The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

          • Port — (Integer)

            Endpoint TCP port.

          • BcpPacketSize — (Integer)

            The maximum size of the packets (in bytes) used to transfer data using BCP.

          • DatabaseName — (String)

            Database name for the endpoint.

          • ControlTablesFileGroup — (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.

          • Password — (String)

            Endpoint connection password.

          • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

            Possible values include:
            • "rely-on-sql-server-replication-agent"
            • "exclusive-automatic-truncation"
            • "shared-automatic-truncation"
          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • UseBcpFullLoad — (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 — (Boolean)

            When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

          • TlogAccessMode — (String)

            Indicates the mode used to fetch CDC data.

            Possible values include:
            • "BackupOnly"
            • "PreferBackup"
            • "PreferTlog"
            • "TlogOnly"
          • ForceLobLookup — (Boolean)

            Forces LOB lookup on inline LOB.

        • IBMDb2Settings — (map)

          The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default value is 50000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • SetDataCaptureChanges — (Boolean)

            Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

          • CurrentLsn — (String)

            For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

          • MaxKBytesPerRead — (Integer)

            Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

          • LoadTimeout — (Integer)

            The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

          • WriteBufferSize — (Integer)

            The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

          • KeepCsvFiles — (Boolean)

            If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

            The default value is false.

        • DocDbSettings — (map)

          Provides information that defines a DocumentDB endpoint.

          • Username — (String)

            The user name you use to access the DocumentDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the DocumentDB source endpoint.

          • ServerName — (String)

            The name of the server on the DocumentDB source endpoint.

          • Port — (Integer)

            The port value for the DocumentDB source endpoint.

          • DatabaseName — (String)

            The database name on the DocumentDB source endpoint.

          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (Boolean)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (Integer)

            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 is 1000.

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • RedisSettings — (map)

          The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

          • ServerNamerequired — (String)

            Fully qualified domain name of the endpoint.

          • Portrequired — (Integer)

            Transmission Control Protocol (TCP) port for the endpoint.

          • SslSecurityProtocol — (String)

            The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

            Possible values include:
            • "plaintext"
            • "ssl-encryption"
          • AuthType — (String)

            The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

            Possible values include:
            • "none"
            • "auth-role"
            • "auth-token"
          • AuthUserName — (String)

            The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

          • AuthPassword — (String)

            The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

        • GcpMySQLSettings — (map)

          Settings in JSON format for the source GCP MySQL endpoint.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (String)

            Specifies where to migrate source tables on the target, either to a single database or multiple databases.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (String)

            The MySQL host name.

          • ServerTimezone — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

        • TimestreamSettings — (map)

          The settings for the Amazon Timestream target endpoint. For more information, see the TimestreamSettings structure.

          • DatabaseNamerequired — (String)

            Database name for the endpoint.

          • MemoryDurationrequired — (Integer)

            Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

          • MagneticDurationrequired — (Integer)

            Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

          • CdcInsertsAndUpdates — (Boolean)

            Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

          • EnableMagneticStoreWrites — (Boolean)

            Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

describeEndpointSettings(params = {}, callback) ⇒ AWS.Request

Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.

Service Reference:

Examples:

Calling the describeEndpointSettings operation

var params = {
  EngineName: 'STRING_VALUE', /* required */
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeEndpointSettings(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EngineName — (String)

      The database engine used for your source or target endpoint.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • EndpointSettings — (Array<map>)

        Descriptions of the endpoint settings available for your source or target database engine.

        • Name — (String)

          The name that you want to give the endpoint settings.

        • Type — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "string"
          • "boolean"
          • "integer"
          • "enum"
        • EnumValues — (Array<String>)

          Enumerated values to use for this endpoint.

        • Sensitive — (Boolean)

          A value that marks this endpoint setting as sensitive.

        • Units — (String)

          The unit of measure for this endpoint setting.

        • Applicability — (String)

          The relevance or validity of an endpoint setting for an engine name and its endpoint type.

        • IntValueMin — (Integer)

          The minimum value of an endpoint setting that is of type int.

        • IntValueMax — (Integer)

          The maximum value of an endpoint setting that is of type int.

        • DefaultValue — (String)

          The default value of the endpoint setting if no value is specified using CreateEndpoint or ModifyEndpoint.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEndpointTypes(params = {}, callback) ⇒ AWS.Request

Returns information about the type of endpoints available.

Service Reference:

Examples:

Describe endpoint types


/* Returns information about the type of endpoints available. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeEndpointTypes(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    SupportedEndpointTypes: [
    ]
   }
   */
 });

Calling the describeEndpointTypes operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeEndpointTypes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the endpoint types.

      Valid filter names: engine-name | endpoint-type

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        The types of endpoints that are supported.

        • EngineName — (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".

        • SupportsCDC — (Boolean)

          Indicates if change data capture (CDC) is supported.

        • EndpointType — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • ReplicationInstanceEngineMinimumVersion — (String)

          The earliest DMS engine version that supports this endpoint engine. Note that endpoint engines released with DMS versions earlier than 3.1.1 do not return a value for this parameter.

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEngineVersions(params = {}, callback) ⇒ AWS.Request

Returns information about the replication instance versions used in the project.

Service Reference:

Examples:

Calling the describeEngineVersions operation

var params = {
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeEngineVersions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EngineVersions — (Array<map>)

        Returned EngineVersion objects that describe the replication instance engine versions used in the project.

        • Version — (String)

          The version number of the replication instance.

        • Lifecycle — (String)

          The lifecycle status of the replication instance version. Valid values are DEPRECATED, DEFAULT_VERSION, and ACTIVE.

        • ReleaseStatus — (String)

          The release status of the replication instance version.

          Possible values include:
          • "beta"
          • "prod"
        • LaunchDate — (Date)

          The date when the replication instance version became publicly available.

        • AutoUpgradeDate — (Date)

          The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version setting is enabled.

        • DeprecationDate — (Date)

          The date when the replication instance version will be deprecated and can no longer be requested.

        • ForceUpgradeDate — (Date)

          The date when the replication instance will have a version upgrade forced.

        • AvailableUpgrades — (Array<String>)

          The list of valid replication instance versions that you can upgrade to.

      • Marker — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEventCategories(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the describeEventCategories operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  SourceType: 'STRING_VALUE'
};
dms.describeEventCategories(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SourceType — (String)

      The type of DMS resource that generates events.

      Valid values: replication-instance | replication-task

    • Filters — (Array<map>)

      Filters applied to the event categories.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EventCategoryGroupList — (Array<map>)

        A list of event categories.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • EventCategories — (Array<String>)

          A list of event categories from a source type that you've chosen.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEvents(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the describeEvents operation

var params = {
  Duration: 'NUMBER_VALUE',
  EndTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
  EventCategories: [
    'STRING_VALUE',
    /* more items */
  ],
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  SourceIdentifier: 'STRING_VALUE',
  SourceType: replication-instance,
  StartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789
};
dms.describeEvents(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SourceIdentifier — (String)

      The identifier of an event source.

    • SourceType — (String)

      The type of DMS resource that generates events.

      Valid values: replication-instance | replication-task

      Possible values include:
      • "replication-instance"
    • StartTime — (Date)

      The start time for the events to be listed.

    • EndTime — (Date)

      The end time for the events to be listed.

    • Duration — (Integer)

      The duration of the events to be listed.

    • EventCategories — (Array<String>)

      A list of event categories for the source type that you've chosen.

    • Filters — (Array<map>)

      Filters applied to events. The only valid filter is replication-instance-id.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • Events — (Array<map>)

        The events described.

        • SourceIdentifier — (String)

          The identifier of an event source.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | endpoint | replication-task

          Possible values include:
          • "replication-instance"
        • Message — (String)

          The event message.

        • EventCategories — (Array<String>)

          The event categories available for the specified source type.

        • Date — (Date)

          The date of the event.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeEventSubscriptions(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the describeEventSubscriptions operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  SubscriptionName: 'STRING_VALUE'
};
dms.describeEventSubscriptions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SubscriptionName — (String)

      The name of the DMS event subscription to be described.

    • Filters — (Array<map>)

      Filters applied to event subscriptions.

      Valid filter names: event-subscription-arn | event-subscription-id

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • EventSubscriptionsList — (Array<map>)

        A list of event subscriptions.

        • CustomerAwsId — (String)

          The Amazon Web Services customer account associated with the DMS event notification subscription.

        • CustSubscriptionId — (String)

          The DMS event notification subscription Id.

        • SnsTopicArn — (String)

          The topic ARN of the DMS event notification subscription.

        • Status — (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 — (String)

          The time the DMS event notification subscription was created.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • SourceIdsList — (Array<String>)

          A list of source Ids for the event subscription.

        • EventCategoriesList — (Array<String>)

          A lists of event categories.

        • Enabled — (Boolean)

          Boolean value that indicates if the event subscription is enabled.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeExtensionPackAssociations(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.

Examples:

Describe Extension Pack Associations


/* Returns a paginated list of extension pack associations for the specified migration project. */

 var params = {
  Filters: [
     {
    Name: "instance-profile-identifier", 
    Values: [
       "arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
    ]
   }
  ], 
  Marker: "0123456789abcdefghijklmnopqrs", 
  MaxRecords: 20, 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.describeExtensionPackAssociations(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeExtensionPackAssociations operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeExtensionPackAssociations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The name or Amazon Resource Name (ARN) for the migration project.

    • Filters — (Array<map>)

      Filters applied to the extension pack associations described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of extension pack associations for the specified migration project.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleetAdvisorCollectors(params = {}, callback) ⇒ AWS.Request

Returns a list of the Fleet Advisor collectors in your account.

Service Reference:

Examples:

Calling the describeFleetAdvisorCollectors operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeFleetAdvisorCollectors(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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 example d4610ac5-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"

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      Sets the maximum number of records returned in the response.

    • NextToken — (String)

      If NextToken is returned by a previous response, there are more results available. The value of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Collectors — (Array<map>)

        Provides descriptions of the Fleet Advisor collectors, including the collectors' name and ID, and the latest inventory data.

        • CollectorReferencedId — (String)

          The reference ID of the Fleet Advisor collector.

        • CollectorName — (String)

          The name of the Fleet Advisor collector .

        • CollectorVersion — (String)

          The version of your Fleet Advisor collector, in semantic versioning format, for example 1.0.2

        • VersionStatus — (String)

          Whether the collector version is up to date.

          Possible values include:
          • "UP_TO_DATE"
          • "OUTDATED"
          • "UNSUPPORTED"
        • Description — (String)

          A summary description of the Fleet Advisor collector.

        • S3BucketName — (String)

          The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.

        • ServiceAccessRoleArn — (String)

          The IAM role that grants permissions to access the specified Amazon S3 bucket.

        • CollectorHealthCheck — (map)

          Describes the last Fleet Advisor collector health check.

          • CollectorStatus — (String)

            The status of the Fleet Advisor collector.

            Possible values include:
            • "UNREGISTERED"
            • "ACTIVE"
          • LocalCollectorS3Access — (Boolean)

            Whether the local collector can access its Amazon S3 bucket.

          • WebCollectorS3Access — (Boolean)

            Whether the web collector can access its Amazon S3 bucket.

          • WebCollectorGrantedRoleBasedAccess — (Boolean)

            Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.

        • LastDataReceived — (String)

          The timestamp of the last time the collector received data, in the following format: 2022-01-24T19:04:02.596113Z

        • RegisteredDate — (String)

          The timestamp when DMS registered the collector, in the following format: 2022-01-24T19:04:02.596113Z

        • CreatedDate — (String)

          The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z

        • ModifiedDate — (String)

          The timestamp when DMS last modified the collector, in the following format: 2022-01-24T19:04:02.596113Z

        • InventoryData — (map)

          Describes a Fleet Advisor collector inventory.

          • NumberOfDatabases — (Integer)

            The number of databases in the Fleet Advisor collector inventory.

          • NumberOfSchemas — (Integer)

            The number of schemas in the Fleet Advisor collector inventory.

      • NextToken — (String)

        If NextToken is returned, there are more results available. The value of NextToken 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleetAdvisorDatabases(params = {}, callback) ⇒ AWS.Request

Returns a list of Fleet Advisor databases in your account.

Service Reference:

Examples:

Calling the describeFleetAdvisorDatabases operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeFleetAdvisorDatabases(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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"

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      Sets the maximum number of records returned in the response.

    • NextToken — (String)

      If NextToken is returned by a previous response, there are more results available. The value of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Databases — (Array<map>)

        Provides descriptions of the Fleet Advisor collector databases, including the database's collector, ID, and name.

        • DatabaseId — (String)

          The ID of a database in a Fleet Advisor collector inventory.

        • DatabaseName — (String)

          The name of a database in a Fleet Advisor collector inventory.

        • IpAddress — (String)

          The IP address of a database in a Fleet Advisor collector inventory.

        • NumberOfSchemas — (Integer)

          The number of schemas in a Fleet Advisor collector inventory database.

        • Server — (map)

          The server name of a database in a Fleet Advisor collector inventory.

          • ServerId — (String)

            The ID of a server in a Fleet Advisor collector inventory.

          • IpAddress — (String)

            The IP address of a server in a Fleet Advisor collector inventory.

          • ServerName — (String)

            The name address of a server in a Fleet Advisor collector inventory.

        • SoftwareDetails — (map)

          The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.

          • Engine — (String)

            The database engine of a database in a Fleet Advisor collector inventory, for example Microsoft SQL Server.

          • EngineVersion — (String)

            The database engine version of a database in a Fleet Advisor collector inventory, for example 2019.

          • EngineEdition — (String)

            The database engine edition of a database in a Fleet Advisor collector inventory, for example Express.

          • ServicePack — (String)

            The service pack level of the database.

          • SupportLevel — (String)

            The support level of the database, for example Mainstream support.

          • OsArchitecture — (Integer)

            The operating system architecture of the database.

          • Tooltip — (String)

            Information about the database engine software, for example Mainstream support ends on November 14th, 2024.

        • Collectors — (Array<map>)

          A list of collectors associated with the database.

          • CollectorReferencedId — (String)

            The reference ID of the Fleet Advisor collector.

          • CollectorName — (String)

            The name of the Fleet Advisor collector.

      • NextToken — (String)

        If NextToken is returned, there are more results available. The value of NextToken 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleetAdvisorLsaAnalysis(params = {}, callback) ⇒ AWS.Request

Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.

Service Reference:

Examples:

Calling the describeFleetAdvisorLsaAnalysis operation

var params = {
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeFleetAdvisorLsaAnalysis(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxRecords — (Integer)

      Sets the maximum number of records returned in the response.

    • NextToken — (String)

      If NextToken is returned by a previous response, there are more results available. The value of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Analysis — (Array<map>)

        A list of FleetAdvisorLsaAnalysisResponse objects.

        • LsaAnalysisId — (String)

          The ID of an LSA analysis run by a Fleet Advisor collector.

        • Status — (String)

          The status of an LSA analysis run by a Fleet Advisor collector.

      • NextToken — (String)

        If NextToken is returned, there are more results available. The value of NextToken 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleetAdvisorSchemaObjectSummary(params = {}, callback) ⇒ AWS.Request

Provides descriptions of the schemas discovered by your Fleet Advisor collectors.

Examples:

Calling the describeFleetAdvisorSchemaObjectSummary operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeFleetAdvisorSchemaObjectSummary(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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 example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

      Example: describe-fleet-advisor-schema-object-summary --filter Name="schema-id",Values="50"

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      Sets the maximum number of records returned in the response.

    • NextToken — (String)

      If NextToken is returned by a previous response, there are more results available. The value of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • FleetAdvisorSchemaObjects — (Array<map>)

        A collection of FleetAdvisorSchemaObjectResponse objects.

        • SchemaId — (String)

          The ID of a schema object in a Fleet Advisor collector inventory.

        • ObjectType — (String)

          The type of the schema object, as reported by the database engine. Examples include the following:

          • function

          • trigger

          • SYSTEM_TABLE

          • QUEUE

        • NumberOfObjects — (Integer)

          The number of objects in a schema object in a Fleet Advisor collector inventory.

        • CodeLineCount — (Integer)

          The number of lines of code in a schema object in a Fleet Advisor collector inventory.

        • CodeSize — (Integer)

          The size level of the code in a schema object in a Fleet Advisor collector inventory.

      • NextToken — (String)

        If NextToken is returned, there are more results available. The value of NextToken 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleetAdvisorSchemas(params = {}, callback) ⇒ AWS.Request

Returns a list of schemas detected by Fleet Advisor Collectors in your account.

Service Reference:

Examples:

Calling the describeFleetAdvisorSchemas operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeFleetAdvisorSchemas(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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 example Simple.

      • 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 example 15.

      • 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"

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      Sets the maximum number of records returned in the response.

    • NextToken — (String)

      If NextToken is returned by a previous response, there are more results available. The value of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • FleetAdvisorSchemas — (Array<map>)

        A collection of SchemaResponse objects.

        • CodeLineCount — (Integer)

          The number of lines of code in a schema in a Fleet Advisor collector inventory.

        • CodeSize — (Integer)

          The size level of the code in a schema in a Fleet Advisor collector inventory.

        • Complexity — (String)

          The complexity level of the code in a schema in a Fleet Advisor collector inventory.

        • Server — (map)

          The database server for a schema in a Fleet Advisor collector inventory.

          • ServerId — (String)

            The ID of a server in a Fleet Advisor collector inventory.

          • IpAddress — (String)

            The IP address of a server in a Fleet Advisor collector inventory.

          • ServerName — (String)

            The name address of a server in a Fleet Advisor collector inventory.

        • DatabaseInstance — (map)

          The database for a schema in a Fleet Advisor collector inventory.

          • DatabaseId — (String)

            The ID of a database in a Fleet Advisor collector inventory.

          • DatabaseName — (String)

            The name of a database in a Fleet Advisor collector inventory.

          • DatabaseIpAddress — (String)

            The IP address of a database in a Fleet Advisor collector inventory.

          • DatabaseEngine — (String)

            The database engine of a database in a Fleet Advisor collector inventory, for example PostgreSQL.

        • SchemaId — (String)

          The ID of a schema in a Fleet Advisor collector inventory.

        • SchemaName — (String)

          The name of a schema in a Fleet Advisor collector inventory.

        • OriginalSchema — (map)

          Describes a schema in a Fleet Advisor collector inventory.

          • SchemaId — (String)

            The ID of a schema in a Fleet Advisor collector inventory.

          • SchemaName — (String)

            The name of a schema in a Fleet Advisor collector inventory.

          • DatabaseId — (String)

            The ID of a database in a Fleet Advisor collector inventory.

          • DatabaseName — (String)

            The name of a database in a Fleet Advisor collector inventory.

          • DatabaseIpAddress — (String)

            The IP address of a database in a Fleet Advisor collector inventory.

        • Similarity — (Float)

          The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.

      • NextToken — (String)

        If NextToken is returned, there are more results available. The value of NextToken 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeInstanceProfiles(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of instance profiles for your account in the current region.

Service Reference:

Examples:

Calling the describeInstanceProfiles operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeInstanceProfiles(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the instance profiles described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • InstanceProfiles — (Array<map>)

        A description of instance profiles.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.

        • AvailabilityZone — (String)

          The Availability Zone where the instance profile runs.

        • KmsKeyArn — (String)

          The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

          If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

          KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

        • NetworkType — (String)

          Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

        • InstanceProfileName — (String)

          The user-friendly name for the instance profile.

        • Description — (String)

          A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • InstanceProfileCreationTime — (Date)

          The time the instance profile was created.

        • SubnetGroupIdentifier — (String)

          The identifier of the subnet group that is associated with the instance profile.

        • VpcSecurityGroups — (Array<String>)

          The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMetadataModelAssessments(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of metadata model assessments for your account in the current region.

Examples:

Describe Metadata Model Assessments


/* Returns a paginated list of metadata model assessments for your account in the current region. */

 var params = {
  Filters: [
     {
    Name: "my-migration-project", 
    Values: [
       "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
    ]
   }
  ], 
  Marker: "0123456789abcdefghijklmnopqrs", 
  MaxRecords: 20, 
  MigrationProjectIdentifier: ""
 };
 dms.describeMetadataModelAssessments(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "ASDLKJASDJKHDFHGDNBGDASKJHGFK", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeMetadataModelAssessments operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMetadataModelAssessments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The name or Amazon Resource Name (ARN) of the migration project.

    • Filters — (Array<map>)

      Filters applied to the metadata model assessments described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of metadata model assessments for the specified migration project.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMetadataModelConversions(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of metadata model conversions for a migration project.

Examples:

Describe Metadata Model Conversions


/* Returns a paginated list of metadata model conversions for a migration project. */

 var params = {
  Filters: [
     {
    Name: "request-id", 
    Values: [
       "01234567-89ab-cdef-0123-456789abcdef"
    ]
   }
  ], 
  Marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456", 
  MaxRecords: 123, 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
 };
 dms.describeMetadataModelConversions(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeMetadataModelConversions operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMetadataModelConversions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • Filters — (Array<map>)

      Filters applied to the metadata model conversions described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of metadata model conversions.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMetadataModelExportsAsScript(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of metadata model exports.

Examples:

Describe Metadata Model Exports As Script


/* Returns a paginated list of metadata model exports. */

 var params = {
  Filters: [
     {
    Name: "request-id", 
    Values: [
       "01234567-89ab-cdef-0123-456789abcdef"
    ]
   }
  ], 
  Marker: "0123456789abcdefghijklmnopqrs", 
  MaxRecords: 20, 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.describeMetadataModelExportsAsScript(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeMetadataModelExportsAsScript operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMetadataModelExportsAsScript(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • Filters — (Array<map>)

      Filters applied to the metadata model exports described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of metadata model exports.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMetadataModelExportsToTarget(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of metadata model exports.

Examples:

Describe Metadata Model Exports To Target


/* Returns a paginated list of metadata model exports. */

 var params = {
  Filters: [
     {
    Name: "request-id", 
    Values: [
       "01234567-89ab-cdef-0123-456789abcdef"
    ]
   }
  ], 
  Marker: "0123456789abcdefghijklmnopqrs", 
  MaxRecords: 20, 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.describeMetadataModelExportsToTarget(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeMetadataModelExportsToTarget operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMetadataModelExportsToTarget(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • Filters — (Array<map>)

      Filters applied to the metadata model exports described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of metadata model exports.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMetadataModelImports(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of metadata model imports.

Service Reference:

Examples:

Describe Metadata Model Imports


/* Returns a paginated list of metadata model imports. */

 var params = {
  Filters: [
     {
    Name: "request-id", 
    Values: [
       "01234567-89ab-cdef-0123-456789abcdef"
    ]
   }
  ], 
  Marker: "0123456789abcdefghijklmnopqrs", 
  MaxRecords: 20, 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.describeMetadataModelImports(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    Requests: [
       {
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", 
      Status: "SUCCESS"
     }
    ]
   }
   */
 });

Calling the describeMetadataModelImports operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMetadataModelImports(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • Filters — (Array<map>)

      Filters applied to the metadata model imports described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

    • MaxRecords — (Integer)

      A paginated list of metadata model imports.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • Requests — (Array<map>)

        A paginated list of metadata model imports.

        • Status — (String)

          The schema conversion action status.

        • RequestIdentifier — (String)

          The identifier for the schema conversion action.

        • MigrationProjectArn — (String)

          The migration project ARN.

        • Error — (map)

          Provides error information about a project.

          • defaultErrorDetails — (map)

            Error information about a project.

            • Message — (String)

              The error message.

        • ExportSqlDetails — (map)

          Provides information about a metadata model assessment exported to SQL.

          • S3ObjectKey — (String)

            The Amazon S3 object key for the object containing the exported metadata model assessment.

          • ObjectURL — (String)

            The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeMigrationProjects(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of migration projects for your account in the current region.

Service Reference:

Examples:

Describe Migration Projects


/* Returns a paginated list of migration projects for your account in the current region. */

 var params = {
  Filters: [
     {
    Name: "migration-project-identifier", 
    Values: [
       "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901"
    ]
   }
  ], 
  Marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456", 
  MaxRecords: 20
 };
 dms.describeMigrationProjects(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "0123456789abcdefghijklmnopqrs", 
    MigrationProjects: [
       {
      InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      InstanceProfileName: "my-instance-profile", 
      MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
      MigrationProjectCreationTime: <Date Representation>, 
      MigrationProjectName: "my-migration-project", 
      SchemaConversionApplicationAttributes: {
       S3BucketPath: "my-s3-bucket/my_folder", 
       S3BucketRoleArn: "arn:aws:iam::012345678901:role/my-s3role"
      }, 
      SourceDataProviderDescriptors: [
         {
        DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
        DataProviderName: "all-source-oracle-12", 
        SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role", 
        SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-012345"
       }
      ], 
      TargetDataProviderDescriptors: [
         {
        DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
        DataProviderName: "my-data-provider", 
        SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/dmytbon-admin-access", 
        SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-012345"
       }
      ]
     }
    ]
   }
   */
 });

Calling the describeMigrationProjects operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeMigrationProjects(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the migration projects described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results.

    • Marker — (String)

      Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.

      • MigrationProjects — (Array<map>)

        A description of migration projects.

        • MigrationProjectName — (String)

          The name of the migration project.

        • MigrationProjectArn — (String)

          The ARN string that uniquely identifies the migration project.

        • MigrationProjectCreationTime — (Date)

          The time when the migration project was created.

        • SourceDataProviderDescriptors — (Array<map>)

          Information about the source data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • TargetDataProviderDescriptors — (Array<map>)

          Information about the target data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) of the instance profile for your migration project.

        • InstanceProfileName — (String)

          The name of the associated instance profile.

        • TransformationRules — (String)

          The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

        • Description — (String)

          A user-friendly description of the migration project.

        • SchemaConversionApplicationAttributes — (map)

          The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

          • S3BucketPath — (String)

            The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

          • S3BucketRoleArn — (String)

            The ARN for the role the application uses to access its Amazon S3 bucket.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeOrderableReplicationInstances(params = {}, callback) ⇒ AWS.Request

Returns information about the replication instance types that can be created in the specified region.

Examples:

Describe orderable replication instances


/* Returns information about the replication instance types that can be created in the specified region. */

 var params = {
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeOrderableReplicationInstances(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    OrderableReplicationInstances: [
    ]
   }
   */
 });

Calling the describeOrderableReplicationInstances operation

var params = {
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeOrderableReplicationInstances(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • OrderableReplicationInstances — (Array<map>)

        The order-able replication instances available.

        • EngineVersion — (String)

          The version of the replication engine.

        • ReplicationInstanceClass — (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 — (String)

          The type of storage used by the replication instance.

        • MinAllocatedStorage — (Integer)

          The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.

        • MaxAllocatedStorage — (Integer)

          The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.

        • DefaultAllocatedStorage — (Integer)

          The default amount of storage (in gigabytes) that is allocated for the replication instance.

        • IncludedAllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • AvailabilityZones — (Array<String>)

          List of Availability Zones for this replication instance.

        • ReleaseStatus — (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.

          Note: DMS supports the ReleaseStatus parameter in versions 3.1.4 and later.
          Possible values include:
          • "beta"
          • "prod"
      • Marker — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describePendingMaintenanceActions(params = {}, callback) ⇒ AWS.Request

For internal use only

Examples:

Calling the describePendingMaintenanceActions operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  ReplicationInstanceArn: 'STRING_VALUE'
};
dms.describePendingMaintenanceActions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

    • Filters — (Array<map>)

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • Marker — (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 — (Integer)

      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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • PendingMaintenanceActions — (Array<map>)

        The pending maintenance action.

        • ResourceIdentifier — (String)

          The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN) for DMS in the DMS documentation.

        • PendingMaintenanceActionDetails — (Array<map>)

          Detailed information about the pending maintenance action.

          • Action — (String)

            The type of pending maintenance action that is available for the resource.

          • AutoAppliedAfterDate — (Date)

            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.

          • ForcedApplyDate — (Date)

            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 — (String)

            The type of opt-in request that has been received for the resource.

          • CurrentApplyDate — (Date)

            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 the AutoAppliedAfterDate and ForcedApplyDate parameter values. This value is blank if an opt-in request has not been received and nothing has been specified for AutoAppliedAfterDate or ForcedApplyDate.

          • Description — (String)

            A description providing more detail about the maintenance action.

      • Marker — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeRecommendationLimitations(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.

Examples:

Calling the describeRecommendationLimitations operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeRecommendationLimitations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the limitations described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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 — (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 of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • NextToken — (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.

      • Limitations — (Array<map>)

        The list of limitations for recommendations of target Amazon Web Services engines.

        • DatabaseId — (String)

          The identifier of the source database.

        • EngineName — (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".

        • Name — (String)

          The name of the limitation. Describes unsupported database features, migration action items, and other limitations.

        • Description — (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.

        • Impact — (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".

        • Type — (String)

          The type of the limitation, such as action required, upgrade required, and limited feature.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeRecommendations(params = {}, callback) ⇒ AWS.Request

Returns a paginated list of target engine recommendations for your source databases.

Service Reference:

Examples:

Calling the describeRecommendations operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxRecords: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
dms.describeRecommendations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the target engine recommendations described in the form of key-value pairs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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 — (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 of NextToken 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • NextToken — (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 — (Array<map>)

        The list of recommendations of target engines that Fleet Advisor created for the source database.

        • DatabaseId — (String)

          The identifier of the source database for which Fleet Advisor provided this recommendation.

        • EngineName — (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".

        • CreatedDate — (String)

          The date when Fleet Advisor created the target engine recommendation.

        • Status — (String)

          The status of the target engine recommendation. Valid values include "alternate", "in-progress", "not-viable", and "recommended".

        • Preferred — (Boolean)

          Indicates that this target is the rightsized migration destination.

        • Settings — (map)

          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).

          • InstanceSizingTyperequired — (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".

          • WorkloadTyperequired — (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".

        • Data — (map)

          The recommendation of a target engine for the specified source database.

          • RdsEngine — (map)

            The recommendation of a target Amazon RDS database engine.

            • RequirementsToTarget — (map)

              Supplemental information about the requirements to the recommended target database on Amazon RDS.

              • EngineEdition — (String)

                The required target Amazon RDS engine edition.

              • InstanceVcpu — (Float)

                The required number of virtual CPUs (vCPU) on the Amazon RDS DB instance.

              • InstanceMemory — (Float)

                The required memory on the Amazon RDS DB instance.

              • StorageSize — (Integer)

                The required Amazon RDS DB instance storage size.

              • StorageIops — (Integer)

                The required number of I/O operations completed each second (IOPS) on your Amazon RDS DB instance.

              • DeploymentOption — (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.

              • EngineVersion — (String)

                The required target Amazon RDS engine version.

            • TargetConfiguration — (map)

              Supplemental information about the configuration of the recommended target database on Amazon RDS.

              • EngineEdition — (String)

                Describes the recommended target Amazon RDS engine edition.

              • InstanceType — (String)

                Describes the recommended target Amazon RDS instance type.

              • InstanceVcpu — (Float)

                Describes the number of virtual CPUs (vCPU) on the recommended Amazon RDS DB instance that meets your requirements.

              • InstanceMemory — (Float)

                Describes the memory on the recommended Amazon RDS DB instance that meets your requirements.

              • StorageType — (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).

              • StorageSize — (Integer)

                Describes the storage size of the recommended Amazon RDS DB instance that meets your requirements.

              • StorageIops — (Integer)

                Describes the number of I/O operations completed each second (IOPS) on the recommended Amazon RDS DB instance that meets your requirements.

              • DeploymentOption — (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".

              • EngineVersion — (String)

                Describes the recommended target Amazon RDS engine version.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeRefreshSchemasStatus(params = {}, callback) ⇒ AWS.Request

Returns the status of the RefreshSchemas operation.

Service Reference:

Examples:

Describe refresh schema status


/* Returns the status of the refresh-schemas operation. */

 var params = {
  EndpointArn: ""
 };
 dms.describeRefreshSchemasStatus(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RefreshSchemasStatus: {
    }
   }
   */
 });

Calling the describeRefreshSchemasStatus operation

var params = {
  EndpointArn: 'STRING_VALUE' /* required */
};
dms.describeRefreshSchemasStatus(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RefreshSchemasStatus — (map)

        The status of the schema.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • Status — (String)

          The status of the schema.

          Possible values include:
          • "successful"
          • "failed"
          • "refreshing"
        • LastRefreshDate — (Date)

          The date the schema was last refreshed.

        • LastFailureMessage — (String)

          The last failure message for the schema.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationConfigs(params = {}, callback) ⇒ AWS.Request

Returns one or more existing DMS Serverless replication configurations as a list of structures.

Service Reference:

Examples:

Calling the describeReplicationConfigs operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationConfigs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the replication configs.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      • ReplicationConfigs — (Array<map>)

        Returned configuration parameters that describe each provisioned DMS Serverless replication.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

        • TargetEndpointArn — (String)

          The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

        • ReplicationType — (String)

          The type of the replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • ComputeConfig — (map)

          Configuration parameters for provisioning an DMS serverless replication.

          • AvailabilityZone — (String)

            The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

          • DnsNameServers — (String)

            A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

          • KmsKeyId — (String)

            An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

            If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

            KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

          • MaxCapacityUnits — (Integer)

            Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

          • MinCapacityUnits — (Integer)

            Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

          • MultiAZ — (Boolean)

            Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

          • PreferredMaintenanceWindow — (String)

            The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

            The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

            Constraints include a minimum 30-minute window.

          • ReplicationSubnetGroupId — (String)

            Specifies a subnet group identifier to associate with the DMS Serverless replication.

          • VpcSecurityGroupIds — (Array<String>)

            Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

        • ReplicationSettings — (String)

          Configuration parameters for an DMS serverless replication.

        • SupplementalSettings — (String)

          Additional parameters for an DMS serverless replication.

        • TableMappings — (String)

          Table mappings specified in the replication.

        • ReplicationConfigCreateTime — (Date)

          The time the serverless replication config was created.

        • ReplicationConfigUpdateTime — (Date)

          The time the serverless replication config was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationInstances(params = {}, callback) ⇒ AWS.Request

Returns information about replication instances for your account in the current region.

Service Reference:

Examples:

Describe replication instances


/* Returns the status of the refresh-schemas operation. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeReplicationInstances(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    ReplicationInstances: [
    ]
   }
   */
 });

Calling the describeReplicationInstances operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationInstances(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to replication instances.

      Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        The replication instances described.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

describeReplicationInstanceTaskLogs(params = {}, callback) ⇒ AWS.Request

Returns information about the task logs for the specified task.

Examples:

Calling the describeReplicationInstanceTaskLogs operation

var params = {
  ReplicationInstanceArn: 'STRING_VALUE', /* required */
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationInstanceTaskLogs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationInstanceArn — (String)

        The Amazon Resource Name (ARN) of the replication instance.

      • ReplicationInstanceTaskLogs — (Array<map>)

        An array of replication task log metadata. Each member of the array contains the replication task name, ARN, and task log size (in bytes).

        • ReplicationTaskName — (String)

          The name of the replication task.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationInstanceTaskLogSize — (Integer)

          The size, in bytes, of the replication task log.

      • Marker — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplications(params = {}, callback) ⇒ AWS.Request

Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.

Service Reference:

Examples:

Calling the describeReplications operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplications(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to the replications.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (String)

        An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      • Replications — (Array<map>)

        The replication descriptions.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name for the ReplicationConfig associated with the replication.

        • SourceEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

        • TargetEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

        • ReplicationType — (String)

          The type of the serverless replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • Status — (String)

          The current status of the serverless replication.

        • ProvisionData — (map)

          Information about provisioning resources for an DMS serverless replication.

          • ProvisionState — (String)

            The current provisioning state

          • ProvisionedCapacityUnits — (Integer)

            The number of capacity units the replication is using.

          • DateProvisioned — (Date)

            The timestamp when DMS provisioned replication resources.

          • IsNewProvisioningAvailable — (Boolean)

            Whether the new provisioning is available to the replication.

          • DateNewProvisioningDataAvailable — (Date)

            The timestamp when provisioning became available.

          • ReasonForNewProvisioningData — (String)

            A message describing the reason that DMS provisioned new resources for the serverless replication.

        • StopReason — (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"

        • FailureMessages — (Array<String>)

          Error and other information about why a serverless replication failed.

        • ReplicationStats — (map)

          This object provides a collection of statistics about a serverless replication.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load serverless replication.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the replication, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this replication.

          • TablesLoading — (Integer)

            The number of tables currently loading for this replication.

          • TablesQueued — (Integer)

            The number of tables queued for this replication.

          • TablesErrored — (Integer)

            The number of errors that have occured for this replication.

          • FreshStartDate — (Date)

            The date the replication was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication is scheduled to start.

          • StopDate — (Date)

            The date the replication was stopped.

          • FullLoadStartDate — (Date)

            The date the replication full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication full load was finished.

        • StartReplicationType — (String)

          The replication type.

        • CdcStartTime — (Date)

          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.

        • CdcStartPosition — (String)

          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.

        • CdcStopPosition — (String)

          Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

        • RecoveryCheckpoint — (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.

        • ReplicationCreateTime — (Date)

          The time the serverless replication was created.

        • ReplicationUpdateTime — (Date)

          The time the serverless replication was updated.

        • ReplicationLastStopTime — (Date)

          The timestamp when replication was last stopped.

        • ReplicationDeprovisionTime — (Date)

          The timestamp when DMS will deprovision the replication.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationSubnetGroups(params = {}, callback) ⇒ AWS.Request

Returns information about the replication subnet groups.

Service Reference:

Examples:

Describe replication subnet groups


/* Returns information about the replication subnet groups. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeReplicationSubnetGroups(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    ReplicationSubnetGroups: [
    ]
   }
   */
 });

Calling the describeReplicationSubnetGroups operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationSubnetGroups(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to replication subnet groups.

      Valid filter names: replication-subnet-group-id

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication subnet groups.

        • ReplicationSubnetGroupIdentifier — (String)

          The identifier of the replication instance subnet group.

        • ReplicationSubnetGroupDescription — (String)

          A description for the replication subnet group.

        • VpcId — (String)

          The ID of the VPC.

        • SubnetGroupStatus — (String)

          The status of the subnet group.

        • Subnets — (Array<map>)

          The subnets that are in the subnet group.

          • SubnetIdentifier — (String)

            The subnet identifier.

          • SubnetAvailabilityZone — (map)

            The Availability Zone of the subnet.

            • Name — (String)

              The name of the Availability Zone.

          • SubnetStatus — (String)

            The status of the subnet.

        • SupportedNetworkTypes — (Array<String>)

          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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationTableStatistics(params = {}, callback) ⇒ AWS.Request

Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.

Examples:

Calling the describeReplicationTableStatistics operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationTableStatistics(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The replication config to describe.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • Filters — (Array<map>)

      Filters applied to the replication table statistics.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationConfigArn — (String)

        The Amazon Resource Name of the replication config.

      • Marker — (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.

      • ReplicationTableStatistics — (Array<map>)

        Returns table statistics on the replication, including table name, rows inserted, rows updated, and rows deleted.

        • SchemaName — (String)

          The schema name.

        • TableName — (String)

          The name of the table.

        • Inserts — (Integer)

          The number of insert actions performed on a table.

        • Deletes — (Integer)

          The number of delete actions performed on a table.

        • Updates — (Integer)

          The number of update actions performed on a table.

        • Ddls — (Integer)

          The data definition language (DDL) used to build and modify the structure of your tables.

        • AppliedInserts — (Integer)

          The number of insert actions applied on a target table.

        • AppliedDeletes — (Integer)

          The number of delete actions applied on a target table.

        • AppliedUpdates — (Integer)

          The number of update actions applied on a target table.

        • AppliedDdls — (Integer)

          The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

        • FullLoadRows — (Integer)

          The number of rows added during the full load operation.

        • FullLoadCondtnlChkFailedRows — (Integer)

          The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

        • FullLoadErrorRows — (Integer)

          The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

        • FullLoadStartTime — (Date)

          The time when the full load operation started.

        • FullLoadEndTime — (Date)

          The time when the full load operation completed.

        • FullLoadReloaded — (Boolean)

          A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

        • LastUpdateTime — (Date)

          The last time a table was updated.

        • TableState — (String)

          The state of the tables described.

          Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

        • ValidationPendingRecords — (Integer)

          The number of records that have yet to be validated.

        • ValidationFailedRecords — (Integer)

          The number of records that failed validation.

        • ValidationSuspendedRecords — (Integer)

          The number of records that couldn't be validated.

        • ValidationState — (String)

          The validation state of the table.

          This parameter can have the following values:

          • Not enabled – Validation isn't enabled for the table in the migration task.

          • Pending records – Some records in the table are waiting for validation.

          • Mismatched records – Some records in the table don't match between the source and target.

          • Suspended records – Some records in the table couldn't be validated.

          • No primary key –The table couldn't be validated because it has no primary key.

          • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.

          • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.

          • Error – The table couldn't be validated because of an unexpected error.

          • Pending validation – The table is waiting validation.

          • Preparing table – Preparing the table enabled in the migration task for validation.

          • Pending revalidation – All rows in the table are pending validation after the table was updated.

        • ValidationStateDetails — (String)

          Additional details about the state of validation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationTaskAssessmentResults(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the describeReplicationTaskAssessmentResults operation

var params = {
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  ReplicationTaskArn: 'STRING_VALUE'
};
dms.describeReplicationTaskAssessmentResults(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (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 and Marker parameters.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • BucketName — (String)

        - The Amazon S3 bucket where the task assessment report is located.

      • ReplicationTaskAssessmentResults — (Array<map>)

        The task assessment report.

        • ReplicationTaskIdentifier — (String)

          The replication task identifier of the task on which the task assessment was run.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskLastAssessmentDate — (Date)

          The date the task assessment was completed.

        • AssessmentStatus — (String)

          The status of the task assessment.

        • AssessmentResultsFile — (String)

          The file containing the results of the task assessment.

        • AssessmentResults — (String)

          The task assessment results in JSON format.

          The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the request.

        • S3ObjectUrl — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationTaskAssessmentRuns(params = {}, callback) ⇒ AWS.Request

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.

Note: This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.

Examples:

Calling the describeReplicationTaskAssessmentRuns operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationTaskAssessmentRuns(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 by MaxRecords.

      • ReplicationTaskAssessmentRuns — (Array<map>)

        One or more premigration assessment runs as specified by Filters.

        • ReplicationTaskAssessmentRunArn — (String)

          Amazon Resource Name (ARN) of this assessment run.

        • ReplicationTaskArn — (String)

          ARN of the migration task associated with this premigration assessment run.

        • Status — (String)

          Assessment run status.

          This status can have one of the following values:

          • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

          • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

          • "failed" – At least one individual assessment completed with a failed status.

          • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

          • "error-executing" – An internal error occurred while individual assessments ran (during running status).

          • "invalid state" – The assessment run is in an unknown state.

          • "passed" – All individual assessments have completed, and none has a failed status.

          • "provisioning" – Resources required to run individual assessments are being provisioned.

          • "running" – Individual assessments are being run.

          • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        • ReplicationTaskAssessmentRunCreationDate — (Date)

          Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

        • AssessmentProgress — (map)

          Indication of the completion progress for the individual assessments specified to run.

          • IndividualAssessmentCount — (Integer)

            The number of individual assessments that are specified to run.

          • IndividualAssessmentCompletedCount — (Integer)

            The number of individual assessments that have completed, successfully or not.

        • LastFailureMessage — (String)

          Last message generated by an individual assessment failure.

        • ServiceAccessRoleArn — (String)

          ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

        • ResultLocationBucket — (String)

          Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultLocationFolder — (String)

          Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultEncryptionMode — (String)

          Encryption mode used to encrypt the assessment run results.

        • ResultKmsKeyArn — (String)

          ARN of the KMS encryption key used to encrypt the assessment run results.

        • AssessmentRunName — (String)

          Unique name of the assessment run.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationTaskIndividualAssessments(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the describeReplicationTaskIndividualAssessments operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeReplicationTaskIndividualAssessments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      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

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 by MaxRecords.

      • ReplicationTaskIndividualAssessments — (Array<map>)

        One or more individual assessments as specified by Filters.

        • ReplicationTaskIndividualAssessmentArn — (String)

          Amazon Resource Name (ARN) of this individual assessment.

        • ReplicationTaskAssessmentRunArn — (String)

          ARN of the premigration assessment run that is created to run this individual assessment.

        • IndividualAssessmentName — (String)

          Name of this individual assessment.

        • Status — (String)

          Individual assessment status.

          This status can have one of the following values:

          • "cancelled"

          • "error"

          • "failed"

          • "passed"

          • "pending"

          • "running"

        • ReplicationTaskIndividualAssessmentStartDate — (Date)

          Date when this individual assessment was started as part of running the StartReplicationTaskAssessmentRun operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeReplicationTasks(params = {}, callback) ⇒ AWS.Request

Returns information about replication tasks for your account in the current region.

Service Reference:

Examples:

Describe replication tasks


/* Returns information about replication tasks for your account in the current region. */

 var params = {
  Filters: [
     {
    Name: "string", 
    Values: [
       "string", 
       "string"
    ]
   }
  ], 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeReplicationTasks(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    ReplicationTasks: [
    ]
   }
   */
 });

Calling the describeReplicationTasks operation

var params = {
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE',
  WithoutSettings: true || false
};
dms.describeReplicationTasks(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Filters — (Array<map>)

      Filters applied to replication tasks.

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • WithoutSettings — (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, choose false (the default).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication tasks.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

describeSchemas(params = {}, callback) ⇒ AWS.Request

Returns information about the schema for the specified endpoint.

Service Reference:

Examples:

Describe schemas


/* Returns information about the schema for the specified endpoint. */

 var params = {
  EndpointArn: "", 
  Marker: "", 
  MaxRecords: 123
 };
 dms.describeSchemas(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    Schemas: [
    ]
   }
   */
 });

Calling the describeSchemas operation

var params = {
  EndpointArn: 'STRING_VALUE', /* required */
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeSchemas(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<String>)

        The described schema.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeTableStatistics(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Describe table statistics


/* Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted. */

 var params = {
  Marker: "", 
  MaxRecords: 123, 
  ReplicationTaskArn: ""
 };
 dms.describeTableStatistics(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Marker: "", 
    ReplicationTaskArn: "", 
    TableStatistics: [
    ]
   }
   */
 });

Calling the describeTableStatistics operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  Filters: [
    {
      Name: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  Marker: 'STRING_VALUE',
  MaxRecords: 'NUMBER_VALUE'
};
dms.describeTableStatistics(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • Filters — (Array<map>)

      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.

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTaskArn — (String)

        The Amazon Resource Name (ARN) of the replication task.

      • TableStatistics — (Array<map>)

        The table statistics.

        • SchemaName — (String)

          The schema name.

        • TableName — (String)

          The name of the table.

        • Inserts — (Integer)

          The number of insert actions performed on a table.

        • Deletes — (Integer)

          The number of delete actions performed on a table.

        • Updates — (Integer)

          The number of update actions performed on a table.

        • Ddls — (Integer)

          The data definition language (DDL) used to build and modify the structure of your tables.

        • AppliedInserts — (Integer)

          The number of insert actions applied on a target table.

        • AppliedDeletes — (Integer)

          The number of delete actions applied on a target table.

        • AppliedUpdates — (Integer)

          The number of update actions applied on a target table.

        • AppliedDdls — (Integer)

          The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

        • FullLoadRows — (Integer)

          The number of rows added during the full load operation.

        • FullLoadCondtnlChkFailedRows — (Integer)

          The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

        • FullLoadErrorRows — (Integer)

          The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

        • FullLoadStartTime — (Date)

          The time when the full load operation started.

        • FullLoadEndTime — (Date)

          The time when the full load operation completed.

        • FullLoadReloaded — (Boolean)

          A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

        • LastUpdateTime — (Date)

          The last time a table was updated.

        • TableState — (String)

          The state of the tables described.

          Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

        • ValidationPendingRecords — (Integer)

          The number of records that have yet to be validated.

        • ValidationFailedRecords — (Integer)

          The number of records that failed validation.

        • ValidationSuspendedRecords — (Integer)

          The number of records that couldn't be validated.

        • ValidationState — (String)

          The validation state of the table.

          This parameter can have the following values:

          • Not enabled – Validation isn't enabled for the table in the migration task.

          • Pending records – Some records in the table are waiting for validation.

          • Mismatched records – Some records in the table don't match between the source and target.

          • Suspended records – Some records in the table couldn't be validated.

          • No primary key –The table couldn't be validated because it has no primary key.

          • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.

          • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.

          • Error – The table couldn't be validated because of an unexpected error.

          • Pending validation – The table is waiting validation.

          • Preparing table – Preparing the table enabled in the migration task for validation.

          • Pending revalidation – All rows in the table are pending validation after the table was updated.

        • ValidationStateDetails — (String)

          Additional details about the state of validation.

      • Marker — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

exportMetadataModelAssessment(params = {}, callback) ⇒ AWS.Request

Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.

Service Reference:

Examples:

Export Metadata Model Assessment


/* Saves a copy of a database migration assessment report to your S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file. */

 var params = {
  AssessmentReportTypes: [
     "pdf"
  ], 
  FileName: "file", 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.exportMetadataModelAssessment(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    CsvReport: {
     ObjectURL: "url", 
     S3ObjectKey: "object-name"
    }, 
    PdfReport: {
     ObjectURL: "url", 
     S3ObjectKey: "object-name"
    }
   }
   */
 });

Calling the exportMetadataModelAssessment operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  SelectionRules: 'STRING_VALUE', /* required */
  AssessmentReportTypes: [
    pdf | csv,
    /* more items */
  ],
  FileName: 'STRING_VALUE'
};
dms.exportMetadataModelAssessment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to assess.

    • FileName — (String)

      The name of the assessment file to create in your Amazon S3 bucket.

    • AssessmentReportTypes — (Array<String>)

      The file format of the assessment file.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • PdfReport — (map)

        The Amazon S3 details for an assessment exported in PDF format.

        • S3ObjectKey — (String)

          The object key for the object containing the exported metadata model assessment.

        • ObjectURL — (String)

          The URL for the object containing the exported metadata model assessment.

      • CsvReport — (map)

        The Amazon S3 details for an assessment exported in CSV format.

        • S3ObjectKey — (String)

          The object key for the object containing the exported metadata model assessment.

        • ObjectURL — (String)

          The URL for the object containing the exported metadata model assessment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

importCertificate(params = {}, callback) ⇒ AWS.Request

Uploads the specified certificate.

Service Reference:

Examples:

Import certificate


/* Uploads the specified certificate. */

 var params = {
  CertificateIdentifier: "", 
  CertificatePem: ""
 };
 dms.importCertificate(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Certificate: {
    }
   }
   */
 });

Calling the importCertificate operation

var params = {
  CertificateIdentifier: 'STRING_VALUE', /* required */
  CertificatePem: 'STRING_VALUE',
  CertificateWallet: Buffer.from('...') || 'STRING_VALUE' /* Strings will be Base-64 encoded on your behalf */,
  Tags: [
    {
      Key: 'STRING_VALUE',
      ResourceArn: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
dms.importCertificate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CertificateIdentifier — (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 — (String)

      The contents of a .pem file, which contains an X.509 certificate.

    • CertificateWallet — (Buffer, Typed Array, Blob, String)

      The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

      Example: filebase64("${path.root}/rds-ca-2019-root.sso")

    • Tags — (Array<map>)

      The tags associated with the certificate.

      • Key — (String)

        A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • Value — (String)

        A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

      • ResourceArn — (String)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Certificate — (map)

        The certificate to be uploaded.

        • CertificateIdentifier — (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.

        • CertificateCreationDate — (Date)

          The date that the certificate was created.

        • CertificatePem — (String)

          The contents of a .pem file, which contains an X.509 certificate.

        • CertificateWallet — (Buffer, Typed Array, Blob, String)

          The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64("${path.root}/rds-ca-2019-root.sso")

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) for the certificate.

        • CertificateOwner — (String)

          The owner of the certificate.

        • ValidFromDate — (Date)

          The beginning date that the certificate is valid.

        • ValidToDate — (Date)

          The final date that the certificate is valid.

        • SigningAlgorithm — (String)

          The signing algorithm for the certificate.

        • KeyLength — (Integer)

          The key length of the cryptographic algorithm being used.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

List tags for resource


/* Lists all tags for an AWS DMS resource. */

 var params = {
  ResourceArn: ""
 };
 dms.listTagsForResource(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    TagList: [
    ]
   }
   */
 });

Calling the listTagsForResource operation

var params = {
  ResourceArn: 'STRING_VALUE',
  ResourceArnList: [
    'STRING_VALUE',
    /* more items */
  ]
};
dms.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (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 — (Array<String>)

      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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TagList — (Array<map>)

        A list of tags for the resource.

        • Key — (String)

          A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

        • Value — (String)

          A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\\p{Z}\\p{N}.:/=+\-]*)$").

        • ResourceArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyConversionConfiguration(params = {}, callback) ⇒ AWS.Request

Modifies the specified schema conversion configuration using the provided parameters.

Service Reference:

Examples:

Modify Conversion Configuration


/* Modifies the specified schema conversion configuration using the provided parameters. */

 var params = {
  ConversionConfiguration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false,   \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}", 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.modifyConversionConfiguration(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
   }
   */
 });

Calling the modifyConversionConfiguration operation

var params = {
  ConversionConfiguration: 'STRING_VALUE', /* required */
  MigrationProjectIdentifier: 'STRING_VALUE' /* required */
};
dms.modifyConversionConfiguration(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • ConversionConfiguration — (String)

      The new conversion configuration.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • MigrationProjectIdentifier — (String)

        The name or Amazon Resource Name (ARN) of the modified configuration.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyDataProvider(params = {}, callback) ⇒ AWS.Request

Modifies the specified data provider using the provided settings.

Note: You must remove the data provider from all migration projects before you can modify it.

Service Reference:

Examples:

Modify Data Provider


/* Modifies the specified data provider using the provided settings. */

 var params = {
  DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
  DataProviderName: "new-name", 
  Description: "description", 
  Engine: "sqlserver", 
  Settings: {
   MicrosoftSqlServerSettings: {
    DatabaseName: "DatabaseName", 
    Port: 11112, 
    ServerName: "ServerName2", 
    SslMode: "none"
   }
  }
 };
 dms.modifyDataProvider(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    DataProvider: {
     DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider", 
     DataProviderCreationTime: <Date Representation>, 
     DataProviderName: "my-target-data-provider", 
     Engine: "postgres", 
     Settings: {
      PostgreSqlSettings: {
       DatabaseName: "target", 
       Port: 5432, 
       ServerName: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com", 
       SslMode: "none"
      }
     }
    }
   }
   */
 });

Calling the modifyDataProvider operation

var params = {
  DataProviderIdentifier: 'STRING_VALUE', /* required */
  DataProviderName: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  Engine: 'STRING_VALUE',
  ExactSettings: true || false,
  Settings: {
    DocDbSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MariaDbSettings: {
      CertificateArn: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MicrosoftSqlServerSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MongoDbSettings: {
      AuthMechanism: default | mongodb_cr | scram_sha_1,
      AuthSource: 'STRING_VALUE',
      AuthType: no | password,
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    MySqlSettings: {
      CertificateArn: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    OracleSettings: {
      AsmServer: 'STRING_VALUE',
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      SecretsManagerOracleAsmAccessRoleArn: 'STRING_VALUE',
      SecretsManagerOracleAsmSecretId: 'STRING_VALUE',
      SecretsManagerSecurityDbEncryptionAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecurityDbEncryptionSecretId: 'STRING_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    PostgreSqlSettings: {
      CertificateArn: 'STRING_VALUE',
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE',
      SslMode: none | require | verify-ca | verify-full
    },
    RedshiftSettings: {
      DatabaseName: 'STRING_VALUE',
      Port: 'NUMBER_VALUE',
      ServerName: 'STRING_VALUE'
    }
  }
};
dms.modifyDataProvider(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DataProviderIdentifier — (String)

      The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

    • DataProviderName — (String)

      The name of the data provider.

    • Description — (String)

      A user-friendly description of the data provider.

    • Engine — (String)

      The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

    • ExactSettings — (Boolean)

      If this attribute is Y, the current call to ModifyDataProvider replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider does two things:

      • It replaces any data provider settings that already exist with new values, for settings with the same names.

      • It creates new data provider settings that you specify in the call, for settings with different names.

    • Settings — (map)

      The settings in JSON format for a data provider.

      • RedshiftSettings — (map)

        Provides information that defines an Amazon Redshift data provider.

        • ServerName — (String)

          The name of the Amazon Redshift server.

        • Port — (Integer)

          The port value for the Amazon Redshift data provider.

        • DatabaseName — (String)

          The database name on the Amazon Redshift data provider.

      • PostgreSqlSettings — (map)

        Provides information that defines a PostgreSQL data provider.

        • ServerName — (String)

          The name of the PostgreSQL server.

        • Port — (Integer)

          The port value for the PostgreSQL data provider.

        • DatabaseName — (String)

          The database name on the PostgreSQL data provider.

        • SslMode — (String)

          The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MySqlSettings — (map)

        Provides information that defines a MySQL data provider.

        • ServerName — (String)

          The name of the MySQL server.

        • Port — (Integer)

          The port value for the MySQL data provider.

        • SslMode — (String)

          The SSL mode used to connect to the MySQL data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • OracleSettings — (map)

        Provides information that defines an Oracle data provider.

        • ServerName — (String)

          The name of the Oracle server.

        • Port — (Integer)

          The port value for the Oracle data provider.

        • DatabaseName — (String)

          The database name on the Oracle data provider.

        • SslMode — (String)

          The SSL mode used to connect to the Oracle data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

        • AsmServer — (String)

          The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

        • SecretsManagerOracleAsmSecretId — (String)

          The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

          Required only if your data provider uses the Oracle ASM server.

        • SecretsManagerOracleAsmAccessRoleArn — (String)

          The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

        • SecretsManagerSecurityDbEncryptionSecretId — (String)

          The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

        • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

          The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

      • MicrosoftSqlServerSettings — (map)

        Provides information that defines a Microsoft SQL Server data provider.

        • ServerName — (String)

          The name of the Microsoft SQL Server server.

        • Port — (Integer)

          The port value for the Microsoft SQL Server data provider.

        • DatabaseName — (String)

          The database name on the Microsoft SQL Server data provider.

        • SslMode — (String)

          The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • DocDbSettings — (map)

        Provides information that defines a DocumentDB data provider.

        • ServerName — (String)

          The name of the source DocumentDB server.

        • Port — (Integer)

          The port value for the DocumentDB data provider.

        • DatabaseName — (String)

          The database name on the DocumentDB data provider.

        • SslMode — (String)

          The SSL mode used to connect to the DocumentDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MariaDbSettings — (map)

        Provides information that defines a MariaDB data provider.

        • ServerName — (String)

          The name of the MariaDB server.

        • Port — (Integer)

          The port value for the MariaDB data provider

        • SslMode — (String)

          The SSL mode used to connect to the MariaDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

      • MongoDbSettings — (map)

        Provides information that defines a MongoDB data provider.

        • ServerName — (String)

          The name of the MongoDB server.

        • Port — (Integer)

          The port value for the MongoDB data provider.

        • DatabaseName — (String)

          The database name on the MongoDB data provider.

        • SslMode — (String)

          The SSL mode used to connect to the MongoDB data provider. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • CertificateArn — (String)

          The Amazon Resource Name (ARN) of the certificate used for SSL connection.

        • AuthType — (String)

          The authentication type for the database connection. Valid values are PASSWORD or NO.

          Possible values include:
          • "no"
          • "password"
        • AuthSource — (String)

          The MongoDB database name. This setting isn't used when AuthType is set to "no".

          The default is "admin".

        • AuthMechanism — (String)

          The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

          Possible values include:
          • "default"
          • "mongodb_cr"
          • "scram_sha_1"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataProvider — (map)

        The data provider that was modified.

        • DataProviderName — (String)

          The name of the data provider.

        • DataProviderArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the data provider.

        • DataProviderCreationTime — (Date)

          The time the data provider was created.

        • Description — (String)

          A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • Engine — (String)

          The type of database engine for the data provider. Valid values include "aurora", "aurora-postgresql", "mysql", "oracle", "postgres", "sqlserver", redshift, mariadb, mongodb, and docdb. A value of "aurora" represents Amazon Aurora MySQL-Compatible Edition.

        • Settings — (map)

          The settings in JSON format for a data provider.

          • RedshiftSettings — (map)

            Provides information that defines an Amazon Redshift data provider.

            • ServerName — (String)

              The name of the Amazon Redshift server.

            • Port — (Integer)

              The port value for the Amazon Redshift data provider.

            • DatabaseName — (String)

              The database name on the Amazon Redshift data provider.

          • PostgreSqlSettings — (map)

            Provides information that defines a PostgreSQL data provider.

            • ServerName — (String)

              The name of the PostgreSQL server.

            • Port — (Integer)

              The port value for the PostgreSQL data provider.

            • DatabaseName — (String)

              The database name on the PostgreSQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the PostgreSQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MySqlSettings — (map)

            Provides information that defines a MySQL data provider.

            • ServerName — (String)

              The name of the MySQL server.

            • Port — (Integer)

              The port value for the MySQL data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MySQL data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • OracleSettings — (map)

            Provides information that defines an Oracle data provider.

            • ServerName — (String)

              The name of the Oracle server.

            • Port — (Integer)

              The port value for the Oracle data provider.

            • DatabaseName — (String)

              The database name on the Oracle data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Oracle data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AsmServer — (String)

              The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_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.

            • SecretsManagerOracleAsmSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.

              Required only if your data provider uses the Oracle ASM server.

            • SecretsManagerOracleAsmAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.

            • SecretsManagerSecurityDbEncryptionSecretId — (String)

              The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.

            • SecretsManagerSecurityDbEncryptionAccessRoleArn — (String)

              The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.

          • MicrosoftSqlServerSettings — (map)

            Provides information that defines a Microsoft SQL Server data provider.

            • ServerName — (String)

              The name of the Microsoft SQL Server server.

            • Port — (Integer)

              The port value for the Microsoft SQL Server data provider.

            • DatabaseName — (String)

              The database name on the Microsoft SQL Server data provider.

            • SslMode — (String)

              The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • DocDbSettings — (map)

            Provides information that defines a DocumentDB data provider.

            • ServerName — (String)

              The name of the source DocumentDB server.

            • Port — (Integer)

              The port value for the DocumentDB data provider.

            • DatabaseName — (String)

              The database name on the DocumentDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the DocumentDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MariaDbSettings — (map)

            Provides information that defines a MariaDB data provider.

            • ServerName — (String)

              The name of the MariaDB server.

            • Port — (Integer)

              The port value for the MariaDB data provider

            • SslMode — (String)

              The SSL mode used to connect to the MariaDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

          • MongoDbSettings — (map)

            Provides information that defines a MongoDB data provider.

            • ServerName — (String)

              The name of the MongoDB server.

            • Port — (Integer)

              The port value for the MongoDB data provider.

            • DatabaseName — (String)

              The database name on the MongoDB data provider.

            • SslMode — (String)

              The SSL mode used to connect to the MongoDB data provider. The default value is none.

              Possible values include:
              • "none"
              • "require"
              • "verify-ca"
              • "verify-full"
            • CertificateArn — (String)

              The Amazon Resource Name (ARN) of the certificate used for SSL connection.

            • AuthType — (String)

              The authentication type for the database connection. Valid values are PASSWORD or NO.

              Possible values include:
              • "no"
              • "password"
            • AuthSource — (String)

              The MongoDB database name. This setting isn't used when AuthType is set to "no".

              The default is "admin".

            • AuthMechanism — (String)

              The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.

              Possible values include:
              • "default"
              • "mongodb_cr"
              • "scram_sha_1"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyEndpoint(params = {}, callback) ⇒ AWS.Request

Modifies the specified endpoint.

Note: 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.

Service Reference:

Examples:

Modify endpoint


/* Modifies the specified endpoint. */

 var params = {
  CertificateArn: "", 
  DatabaseName: "", 
  EndpointArn: "", 
  EndpointIdentifier: "", 
  EndpointType: "source", 
  EngineName: "", 
  ExtraConnectionAttributes: "", 
  Password: "", 
  Port: 123, 
  ServerName: "", 
  SslMode: "require", 
  Username: ""
 };
 dms.modifyEndpoint(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Endpoint: {
    }
   }
   */
 });

Calling the modifyEndpoint operation

var params = {
  EndpointArn: 'STRING_VALUE', /* required */
  CertificateArn: 'STRING_VALUE',
  DatabaseName: 'STRING_VALUE',
  DmsTransferSettings: {
    BucketName: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE'
  },
  DocDbSettings: {
    DatabaseName: 'STRING_VALUE',
    DocsToInvestigate: 'NUMBER_VALUE',
    ExtractDocId: true || false,
    KmsKeyId: 'STRING_VALUE',
    NestingLevel: none | one,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReplicateShardCollections: true || false,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    UseUpdateLookUp: true || false,
    Username: 'STRING_VALUE'
  },
  DynamoDbSettings: {
    ServiceAccessRoleArn: 'STRING_VALUE' /* required */
  },
  ElasticsearchSettings: {
    EndpointUri: 'STRING_VALUE', /* required */
    ServiceAccessRoleArn: 'STRING_VALUE', /* required */
    ErrorRetryDuration: 'NUMBER_VALUE',
    FullLoadErrorPercentage: 'NUMBER_VALUE',
    UseNewMappingType: true || false
  },
  EndpointIdentifier: 'STRING_VALUE',
  EndpointType: source | target,
  EngineName: 'STRING_VALUE',
  ExactSettings: true || false,
  ExternalTableDefinition: 'STRING_VALUE',
  ExtraConnectionAttributes: 'STRING_VALUE',
  GcpMySQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    CleanSourceMetadataOnMismatch: true || false,
    DatabaseName: 'STRING_VALUE',
    EventsPollInterval: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    ParallelLoadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerTimezone: 'STRING_VALUE',
    TargetDbType: specific-database | multiple-databases,
    Username: 'STRING_VALUE'
  },
  IBMDb2Settings: {
    CurrentLsn: 'STRING_VALUE',
    DatabaseName: 'STRING_VALUE',
    KeepCsvFiles: true || false,
    LoadTimeout: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    MaxKBytesPerRead: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SetDataCaptureChanges: true || false,
    Username: 'STRING_VALUE',
    WriteBufferSize: 'NUMBER_VALUE'
  },
  KafkaSettings: {
    Broker: 'STRING_VALUE',
    IncludeControlDetails: true || false,
    IncludeNullAndEmpty: true || false,
    IncludePartitionValue: true || false,
    IncludeTableAlterOperations: true || false,
    IncludeTransactionDetails: true || false,
    MessageFormat: json | json-unformatted,
    MessageMaxBytes: 'NUMBER_VALUE',
    NoHexPrefix: true || false,
    PartitionIncludeSchemaTable: true || false,
    SaslMechanism: scram-sha-512 | plain,
    SaslPassword: 'STRING_VALUE',
    SaslUsername: 'STRING_VALUE',
    SecurityProtocol: plaintext | ssl-authentication | ssl-encryption | sasl-ssl,
    SslCaCertificateArn: 'STRING_VALUE',
    SslClientCertificateArn: 'STRING_VALUE',
    SslClientKeyArn: 'STRING_VALUE',
    SslClientKeyPassword: 'STRING_VALUE',
    SslEndpointIdentificationAlgorithm: none | https,
    Topic: 'STRING_VALUE'
  },
  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_VALUE',
    StreamArn: 'STRING_VALUE'
  },
  MicrosoftSQLServerSettings: {
    BcpPacketSize: 'NUMBER_VALUE',
    ControlTablesFileGroup: 'STRING_VALUE',
    DatabaseName: 'STRING_VALUE',
    ForceLobLookup: true || false,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    QuerySingleAlwaysOnNode: true || false,
    ReadBackupOnly: true || false,
    SafeguardPolicy: rely-on-sql-server-replication-agent | exclusive-automatic-truncation | shared-automatic-truncation,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    TlogAccessMode: BackupOnly | PreferBackup | PreferTlog | TlogOnly,
    TrimSpaceInChar: true || false,
    UseBcpFullLoad: true || false,
    UseThirdPartyBackupDevice: true || false,
    Username: 'STRING_VALUE'
  },
  MongoDbSettings: {
    AuthMechanism: default | mongodb_cr | scram_sha_1,
    AuthSource: 'STRING_VALUE',
    AuthType: no | password,
    DatabaseName: 'STRING_VALUE',
    DocsToInvestigate: 'STRING_VALUE',
    ExtractDocId: 'STRING_VALUE',
    KmsKeyId: 'STRING_VALUE',
    NestingLevel: none | one,
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReplicateShardCollections: true || false,
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    UseUpdateLookUp: true || false,
    Username: 'STRING_VALUE'
  },
  MySQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    CleanSourceMetadataOnMismatch: true || false,
    DatabaseName: 'STRING_VALUE',
    EventsPollInterval: 'NUMBER_VALUE',
    ExecuteTimeout: 'NUMBER_VALUE',
    MaxFileSize: 'NUMBER_VALUE',
    ParallelLoadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerTimezone: 'STRING_VALUE',
    TargetDbType: specific-database | multiple-databases,
    Username: 'STRING_VALUE'
  },
  NeptuneSettings: {
    S3BucketFolder: 'STRING_VALUE', /* required */
    S3BucketName: 'STRING_VALUE', /* required */
    ErrorRetryDuration: 'NUMBER_VALUE',
    IamAuthEnabled: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    MaxRetryCount: 'NUMBER_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE'
  },
  OracleSettings: {
    AccessAlternateDirectly: true || false,
    AddSupplementalLogging: true || false,
    AdditionalArchivedLogDestId: 'NUMBER_VALUE',
    AllowSelectNestedTables: true || false,
    ArchivedLogDestId: 'NUMBER_VALUE',
    ArchivedLogsOnly: true || false,
    AsmPassword: 'STRING_VALUE',
    AsmServer: 'STRING_VALUE',
    AsmUser: 'STRING_VALUE',
    CharLengthSemantics: default | char | byte,
    ConvertTimestampWithZoneToUTC: true || false,
    DatabaseName: 'STRING_VALUE',
    DirectPathNoLog: true || false,
    DirectPathParallelLoad: true || false,
    EnableHomogenousTablespace: true || false,
    ExtraArchivedLogDestIds: [
      'NUMBER_VALUE',
      /* more items */
    ],
    FailTasksOnLobTruncation: true || false,
    NumberDatatypeScale: 'NUMBER_VALUE',
    OpenTransactionWindow: 'NUMBER_VALUE',
    OraclePathPrefix: 'STRING_VALUE',
    ParallelAsmReadThreads: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    ReadAheadBlocks: 'NUMBER_VALUE',
    ReadTableSpaceName: true || false,
    ReplacePathPrefix: true || false,
    RetryInterval: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerOracleAsmAccessRoleArn: 'STRING_VALUE',
    SecretsManagerOracleAsmSecretId: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    SecurityDbEncryption: 'STRING_VALUE',
    SecurityDbEncryptionName: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SpatialDataOptionToGeoJsonFunctionName: 'STRING_VALUE',
    StandbyDelayTime: 'NUMBER_VALUE',
    TrimSpaceInChar: true || false,
    UseAlternateFolderForOnline: true || false,
    UseBFile: true || false,
    UseDirectPathFullLoad: true || false,
    UseLogminerReader: true || false,
    UsePathPrefix: 'STRING_VALUE',
    Username: 'STRING_VALUE'
  },
  Password: 'STRING_VALUE',
  Port: 'NUMBER_VALUE',
  PostgreSQLSettings: {
    AfterConnectScript: 'STRING_VALUE',
    BabelfishDatabaseName: 'STRING_VALUE',
    CaptureDdls: true || false,
    DatabaseMode: default | babelfish,
    DatabaseName: 'STRING_VALUE',
    DdlArtifactsSchema: 'STRING_VALUE',
    ExecuteTimeout: 'NUMBER_VALUE',
    FailTasksOnLobTruncation: true || false,
    HeartbeatEnable: true || false,
    HeartbeatFrequency: 'NUMBER_VALUE',
    HeartbeatSchema: 'STRING_VALUE',
    MapBooleanAsBoolean: true || false,
    MapJsonbAsClob: true || false,
    MapLongVarcharAs: wstring | clob | nclob,
    MaxFileSize: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    PluginName: no-preference | test-decoding | pglogical,
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    SlotName: 'STRING_VALUE',
    TrimSpaceInChar: true || false,
    Username: 'STRING_VALUE'
  },
  RedisSettings: {
    Port: 'NUMBER_VALUE', /* required */
    ServerName: 'STRING_VALUE', /* required */
    AuthPassword: 'STRING_VALUE',
    AuthType: none | auth-role | auth-token,
    AuthUserName: 'STRING_VALUE',
    SslCaCertificateArn: 'STRING_VALUE',
    SslSecurityProtocol: plaintext | ssl-encryption
  },
  RedshiftSettings: {
    AcceptAnyDate: true || false,
    AfterConnectScript: 'STRING_VALUE',
    BucketFolder: 'STRING_VALUE',
    BucketName: 'STRING_VALUE',
    CaseSensitiveNames: true || false,
    CompUpdate: true || false,
    ConnectionTimeout: 'NUMBER_VALUE',
    DatabaseName: 'STRING_VALUE',
    DateFormat: 'STRING_VALUE',
    EmptyAsNull: true || false,
    EncryptionMode: sse-s3 | sse-kms,
    ExplicitIds: true || false,
    FileTransferUploadStreams: 'NUMBER_VALUE',
    LoadTimeout: 'NUMBER_VALUE',
    MapBooleanAsBoolean: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    RemoveQuotes: true || false,
    ReplaceChars: 'STRING_VALUE',
    ReplaceInvalidChars: 'STRING_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    ServerSideEncryptionKmsKeyId: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE',
    TimeFormat: 'STRING_VALUE',
    TrimBlanks: true || false,
    TruncateColumns: true || false,
    Username: 'STRING_VALUE',
    WriteBufferSize: 'NUMBER_VALUE'
  },
  S3Settings: {
    AddColumnName: true || false,
    AddTrailingPaddingCharacter: true || false,
    BucketFolder: 'STRING_VALUE',
    BucketName: 'STRING_VALUE',
    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: 'NUMBER_VALUE',
    CdcMinFileSize: 'NUMBER_VALUE',
    CdcPath: 'STRING_VALUE',
    CompressionType: none | gzip,
    CsvDelimiter: 'STRING_VALUE',
    CsvNoSupValue: 'STRING_VALUE',
    CsvNullValue: 'STRING_VALUE',
    CsvRowDelimiter: 'STRING_VALUE',
    DataFormat: csv | parquet,
    DataPageSize: 'NUMBER_VALUE',
    DatePartitionDelimiter: SLASH | UNDERSCORE | DASH | NONE,
    DatePartitionEnabled: true || false,
    DatePartitionSequence: YYYYMMDD | YYYYMMDDHH | YYYYMM | MMYYYYDD | DDMMYYYY,
    DatePartitionTimezone: 'STRING_VALUE',
    DictPageSizeLimit: 'NUMBER_VALUE',
    EnableStatistics: true || false,
    EncodingType: plain | plain-dictionary | rle-dictionary,
    EncryptionMode: sse-s3 | sse-kms,
    ExpectedBucketOwner: 'STRING_VALUE',
    ExternalTableDefinition: 'STRING_VALUE',
    GlueCatalogGeneration: true || false,
    IgnoreHeaderRows: 'NUMBER_VALUE',
    IncludeOpForFullLoad: true || false,
    MaxFileSize: 'NUMBER_VALUE',
    ParquetTimestampInMillisecond: true || false,
    ParquetVersion: parquet-1-0 | parquet-2-0,
    PreserveTransactions: true || false,
    Rfc4180: true || false,
    RowGroupLength: 'NUMBER_VALUE',
    ServerSideEncryptionKmsKeyId: 'STRING_VALUE',
    ServiceAccessRoleArn: 'STRING_VALUE',
    TimestampColumnName: 'STRING_VALUE',
    UseCsvNoSupValue: true || false,
    UseTaskStartTimeForFullLoadTimestamp: true || false
  },
  ServerName: 'STRING_VALUE',
  ServiceAccessRoleArn: 'STRING_VALUE',
  SslMode: none | require | verify-ca | verify-full,
  SybaseSettings: {
    DatabaseName: 'STRING_VALUE',
    Password: 'STRING_VALUE',
    Port: 'NUMBER_VALUE',
    SecretsManagerAccessRoleArn: 'STRING_VALUE',
    SecretsManagerSecretId: 'STRING_VALUE',
    ServerName: 'STRING_VALUE',
    Username: 'STRING_VALUE'
  },
  TimestreamSettings: {
    DatabaseName: 'STRING_VALUE', /* required */
    MagneticDuration: 'NUMBER_VALUE', /* required */
    MemoryDuration: 'NUMBER_VALUE', /* required */
    CdcInsertsAndUpdates: true || false,
    EnableMagneticStoreWrites: true || false
  },
  Username: 'STRING_VALUE'
};
dms.modifyEndpoint(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

    • EndpointIdentifier — (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 — (String)

      The type of endpoint. Valid values are source and target.

      Possible values include:
      • "source"
      • "target"
    • EngineName — (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".

    • Username — (String)

      The user name to be used to login to the endpoint database.

    • Password — (String)

      The password to be used to login to the endpoint database.

    • ServerName — (String)

      The name of the server where the endpoint database resides.

    • Port — (Integer)

      The port used by the endpoint database.

    • DatabaseName — (String)

      The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

    • ExtraConnectionAttributes — (String)

      Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.

    • CertificateArn — (String)

      The Amazon Resource Name (ARN) of the certificate used for SSL connection.

    • SslMode — (String)

      The SSL mode used to connect to the endpoint. The default value is none.

      Possible values include:
      • "none"
      • "require"
      • "verify-ca"
      • "verify-full"
    • ServiceAccessRoleArn — (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.

    • ExternalTableDefinition — (String)

      The external table definition.

    • DynamoDbSettings — (map)

      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.

      • ServiceAccessRoleArnrequired — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

    • S3Settings — (map)

      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.

      • ServiceAccessRoleArn — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

      • ExternalTableDefinition — (String)

        Specifies how tables are defined in the S3 source files only.

      • CsvRowDelimiter — (String)

        The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

      • CsvDelimiter — (String)

        The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

      • BucketFolder — (String)

        An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

      • BucketName — (String)

        The name of the S3 bucket.

      • CompressionType — (String)

        An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

        Possible values include:
        • "none"
        • "gzip"
      • EncryptionMode — (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) or SSE_KMS.

        Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

        To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

        • s3:CreateBucket

        • s3:ListBucket

        • s3:DeleteBucket

        • s3:GetBucketLocation

        • s3:GetObject

        • s3:PutObject

        • s3:DeleteObject

        • s3:GetObjectVersion

        • s3:GetBucketPolicy

        • s3:PutBucketPolicy

        • s3:DeleteBucketPolicy

        Possible values include:
        • "sse-s3"
        • "sse-kms"
      • ServerSideEncryptionKmsKeyId — (String)

        If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

        Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

      • DataFormat — (String)

        The format of the data that you want to use for output. You can choose one of the following:

        • csv : This is a row-based file format with comma-separated values (.csv).

        • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

        Possible values include:
        • "csv"
        • "parquet"
      • EncodingType — (String)

        The type of encoding you are using:

        • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

        • PLAIN doesn't use encoding at all. Values are stored as they are.

        • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

        Possible values include:
        • "plain"
        • "plain-dictionary"
        • "rle-dictionary"
      • DictPageSizeLimit — (Integer)

        The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

      • RowGroupLength — (Integer)

        The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

        If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

      • DataPageSize — (Integer)

        The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

      • ParquetVersion — (String)

        The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

        Possible values include:
        • "parquet-1-0"
        • "parquet-2-0"
      • EnableStatistics — (Boolean)

        A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

      • IncludeOpForFullLoad — (Boolean)

        A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

        Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

        For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

        Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
      • CdcInsertsOnly — (Boolean)

        A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

        If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

        Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
      • TimestampColumnName — (String)

        A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

        Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

        DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

        For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

        For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

        The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

        When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

      • ParquetTimestampInMillisecond — (Boolean)

        A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

        Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

        When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

        Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

        Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
      • CdcInsertsAndUpdates — (Boolean)

        A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

        DMS supports the use of the .parquet files in versions 3.4.7 and later.

        How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

        Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
      • DatePartitionEnabled — (Boolean)

        When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

      • DatePartitionSequence — (String)

        Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

        Possible values include:
        • "YYYYMMDD"
        • "YYYYMMDDHH"
        • "YYYYMM"
        • "MMYYYYDD"
        • "DDMMYYYY"
      • DatePartitionDelimiter — (String)

        Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

        Possible values include:
        • "SLASH"
        • "UNDERSCORE"
        • "DASH"
        • "NONE"
      • UseCsvNoSupValue — (Boolean)

        This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

        Note: This setting is supported in DMS versions 3.4.1 and later.
      • CsvNoSupValue — (String)

        This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

        Note: This setting is supported in DMS versions 3.4.1 and later.
      • PreserveTransactions — (Boolean)

        If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

        Note: This setting is supported in DMS versions 3.4.2 and later.
      • CdcPath — (String)

        Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

        For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

        If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

        For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

        Note: This setting is supported in DMS versions 3.4.2 and later.
      • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

        When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

        When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

      • CannedAclForObjects — (String)

        A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

        The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

        Possible values include:
        • "none"
        • "private"
        • "public-read"
        • "public-read-write"
        • "authenticated-read"
        • "aws-exec-read"
        • "bucket-owner-read"
        • "bucket-owner-full-control"
      • AddColumnName — (Boolean)

        An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

        The default value is false. Valid values are true, false, y, and n.

      • CdcMaxBatchInterval — (Integer)

        Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

        When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

        The default value is 60 seconds.

      • CdcMinFileSize — (Integer)

        Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

        When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

        The default value is 32 MB.

      • CsvNullValue — (String)

        An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

        The default value is NULL. Valid values include any valid string.

      • IgnoreHeaderRows — (Integer)

        When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

        The default is 0.

      • MaxFileSize — (Integer)

        A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

        The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

      • Rfc4180 — (Boolean)

        For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

        For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

        The default value is true. Valid values include true, false, y, and n.

      • DatePartitionTimezone — (String)

        When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

        s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

      • AddTrailingPaddingCharacter — (Boolean)

        Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

      • ExpectedBucketOwner — (String)

        To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

        Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

        When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

      • GlueCatalogGeneration — (Boolean)

        When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

    • DmsTransferSettings — (map)

      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"}

      • ServiceAccessRoleArn — (String)

        The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

      • BucketName — (String)

        The name of the S3 bucket to use.

    • MongoDbSettings — (map)

      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.

      • Username — (String)

        The user name you use to access the MongoDB source endpoint.

      • Password — (String)

        The password for the user account you use to access the MongoDB source endpoint.

      • ServerName — (String)

        The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

      • Port — (Integer)

        The port value for the MongoDB source endpoint.

      • DatabaseName — (String)

        The database name on the MongoDB source endpoint.

      • AuthType — (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.

        Possible values include:
        • "no"
        • "password"
      • AuthMechanism — (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 when AuthType is set to "no".

        Possible values include:
        • "default"
        • "mongodb_cr"
        • "scram_sha_1"
      • NestingLevel — (String)

        Specifies either document or table mode.

        Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

        Possible values include:
        • "none"
        • "one"
      • ExtractDocId — (String)

        Specifies the document ID. Use this setting when NestingLevel is set to "none".

        Default value is "false".

      • DocsToInvestigate — (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 is 1000.

      • AuthSource — (String)

        The MongoDB database name. This setting isn't used when AuthType is set to "no".

        The default is "admin".

      • KmsKeyId — (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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

      • UseUpdateLookUp — (Boolean)

        If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

      • ReplicateShardCollections — (Boolean)

        If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

        When this setting is true, note the following:

        • You must set TargetTablePrepMode to nothing.

        • DMS automatically sets useUpdateLookup to false.

    • KinesisSettings — (map)

      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.

      • StreamArn — (String)

        The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

      • MessageFormat — (String)

        The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

        Possible values include:
        • "json"
        • "json-unformatted"
      • ServiceAccessRoleArn — (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.

      • IncludeTransactionDetails — (Boolean)

        Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

      • IncludePartitionValue — (Boolean)

        Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

      • PartitionIncludeSchemaTable — (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 is false.

      • IncludeTableAlterOperations — (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, and rename-column. The default is false.

      • IncludeControlDetails — (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 — (Boolean)

        Include NULL and empty columns for records migrated to the endpoint. The default is false.

      • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

    • KafkaSettings — (map)

      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.

      • Broker — (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.

      • Topic — (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.

      • MessageFormat — (String)

        The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

        Possible values include:
        • "json"
        • "json-unformatted"
      • IncludeTransactionDetails — (Boolean)

        Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

      • IncludePartitionValue — (Boolean)

        Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

      • PartitionIncludeSchemaTable — (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 is false.

      • IncludeTableAlterOperations — (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, and rename-column. The default is false.

      • IncludeControlDetails — (Boolean)

        Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

      • MessageMaxBytes — (Integer)

        The maximum size in bytes for records created on the endpoint The default is 1,000,000.

      • IncludeNullAndEmpty — (Boolean)

        Include NULL and empty columns for records migrated to the endpoint. The default is false.

      • SecurityProtocol — (String)

        Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

        Possible values include:
        • "plaintext"
        • "ssl-authentication"
        • "ssl-encryption"
        • "sasl-ssl"
      • SslClientCertificateArn — (String)

        The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

      • SslClientKeyArn — (String)

        The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

      • SslClientKeyPassword — (String)

        The password for the client private key used to securely connect to a Kafka target endpoint.

      • SslCaCertificateArn — (String)

        The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

      • SaslUsername — (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.

      • SaslPassword — (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.

      • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

      • SaslMechanism — (String)

        For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

        Possible values include:
        • "scram-sha-512"
        • "plain"
      • SslEndpointIdentificationAlgorithm — (String)

        Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

        Possible values include:
        • "none"
        • "https"
    • ElasticsearchSettings — (map)

      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.

      • ServiceAccessRoleArnrequired — (String)

        The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

      • EndpointUrirequired — (String)

        The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

      • FullLoadErrorPercentage — (Integer)

        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.

      • ErrorRetryDuration — (Integer)

        The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

      • UseNewMappingType — (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 is false.

    • NeptuneSettings — (map)

      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.

      • ServiceAccessRoleArn — (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.

      • S3BucketNamerequired — (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.

      • S3BucketFolderrequired — (String)

        A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

      • ErrorRetryDuration — (Integer)

        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.

      • MaxFileSize — (Integer)

        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 — (Integer)

        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.

      • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

    • RedshiftSettings — (map)

      Provides information that defines an Amazon Redshift endpoint.

      • AcceptAnyDate — (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 or false (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 — (String)

        Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

      • BucketFolder — (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 the COPY 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 — (String)

        The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

      • CaseSensitiveNames — (Boolean)

        If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

      • CompUpdate — (Boolean)

        If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

      • ConnectionTimeout — (Integer)

        A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

      • DatabaseName — (String)

        The name of the Amazon Redshift data warehouse (service) that you are working with.

      • DateFormat — (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'. Using auto 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 — (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 is false.

      • EncryptionMode — (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) or SSE_KMS.

        Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

        Possible values include:
        • "sse-s3"
        • "sse-kms"
      • ExplicitIds — (Boolean)

        This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

      • FileTransferUploadStreams — (Integer)

        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 — (Integer)

        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.

      • MaxFileSize — (Integer)

        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 — (String)

        The password for the user named in the username property.

      • Port — (Integer)

        The port number for Amazon Redshift. The default value is 5439.

      • RemoveQuotes — (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 is false.

      • ReplaceInvalidChars — (String)

        A list of characters that you want to replace. Use with ReplaceChars.

      • ReplaceChars — (String)

        A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

      • ServerName — (String)

        The name of the Amazon Redshift cluster you are using.

      • ServiceAccessRoleArn — (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.

      • ServerSideEncryptionKmsKeyId — (String)

        The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

      • TimeFormat — (String)

        The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

      • TruncateColumns — (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 is false.

      • Username — (String)

        An Amazon Redshift user name for a registered user.

      • WriteBufferSize — (Integer)

        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).

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

      • MapBooleanAsBoolean — (Boolean)

        When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

    • PostgreSQLSettings — (map)

      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.

      • AfterConnectScript — (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 — (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.

      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

        Example: maxFileSize=512

      • DatabaseName — (String)

        Database name for the endpoint.

      • DdlArtifactsSchema — (String)

        The schema in which the operational DDL database artifacts are created.

        Example: ddlArtifactsSchema=xyzddlschema;

      • ExecuteTimeout — (Integer)

        Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

        Example: executeTimeout=100;

      • FailTasksOnLobTruncation — (Boolean)

        When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

        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 — (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.

      • HeartbeatSchema — (String)

        Sets the schema in which the heartbeat artifacts are created.

      • HeartbeatFrequency — (Integer)

        Sets the WAL heartbeat frequency (in minutes).

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default is 5432.

      • ServerName — (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.

      • Username — (String)

        Endpoint connection user name.

      • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

      • PluginName — (String)

        Specifies the plugin to use to create a replication slot.

        Possible values include:
        • "no-preference"
        • "test-decoding"
        • "pglogical"
      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

      • MapBooleanAsBoolean — (Boolean)

        When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

      • MapJsonbAsClob — (Boolean)

        When true, DMS migrates JSONB values as CLOB.

      • MapLongVarcharAs — (String)

        When true, DMS migrates LONG values as VARCHAR.

        Possible values include:
        • "wstring"
        • "clob"
        • "nclob"
      • DatabaseMode — (String)

        Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

        Possible values include:
        • "default"
        • "babelfish"
      • BabelfishDatabaseName — (String)

        The Babelfish for Aurora PostgreSQL database name for the endpoint.

    • MySQLSettings — (map)

      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.

      • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

        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.

      • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

        Example: targetDbType=MULTIPLE_DATABASES

        Possible values include:
        • "specific-database"
        • "multiple-databases"
      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

        Example: maxFileSize=512

      • ParallelLoadThreads — (Integer)

        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 — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ServerName — (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 — (String)

        Specifies the time zone for the source MySQL database.

        Example: serverTimezone=US/Pacific;

        Note: Do not enclose time zones in single quotes.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

      • ExecuteTimeout — (Integer)

        Sets the client statement timeout (in seconds) for a MySQL source endpoint.

    • OracleSettings — (map)

      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.

      • AddSupplementalLogging — (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.

      • ArchivedLogDestId — (Integer)

        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.

      • AdditionalArchivedLogDestId — (Integer)

        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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

      • ExtraArchivedLogDestIds — (Array<Integer>)

        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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

      • AllowSelectNestedTables — (Boolean)

        Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

      • ParallelAsmReadThreads — (Integer)

        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.

      • ReadAheadBlocks — (Integer)

        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).

      • AccessAlternateDirectly — (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.

      • UseAlternateFolderForOnline — (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.

      • OraclePathPrefix — (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.

      • UsePathPrefix — (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.

      • ReplacePathPrefix — (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.

      • EnableHomogenousTablespace — (Boolean)

        Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

      • DirectPathNoLog — (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.

      • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

        For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

        For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

        Possible values include:
        • "default"
        • "char"
        • "byte"
      • DatabaseName — (String)

        Database name for the endpoint.

      • DirectPathParallelLoad — (Boolean)

        When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

      • FailTasksOnLobTruncation — (Boolean)

        When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

        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 — (Integer)

        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

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ReadTableSpaceName — (Boolean)

        When set to true, this attribute supports tablespace replication.

      • RetryInterval — (Integer)

        Specifies the number of seconds that the system waits before resending a query.

        Example: retryInterval=6;

      • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

      • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

      • ServerName — (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 — (String)

        Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

      • StandbyDelayTime — (Integer)

        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.

      • Username — (String)

        Endpoint connection user name.

      • UseBFile — (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 — (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 — (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 set UseBfile 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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

      • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

        Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerOracleAsmSecretId — (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.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

      • ConvertTimestampWithZoneToUTC — (Boolean)

        When true, converts timestamps with the timezone datatype to their UTC value.

      • OpenTransactionWindow — (Integer)

        The timeframe in minutes to check for open transactions for a CDC-only task.

        You can specify an integer value between 0 (the default) and 240 (the maximum).

        Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
    • SybaseSettings — (map)

      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.

      • DatabaseName — (String)

        Database name for the endpoint.

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default is 5000.

      • ServerName — (String)

        Fully qualified domain name of the endpoint.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

    • MicrosoftSQLServerSettings — (map)

      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.

      • Port — (Integer)

        Endpoint TCP port.

      • BcpPacketSize — (Integer)

        The maximum size of the packets (in bytes) used to transfer data using BCP.

      • DatabaseName — (String)

        Database name for the endpoint.

      • ControlTablesFileGroup — (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.

      • Password — (String)

        Endpoint connection password.

      • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

        Possible values include:
        • "rely-on-sql-server-replication-agent"
        • "exclusive-automatic-truncation"
        • "shared-automatic-truncation"
      • ServerName — (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.

      • Username — (String)

        Endpoint connection user name.

      • UseBcpFullLoad — (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 — (Boolean)

        When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

      • TrimSpaceInChar — (Boolean)

        Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

      • TlogAccessMode — (String)

        Indicates the mode used to fetch CDC data.

        Possible values include:
        • "BackupOnly"
        • "PreferBackup"
        • "PreferTlog"
        • "TlogOnly"
      • ForceLobLookup — (Boolean)

        Forces LOB lookup on inline LOB.

    • IBMDb2Settings — (map)

      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.

      • DatabaseName — (String)

        Database name for the endpoint.

      • Password — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port. The default value is 50000.

      • ServerName — (String)

        Fully qualified domain name of the endpoint.

      • SetDataCaptureChanges — (Boolean)

        Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

      • CurrentLsn — (String)

        For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

      • MaxKBytesPerRead — (Integer)

        Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

      • LoadTimeout — (Integer)

        The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

      • WriteBufferSize — (Integer)

        The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

      • KeepCsvFiles — (Boolean)

        If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

        The default value is false.

    • DocDbSettings — (map)

      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.

      • Username — (String)

        The user name you use to access the DocumentDB source endpoint.

      • Password — (String)

        The password for the user account you use to access the DocumentDB source endpoint.

      • ServerName — (String)

        The name of the server on the DocumentDB source endpoint.

      • Port — (Integer)

        The port value for the DocumentDB source endpoint.

      • DatabaseName — (String)

        The database name on the DocumentDB source endpoint.

      • NestingLevel — (String)

        Specifies either document or table mode.

        Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

        Possible values include:
        • "none"
        • "one"
      • ExtractDocId — (Boolean)

        Specifies the document ID. Use this setting when NestingLevel is set to "none".

        Default value is "false".

      • DocsToInvestigate — (Integer)

        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 is 1000.

      • KmsKeyId — (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.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

      • UseUpdateLookUp — (Boolean)

        If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

      • ReplicateShardCollections — (Boolean)

        If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

        When this setting is true, note the following:

        • You must set TargetTablePrepMode to nothing.

        • DMS automatically sets useUpdateLookup to false.

    • RedisSettings — (map)

      Settings in JSON format for the Redis target endpoint.

      • ServerNamerequired — (String)

        Fully qualified domain name of the endpoint.

      • Portrequired — (Integer)

        Transmission Control Protocol (TCP) port for the endpoint.

      • SslSecurityProtocol — (String)

        The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

        Possible values include:
        • "plaintext"
        • "ssl-encryption"
      • AuthType — (String)

        The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

        Possible values include:
        • "none"
        • "auth-role"
        • "auth-token"
      • AuthUserName — (String)

        The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

      • AuthPassword — (String)

        The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

      • SslCaCertificateArn — (String)

        The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

    • ExactSettings — (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 to ModifyEndpoint 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 call modify-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.

    • GcpMySQLSettings — (map)

      Settings in JSON format for the source GCP MySQL endpoint.

      • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

        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.

      • TargetDbType — (String)

        Specifies where to migrate source tables on the target, either to a single database or multiple databases.

        Example: targetDbType=MULTIPLE_DATABASES

        Possible values include:
        • "specific-database"
        • "multiple-databases"
      • MaxFileSize — (Integer)

        Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

        Example: maxFileSize=512

      • ParallelLoadThreads — (Integer)

        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 — (String)

        Endpoint connection password.

      • Port — (Integer)

        Endpoint TCP port.

      • ServerName — (String)

        The MySQL host name.

      • ServerTimezone — (String)

        Specifies the time zone for the source MySQL database.

        Example: serverTimezone=US/Pacific;

        Note: Do not enclose time zones in single quotes.

      • Username — (String)

        Endpoint connection user name.

      • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

        Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
      • SecretsManagerSecretId — (String)

        The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

    • TimestreamSettings — (map)

      Settings in JSON format for the target Amazon Timestream endpoint.

      • DatabaseNamerequired — (String)

        Database name for the endpoint.

      • MemoryDurationrequired — (Integer)

        Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

      • MagneticDurationrequired — (Integer)

        Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

      • CdcInsertsAndUpdates — (Boolean)

        Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

      • EnableMagneticStoreWrites — (Boolean)

        Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Endpoint — (map)

        The modified endpoint.

        • EndpointIdentifier — (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 — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • EngineName — (String)

          The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "redshift-serverless", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

        • Username — (String)

          The user name used to connect to the endpoint.

        • ServerName — (String)

          The name of the server at the endpoint.

        • Port — (Integer)

          The port value used to access the endpoint.

        • DatabaseName — (String)

          The name of the database at the endpoint.

        • ExtraConnectionAttributes — (String)

          Additional connection attributes used to connect to the endpoint.

        • Status — (String)

          The status of the endpoint.

        • KmsKeyId — (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.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

        • SslMode — (String)

          The SSL mode used to connect to the endpoint. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • ServiceAccessRoleArn — (String)

          The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • ExternalTableDefinition — (String)

          The external table definition.

        • ExternalId — (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.

        • DynamoDbSettings — (map)

          The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • S3Settings — (map)

          The settings for the S3 target endpoint. For more information, see the S3Settings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

          • ExternalTableDefinition — (String)

            Specifies how tables are defined in the S3 source files only.

          • CsvRowDelimiter — (String)

            The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

          • CsvDelimiter — (String)

            The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

          • BucketFolder — (String)

            An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

          • BucketName — (String)

            The name of the S3 bucket.

          • CompressionType — (String)

            An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

            Possible values include:
            • "none"
            • "gzip"
          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

            To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

            • s3:CreateBucket

            • s3:ListBucket

            • s3:DeleteBucket

            • s3:GetBucketLocation

            • s3:GetObject

            • s3:PutObject

            • s3:DeleteObject

            • s3:GetObjectVersion

            • s3:GetBucketPolicy

            • s3:PutBucketPolicy

            • s3:DeleteBucketPolicy

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ServerSideEncryptionKmsKeyId — (String)

            If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

            Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

          • DataFormat — (String)

            The format of the data that you want to use for output. You can choose one of the following:

            • csv : This is a row-based file format with comma-separated values (.csv).

            • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

            Possible values include:
            • "csv"
            • "parquet"
          • EncodingType — (String)

            The type of encoding you are using:

            • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

            • PLAIN doesn't use encoding at all. Values are stored as they are.

            • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

            Possible values include:
            • "plain"
            • "plain-dictionary"
            • "rle-dictionary"
          • DictPageSizeLimit — (Integer)

            The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

          • RowGroupLength — (Integer)

            The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

            If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

          • DataPageSize — (Integer)

            The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

          • ParquetVersion — (String)

            The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

            Possible values include:
            • "parquet-1-0"
            • "parquet-2-0"
          • EnableStatistics — (Boolean)

            A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

          • IncludeOpForFullLoad — (Boolean)

            A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

            Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

            For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

            Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
          • CdcInsertsOnly — (Boolean)

            A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

            If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • TimestampColumnName — (String)

            A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

            Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

            DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

            For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

            For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

            The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

            When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

          • ParquetTimestampInMillisecond — (Boolean)

            A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

            Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

            When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

            Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

            Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
          • CdcInsertsAndUpdates — (Boolean)

            A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

            DMS supports the use of the .parquet files in versions 3.4.7 and later.

            How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • DatePartitionEnabled — (Boolean)

            When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

          • DatePartitionSequence — (String)

            Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "YYYYMMDD"
            • "YYYYMMDDHH"
            • "YYYYMM"
            • "MMYYYYDD"
            • "DDMMYYYY"
          • DatePartitionDelimiter — (String)

            Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "SLASH"
            • "UNDERSCORE"
            • "DASH"
            • "NONE"
          • UseCsvNoSupValue — (Boolean)

            This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • CsvNoSupValue — (String)

            This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • PreserveTransactions — (Boolean)

            If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • CdcPath — (String)

            Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

            For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

            If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

            For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

            When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

            When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

          • CannedAclForObjects — (String)

            A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

            The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

            Possible values include:
            • "none"
            • "private"
            • "public-read"
            • "public-read-write"
            • "authenticated-read"
            • "aws-exec-read"
            • "bucket-owner-read"
            • "bucket-owner-full-control"
          • AddColumnName — (Boolean)

            An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

            The default value is false. Valid values are true, false, y, and n.

          • CdcMaxBatchInterval — (Integer)

            Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

            When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 60 seconds.

          • CdcMinFileSize — (Integer)

            Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

            When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 32 MB.

          • CsvNullValue — (String)

            An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

            The default value is NULL. Valid values include any valid string.

          • IgnoreHeaderRows — (Integer)

            When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

            The default is 0.

          • MaxFileSize — (Integer)

            A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

            The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

          • Rfc4180 — (Boolean)

            For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

            For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

            The default value is true. Valid values include true, false, y, and n.

          • DatePartitionTimezone — (String)

            When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

            s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

          • AddTrailingPaddingCharacter — (Boolean)

            Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

          • ExpectedBucketOwner — (String)

            To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

            Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

            When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

          • GlueCatalogGeneration — (Boolean)

            When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

        • DmsTransferSettings — (map)

          The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

          • BucketName — (String)

            The name of the S3 bucket to use.

        • MongoDbSettings — (map)

          The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

          • Username — (String)

            The user name you use to access the MongoDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the MongoDB source endpoint.

          • ServerName — (String)

            The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

          • Port — (Integer)

            The port value for the MongoDB source endpoint.

          • DatabaseName — (String)

            The database name on the MongoDB source endpoint.

          • AuthType — (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.

            Possible values include:
            • "no"
            • "password"
          • AuthMechanism — (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 when AuthType is set to "no".

            Possible values include:
            • "default"
            • "mongodb_cr"
            • "scram_sha_1"
          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (String)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (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 is 1000.

          • AuthSource — (String)

            The MongoDB database name. This setting isn't used when AuthType is set to "no".

            The default is "admin".

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • KinesisSettings — (map)

          The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

          • StreamArn — (String)

            The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • ServiceAccessRoleArn — (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.

          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (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 — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

        • KafkaSettings — (map)

          The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

          • Broker — (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.

          • Topic — (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.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (Boolean)

            Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

          • MessageMaxBytes — (Integer)

            The maximum size in bytes for records created on the endpoint The default is 1,000,000.

          • IncludeNullAndEmpty — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • SecurityProtocol — (String)

            Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

            Possible values include:
            • "plaintext"
            • "ssl-authentication"
            • "ssl-encryption"
            • "sasl-ssl"
          • SslClientCertificateArn — (String)

            The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

          • SslClientKeyArn — (String)

            The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

          • SslClientKeyPassword — (String)

            The password for the client private key used to securely connect to a Kafka target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

          • SaslUsername — (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.

          • SaslPassword — (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.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

          • SaslMechanism — (String)

            For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

            Possible values include:
            • "scram-sha-512"
            • "plain"
          • SslEndpointIdentificationAlgorithm — (String)

            Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

            Possible values include:
            • "none"
            • "https"
        • ElasticsearchSettings — (map)

          The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

          • EndpointUrirequired — (String)

            The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

          • FullLoadErrorPercentage — (Integer)

            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.

          • ErrorRetryDuration — (Integer)

            The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

          • UseNewMappingType — (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 is false.

        • NeptuneSettings — (map)

          The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

          • ServiceAccessRoleArn — (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.

          • S3BucketNamerequired — (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.

          • S3BucketFolderrequired — (String)

            A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

          • ErrorRetryDuration — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (Integer)

            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.

          • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

        • RedshiftSettings — (map)

          Settings for the Amazon Redshift endpoint.

          • AcceptAnyDate — (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 or false (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 — (String)

            Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

          • BucketFolder — (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 the COPY 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 — (String)

            The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

          • CaseSensitiveNames — (Boolean)

            If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

          • CompUpdate — (Boolean)

            If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

          • ConnectionTimeout — (Integer)

            A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

          • DatabaseName — (String)

            The name of the Amazon Redshift data warehouse (service) that you are working with.

          • DateFormat — (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'. Using auto 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 — (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 is false.

          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ExplicitIds — (Boolean)

            This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

          • FileTransferUploadStreams — (Integer)

            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 — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (String)

            The password for the user named in the username property.

          • Port — (Integer)

            The port number for Amazon Redshift. The default value is 5439.

          • RemoveQuotes — (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 is false.

          • ReplaceInvalidChars — (String)

            A list of characters that you want to replace. Use with ReplaceChars.

          • ReplaceChars — (String)

            A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

          • ServerName — (String)

            The name of the Amazon Redshift cluster you are using.

          • ServiceAccessRoleArn — (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.

          • ServerSideEncryptionKmsKeyId — (String)

            The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

          • TimeFormat — (String)

            The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

          • TruncateColumns — (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 is false.

          • Username — (String)

            An Amazon Redshift user name for a registered user.

          • WriteBufferSize — (Integer)

            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).

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

        • PostgreSQLSettings — (map)

          The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

          • AfterConnectScript — (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 — (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.

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

            Example: maxFileSize=512

          • DatabaseName — (String)

            Database name for the endpoint.

          • DdlArtifactsSchema — (String)

            The schema in which the operational DDL database artifacts are created.

            Example: ddlArtifactsSchema=xyzddlschema;

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

            Example: executeTimeout=100;

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

            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 — (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.

          • HeartbeatSchema — (String)

            Sets the schema in which the heartbeat artifacts are created.

          • HeartbeatFrequency — (Integer)

            Sets the WAL heartbeat frequency (in minutes).

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5432.

          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

          • PluginName — (String)

            Specifies the plugin to use to create a replication slot.

            Possible values include:
            • "no-preference"
            • "test-decoding"
            • "pglogical"
          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

          • MapJsonbAsClob — (Boolean)

            When true, DMS migrates JSONB values as CLOB.

          • MapLongVarcharAs — (String)

            When true, DMS migrates LONG values as VARCHAR.

            Possible values include:
            • "wstring"
            • "clob"
            • "nclob"
          • DatabaseMode — (String)

            Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

            Possible values include:
            • "default"
            • "babelfish"
          • BabelfishDatabaseName — (String)

            The Babelfish for Aurora PostgreSQL database name for the endpoint.

        • MySQLSettings — (map)

          The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (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 — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout (in seconds) for a MySQL source endpoint.

        • OracleSettings — (map)

          The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

          • AddSupplementalLogging — (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.

          • ArchivedLogDestId — (Integer)

            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.

          • AdditionalArchivedLogDestId — (Integer)

            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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • ExtraArchivedLogDestIds — (Array<Integer>)

            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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • AllowSelectNestedTables — (Boolean)

            Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

          • ParallelAsmReadThreads — (Integer)

            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.

          • ReadAheadBlocks — (Integer)

            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).

          • AccessAlternateDirectly — (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.

          • UseAlternateFolderForOnline — (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.

          • OraclePathPrefix — (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.

          • UsePathPrefix — (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.

          • ReplacePathPrefix — (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.

          • EnableHomogenousTablespace — (Boolean)

            Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

          • DirectPathNoLog — (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.

          • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

            For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

            For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

            Possible values include:
            • "default"
            • "char"
            • "byte"
          • DatabaseName — (String)

            Database name for the endpoint.

          • DirectPathParallelLoad — (Boolean)

            When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

            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 — (Integer)

            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

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ReadTableSpaceName — (Boolean)

            When set to true, this attribute supports tablespace replication.

          • RetryInterval — (Integer)

            Specifies the number of seconds that the system waits before resending a query.

            Example: retryInterval=6;

          • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • ServerName — (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 — (String)

            Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

          • StandbyDelayTime — (Integer)

            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.

          • Username — (String)

            Endpoint connection user name.

          • UseBFile — (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 — (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 — (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 set UseBfile 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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

          • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

            Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerOracleAsmSecretId — (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.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • ConvertTimestampWithZoneToUTC — (Boolean)

            When true, converts timestamps with the timezone datatype to their UTC value.

          • OpenTransactionWindow — (Integer)

            The timeframe in minutes to check for open transactions for a CDC-only task.

            You can specify an integer value between 0 (the default) and 240 (the maximum).

            Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
        • SybaseSettings — (map)

          The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

        • MicrosoftSQLServerSettings — (map)

          The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

          • Port — (Integer)

            Endpoint TCP port.

          • BcpPacketSize — (Integer)

            The maximum size of the packets (in bytes) used to transfer data using BCP.

          • DatabaseName — (String)

            Database name for the endpoint.

          • ControlTablesFileGroup — (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.

          • Password — (String)

            Endpoint connection password.

          • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

            Possible values include:
            • "rely-on-sql-server-replication-agent"
            • "exclusive-automatic-truncation"
            • "shared-automatic-truncation"
          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • UseBcpFullLoad — (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 — (Boolean)

            When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

          • TlogAccessMode — (String)

            Indicates the mode used to fetch CDC data.

            Possible values include:
            • "BackupOnly"
            • "PreferBackup"
            • "PreferTlog"
            • "TlogOnly"
          • ForceLobLookup — (Boolean)

            Forces LOB lookup on inline LOB.

        • IBMDb2Settings — (map)

          The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default value is 50000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • SetDataCaptureChanges — (Boolean)

            Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

          • CurrentLsn — (String)

            For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

          • MaxKBytesPerRead — (Integer)

            Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

          • LoadTimeout — (Integer)

            The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

          • WriteBufferSize — (Integer)

            The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

          • KeepCsvFiles — (Boolean)

            If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

            The default value is false.

        • DocDbSettings — (map)

          Provides information that defines a DocumentDB endpoint.

          • Username — (String)

            The user name you use to access the DocumentDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the DocumentDB source endpoint.

          • ServerName — (String)

            The name of the server on the DocumentDB source endpoint.

          • Port — (Integer)

            The port value for the DocumentDB source endpoint.

          • DatabaseName — (String)

            The database name on the DocumentDB source endpoint.

          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (Boolean)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (Integer)

            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 is 1000.

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • RedisSettings — (map)

          The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

          • ServerNamerequired — (String)

            Fully qualified domain name of the endpoint.

          • Portrequired — (Integer)

            Transmission Control Protocol (TCP) port for the endpoint.

          • SslSecurityProtocol — (String)

            The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

            Possible values include:
            • "plaintext"
            • "ssl-encryption"
          • AuthType — (String)

            The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

            Possible values include:
            • "none"
            • "auth-role"
            • "auth-token"
          • AuthUserName — (String)

            The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

          • AuthPassword — (String)

            The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

        • GcpMySQLSettings — (map)

          Settings in JSON format for the source GCP MySQL endpoint.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (String)

            Specifies where to migrate source tables on the target, either to a single database or multiple databases.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (String)

            The MySQL host name.

          • ServerTimezone — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

        • TimestreamSettings — (map)

          The settings for the Amazon Timestream target endpoint. For more information, see the TimestreamSettings structure.

          • DatabaseNamerequired — (String)

            Database name for the endpoint.

          • MemoryDurationrequired — (Integer)

            Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

          • MagneticDurationrequired — (Integer)

            Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

          • CdcInsertsAndUpdates — (Boolean)

            Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

          • EnableMagneticStoreWrites — (Boolean)

            Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyEventSubscription(params = {}, callback) ⇒ AWS.Request

Modifies an existing DMS event notification subscription.

Service Reference:

Examples:

Calling the modifyEventSubscription operation

var params = {
  SubscriptionName: 'STRING_VALUE', /* required */
  Enabled: true || false,
  EventCategories: [
    'STRING_VALUE',
    /* more items */
  ],
  SnsTopicArn: 'STRING_VALUE',
  SourceType: 'STRING_VALUE'
};
dms.modifyEventSubscription(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SubscriptionName — (String)

      The name of the DMS event notification subscription to be modified.

    • SnsTopicArn — (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 — (String)

      The type of DMS resource that generates the events you want to subscribe to.

      Valid values: replication-instance | replication-task

    • EventCategories — (Array<String>)

      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.

    • Enabled — (Boolean)

      A Boolean value; set to true to activate the subscription.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EventSubscription — (map)

        The modified event subscription.

        • CustomerAwsId — (String)

          The Amazon Web Services customer account associated with the DMS event notification subscription.

        • CustSubscriptionId — (String)

          The DMS event notification subscription Id.

        • SnsTopicArn — (String)

          The topic ARN of the DMS event notification subscription.

        • Status — (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 — (String)

          The time the DMS event notification subscription was created.

        • SourceType — (String)

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • SourceIdsList — (Array<String>)

          A list of source Ids for the event subscription.

        • EventCategoriesList — (Array<String>)

          A lists of event categories.

        • Enabled — (Boolean)

          Boolean value that indicates if the event subscription is enabled.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyInstanceProfile(params = {}, callback) ⇒ AWS.Request

Modifies the specified instance profile using the provided parameters.

Note: All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.

Service Reference:

Examples:

Calling the modifyInstanceProfile operation

var params = {
  InstanceProfileIdentifier: 'STRING_VALUE', /* required */
  AvailabilityZone: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  InstanceProfileName: 'STRING_VALUE',
  KmsKeyArn: 'STRING_VALUE',
  NetworkType: 'STRING_VALUE',
  PubliclyAccessible: true || false,
  SubnetGroupIdentifier: 'STRING_VALUE',
  VpcSecurityGroups: [
    'STRING_VALUE',
    /* more items */
  ]
};
dms.modifyInstanceProfile(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • InstanceProfileIdentifier — (String)

      The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

    • AvailabilityZone — (String)

      The Availability Zone where the instance profile runs.

    • KmsKeyArn — (String)

      The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

      If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

      KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

    • PubliclyAccessible — (Boolean)

      Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

    • NetworkType — (String)

      Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

    • InstanceProfileName — (String)

      A user-friendly name for the instance profile.

    • Description — (String)

      A user-friendly description for the instance profile.

    • SubnetGroupIdentifier — (String)

      A subnet group to associate with the instance profile.

    • VpcSecurityGroups — (Array<String>)

      Specifies the VPC security groups to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • InstanceProfile — (map)

        The instance profile that was modified.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.

        • AvailabilityZone — (String)

          The Availability Zone where the instance profile runs.

        • KmsKeyArn — (String)

          The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

          If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

          KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

        • NetworkType — (String)

          Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

        • InstanceProfileName — (String)

          The user-friendly name for the instance profile.

        • Description — (String)

          A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        • InstanceProfileCreationTime — (Date)

          The time the instance profile was created.

        • SubnetGroupIdentifier — (String)

          The identifier of the subnet group that is associated with the instance profile.

        • VpcSecurityGroups — (Array<String>)

          The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyMigrationProject(params = {}, callback) ⇒ AWS.Request

Modifies the specified migration project using the provided parameters.

Note: The migration project must be closed before you can modify it.

Service Reference:

Examples:

Modify Migration Project


/* Modifies the specified migration project using the provided parameters. */

 var params = {
  Description: "description", 
  InstanceProfileIdentifier: "my-instance-profile", 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
  MigrationProjectName: "new-name", 
  SchemaConversionApplicationAttributes: {
   S3BucketPath: "arn:aws:s3:::myuser-bucket", 
   S3BucketRoleArn: "arn:aws:iam::012345678901:role/Admin"
  }, 
  SourceDataProviderDescriptors: [
     {
    DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
    SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access", 
    SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/ALL.SOURCE.ORACLE_12-A1B2C3"
   }
  ], 
  TargetDataProviderDescriptors: [
     {
    DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
    SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access", 
    SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/TARGET.postgresql-A1B2C3"
   }
  ]
 };
 dms.modifyMigrationProject(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    MigrationProject: {
     InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     InstanceProfileName: "my-instance-profile", 
     MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
     MigrationProjectCreationTime: <Date Representation>, 
     MigrationProjectName: "my-migration-project", 
     SchemaConversionApplicationAttributes: {
      S3BucketPath: "my-s3-bucket/my_folder", 
      S3BucketRoleArn: "arn:aws:iam::012345678901:role/my-s3role"
     }, 
     SourceDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "all-source-oracle-12", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-TP5rA9"
      }
     ], 
     TargetDataProviderDescriptors: [
        {
       DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
       DataProviderName: "my-dataprovider", 
       SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role", 
       SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-mysecret"
      }
     ]
    }
   }
   */
 });

Calling the modifyMigrationProject operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  InstanceProfileIdentifier: 'STRING_VALUE',
  MigrationProjectName: 'STRING_VALUE',
  SchemaConversionApplicationAttributes: {
    S3BucketPath: 'STRING_VALUE',
    S3BucketRoleArn: 'STRING_VALUE'
  },
  SourceDataProviderDescriptors: [
    {
      DataProviderIdentifier: 'STRING_VALUE', /* required */
      SecretsManagerAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecretId: 'STRING_VALUE'
    },
    /* more items */
  ],
  TargetDataProviderDescriptors: [
    {
      DataProviderIdentifier: 'STRING_VALUE', /* required */
      SecretsManagerAccessRoleArn: 'STRING_VALUE',
      SecretsManagerSecretId: 'STRING_VALUE'
    },
    /* more items */
  ],
  TransformationRules: 'STRING_VALUE'
};
dms.modifyMigrationProject(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The identifier of the migration project. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

    • MigrationProjectName — (String)

      A user-friendly name for the migration project.

    • SourceDataProviderDescriptors — (Array<map>)

      Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.

      • DataProviderIdentifierrequired — (String)

        The name or Amazon Resource Name (ARN) of the data provider.

      • SecretsManagerSecretId — (String)

        The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

      • SecretsManagerAccessRoleArn — (String)

        The ARN of the role used to access Amazon Web Services Secrets Manager.

    • TargetDataProviderDescriptors — (Array<map>)

      Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.

      • DataProviderIdentifierrequired — (String)

        The name or Amazon Resource Name (ARN) of the data provider.

      • SecretsManagerSecretId — (String)

        The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

      • SecretsManagerAccessRoleArn — (String)

        The ARN of the role used to access Amazon Web Services Secrets Manager.

    • InstanceProfileIdentifier — (String)

      The name or Amazon Resource Name (ARN) for the instance profile.

    • TransformationRules — (String)

      The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

    • Description — (String)

      A user-friendly description of the migration project.

    • SchemaConversionApplicationAttributes — (map)

      The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

      • S3BucketPath — (String)

        The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

      • S3BucketRoleArn — (String)

        The ARN for the role the application uses to access its Amazon S3 bucket.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • MigrationProject — (map)

        The migration project that was modified.

        • MigrationProjectName — (String)

          The name of the migration project.

        • MigrationProjectArn — (String)

          The ARN string that uniquely identifies the migration project.

        • MigrationProjectCreationTime — (Date)

          The time when the migration project was created.

        • SourceDataProviderDescriptors — (Array<map>)

          Information about the source data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • TargetDataProviderDescriptors — (Array<map>)

          Information about the target data provider, including the name or ARN, and Secrets Manager parameters.

          • SecretsManagerSecretId — (String)

            The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.

          • SecretsManagerAccessRoleArn — (String)

            The ARN of the role used to access Amazon Web Services Secrets Manager.

          • DataProviderName — (String)

            The user-friendly name of the data provider.

          • DataProviderArn — (String)

            The Amazon Resource Name (ARN) of the data provider.

        • InstanceProfileArn — (String)

          The Amazon Resource Name (ARN) of the instance profile for your migration project.

        • InstanceProfileName — (String)

          The name of the associated instance profile.

        • TransformationRules — (String)

          The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.

        • Description — (String)

          A user-friendly description of the migration project.

        • SchemaConversionApplicationAttributes — (map)

          The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.

          • S3BucketPath — (String)

            The path for the Amazon S3 bucket that the application uses for exporting assessment reports.

          • S3BucketRoleArn — (String)

            The ARN for the role the application uses to access its Amazon S3 bucket.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyReplicationConfig(params = {}, callback) ⇒ AWS.Request

Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.

Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.

Service Reference:

Examples:

Calling the modifyReplicationConfig operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE', /* required */
  ComputeConfig: {
    AvailabilityZone: 'STRING_VALUE',
    DnsNameServers: 'STRING_VALUE',
    KmsKeyId: 'STRING_VALUE',
    MaxCapacityUnits: 'NUMBER_VALUE',
    MinCapacityUnits: 'NUMBER_VALUE',
    MultiAZ: true || false,
    PreferredMaintenanceWindow: 'STRING_VALUE',
    ReplicationSubnetGroupId: 'STRING_VALUE',
    VpcSecurityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ]
  },
  ReplicationConfigIdentifier: 'STRING_VALUE',
  ReplicationSettings: 'STRING_VALUE',
  ReplicationType: full-load | cdc | full-load-and-cdc,
  SourceEndpointArn: 'STRING_VALUE',
  SupplementalSettings: 'STRING_VALUE',
  TableMappings: 'STRING_VALUE',
  TargetEndpointArn: 'STRING_VALUE'
};
dms.modifyReplicationConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The Amazon Resource Name of the replication to modify.

    • ReplicationConfigIdentifier — (String)

      The new replication config to apply to the replication.

    • ReplicationType — (String)

      The type of replication.

      Possible values include:
      • "full-load"
      • "cdc"
      • "full-load-and-cdc"
    • TableMappings — (String)

      Table mappings specified in the replication.

    • ReplicationSettings — (String)

      The settings for the replication.

    • SupplementalSettings — (String)

      Additional settings for the replication.

    • ComputeConfig — (map)

      Configuration parameters for provisioning an DMS Serverless replication.

      • AvailabilityZone — (String)

        The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

      • DnsNameServers — (String)

        A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

      • KmsKeyId — (String)

        An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

        If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

        KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

      • MaxCapacityUnits — (Integer)

        Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

      • MinCapacityUnits — (Integer)

        Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

      • MultiAZ — (Boolean)

        Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

      • PreferredMaintenanceWindow — (String)

        The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

        The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

        Constraints include a minimum 30-minute window.

      • ReplicationSubnetGroupId — (String)

        Specifies a subnet group identifier to associate with the DMS Serverless replication.

      • VpcSecurityGroupIds — (Array<String>)

        Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

    • SourceEndpointArn — (String)

      The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

    • TargetEndpointArn — (String)

      The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationConfig — (map)

        Information about the serverless replication config that was modified.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name (ARN) of this DMS Serverless replication configuration.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.

        • TargetEndpointArn — (String)

          The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.

        • ReplicationType — (String)

          The type of the replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • ComputeConfig — (map)

          Configuration parameters for provisioning an DMS serverless replication.

          • AvailabilityZone — (String)

            The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2". You can't set this parameter if the MultiAZ parameter is set to true.

          • DnsNameServers — (String)

            A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

          • KmsKeyId — (String)

            An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.

            If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.

            KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

          • MaxCapacityUnits — (Integer)

            Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only DCU parameter you are required to specify.

          • MinCapacityUnits — (Integer)

            Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 1. You don't have to specify a value for the MinCapacityUnits parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 1.

          • MultiAZ — (Boolean)

            Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

          • PreferredMaintenanceWindow — (String)

            The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi.

            The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

            Constraints include a minimum 30-minute window.

          • ReplicationSubnetGroupId — (String)

            Specifies a subnet group identifier to associate with the DMS Serverless replication.

          • VpcSecurityGroupIds — (Array<String>)

            Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.

        • ReplicationSettings — (String)

          Configuration parameters for an DMS serverless replication.

        • SupplementalSettings — (String)

          Additional parameters for an DMS serverless replication.

        • TableMappings — (String)

          Table mappings specified in the replication.

        • ReplicationConfigCreateTime — (Date)

          The time the serverless replication config was created.

        • ReplicationConfigUpdateTime — (Date)

          The time the serverless replication config was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyReplicationInstance(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

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. */

 var params = {
  AllocatedStorage: 123, 
  AllowMajorVersionUpgrade: true, 
  ApplyImmediately: true, 
  AutoMinorVersionUpgrade: true, 
  EngineVersion: "1.5.0", 
  MultiAZ: true, 
  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: [
  ]
 };
 dms.modifyReplicationInstance(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ReplicationInstance: {
     AllocatedStorage: 5, 
     AutoMinorVersionUpgrade: true, 
     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: true, 
     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"
     }
    }
   }
   */
 });

Calling the modifyReplicationInstance operation

var params = {
  ReplicationInstanceArn: 'STRING_VALUE', /* required */
  AllocatedStorage: 'NUMBER_VALUE',
  AllowMajorVersionUpgrade: true || false,
  ApplyImmediately: true || false,
  AutoMinorVersionUpgrade: true || false,
  EngineVersion: 'STRING_VALUE',
  MultiAZ: true || false,
  NetworkType: 'STRING_VALUE',
  PreferredMaintenanceWindow: 'STRING_VALUE',
  ReplicationInstanceClass: 'STRING_VALUE',
  ReplicationInstanceIdentifier: 'STRING_VALUE',
  VpcSecurityGroupIds: [
    'STRING_VALUE',
    /* more items */
  ]
};
dms.modifyReplicationInstance(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

    • AllocatedStorage — (Integer)

      The amount of storage (in gigabytes) to be allocated for the replication instance.

    • ApplyImmediately — (Boolean)

      Indicates whether the changes should be applied immediately or during the next maintenance window.

    • ReplicationInstanceClass — (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.

    • VpcSecurityGroupIds — (Array<String>)

      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.

    • PreferredMaintenanceWindow — (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

    • MultiAZ — (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 to true.

    • EngineVersion — (String)

      The engine version number of the replication instance.

      When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to true.

    • AllowMajorVersionUpgrade — (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 the EngineVersion parameter that is a different major version than the replication instance's current version.

    • AutoMinorVersionUpgrade — (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.

    • ReplicationInstanceIdentifier — (String)

      The replication instance identifier. This parameter is stored as a lowercase string.

    • NetworkType — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationInstance — (map)

        The modified replication instance.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyReplicationSubnetGroup(params = {}, callback) ⇒ AWS.Request

Modifies the settings for the specified replication subnet group.

Service Reference:

Examples:

Modify replication subnet group


/* Modifies the settings for the specified replication subnet group. */

 var params = {
  ReplicationSubnetGroupDescription: "", 
  ReplicationSubnetGroupIdentifier: "", 
  SubnetIds: [
  ]
 };
 dms.modifyReplicationSubnetGroup(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    ReplicationSubnetGroup: {
    }
   }
   */
 });

Calling the modifyReplicationSubnetGroup operation

var params = {
  ReplicationSubnetGroupIdentifier: 'STRING_VALUE', /* required */
  SubnetIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  ReplicationSubnetGroupDescription: 'STRING_VALUE'
};
dms.modifyReplicationSubnetGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationSubnetGroupIdentifier — (String)

      The name of the replication instance subnet group.

    • ReplicationSubnetGroupDescription — (String)

      A description for the replication instance subnet group.

    • SubnetIds — (Array<String>)

      A list of subnet IDs.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationSubnetGroup — (map)

        The modified replication subnet group.

        • ReplicationSubnetGroupIdentifier — (String)

          The identifier of the replication instance subnet group.

        • ReplicationSubnetGroupDescription — (String)

          A description for the replication subnet group.

        • VpcId — (String)

          The ID of the VPC.

        • SubnetGroupStatus — (String)

          The status of the subnet group.

        • Subnets — (Array<map>)

          The subnets that are in the subnet group.

          • SubnetIdentifier — (String)

            The subnet identifier.

          • SubnetAvailabilityZone — (map)

            The Availability Zone of the subnet.

            • Name — (String)

              The name of the Availability Zone.

          • SubnetStatus — (String)

            The status of the subnet.

        • SupportedNetworkTypes — (Array<String>)

          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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

modifyReplicationTask(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the modifyReplicationTask operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  CdcStartPosition: 'STRING_VALUE',
  CdcStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
  CdcStopPosition: 'STRING_VALUE',
  MigrationType: full-load | cdc | full-load-and-cdc,
  ReplicationTaskIdentifier: 'STRING_VALUE',
  ReplicationTaskSettings: 'STRING_VALUE',
  TableMappings: 'STRING_VALUE',
  TaskData: 'STRING_VALUE'
};
dms.modifyReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task.

    • ReplicationTaskIdentifier — (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.

    • MigrationType — (String)

      The migration type. Valid values: full-load | cdc | full-load-and-cdc

      Possible values include:
      • "full-load"
      • "cdc"
      • "full-load-and-cdc"
    • TableMappings — (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.

    • ReplicationTaskSettings — (String)

      JSON file that contains settings for the task, such as task metadata settings.

    • CdcStartTime — (Date)

      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”

    • CdcStartPosition — (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”

      Note: 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.
    • CdcStopPosition — (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“

    • TaskData — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The replication task that was modified.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

moveReplicationTask(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the moveReplicationTask operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  TargetReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.moveReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the task that you want to move.

    • TargetReplicationInstanceArn — (String)

      The ARN of the replication instance where you want to move the task to.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The replication task that was moved.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

rebootReplicationInstance(params = {}, callback) ⇒ AWS.Request

Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.

Service Reference:

Examples:

Calling the rebootReplicationInstance operation

var params = {
  ReplicationInstanceArn: 'STRING_VALUE', /* required */
  ForceFailover: true || false,
  ForcePlannedFailover: true || false
};
dms.rebootReplicationInstance(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

    • ForceFailover — (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 specify true. ( --force-planned-failover and --force-failover can't both be set to true.)

    • ForcePlannedFailover — (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 specify true. ( --force-planned-failover and --force-failover can't both be set to true.)

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationInstance — (map)

        The replication instance that is being rebooted.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

refreshSchemas(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

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. */

 var params = {
  EndpointArn: "", 
  ReplicationInstanceArn: ""
 };
 dms.refreshSchemas(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RefreshSchemasStatus: {
    }
   }
   */
 });

Calling the refreshSchemas operation

var params = {
  EndpointArn: 'STRING_VALUE', /* required */
  ReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.refreshSchemas(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RefreshSchemasStatus — (map)

        The status of the refreshed schema.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • Status — (String)

          The status of the schema.

          Possible values include:
          • "successful"
          • "failed"
          • "refreshing"
        • LastRefreshDate — (Date)

          The date the schema was last refreshed.

        • LastFailureMessage — (String)

          The last failure message for the schema.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

reloadReplicationTables(params = {}, callback) ⇒ AWS.Request

Reloads the target database table with the source data for a given DMS Serverless replication configuration.

You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.

Service Reference:

Examples:

Calling the reloadReplicationTables operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE', /* required */
  TablesToReload: [ /* required */
    {
      SchemaName: 'STRING_VALUE', /* required */
      TableName: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  ReloadOption: data-reload | validate-only
};
dms.reloadReplicationTables(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The Amazon Resource Name of the replication config for which to reload tables.

    • TablesToReload — (Array<map>)

      The list of tables to reload.

      • SchemaNamerequired — (String)

        The schema name of the table to be reloaded.

      • TableNamerequired — (String)

        The table name of the table to be reloaded.

    • ReloadOption — (String)

      Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-only to re-validate the table. This option applies only when validation is enabled for the replication.

      Possible values include:
      • "data-reload"
      • "validate-only"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationConfigArn — (String)

        The Amazon Resource Name of the replication config for which to reload tables.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

reloadTables(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the reloadTables operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  TablesToReload: [ /* required */
    {
      SchemaName: 'STRING_VALUE', /* required */
      TableName: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  ReloadOption: data-reload | validate-only
};
dms.reloadTables(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task.

    • TablesToReload — (Array<map>)

      The name and schema of the table to be reloaded.

      • SchemaNamerequired — (String)

        The schema name of the table to be reloaded.

      • TableNamerequired — (String)

        The table name of the table to be reloaded.

    • ReloadOption — (String)

      Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-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.

      Possible values include:
      • "data-reload"
      • "validate-only"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTaskArn — (String)

        The Amazon Resource Name (ARN) of the replication task.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

removeTagsFromResource(params = {}, callback) ⇒ AWS.Request

Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.

Service Reference:

Examples:

Remove tags from resource


/* Removes metadata tags from an AWS DMS resource. */

 var params = {
  ResourceArn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E", 
  TagKeys: [
  ]
 };
 dms.removeTagsFromResource(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
   }
   */
 });

Calling the removeTagsFromResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  TagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
dms.removeTagsFromResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

    • TagKeys — (Array<String>)

      The tag key (name) of the tag to be removed.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

runFleetAdvisorLsaAnalysis(params = {}, callback) ⇒ AWS.Request

Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.

Service Reference:

Examples:

Calling the runFleetAdvisorLsaAnalysis operation

dms.runFleetAdvisorLsaAnalysis(function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • LsaAnalysisId — (String)

        The ID of the LSA analysis run.

      • Status — (String)

        The status of the LSA analysis, for example COMPLETED.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startExtensionPackAssociation(params = {}, callback) ⇒ AWS.Request

Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.

Service Reference:

Examples:

Start Extension Pack Association


/* Applies the extension pack to your target database. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012"
 };
 dms.startExtensionPackAssociation(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startExtensionPackAssociation operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE' /* required */
};
dms.startExtensionPackAssociation(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the request operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startMetadataModelAssessment(params = {}, callback) ⇒ AWS.Request

Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.

Service Reference:

Examples:

Start Metadata Model Assessment


/* Creates a database migration assessment report by assessing the migration complexity for 
        your source database. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.startMetadataModelAssessment(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startMetadataModelAssessment operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  SelectionRules: 'STRING_VALUE' /* required */
};
dms.startMetadataModelAssessment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to assess.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the assessment operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startMetadataModelConversion(params = {}, callback) ⇒ AWS.Request

Converts your source database objects to a format compatible with the target database.

Service Reference:

Examples:

Start Metadata Model Conversion


/* Converts your source database objects to a format compatible with the target database.  */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.startMetadataModelConversion(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startMetadataModelConversion operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  SelectionRules: 'STRING_VALUE' /* required */
};
dms.startMetadataModelConversion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to convert.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the conversion operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startMetadataModelExportAsScript(params = {}, callback) ⇒ AWS.Request

Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.

Examples:

Start Metadata Model Export As Script


/* Saves your converted code to a file as a SQL script, and stores this file on your S3 bucket. */

 var params = {
  FileName: "FILE", 
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
  Origin: "SOURCE", 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.startMetadataModelExportAsScript(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startMetadataModelExportAsScript operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Origin: SOURCE | TARGET, /* required */
  SelectionRules: 'STRING_VALUE', /* required */
  FileName: 'STRING_VALUE'
};
dms.startMetadataModelExportAsScript(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to export.

    • Origin — (String)

      Whether to export the metadata model from the source or the target.

      Possible values include:
      • "SOURCE"
      • "TARGET"
    • FileName — (String)

      The name of the model file to create in the Amazon S3 bucket.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the export operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startMetadataModelExportToTarget(params = {}, callback) ⇒ AWS.Request

Applies converted database objects to your target database.

Examples:

Start Metadata Model Export To Target


/* Applies converted database objects to your target database. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", 
  OverwriteExtensionPack: true, 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.startMetadataModelExportToTarget(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startMetadataModelExportToTarget operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  SelectionRules: 'STRING_VALUE', /* required */
  OverwriteExtensionPack: true || false
};
dms.startMetadataModelExportToTarget(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to export.

    • OverwriteExtensionPack — (Boolean)

      Whether to overwrite the migration project extension pack. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the export operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startMetadataModelImport(params = {}, callback) ⇒ AWS.Request

Loads the metadata for all the dependent database objects of the parent object.

This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.

Service Reference:

Examples:

Start Metadata Model Import


/* Loads the metadata for all the dependent database objects of the parent object. */

 var params = {
  MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", 
  Origin: "SOURCE", 
  Refresh: false, 
  SelectionRules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}"
 };
 dms.startMetadataModelImport(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef"
   }
   */
 });

Calling the startMetadataModelImport operation

var params = {
  MigrationProjectIdentifier: 'STRING_VALUE', /* required */
  Origin: SOURCE | TARGET, /* required */
  SelectionRules: 'STRING_VALUE', /* required */
  Refresh: true || false
};
dms.startMetadataModelImport(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MigrationProjectIdentifier — (String)

      The migration project name or Amazon Resource Name (ARN).

    • SelectionRules — (String)

      A value that specifies the database objects to import.

    • Origin — (String)

      Whether to load metadata to the source or target database.

      Possible values include:
      • "SOURCE"
      • "TARGET"
    • Refresh — (Boolean)

      If true, DMS loads metadata for the specified objects from the source database.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestIdentifier — (String)

        The identifier for the import operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startRecommendations(params = {}, callback) ⇒ AWS.Request

Starts the analysis of your source database to provide recommendations of target engines.

You can create recommendations for multiple source databases using BatchStartRecommendations.

Service Reference:

Examples:

Calling the startRecommendations operation

var params = {
  DatabaseId: 'STRING_VALUE', /* required */
  Settings: { /* required */
    InstanceSizingType: 'STRING_VALUE', /* required */
    WorkloadType: 'STRING_VALUE' /* required */
  }
};
dms.startRecommendations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DatabaseId — (String)

      The identifier of the source database to analyze and provide recommendations for.

    • Settings — (map)

      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).

      • InstanceSizingTyperequired — (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".

      • WorkloadTyperequired — (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".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReplication(params = {}, callback) ⇒ AWS.Request

For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.

Service Reference:

Examples:

Calling the startReplication operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE', /* required */
  StartReplicationType: 'STRING_VALUE', /* required */
  CdcStartPosition: 'STRING_VALUE',
  CdcStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
  CdcStopPosition: 'STRING_VALUE'
};
dms.startReplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The Amazon Resource Name of the replication for which to start replication.

    • StartReplicationType — (String)

      The replication type.

    • CdcStartTime — (Date)

      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.

    • CdcStartPosition — (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.

    • CdcStopPosition — (String)

      Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Replication — (map)

        The replication that DMS started.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name for the ReplicationConfig associated with the replication.

        • SourceEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

        • TargetEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

        • ReplicationType — (String)

          The type of the serverless replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • Status — (String)

          The current status of the serverless replication.

        • ProvisionData — (map)

          Information about provisioning resources for an DMS serverless replication.

          • ProvisionState — (String)

            The current provisioning state

          • ProvisionedCapacityUnits — (Integer)

            The number of capacity units the replication is using.

          • DateProvisioned — (Date)

            The timestamp when DMS provisioned replication resources.

          • IsNewProvisioningAvailable — (Boolean)

            Whether the new provisioning is available to the replication.

          • DateNewProvisioningDataAvailable — (Date)

            The timestamp when provisioning became available.

          • ReasonForNewProvisioningData — (String)

            A message describing the reason that DMS provisioned new resources for the serverless replication.

        • StopReason — (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"

        • FailureMessages — (Array<String>)

          Error and other information about why a serverless replication failed.

        • ReplicationStats — (map)

          This object provides a collection of statistics about a serverless replication.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load serverless replication.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the replication, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this replication.

          • TablesLoading — (Integer)

            The number of tables currently loading for this replication.

          • TablesQueued — (Integer)

            The number of tables queued for this replication.

          • TablesErrored — (Integer)

            The number of errors that have occured for this replication.

          • FreshStartDate — (Date)

            The date the replication was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication is scheduled to start.

          • StopDate — (Date)

            The date the replication was stopped.

          • FullLoadStartDate — (Date)

            The date the replication full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication full load was finished.

        • StartReplicationType — (String)

          The replication type.

        • CdcStartTime — (Date)

          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.

        • CdcStartPosition — (String)

          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.

        • CdcStopPosition — (String)

          Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

        • RecoveryCheckpoint — (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.

        • ReplicationCreateTime — (Date)

          The time the serverless replication was created.

        • ReplicationUpdateTime — (Date)

          The time the serverless replication was updated.

        • ReplicationLastStopTime — (Date)

          The timestamp when replication was last stopped.

        • ReplicationDeprovisionTime — (Date)

          The timestamp when DMS will deprovision the replication.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReplicationTask(params = {}, callback) ⇒ AWS.Request

Starts the replication task.

For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.

Service Reference:

Examples:

Start replication task


/* Starts the replication task. */

 var params = {
  CdcStartTime: <Date Representation>, 
  ReplicationTaskArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ", 
  StartReplicationTaskType: "start-replication"
 };
 dms.startReplicationTask(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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: <Date Representation>, 
     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"
    }
   }
   */
 });

Calling the startReplicationTask operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  StartReplicationTaskType: start-replication | resume-processing | reload-target, /* required */
  CdcStartPosition: 'STRING_VALUE',
  CdcStartTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
  CdcStopPosition: 'STRING_VALUE'
};
dms.startReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task to be started.

    • StartReplicationTaskType — (String)

      The type of replication task to start.

      When the migration type is full-load or full-load-and-cdc, the only valid value for the first run of the task is start-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, use reload-target. Otherwise use resume-processing, to replicate the changes from the last stop position.

      Possible values include:
      • "start-replication"
      • "resume-processing"
      • "reload-target"
    • CdcStartTime — (Date)

      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”

    • CdcStartPosition — (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”

      Note: 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.
    • CdcStopPosition — (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“

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The replication task started.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReplicationTaskAssessment(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the startReplicationTaskAssessment operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE' /* required */
};
dms.startReplicationTaskAssessment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name (ARN) of the replication task.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The assessed replication task.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReplicationTaskAssessmentRun(params = {}, callback) ⇒ AWS.Request

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.

Examples:

Calling the startReplicationTaskAssessmentRun operation

var params = {
  AssessmentRunName: 'STRING_VALUE', /* required */
  ReplicationTaskArn: 'STRING_VALUE', /* required */
  ResultLocationBucket: 'STRING_VALUE', /* required */
  ServiceAccessRoleArn: 'STRING_VALUE', /* required */
  Exclude: [
    'STRING_VALUE',
    /* more items */
  ],
  IncludeOnly: [
    'STRING_VALUE',
    /* more items */
  ],
  ResultEncryptionMode: 'STRING_VALUE',
  ResultKmsKeyArn: 'STRING_VALUE',
  ResultLocationFolder: 'STRING_VALUE'
};
dms.startReplicationTaskAssessmentRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.

    • ServiceAccessRoleArn — (String)

      ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action.

    • ResultLocationBucket — (String)

      Amazon S3 bucket where you want DMS to store the results of this assessment run.

    • ResultLocationFolder — (String)

      Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.

    • ResultEncryptionMode — (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 — (String)

      ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to "SSE_KMS".

    • AssessmentRunName — (String)

      Unique name to identify the assessment run.

    • IncludeOnly — (Array<String>)

      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.

      Note: You can't set a value for IncludeOnly if you also set a value for Exclude 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 own ReplicationTaskArn request parameter.
    • Exclude — (Array<String>)

      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.

      Note: You can't set a value for Exclude if you also set a value for IncludeOnly 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 own ReplicationTaskArn request parameter.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTaskAssessmentRun — (map)

        The premigration assessment run that was started.

        • ReplicationTaskAssessmentRunArn — (String)

          Amazon Resource Name (ARN) of this assessment run.

        • ReplicationTaskArn — (String)

          ARN of the migration task associated with this premigration assessment run.

        • Status — (String)

          Assessment run status.

          This status can have one of the following values:

          • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

          • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

          • "failed" – At least one individual assessment completed with a failed status.

          • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

          • "error-executing" – An internal error occurred while individual assessments ran (during running status).

          • "invalid state" – The assessment run is in an unknown state.

          • "passed" – All individual assessments have completed, and none has a failed status.

          • "provisioning" – Resources required to run individual assessments are being provisioned.

          • "running" – Individual assessments are being run.

          • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        • ReplicationTaskAssessmentRunCreationDate — (Date)

          Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

        • AssessmentProgress — (map)

          Indication of the completion progress for the individual assessments specified to run.

          • IndividualAssessmentCount — (Integer)

            The number of individual assessments that are specified to run.

          • IndividualAssessmentCompletedCount — (Integer)

            The number of individual assessments that have completed, successfully or not.

        • LastFailureMessage — (String)

          Last message generated by an individual assessment failure.

        • ServiceAccessRoleArn — (String)

          ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

        • ResultLocationBucket — (String)

          Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultLocationFolder — (String)

          Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

        • ResultEncryptionMode — (String)

          Encryption mode used to encrypt the assessment run results.

        • ResultKmsKeyArn — (String)

          ARN of the KMS encryption key used to encrypt the assessment run results.

        • AssessmentRunName — (String)

          Unique name of the assessment run.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

stopReplication(params = {}, callback) ⇒ AWS.Request

For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.

Service Reference:

Examples:

Calling the stopReplication operation

var params = {
  ReplicationConfigArn: 'STRING_VALUE' /* required */
};
dms.stopReplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationConfigArn — (String)

      The Amazon Resource Name of the replication to stop.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Replication — (map)

        The replication that DMS stopped.

        • ReplicationConfigIdentifier — (String)

          The identifier for the ReplicationConfig associated with the replication.

        • ReplicationConfigArn — (String)

          The Amazon Resource Name for the ReplicationConfig associated with the replication.

        • SourceEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

        • TargetEndpointArn — (String)

          The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

        • ReplicationType — (String)

          The type of the serverless replication.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • Status — (String)

          The current status of the serverless replication.

        • ProvisionData — (map)

          Information about provisioning resources for an DMS serverless replication.

          • ProvisionState — (String)

            The current provisioning state

          • ProvisionedCapacityUnits — (Integer)

            The number of capacity units the replication is using.

          • DateProvisioned — (Date)

            The timestamp when DMS provisioned replication resources.

          • IsNewProvisioningAvailable — (Boolean)

            Whether the new provisioning is available to the replication.

          • DateNewProvisioningDataAvailable — (Date)

            The timestamp when provisioning became available.

          • ReasonForNewProvisioningData — (String)

            A message describing the reason that DMS provisioned new resources for the serverless replication.

        • StopReason — (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"

        • FailureMessages — (Array<String>)

          Error and other information about why a serverless replication failed.

        • ReplicationStats — (map)

          This object provides a collection of statistics about a serverless replication.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load serverless replication.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the replication, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this replication.

          • TablesLoading — (Integer)

            The number of tables currently loading for this replication.

          • TablesQueued — (Integer)

            The number of tables queued for this replication.

          • TablesErrored — (Integer)

            The number of errors that have occured for this replication.

          • FreshStartDate — (Date)

            The date the replication was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication is scheduled to start.

          • StopDate — (Date)

            The date the replication was stopped.

          • FullLoadStartDate — (Date)

            The date the replication full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication full load was finished.

        • StartReplicationType — (String)

          The replication type.

        • CdcStartTime — (Date)

          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.

        • CdcStartPosition — (String)

          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.

        • CdcStopPosition — (String)

          Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

        • RecoveryCheckpoint — (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.

        • ReplicationCreateTime — (Date)

          The time the serverless replication was created.

        • ReplicationUpdateTime — (Date)

          The time the serverless replication was updated.

        • ReplicationLastStopTime — (Date)

          The timestamp when replication was last stopped.

        • ReplicationDeprovisionTime — (Date)

          The timestamp when DMS will deprovision the replication.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

stopReplicationTask(params = {}, callback) ⇒ AWS.Request

Stops the replication task.

Service Reference:

Examples:

Stop replication task


/* Stops the replication task. */

 var params = {
  ReplicationTaskArn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"
 };
 dms.stopReplicationTask(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    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: <Date Representation>, 
     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"
    }
   }
   */
 });

Calling the stopReplicationTask operation

var params = {
  ReplicationTaskArn: 'STRING_VALUE' /* required */
};
dms.stopReplicationTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationTaskArn — (String)

      The Amazon Resource Name(ARN) of the replication task to be stopped.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ReplicationTask — (map)

        The replication task stopped.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

testConnection(params = {}, callback) ⇒ AWS.Request

Tests the connection between the replication instance and the endpoint.

Service Reference:

Examples:

Test conection


/* Tests the connection between the replication instance and the endpoint. */

 var params = {
  EndpointArn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM", 
  ReplicationInstanceArn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
 };
 dms.testConnection(params, function(err, data) {
   if (err) console.log(err, err.stack); // an error occurred
   else     console.log(data);           // successful response
   /*
   data = {
    Connection: {
    }
   }
   */
 });

Calling the testConnection operation

var params = {
  EndpointArn: 'STRING_VALUE', /* required */
  ReplicationInstanceArn: 'STRING_VALUE' /* required */
};
dms.testConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ReplicationInstanceArn — (String)

      The Amazon Resource Name (ARN) of the replication instance.

    • EndpointArn — (String)

      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connection — (map)

        The connection tested.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • EndpointArn — (String)

          The ARN string that uniquely identifies the endpoint.

        • Status — (String)

          The connection status. This parameter can return one of the following values:

          • "successful"

          • "testing"

          • "failed"

          • "deleting"

        • LastFailureMessage — (String)

          The error message when the connection last failed.

        • EndpointIdentifier — (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.

        • ReplicationInstanceIdentifier — (String)

          The replication instance identifier. This parameter is stored as a lowercase string.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateSubscriptionsToEventBridge(params = {}, callback) ⇒ AWS.Request

Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the Force option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.

To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.

Examples:

Calling the updateSubscriptionsToEventBridge operation

var params = {
  ForceMove: true || false
};
dms.updateSubscriptionsToEventBridge(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ForceMove — (Boolean)

      When set to true, this operation migrates DMS subscriptions for Amazon SNS notifications no matter what your replication instance version is. If not set or set to false, this operation runs only when all your replication instances are from DMS version 3.4.5 or higher.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Result — (String)

        A string that indicates how many event subscriptions were migrated and how many remain to be migrated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

waitFor(state, params = {}, callback) ⇒ AWS.Request

Waits for a given DMS resource. The final callback or 'complete' event will be fired only when the resource is either in its final state or the waiter has timed out and stopped polling for the final state.

Examples:

Waiting for the testConnectionSucceeds state

var params = {
  // ... input parameters ...
};
dms.waitFor('testConnectionSucceeds', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • state (String)

    the resource state to wait for. Available states for this service are listed in "Waiter Resource States" below.

  • params (map) (defaults to: {})

    a list of parameters for the given state. See each waiter resource state for required parameters.

Callback (callback):

  • function(err, data) { ... }

    Callback containing error and data information. See the respective resource state for the expected error or data information.

    If the waiter times out its requests, it will return a ResourceNotReady error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

Waiter Resource Details

dms.waitFor('testConnectionSucceeds', params = {}, [callback]) ⇒ AWS.Request

Waits for the testConnectionSucceeds state by periodically calling the underlying DMS.describeConnections() operation every 5 seconds (at most 60 times).

Examples:

Waiting for the testConnectionSucceeds state

var params = {
  // ... input parameters ...
};
dms.waitFor('testConnectionSucceeds', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      The filters applied to the connection.

      Valid filter names: endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • Connections — (Array<map>)

        A description of the connections.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • EndpointArn — (String)

          The ARN string that uniquely identifies the endpoint.

        • Status — (String)

          The connection status. This parameter can return one of the following values:

          • "successful"

          • "testing"

          • "failed"

          • "deleting"

        • LastFailureMessage — (String)

          The error message when the connection last failed.

        • EndpointIdentifier — (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.

        • ReplicationInstanceIdentifier — (String)

          The replication instance identifier. This parameter is stored as a lowercase string.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('endpointDeleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the endpointDeleted state by periodically calling the underlying DMS.describeEndpoints() operation every 5 seconds (at most 60 times).

Examples:

Waiting for the endpointDeleted state

var params = {
  // ... input parameters ...
};
dms.waitFor('endpointDeleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to the endpoints.

      Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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.

      • Endpoints — (Array<map>)

        Endpoint description.

        • EndpointIdentifier — (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 — (String)

          The type of endpoint. Valid values are source and target.

          Possible values include:
          • "source"
          • "target"
        • EngineName — (String)

          The database engine name. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "redshift-serverless", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", "neptune", and "babelfish".

        • EngineDisplayName — (String)

          The expanded name for the engine name. For example, if the EngineName parameter is "aurora", this value would be "Amazon Aurora MySQL".

        • Username — (String)

          The user name used to connect to the endpoint.

        • ServerName — (String)

          The name of the server at the endpoint.

        • Port — (Integer)

          The port value used to access the endpoint.

        • DatabaseName — (String)

          The name of the database at the endpoint.

        • ExtraConnectionAttributes — (String)

          Additional connection attributes used to connect to the endpoint.

        • Status — (String)

          The status of the endpoint.

        • KmsKeyId — (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.

        • EndpointArn — (String)

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        • CertificateArn — (String)

          The Amazon Resource Name (ARN) used for SSL connection to the endpoint.

        • SslMode — (String)

          The SSL mode used to connect to the endpoint. The default value is none.

          Possible values include:
          • "none"
          • "require"
          • "verify-ca"
          • "verify-full"
        • ServiceAccessRoleArn — (String)

          The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • ExternalTableDefinition — (String)

          The external table definition.

        • ExternalId — (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.

        • DynamoDbSettings — (map)

          The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

        • S3Settings — (map)

          The settings for the S3 target endpoint. For more information, see the S3Settings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action. It is a required parameter that enables DMS to write and read objects from an S3 bucket.

          • ExternalTableDefinition — (String)

            Specifies how tables are defined in the S3 source files only.

          • CsvRowDelimiter — (String)

            The delimiter used to separate rows in the .csv file for both source and target. The default is a carriage return (\n).

          • CsvDelimiter — (String)

            The delimiter used to separate columns in the .csv file for both source and target. The default is a comma.

          • BucketFolder — (String)

            An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path bucketFolder/schema_name/table_name/. If this parameter isn't specified, then the path used is schema_name/table_name/.

          • BucketName — (String)

            The name of the S3 bucket.

          • CompressionType — (String)

            An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. This parameter applies to both .csv and .parquet file formats.

            Possible values include:
            • "none"
            • "gzip"
          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_KMS.

            To use SSE_S3, you need an Identity and Access Management (IAM) role with permission to allow "arn:aws:s3:::dms-*" to use the following actions:

            • s3:CreateBucket

            • s3:ListBucket

            • s3:DeleteBucket

            • s3:GetBucketLocation

            • s3:GetObject

            • s3:PutObject

            • s3:DeleteObject

            • s3:GetObjectVersion

            • s3:GetBucketPolicy

            • s3:PutBucketPolicy

            • s3:DeleteBucketPolicy

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ServerSideEncryptionKmsKeyId — (String)

            If you are using SSE_KMS for the EncryptionMode, provide the KMS key ID. The key that you use needs an attached policy that enables Identity and Access Management (IAM) user permissions and allows use of the key.

            Here is a CLI example: aws dms create-endpoint --endpoint-identifier value --endpoint-type target --engine-name s3 --s3-settings ServiceAccessRoleArn=value,BucketFolder=value,BucketName=value,EncryptionMode=SSE_KMS,ServerSideEncryptionKmsKeyId=value

          • DataFormat — (String)

            The format of the data that you want to use for output. You can choose one of the following:

            • csv : This is a row-based file format with comma-separated values (.csv).

            • parquet : Apache Parquet (.parquet) is a columnar storage file format that features efficient compression and provides faster query response.

            Possible values include:
            • "csv"
            • "parquet"
          • EncodingType — (String)

            The type of encoding you are using:

            • RLE_DICTIONARY uses a combination of bit-packing and run-length encoding to store repeated values more efficiently. This is the default.

            • PLAIN doesn't use encoding at all. Values are stored as they are.

            • PLAIN_DICTIONARY builds a dictionary of the values encountered in a given column. The dictionary is stored in a dictionary page for each column chunk.

            Possible values include:
            • "plain"
            • "plain-dictionary"
            • "rle-dictionary"
          • DictPageSizeLimit — (Integer)

            The maximum size of an encoded dictionary page of a column. If the dictionary page exceeds this, this column is stored using an encoding type of PLAIN. This parameter defaults to 1024 * 1024 bytes (1 MiB), the maximum size of a dictionary page before it reverts to PLAIN encoding. This size is used for .parquet file format only.

          • RowGroupLength — (Integer)

            The number of rows in a row group. A smaller row group size provides faster reads. But as the number of row groups grows, the slower writes become. This parameter defaults to 10,000 rows. This number is used for .parquet file format only.

            If you choose a value larger than the maximum, RowGroupLength is set to the max row group length in bytes (64 * 1024 * 1024).

          • DataPageSize — (Integer)

            The size of one data page in bytes. This parameter defaults to 1024 * 1024 bytes (1 MiB). This number is used for .parquet file format only.

          • ParquetVersion — (String)

            The version of the Apache Parquet format that you want to use: parquet_1_0 (the default) or parquet_2_0.

            Possible values include:
            • "parquet-1-0"
            • "parquet-2-0"
          • EnableStatistics — (Boolean)

            A value that enables statistics for Parquet pages and row groups. Choose true to enable statistics, false to disable. Statistics include NULL, DISTINCT, MAX, and MIN values. This parameter defaults to true. This value is used for .parquet file format only.

          • IncludeOpForFullLoad — (Boolean)

            A value that enables a full load to write INSERT operations to the comma-separated value (.csv) or .parquet output files only to indicate how the rows were added to the source database.

            Note: DMS supports the IncludeOpForFullLoad parameter in versions 3.1.4 and later. DMS supports the use of the .parquet files with the IncludeOpForFullLoad parameter in versions 3.4.7 and later.

            For full load, records can only be inserted. By default (the false setting), no information is recorded in these output files for a full load to indicate that the rows were inserted at the source database. If IncludeOpForFullLoad is set to true or y, the INSERT is recorded as an I annotation in the first field of the .csv file. This allows the format of your target records from a full load to be consistent with the target records from a CDC load.

            Note: This setting works together with the CdcInsertsOnly and the CdcInsertsAndUpdates parameters for output to .csv files only. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..
          • CdcInsertsOnly — (Boolean)

            A value that enables a change data capture (CDC) load to write only INSERT operations to .csv or columnar storage (.parquet) output files. By default (the false setting), the first field in a .csv or .parquet record contains the letter I (INSERT), U (UPDATE), or D (DELETE). These values indicate whether the row was inserted, updated, or deleted at the source database for a CDC load to the target.

            If CdcInsertsOnly is set to true or y, only INSERTs from the source database are migrated to the .csv or .parquet file. For .csv format only, how these INSERTs are recorded depends on the value of IncludeOpForFullLoad. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to I to indicate the INSERT operation at the source. If IncludeOpForFullLoad is set to false, every CDC record is written without a first field to indicate the INSERT operation at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the interaction described preceding between the CdcInsertsOnly and IncludeOpForFullLoad parameters in versions 3.1.4 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • TimestampColumnName — (String)

            A value that when nonblank causes DMS to add a column with timestamp information to the endpoint data for an Amazon S3 target.

            Note: DMS supports the TimestampColumnName parameter in versions 3.1.4 and later.

            DMS includes an additional STRING column in the .csv or .parquet object files of your migrated data when you set TimestampColumnName to a nonblank value.

            For a full load, each row of this timestamp column contains a timestamp for when the data was transferred from the source to the target by DMS.

            For a change data capture (CDC) load, each row of the timestamp column contains the timestamp for the commit of that row in the source database.

            The string format for this timestamp column value is yyyy-MM-dd HH:mm:ss.SSSSSS. By default, the precision of this value is in microseconds. For a CDC load, the rounding of the precision depends on the commit timestamp supported by DMS for the source database.

            When the AddColumnName parameter is set to true, DMS also includes a name for the timestamp column that you set with TimestampColumnName.

          • ParquetTimestampInMillisecond — (Boolean)

            A value that specifies the precision of any TIMESTAMP column values that are written to an Amazon S3 object file in .parquet format.

            Note: DMS supports the ParquetTimestampInMillisecond parameter in versions 3.1.4 and later.

            When ParquetTimestampInMillisecond is set to true or y, DMS writes all TIMESTAMP columns in a .parquet formatted file with millisecond precision. Otherwise, DMS writes them with microsecond precision.

            Currently, Amazon Athena and Glue can handle only millisecond precision for TIMESTAMP values. Set this parameter to true for S3 endpoint object files that are .parquet formatted only if you plan to query or process the data with Athena or Glue.

            Note: DMS writes any TIMESTAMP column values written to an S3 file in .csv format with microsecond precision. Setting ParquetTimestampInMillisecond has no effect on the string format of the timestamp column value that is inserted by setting the TimestampColumnName parameter.
          • CdcInsertsAndUpdates — (Boolean)

            A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file.

            DMS supports the use of the .parquet files in versions 3.4.7 and later.

            How these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the Database Migration Service User Guide..

            Note: DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
          • DatePartitionEnabled — (Boolean)

            When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

          • DatePartitionSequence — (String)

            Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "YYYYMMDD"
            • "YYYYMMDDHH"
            • "YYYYMM"
            • "MMYYYYDD"
            • "DDMMYYYY"
          • DatePartitionDelimiter — (String)

            Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH. Use this parameter when DatePartitionedEnabled is set to true.

            Possible values include:
            • "SLASH"
            • "UNDERSCORE"
            • "DASH"
            • "NONE"
          • UseCsvNoSupValue — (Boolean)

            This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • CsvNoSupValue — (String)

            This setting only applies if your Amazon S3 output files during a change data capture (CDC) load are written in .csv format. If UseCsvNoSupValue is set to true, specify a string value that you want DMS to use for all columns not included in the supplemental log. If you do not specify a string value, DMS uses the null value for these columns regardless of the UseCsvNoSupValue setting.

            Note: This setting is supported in DMS versions 3.4.1 and later.
          • PreserveTransactions — (Boolean)

            If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • CdcPath — (String)

            Specifies the folder path of CDC files. For an S3 source, this setting is required if a task captures change data; otherwise, it's optional. If CdcPath is set, DMS reads CDC files from this path and replicates the data changes to the target endpoint. For an S3 target if you set PreserveTransactions to true, DMS verifies that you have set this parameter to a folder path on your S3 target where DMS can save the transaction order for the CDC load. DMS creates this CDC folder path in either your S3 target working directory or the S3 target location specified by BucketFolder and BucketName .

            For example, if you specify CdcPath as MyChangedData, and you specify BucketName as MyTargetBucket but do not specify BucketFolder, DMS creates the CDC folder path following: MyTargetBucket/MyChangedData.

            If you specify the same CdcPath, and you specify BucketName as MyTargetBucket and BucketFolder as MyTargetData, DMS creates the CDC folder path following: MyTargetBucket/MyTargetData/MyChangedData.

            For more information on CDC including transaction order on an S3 target, see Capturing data changes (CDC) including transaction order on the S3 target.

            Note: This setting is supported in DMS versions 3.4.2 and later.
          • UseTaskStartTimeForFullLoadTimestamp — (Boolean)

            When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

            When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

          • CannedAclForObjects — (String)

            A value that enables DMS to specify a predefined (canned) access control list for objects created in an Amazon S3 bucket as .csv or .parquet files. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 Developer Guide.

            The default value is NONE. Valid values include NONE, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_READ, and BUCKET_OWNER_FULL_CONTROL.

            Possible values include:
            • "none"
            • "private"
            • "public-read"
            • "public-read-write"
            • "authenticated-read"
            • "aws-exec-read"
            • "bucket-owner-read"
            • "bucket-owner-full-control"
          • AddColumnName — (Boolean)

            An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

            The default value is false. Valid values are true, false, y, and n.

          • CdcMaxBatchInterval — (Integer)

            Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3.

            When CdcMaxBatchInterval and CdcMinFileSize are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 60 seconds.

          • CdcMinFileSize — (Integer)

            Minimum file size, defined in kilobytes, to reach for a file output to Amazon S3.

            When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

            The default value is 32 MB.

          • CsvNullValue — (String)

            An optional parameter that specifies how DMS treats null values. While handling the null value, you can use this parameter to pass a user-defined string as null when writing to the target. For example, when target columns are nullable, you can use this option to differentiate between the empty string value and the null value. So, if you set this parameter value to the empty string ("" or ''), DMS treats the empty string as the null value instead of NULL.

            The default value is NULL. Valid values include any valid string.

          • IgnoreHeaderRows — (Integer)

            When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

            The default is 0.

          • MaxFileSize — (Integer)

            A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

            The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

          • Rfc4180 — (Boolean)

            For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

            For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks ("). Every quotation mark within the data is repeated twice.

            The default value is true. Valid values include true, false, y, and n.

          • DatePartitionTimezone — (String)

            When creating an S3 target endpoint, set DatePartitionTimezone to convert the current UTC time into a specified time zone. The conversion occurs when a date partition folder is created and a CDC filename is generated. The time zone format is Area/Location. Use this parameter when DatePartitionedEnabled is set to true, as shown in the following example.

            s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH", "DatePartitionDelimiter": "SLASH", "DatePartitionTimezone":"Asia/Seoul", "BucketName": "dms-nattarat-test"}'

          • AddTrailingPaddingCharacter — (Boolean)

            Use the S3 target endpoint setting AddTrailingPaddingCharacter to add padding on string data. The default value is false.

          • ExpectedBucketOwner — (String)

            To specify a bucket owner and prevent sniping, you can use the ExpectedBucketOwner endpoint setting.

            Example: --s3-settings='{"ExpectedBucketOwner": "AWS_Account_ID"}'

            When you make a request to test a connection or perform a migration, S3 checks the account ID of the bucket owner against the specified parameter.

          • GlueCatalogGeneration — (Boolean)

            When true, allows Glue to catalog your S3 bucket. Creating an Glue catalog lets you use Athena to query your data.

        • DmsTransferSettings — (map)

          The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

          • ServiceAccessRoleArn — (String)

            The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.

          • BucketName — (String)

            The name of the S3 bucket to use.

        • MongoDbSettings — (map)

          The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings structure.

          • Username — (String)

            The user name you use to access the MongoDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the MongoDB source endpoint.

          • ServerName — (String)

            The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set.

          • Port — (Integer)

            The port value for the MongoDB source endpoint.

          • DatabaseName — (String)

            The database name on the MongoDB source endpoint.

          • AuthType — (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.

            Possible values include:
            • "no"
            • "password"
          • AuthMechanism — (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 when AuthType is set to "no".

            Possible values include:
            • "default"
            • "mongodb_cr"
            • "scram_sha_1"
          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (String)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (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 is 1000.

          • AuthSource — (String)

            The MongoDB database name. This setting isn't used when AuthType is set to "no".

            The default is "admin".

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MongoDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MongoDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the MongoDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • KinesisSettings — (map)

          The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings structure.

          • StreamArn — (String)

            The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • ServiceAccessRoleArn — (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.

          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (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 — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

        • KafkaSettings — (map)

          The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings structure.

          • Broker — (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.

          • Topic — (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.

          • MessageFormat — (String)

            The output format for the records created on the endpoint. The message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).

            Possible values include:
            • "json"
            • "json-unformatted"
          • IncludeTransactionDetails — (Boolean)

            Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

          • IncludePartitionValue — (Boolean)

            Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

          • PartitionIncludeSchemaTable — (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 is false.

          • IncludeTableAlterOperations — (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, and rename-column. The default is false.

          • IncludeControlDetails — (Boolean)

            Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. The default is false.

          • MessageMaxBytes — (Integer)

            The maximum size in bytes for records created on the endpoint The default is 1,000,000.

          • IncludeNullAndEmpty — (Boolean)

            Include NULL and empty columns for records migrated to the endpoint. The default is false.

          • SecurityProtocol — (String)

            Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires SaslUsername and SaslPassword.

            Possible values include:
            • "plaintext"
            • "ssl-authentication"
            • "ssl-encryption"
            • "sasl-ssl"
          • SslClientCertificateArn — (String)

            The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint.

          • SslClientKeyArn — (String)

            The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint.

          • SslClientKeyPassword — (String)

            The password for the client private key used to securely connect to a Kafka target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that DMS uses to securely connect to your Kafka target endpoint.

          • SaslUsername — (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.

          • SaslPassword — (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.

          • NoHexPrefix — (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 the NoHexPrefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.

          • SaslMechanism — (String)

            For SASL/SSL authentication, DMS supports the SCRAM-SHA-512 mechanism by default. DMS versions 3.5.0 and later also support the PLAIN mechanism. To use the PLAIN mechanism, set this parameter to PLAIN.

            Possible values include:
            • "scram-sha-512"
            • "plain"
          • SslEndpointIdentificationAlgorithm — (String)

            Sets hostname verification for the certificate. This setting is supported in DMS version 3.5.1 and later.

            Possible values include:
            • "none"
            • "https"
        • ElasticsearchSettings — (map)

          The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

          • ServiceAccessRoleArnrequired — (String)

            The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

          • EndpointUrirequired — (String)

            The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

          • FullLoadErrorPercentage — (Integer)

            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.

          • ErrorRetryDuration — (Integer)

            The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

          • UseNewMappingType — (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 is false.

        • NeptuneSettings — (map)

          The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings structure.

          • ServiceAccessRoleArn — (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.

          • S3BucketNamerequired — (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.

          • S3BucketFolderrequired — (String)

            A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

          • ErrorRetryDuration — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (Integer)

            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.

          • IamAuthEnabled — (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 by ServiceAccessRoleArn. The default is false.

        • RedshiftSettings — (map)

          Settings for the Amazon Redshift endpoint.

          • AcceptAnyDate — (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 or false (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 — (String)

            Code to run after connecting. This parameter should contain the code itself, not the name of a file containing the code.

          • BucketFolder — (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 the COPY 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 — (String)

            The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.

          • CaseSensitiveNames — (Boolean)

            If Amazon Redshift is configured to support case sensitive schema names, set CaseSensitiveNames to true. The default is false.

          • CompUpdate — (Boolean)

            If you set CompUpdate to true Amazon Redshift applies automatic compression if the table is empty. This applies even if the table columns already have encodings other than RAW. If you set CompUpdate to false, automatic compression is disabled and existing column encodings aren't changed. The default is true.

          • ConnectionTimeout — (Integer)

            A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

          • DatabaseName — (String)

            The name of the Amazon Redshift data warehouse (service) that you are working with.

          • DateFormat — (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'. Using auto 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 — (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 is false.

          • EncryptionMode — (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) or SSE_KMS.

            Note: For the ModifyEndpoint operation, you can change the existing value of the EncryptionMode parameter from SSE_KMS to SSE_S3. But you can’t change the existing value from SSE_S3 to SSE_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"

            Possible values include:
            • "sse-s3"
            • "sse-kms"
          • ExplicitIds — (Boolean)

            This setting is only valid for a full-load migration task. Set ExplicitIds to true to have tables with IDENTITY columns override their auto-generated values with explicit values loaded from the source data files used to populate the tables. The default is false.

          • FileTransferUploadStreams — (Integer)

            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 — (Integer)

            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.

          • MaxFileSize — (Integer)

            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 — (String)

            The password for the user named in the username property.

          • Port — (Integer)

            The port number for Amazon Redshift. The default value is 5439.

          • RemoveQuotes — (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 is false.

          • ReplaceInvalidChars — (String)

            A list of characters that you want to replace. Use with ReplaceChars.

          • ReplaceChars — (String)

            A value that specifies to replaces the invalid characters specified in ReplaceInvalidChars, substituting the specified characters instead. The default is "?".

          • ServerName — (String)

            The name of the Amazon Redshift cluster you are using.

          • ServiceAccessRoleArn — (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.

          • ServerSideEncryptionKmsKeyId — (String)

            The KMS key ID. If you are using SSE_KMS for the EncryptionMode, provide this key ID. The key that you use needs an attached policy that enables IAM user permissions and allows use of the key.

          • TimeFormat — (String)

            The time format that you want to use. Valid values are auto (case-sensitive), 'timeformat_string', 'epochsecs', or 'epochmillisecs'. It defaults to 10. Using auto 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 — (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 is false.

          • TruncateColumns — (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 is false.

          • Username — (String)

            An Amazon Redshift user name for a registered user.

          • WriteBufferSize — (Integer)

            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).

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Amazon Redshift endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Amazon Redshift endpoint connection details.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets Redshift migrate the boolean type as boolean. By default, Redshift migrates booleans as varchar(1). You must set this setting on both the source and target endpoints for it to take effect.

        • PostgreSQLSettings — (map)

          The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings structure.

          • AfterConnectScript — (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 — (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.

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

            Example: maxFileSize=512

          • DatabaseName — (String)

            Database name for the endpoint.

          • DdlArtifactsSchema — (String)

            The schema in which the operational DDL database artifacts are created.

            Example: ddlArtifactsSchema=xyzddlschema;

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

            Example: executeTimeout=100;

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize.

            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 — (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.

          • HeartbeatSchema — (String)

            Sets the schema in which the heartbeat artifacts are created.

          • HeartbeatFrequency — (Integer)

            Sets the WAL heartbeat frequency (in minutes).

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5432.

          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • SlotName — (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 of CdcStartPosition. If the specified slot doesn't exist or the task doesn't have a valid CdcStartPosition 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 using CdcStartPosition, see CreateReplicationTask, StartReplicationTask, and ModifyReplicationTask.

          • PluginName — (String)

            Specifies the plugin to use to create a replication slot.

            Possible values include:
            • "no-preference"
            • "test-decoding"
            • "pglogical"
          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the PostgreSQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the PostgreSQL endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • MapBooleanAsBoolean — (Boolean)

            When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as varchar(5). You must set this setting on both the source and target endpoints for it to take effect.

          • MapJsonbAsClob — (Boolean)

            When true, DMS migrates JSONB values as CLOB.

          • MapLongVarcharAs — (String)

            When true, DMS migrates LONG values as VARCHAR.

            Possible values include:
            • "wstring"
            • "clob"
            • "nclob"
          • DatabaseMode — (String)

            Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.

            Possible values include:
            • "default"
            • "babelfish"
          • BabelfishDatabaseName — (String)

            The Babelfish for Aurora PostgreSQL database name for the endpoint.

        • MySQLSettings — (map)

          The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings structure.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (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 the DatabaseName parameter of the Endpoint object.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (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 — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

          • ExecuteTimeout — (Integer)

            Sets the client statement timeout (in seconds) for a MySQL source endpoint.

        • OracleSettings — (map)

          The settings for the Oracle source and target endpoint. For more information, see the OracleSettings structure.

          • AddSupplementalLogging — (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.

          • ArchivedLogDestId — (Integer)

            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.

          • AdditionalArchivedLogDestId — (Integer)

            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 use RESETLOGS unless necessary. For additional information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • ExtraArchivedLogDestIds — (Array<Integer>)

            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 the v$archived_log view. Use this setting with the archivedLogDestId 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 use RESETLOGS unless it's necessary. For more information about RESETLOGS, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide.

          • AllowSelectNestedTables — (Boolean)

            Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.

          • ParallelAsmReadThreads — (Integer)

            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.

          • ReadAheadBlocks — (Integer)

            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).

          • AccessAlternateDirectly — (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.

          • UseAlternateFolderForOnline — (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.

          • OraclePathPrefix — (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.

          • UsePathPrefix — (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.

          • ReplacePathPrefix — (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.

          • EnableHomogenousTablespace — (Boolean)

            Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.

          • DirectPathNoLog — (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.

          • ArchivedLogsOnly — (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 — (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 the Password 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 — (String)

            For an Oracle source endpoint, your ASM server address. You can set this value from the asm_server value. You set asm_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 — (String)

            For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_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 — (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;

            Possible values include:
            • "default"
            • "char"
            • "byte"
          • DatabaseName — (String)

            Database name for the endpoint.

          • DirectPathParallelLoad — (Boolean)

            When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the DMS parallel load feature. Note that the target table cannot have any constraints or indexes.

          • FailTasksOnLobTruncation — (Boolean)

            When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize.

            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 — (Integer)

            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

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ReadTableSpaceName — (Boolean)

            When set to true, this attribute supports tablespace replication.

          • RetryInterval — (Integer)

            Specifies the number of seconds that the system waits before resending a query.

            Example: retryInterval=6;

          • SecurityDbEncryption — (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 the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • SecurityDbEncryptionName — (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 of SecurityDbEncryptionName, see the information and example for setting the securityDbEncryptionName extra connection attribute in Supported encryption methods for using Oracle as a source for DMS in the Database Migration Service User Guide.

          • ServerName — (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 — (String)

            Use this attribute to convert SDO_GEOMETRY to GEOJSON format. By default, DMS calls the SDO2GEOJSON custom function if present and accessible. Or you can create your own custom function that mimics the operation of SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName to call it instead.

          • StandbyDelayTime — (Integer)

            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.

          • Username — (String)

            Endpoint connection user name.

          • UseBFile — (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 — (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 — (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 set UseBfile 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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Oracle endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Oracle endpoint connection details.

          • SecretsManagerOracleAsmAccessRoleArn — (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. This SecretsManagerOracleAsmSecret has the secret value that allows access to the Oracle ASM of the endpoint.

            Note: 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 for AsmUser, AsmPassword, and AsmServerName. You can't specify both. For more information on creating this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerOracleAsmSecretId — (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.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR data types during migration. The default value is true.

          • ConvertTimestampWithZoneToUTC — (Boolean)

            When true, converts timestamps with the timezone datatype to their UTC value.

          • OpenTransactionWindow — (Integer)

            The timeframe in minutes to check for open transactions for a CDC-only task.

            You can specify an integer value between 0 (the default) and 240 (the maximum).

            Note: This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window of up to 9.5 hours including the value for OpenTransactionWindow.
        • SybaseSettings — (map)

          The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default is 5000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SAP ASE endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.

        • MicrosoftSQLServerSettings — (map)

          The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings structure.

          • Port — (Integer)

            Endpoint TCP port.

          • BcpPacketSize — (Integer)

            The maximum size of the packets (in bytes) used to transfer data using BCP.

          • DatabaseName — (String)

            Database name for the endpoint.

          • ControlTablesFileGroup — (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.

          • Password — (String)

            Endpoint connection password.

          • QuerySingleAlwaysOnNode — (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 — (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 to Y 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 — (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.

            Possible values include:
            • "rely-on-sql-server-replication-agent"
            • "exclusive-automatic-truncation"
            • "shared-automatic-truncation"
          • ServerName — (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.

          • Username — (String)

            Endpoint connection user name.

          • UseBcpFullLoad — (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 — (Boolean)

            When this attribute is set to Y, DMS processes third-party transaction log backups if they are created in native format.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the SQL Server endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

          • TrimSpaceInChar — (Boolean)

            Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim data. The default value is true.

          • TlogAccessMode — (String)

            Indicates the mode used to fetch CDC data.

            Possible values include:
            • "BackupOnly"
            • "PreferBackup"
            • "PreferTlog"
            • "TlogOnly"
          • ForceLobLookup — (Boolean)

            Forces LOB lookup on inline LOB.

        • IBMDb2Settings — (map)

          The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings structure.

          • DatabaseName — (String)

            Database name for the endpoint.

          • Password — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port. The default value is 50000.

          • ServerName — (String)

            Fully qualified domain name of the endpoint.

          • SetDataCaptureChanges — (Boolean)

            Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

          • CurrentLsn — (String)

            For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

          • MaxKBytesPerRead — (Integer)

            Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the Db2 LUW endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW endpoint connection details.

          • LoadTimeout — (Integer)

            The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).

          • WriteBufferSize — (Integer)

            The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).

          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.

          • KeepCsvFiles — (Boolean)

            If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.

            The default value is false.

        • DocDbSettings — (map)

          Provides information that defines a DocumentDB endpoint.

          • Username — (String)

            The user name you use to access the DocumentDB source endpoint.

          • Password — (String)

            The password for the user account you use to access the DocumentDB source endpoint.

          • ServerName — (String)

            The name of the server on the DocumentDB source endpoint.

          • Port — (Integer)

            The port value for the DocumentDB source endpoint.

          • DatabaseName — (String)

            The database name on the DocumentDB source endpoint.

          • NestingLevel — (String)

            Specifies either document or table mode.

            Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode.

            Possible values include:
            • "none"
            • "one"
          • ExtractDocId — (Boolean)

            Specifies the document ID. Use this setting when NestingLevel is set to "none".

            Default value is "false".

          • DocsToInvestigate — (Integer)

            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 is 1000.

          • KmsKeyId — (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.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the DocumentDB endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

          • UseUpdateLookUp — (Boolean)

            If true, DMS retrieves the entire document from the DocumentDB source during migration. This may cause a migration failure if the server response exceeds bandwidth limits. To fetch only updates and deletes during migration, set this parameter to false.

          • ReplicateShardCollections — (Boolean)

            If true, DMS replicates data to shard collections. DMS only uses this setting if the target endpoint is a DocumentDB elastic cluster.

            When this setting is true, note the following:

            • You must set TargetTablePrepMode to nothing.

            • DMS automatically sets useUpdateLookup to false.

        • RedisSettings — (map)

          The settings for the Redis target endpoint. For more information, see the RedisSettings structure.

          • ServerNamerequired — (String)

            Fully qualified domain name of the endpoint.

          • Portrequired — (Integer)

            Transmission Control Protocol (TCP) port for the endpoint.

          • SslSecurityProtocol — (String)

            The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext and ssl-encryption. The default is ssl-encryption. The ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn 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.

            Possible values include:
            • "plaintext"
            • "ssl-encryption"
          • AuthType — (String)

            The type of authentication to perform when connecting to a Redis target. Options include none, auth-token, and auth-role. The auth-token option requires an AuthPassword value to be provided. The auth-role option requires AuthUserName and AuthPassword values to be provided.

            Possible values include:
            • "none"
            • "auth-role"
            • "auth-token"
          • AuthUserName — (String)

            The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

          • AuthPassword — (String)

            The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

          • SslCaCertificateArn — (String)

            The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.

        • GcpMySQLSettings — (map)

          Settings in JSON format for the source GCP MySQL endpoint.

          • AfterConnectScript — (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 — (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 — (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 the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName 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 — (Integer)

            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.

          • TargetDbType — (String)

            Specifies where to migrate source tables on the target, either to a single database or multiple databases.

            Example: targetDbType=MULTIPLE_DATABASES

            Possible values include:
            • "specific-database"
            • "multiple-databases"
          • MaxFileSize — (Integer)

            Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

            Example: maxFileSize=512

          • ParallelLoadThreads — (Integer)

            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 — (String)

            Endpoint connection password.

          • Port — (Integer)

            Endpoint TCP port.

          • ServerName — (String)

            The MySQL host name.

          • ServerTimezone — (String)

            Specifies the time zone for the source MySQL database.

            Example: serverTimezone=US/Pacific;

            Note: Do not enclose time zones in single quotes.

          • Username — (String)

            Endpoint connection user name.

          • SecretsManagerAccessRoleArn — (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 the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

            Note: 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 for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.
          • SecretsManagerSecretId — (String)

            The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

        • TimestreamSettings — (map)

          The settings for the Amazon Timestream target endpoint. For more information, see the TimestreamSettings structure.

          • DatabaseNamerequired — (String)

            Database name for the endpoint.

          • MemoryDurationrequired — (Integer)

            Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

          • MagneticDurationrequired — (Integer)

            Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see Storage in the Amazon Timestream Developer Guide.

          • CdcInsertsAndUpdates — (Boolean)

            Set this attribute to true to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is false, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

          • EnableMagneticStoreWrites — (Boolean)

            Set this attribute to true to enable memory store writes. When this value is false, DMS does not write records that are older in days than the value specified in MagneticDuration, because Amazon Timestream does not allow memory writes by default. For more information, see Storage in the Amazon Timestream Developer Guide.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationInstanceAvailable', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationInstanceAvailable state by periodically calling the underlying DMS.describeReplicationInstances() operation every 60 seconds (at most 60 times).

Examples:

Waiting for the replicationInstanceAvailable state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationInstanceAvailable', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication instances.

      Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        The replication instances described.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationInstanceDeleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationInstanceDeleted state by periodically calling the underlying DMS.describeReplicationInstances() operation every 15 seconds (at most 60 times).

Examples:

Waiting for the replicationInstanceDeleted state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationInstanceDeleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication instances.

      Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        The replication instances described.

        • ReplicationInstanceIdentifier — (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

        • ReplicationInstanceClass — (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.

        • ReplicationInstanceStatus — (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"

        • AllocatedStorage — (Integer)

          The amount of storage (in gigabytes) that is allocated for the replication instance.

        • InstanceCreateTime — (Date)

          The time the replication instance was created.

        • VpcSecurityGroups — (Array<map>)

          The VPC security group for the instance.

          • VpcSecurityGroupId — (String)

            The VPC security group ID.

          • Status — (String)

            The status of the VPC security group.

        • AvailabilityZone — (String)

          The Availability Zone for the instance.

        • ReplicationSubnetGroup — (map)

          The subnet group for the replication instance.

          • ReplicationSubnetGroupIdentifier — (String)

            The identifier of the replication instance subnet group.

          • ReplicationSubnetGroupDescription — (String)

            A description for the replication subnet group.

          • VpcId — (String)

            The ID of the VPC.

          • SubnetGroupStatus — (String)

            The status of the subnet group.

          • Subnets — (Array<map>)

            The subnets that are in the subnet group.

            • SubnetIdentifier — (String)

              The subnet identifier.

            • SubnetAvailabilityZone — (map)

              The Availability Zone of the subnet.

              • Name — (String)

                The name of the Availability Zone.

            • SubnetStatus — (String)

              The status of the subnet.

          • SupportedNetworkTypes — (Array<String>)

            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.

        • PreferredMaintenanceWindow — (String)

          The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

        • PendingModifiedValues — (map)

          The pending modification values.

          • ReplicationInstanceClass — (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.

          • AllocatedStorage — (Integer)

            The amount of storage (in gigabytes) that is allocated for the replication instance.

          • MultiAZ — (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 to true.

          • EngineVersion — (String)

            The engine version number of the replication instance.

          • NetworkType — (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.

        • MultiAZ — (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 to true.

        • EngineVersion — (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 to true.

        • AutoMinorVersionUpgrade — (Boolean)

          Boolean value indicating if minor version upgrades will be automatically applied to the instance.

        • KmsKeyId — (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.

        • ReplicationInstanceArn — (String)

          The Amazon Resource Name (ARN) of the replication instance.

        • ReplicationInstancePublicIpAddress — (String)

          The public IP address of the replication instance.

        • ReplicationInstancePrivateIpAddress — (String)

          The private IP address of the replication instance.

        • ReplicationInstancePublicIpAddresses — (Array<String>)

          One or more public IP addresses for the replication instance.

        • ReplicationInstancePrivateIpAddresses — (Array<String>)

          One or more private IP addresses for the replication instance.

        • ReplicationInstanceIpv6Addresses — (Array<String>)

          One or more IPv6 addresses for the replication instance.

        • PubliclyAccessible — (Boolean)

          Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true.

        • SecondaryAvailabilityZone — (String)

          The Availability Zone of the standby replication instance in a Multi-AZ deployment.

        • FreeUntil — (Date)

          The expiration date of the free replication instance that is part of the Free DMS program.

        • DnsNameServers — (String)

          The DNS name servers supported for the replication instance to access your on-premise source or target database.

        • NetworkType — (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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationTaskReady', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationTaskReady state by periodically calling the underlying DMS.describeReplicationTasks() operation every 15 seconds (at most 60 times).

Examples:

Waiting for the replicationTaskReady state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationTaskReady', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication tasks.

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • WithoutSettings — (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, choose false (the default).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication tasks.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationTaskStopped', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationTaskStopped state by periodically calling the underlying DMS.describeReplicationTasks() operation every 15 seconds (at most 60 times).

Examples:

Waiting for the replicationTaskStopped state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationTaskStopped', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication tasks.

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • WithoutSettings — (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, choose false (the default).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication tasks.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationTaskRunning', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationTaskRunning state by periodically calling the underlying DMS.describeReplicationTasks() operation every 15 seconds (at most 60 times).

Examples:

Waiting for the replicationTaskRunning state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationTaskRunning', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication tasks.

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • WithoutSettings — (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, choose false (the default).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication tasks.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

dms.waitFor('replicationTaskDeleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the replicationTaskDeleted state by periodically calling the underlying DMS.describeReplicationTasks() operation every 15 seconds (at most 60 times).

Examples:

Waiting for the replicationTaskDeleted state

var params = {
  // ... input parameters ...
};
dms.waitFor('replicationTaskDeleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • Filters — (Array<map>)

      Filters applied to replication tasks.

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      • Namerequired — (String)

        The name of the filter as specified for a Describe* or similar operation.

      • Valuesrequired — (Array<String>)

        The filter value, which can specify one or more values used to narrow the returned results.

    • MaxRecords — (Integer)

      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.

    • Marker — (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.

    • WithoutSettings — (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, choose false (the default).

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Marker — (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 — (Array<map>)

        A description of the replication tasks.

        • ReplicationTaskIdentifier — (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.

        • SourceEndpointArn — (String)

          The Amazon Resource Name (ARN) that uniquely identifies the endpoint.

        • TargetEndpointArn — (String)

          The ARN that uniquely identifies the endpoint.

        • ReplicationInstanceArn — (String)

          The ARN of the replication instance.

        • MigrationType — (String)

          The type of migration.

          Possible values include:
          • "full-load"
          • "cdc"
          • "full-load-and-cdc"
        • TableMappings — (String)

          Table mappings specified in the task.

        • ReplicationTaskSettings — (String)

          The settings for the replication task.

        • Status — (String)

          The status of the replication task. This response parameter can return one of the following values:

        • LastFailureMessage — (String)

          The last error (failure) message generated for the replication task.

        • StopReason — (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"

        • ReplicationTaskCreationDate — (Date)

          The date the replication task was created.

        • ReplicationTaskStartDate — (Date)

          The date the replication task is scheduled to start.

        • CdcStartPosition — (String)

          Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime 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 — (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“

        • RecoveryCheckpoint — (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.

        • ReplicationTaskArn — (String)

          The Amazon Resource Name (ARN) of the replication task.

        • ReplicationTaskStats — (map)

          The statistics for the task, including elapsed time, tables loaded, and table errors.

          • FullLoadProgressPercent — (Integer)

            The percent complete for the full load migration task.

          • ElapsedTimeMillis — (Integer)

            The elapsed time of the task, in milliseconds.

          • TablesLoaded — (Integer)

            The number of tables loaded for this task.

          • TablesLoading — (Integer)

            The number of tables currently loading for this task.

          • TablesQueued — (Integer)

            The number of tables queued for this task.

          • TablesErrored — (Integer)

            The number of errors that have occurred during this task.

          • FreshStartDate — (Date)

            The date the replication task was started either with a fresh start or a target reload.

          • StartDate — (Date)

            The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.

          • StopDate — (Date)

            The date the replication task was stopped.

          • FullLoadStartDate — (Date)

            The date the replication task full load was started.

          • FullLoadFinishDate — (Date)

            The date the replication task full load was completed.

        • TaskData — (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.

        • TargetReplicationInstanceArn — (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 the ReplicationTask object.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also: