Database Migration Service

This page documents function available when using the Database_Migration_Service module, created with @service Database_Migration_Service.

Index

Documentation

Main.Database_Migration_Service.add_tags_to_resourceMethod
add_tags_to_resource(resource_arn, tags)
add_tags_to_resource(resource_arn, tags, params::Dict{String,<:Any})

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 DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see Tag data type description.

Arguments

  • resource_arn: Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN). For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
  • tags: One or more tags to be assigned to the resource.
source
Main.Database_Migration_Service.apply_pending_maintenance_actionMethod
apply_pending_maintenance_action(apply_action, opt_in_type, replication_instance_arn)
apply_pending_maintenance_action(apply_action, opt_in_type, replication_instance_arn, params::Dict{String,<:Any})

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

Arguments

  • apply_action: The pending maintenance action to apply to this resource.
  • opt_in_type: 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.
  • replication_instance_arn: The Amazon Resource Name (ARN) of the AWS DMS resource that the pending maintenance action applies to.
source
Main.Database_Migration_Service.cancel_replication_task_assessment_runMethod
cancel_replication_task_assessment_run(replication_task_assessment_run_arn)
cancel_replication_task_assessment_run(replication_task_assessment_run_arn, params::Dict{String,<:Any})

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.

Arguments

  • replication_task_assessment_run_arn: Amazon Resource Name (ARN) of the premigration assessment run to be canceled.
source
Main.Database_Migration_Service.create_endpointMethod
create_endpoint(endpoint_identifier, endpoint_type, engine_name)
create_endpoint(endpoint_identifier, endpoint_type, engine_name, params::Dict{String,<:Any})

Creates an endpoint using the provided settings.

Arguments

  • endpoint_identifier: 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.
  • endpoint_type: The type of endpoint. Valid values are source and target.
  • engine_name: The type of engine for the endpoint. Valid values, depending on the EndpointType value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune".

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CertificateArn": The Amazon Resource Name (ARN) for the certificate.
  • "DatabaseName": The name of the endpoint database.
  • "DmsTransferSettings": The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket. BucketName - The name of the S3 bucket to use. CompressionType - An optional parameter to use GZIP to compress the target files. To use GZIP, set this value to NONE (the default). To keep the files uncompressed, don't use this value. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string,CompressionType=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
  • "DocDbSettings":
  • "DynamoDbSettings": 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 AWS Database Migration Service User Guide.
  • "ElasticsearchSettings": Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in the AWS Database Migration Service User Guide.
  • "ExternalTableDefinition": The external table definition.
  • "ExtraConnectionAttributes": 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 AWS DMS Endpoints in the AWS Database Migration Service User Guide.
  • "IBMDb2Settings": 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 AWS DMS in the AWS Database Migration Service User Guide.
  • "KafkaSettings": Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using Apache Kafka as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "KinesisSettings": Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using Amazon Kinesis Data Streams as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "KmsKeyId": An AWS 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 AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
  • "MicrosoftSQLServerSettings": 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 AWS DMS and Extra connection attributes when using SQL Server as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "MongoDbSettings": Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Using MongoDB as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "MySQLSettings": 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 AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "NeptuneSettings": Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target in the AWS Database Migration Service User Guide.
  • "OracleSettings": 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 AWS DMS and Extra connection attributes when using Oracle as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "Password": The password to be used to log in to the endpoint database.
  • "Port": The port used by the endpoint database.
  • "PostgreSQLSettings": 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 AWS DMS and Extra connection attributes when using PostgreSQL as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "RedshiftSettings":
  • "ResourceIdentifier": 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, AWS DMS generates a default identifier value for the end of EndpointArn.
  • "S3Settings": 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 AWS DMS in the AWS Database Migration Service User Guide.
  • "ServerName": The name of the server where the endpoint database resides.
  • "ServiceAccessRoleArn": The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.
  • "SslMode": The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
  • "SybaseSettings": 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 AWS DMS and Extra connection attributes when using SAP ASE as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "Tags": One or more tags to be assigned to the endpoint.
  • "Username": The user name to be used to log in to the endpoint database.
source
Main.Database_Migration_Service.create_event_subscriptionMethod
create_event_subscription(sns_topic_arn, subscription_name)
create_event_subscription(sns_topic_arn, subscription_name, params::Dict{String,<:Any})

Creates an AWS DMS event notification subscription. You can specify the type of source (SourceType) you want to be notified of, provide a list of AWS 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 AWS DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all AWS DMS sources belonging to your customer account. For more information about AWS DMS events, see Working with Events and Notifications in the AWS Database Migration Service User Guide.

Arguments

  • sns_topic_arn: 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.
  • subscription_name: The name of the AWS DMS event notification subscription. This name must be less than 255 characters.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Enabled": A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.
  • "EventCategories": 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 AWS Database Migration Service User Guide.
  • "SourceIds": A list of identifiers for which AWS DMS provides notification events. If you don't specify a value, notifications are provided for all sources. If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
  • "SourceType": The type of AWS 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
  • "Tags": One or more tags to be assigned to the event subscription.
source
Main.Database_Migration_Service.create_replication_instanceMethod
create_replication_instance(replication_instance_class, replication_instance_identifier)
create_replication_instance(replication_instance_class, replication_instance_identifier, params::Dict{String,<:Any})

Creates the replication instance using the specified parameters. AWS 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 AWS CLI and AWS DMS API. For information on the required permissions, see IAM Permissions Needed to Use AWS DMS.

Arguments

  • replication_instance_class: 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 AWS DMS replication instance for your migration.
  • replication_instance_identifier: 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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "AllocatedStorage": The amount of storage (in gigabytes) to be initially allocated for the replication instance.
  • "AutoMinorVersionUpgrade": A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. This parameter defaults to true. Default: true
  • "AvailabilityZone": The Availability Zone where the replication instance will be created. The default value is a random, system-chosen Availability Zone in the endpoint's AWS Region, for example: us-east-1d
  • "DnsNameServers": A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database. This list overrides the default name servers supported by the replication instance. You can specify a comma-separated list of internet addresses for up to four on-premise DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
  • "EngineVersion": The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
  • "KmsKeyId": An AWS 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 AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
  • "MultiAZ": 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.
  • "PreferredMaintenanceWindow": 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 AWS Region, occurring on a random day of the week. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
  • "PubliclyAccessible": 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.
  • "ReplicationSubnetGroupIdentifier": A subnet group to associate with the replication instance.
  • "ResourceIdentifier": 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, AWS DMS generates a default identifier value for the end of EndpointArn.
  • "Tags": One or more tags to be assigned to the replication instance.
  • "VpcSecurityGroupIds": 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.
source
Main.Database_Migration_Service.create_replication_subnet_groupMethod
create_replication_subnet_group(replication_subnet_group_description, replication_subnet_group_identifier, subnet_ids)
create_replication_subnet_group(replication_subnet_group_description, replication_subnet_group_identifier, subnet_ids, params::Dict{String,<:Any})

Creates a replication subnet group given a list of the subnet IDs in a VPC.

Arguments

  • replication_subnet_group_description: The description for the subnet group.
  • replication_subnet_group_identifier: 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
  • subnet_ids: One or more subnet IDs to be assigned to the subnet group.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Tags": One or more tags to be assigned to the subnet group.
source
Main.Database_Migration_Service.create_replication_taskMethod
create_replication_task(migration_type, replication_instance_arn, replication_task_identifier, source_endpoint_arn, table_mappings, target_endpoint_arn)
create_replication_task(migration_type, replication_instance_arn, replication_task_identifier, source_endpoint_arn, table_mappings, target_endpoint_arn, params::Dict{String,<:Any})

Creates a replication task using the specified parameters.

Arguments

  • migration_type: The migration type. Valid values: full-load | cdc | full-load-and-cdc
  • replication_instance_arn: The Amazon Resource Name (ARN) of a replication instance.
  • replication_task_identifier: 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.
  • source_endpoint_arn: An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.
  • table_mappings: The table mappings for the task, in JSON format. For more information, see Using Table Mapping to Specify Task Settings in the AWS Database Migration Service User Guide.
  • target_endpoint_arn: An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CdcStartPosition": 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-changel og.157832:1876#0#0#*#0#93" LSN Example: –cdc-start-position “mysql-bin-changelog.000024:373” When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS.
  • "CdcStartTime": Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error. Timestamp Example: –cdc-start-time “2018-03-08T12:12:12”
  • "CdcStopPosition": 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 “servertime:2018-02-09T12:12:12” Commit time example: –cdc-stop-position “committime: 2018-02-09T12:12:12 “
  • "ReplicationTaskSettings": Overall settings for the task, in JSON format. For more information, see Specifying Task Settings for AWS Database Migration Service Tasks in the AWS Database Migration User Guide.
  • "ResourceIdentifier": 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, AWS DMS generates a default identifier value for the end of EndpointArn.
  • "Tags": One or more tags to be assigned to the replication task.
  • "TaskData": 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 AWS Database Migration Service User Guide.
source
Main.Database_Migration_Service.delete_certificateMethod
delete_certificate(certificate_arn)
delete_certificate(certificate_arn, params::Dict{String,<:Any})

Deletes the specified certificate.

Arguments

  • certificate_arn: The Amazon Resource Name (ARN) of the deleted certificate.
source
Main.Database_Migration_Service.delete_connectionMethod
delete_connection(endpoint_arn, replication_instance_arn)
delete_connection(endpoint_arn, replication_instance_arn, params::Dict{String,<:Any})

Deletes the connection between a replication instance and an endpoint.

Arguments

  • endpoint_arn: The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.
source
Main.Database_Migration_Service.delete_endpointMethod
delete_endpoint(endpoint_arn)
delete_endpoint(endpoint_arn, params::Dict{String,<:Any})

Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.

Arguments

  • endpoint_arn: The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
source
Main.Database_Migration_Service.delete_event_subscriptionMethod
delete_event_subscription(subscription_name)
delete_event_subscription(subscription_name, params::Dict{String,<:Any})

Deletes an AWS DMS event subscription.

Arguments

  • subscription_name: The name of the DMS event notification subscription to be deleted.
source
Main.Database_Migration_Service.delete_replication_instanceMethod
delete_replication_instance(replication_instance_arn)
delete_replication_instance(replication_instance_arn, params::Dict{String,<:Any})

Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it.

Arguments

  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance to be deleted.
source
Main.Database_Migration_Service.delete_replication_subnet_groupMethod
delete_replication_subnet_group(replication_subnet_group_identifier)
delete_replication_subnet_group(replication_subnet_group_identifier, params::Dict{String,<:Any})

Deletes a subnet group.

Arguments

  • replication_subnet_group_identifier: The subnet group name of the replication instance.
source
Main.Database_Migration_Service.delete_replication_taskMethod
delete_replication_task(replication_task_arn)
delete_replication_task(replication_task_arn, params::Dict{String,<:Any})

Deletes the specified replication task.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task to be deleted.
source
Main.Database_Migration_Service.delete_replication_task_assessment_runMethod
delete_replication_task_assessment_run(replication_task_assessment_run_arn)
delete_replication_task_assessment_run(replication_task_assessment_run_arn, params::Dict{String,<:Any})

Deletes the record of a single premigration assessment run. This operation removes all metadata that AWS 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.

Arguments

  • replication_task_assessment_run_arn: Amazon Resource Name (ARN) of the premigration assessment run to be deleted.
source
Main.Database_Migration_Service.describe_account_attributesMethod
describe_account_attributes()
describe_account_attributes(params::Dict{String,<:Any})

Lists all of the AWS DMS attributes for a customer account. These attributes include AWS 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.

source
Main.Database_Migration_Service.describe_applicable_individual_assessmentsMethod
describe_applicable_individual_assessments()
describe_applicable_individual_assessments(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": Maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
  • "MigrationType": Name of the migration type that each provided individual assessment must support.
  • "ReplicationInstanceArn": ARN of a replication instance on which you want to base the default list of individual assessments.
  • "ReplicationTaskArn": Amazon Resource Name (ARN) of a migration task on which you want to base the default list of individual assessments.
  • "SourceEngineName": Name of a database engine that the specified replication instance supports as a source.
  • "TargetEngineName": Name of a database engine that the specified replication instance supports as a target.
source
Main.Database_Migration_Service.describe_certificatesMethod
describe_certificates()
describe_certificates(params::Dict{String,<:Any})

Provides a description of the certificate.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the certificates described in the form of key-value pairs.
  • "Marker": 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": 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
source
Main.Database_Migration_Service.describe_connectionsMethod
describe_connections()
describe_connections(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": The filters applied to the connection. Valid filter names: endpoint-arn | replication-instance-arn
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_endpoint_settingsMethod
describe_endpoint_settings(engine_name)
describe_endpoint_settings(engine_name, params::Dict{String,<:Any})

Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.

Arguments

  • engine_name: The databse engine used for your source or target endpoint.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_endpoint_typesMethod
describe_endpoint_types()
describe_endpoint_types(params::Dict{String,<:Any})

Returns information about the type of endpoints available.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the endpoint types. Valid filter names: engine-name | endpoint-type
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_endpointsMethod
describe_endpoints()
describe_endpoints(params::Dict{String,<:Any})

Returns information about the endpoints for your account in the current region.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the endpoints. Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_event_categoriesMethod
describe_event_categories()
describe_event_categories(params::Dict{String,<:Any})

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 AWS Database Migration Service User Guide.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the event categories.
  • "SourceType": The type of AWS DMS resource that generates events. Valid values: replication-instance | replication-task
source
Main.Database_Migration_Service.describe_event_subscriptionsMethod
describe_event_subscriptions()
describe_event_subscriptions(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to event subscriptions.
  • "Marker": 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": The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • "SubscriptionName": The name of the AWS DMS event subscription to be described.
source
Main.Database_Migration_Service.describe_eventsMethod
describe_events()
describe_events(params::Dict{String,<:Any})

Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications in the AWS Database Migration User Guide.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Duration": The duration of the events to be listed.
  • "EndTime": The end time for the events to be listed.
  • "EventCategories": A list of event categories for the source type that you've chosen.
  • "Filters": Filters applied to events.
  • "Marker": 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": The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • "SourceIdentifier": The identifier of an event source.
  • "SourceType": The type of AWS DMS resource that generates events. Valid values: replication-instance | replication-task
  • "StartTime": The start time for the events to be listed.
source
Main.Database_Migration_Service.describe_orderable_replication_instancesMethod
describe_orderable_replication_instances()
describe_orderable_replication_instances(params::Dict{String,<:Any})

Returns information about the replication instance types that can be created in the specified region.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_pending_maintenance_actionsMethod
describe_pending_maintenance_actions()
describe_pending_maintenance_actions(params::Dict{String,<:Any})

For internal use only

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters":
  • "Marker": 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": The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • "ReplicationInstanceArn": The Amazon Resource Name (ARN) of the replication instance.
source
Main.Database_Migration_Service.describe_refresh_schemas_statusMethod
describe_refresh_schemas_status(endpoint_arn)
describe_refresh_schemas_status(endpoint_arn, params::Dict{String,<:Any})

Returns the status of the RefreshSchemas operation.

Arguments

  • endpoint_arn: The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
source
Main.Database_Migration_Service.describe_replication_instance_task_logsMethod
describe_replication_instance_task_logs(replication_instance_arn)
describe_replication_instance_task_logs(replication_instance_arn, params::Dict{String,<:Any})

Returns information about the task logs for the specified task.

Arguments

  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_replication_instancesMethod
describe_replication_instances()
describe_replication_instances(params::Dict{String,<:Any})

Returns information about replication instances for your account in the current region.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to replication instances. Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_replication_subnet_groupsMethod
describe_replication_subnet_groups()
describe_replication_subnet_groups(params::Dict{String,<:Any})

Returns information about the replication subnet groups.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to replication subnet groups. Valid filter names: replication-subnet-group-id
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_replication_task_assessment_resultsMethod
describe_replication_task_assessment_results()
describe_replication_task_assessment_results(params::Dict{String,<:Any})

Returns the task assessment results from Amazon S3. This action always returns the latest results.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • "ReplicationTaskArn": 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.
source
Main.Database_Migration_Service.describe_replication_task_assessment_runsMethod
describe_replication_task_assessment_runs()
describe_replication_task_assessment_runs(params::Dict{String,<:Any})

Returns a paginated list of premigration assessment runs based on filter settings. These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values. This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the premigration assessment runs described in the form of key-value pairs. Valid filter names: replication-task-assessment-run-arn, replication-task-arn, replication-instance-arn, status
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_replication_task_individual_assessmentsMethod
describe_replication_task_individual_assessments()
describe_replication_task_individual_assessments(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to the individual assessments described in the form of key-value pairs. Valid filter names: replication-task-assessment-run-arn, replication-task-arn, status
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_replication_tasksMethod
describe_replication_tasks()
describe_replication_tasks(params::Dict{String,<:Any})

Returns information about replication tasks for your account in the current region.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to replication tasks. Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn
  • "Marker": 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": The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • "WithoutSettings": 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).
source
Main.Database_Migration_Service.describe_schemasMethod
describe_schemas(endpoint_arn)
describe_schemas(endpoint_arn, params::Dict{String,<:Any})

Returns information about the schema for the specified endpoint.

Arguments

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Marker": 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": 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.
source
Main.Database_Migration_Service.describe_table_statisticsMethod
describe_table_statistics(replication_task_arn)
describe_table_statistics(replication_task_arn, params::Dict{String,<:Any})

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 AWS DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": Filters applied to table statistics. Valid filter names: schema-name | table-name | table-state A combination of filters creates an AND condition where each record matches all specified filters.
  • "Marker": 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": 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.
source
Main.Database_Migration_Service.import_certificateMethod
import_certificate(certificate_identifier)
import_certificate(certificate_identifier, params::Dict{String,<:Any})

Uploads the specified certificate.

Arguments

  • certificate_identifier: 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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CertificatePem": The contents of a .pem file, which contains an X.509 certificate.
  • "CertificateWallet": The location of an imported Oracle Wallet certificate for use with SSL.
  • "Tags": The tags associated with the certificate.
source
Main.Database_Migration_Service.list_tags_for_resourceMethod
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})

Lists all metadata tags attached to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. For more information, see Tag data type description.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS resource.
source
Main.Database_Migration_Service.modify_endpointMethod
modify_endpoint(endpoint_arn)
modify_endpoint(endpoint_arn, params::Dict{String,<:Any})

Modifies the specified endpoint.

Arguments

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CertificateArn": The Amazon Resource Name (ARN) of the certificate used for SSL connection.
  • "DatabaseName": The name of the endpoint database.
  • "DmsTransferSettings": The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following: serviceAccessRoleArn - The AWS Identity and Access Management (IAM) role that has permission to access the Amazon S3 bucket. BucketName - The name of the S3 bucket to use. compressionType - An optional parameter to use GZIP to compress the target files. Either set this parameter to NONE (the default) or don't use it to leave the files uncompressed. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string,CompressionType=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
  • "DocDbSettings": 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 AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "DynamoDbSettings": 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 AWS Database Migration Service User Guide.
  • "ElasticsearchSettings": Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in the AWS Database Migration Service User Guide.
  • "EndpointIdentifier": 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": The type of endpoint. Valid values are source and target.
  • "EngineName": The type of engine for the endpoint. Valid values, depending on the EndpointType, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune".
  • "ExternalTableDefinition": The external table definition.
  • "ExtraConnectionAttributes": Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
  • "IBMDb2Settings": 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 AWS DMS in the AWS Database Migration Service User Guide.
  • "KafkaSettings": Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using Apache Kafka as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "KinesisSettings": Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using Amazon Kinesis Data Streams as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "MicrosoftSQLServerSettings": 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 AWS DMS and Extra connection attributes when using SQL Server as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "MongoDbSettings": Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Using MongoDB as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
  • "MySQLSettings": 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 AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "NeptuneSettings": Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target in the AWS Database Migration Service User Guide.
  • "OracleSettings": 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 AWS DMS and Extra connection attributes when using Oracle as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "Password": The password to be used to login to the endpoint database.
  • "Port": The port used by the endpoint database.
  • "PostgreSQLSettings": 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 AWS DMS and Extra connection attributes when using PostgreSQL as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "RedshiftSettings":
  • "S3Settings": 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 AWS DMS in the AWS Database Migration Service User Guide.
  • "ServerName": The name of the server where the endpoint database resides.
  • "ServiceAccessRoleArn": The Amazon Resource Name (ARN) for the service access role you want to use to modify the endpoint.
  • "SslMode": The SSL mode used to connect to the endpoint. The default value is none.
  • "SybaseSettings": 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 AWS DMS and Extra connection attributes when using SAP ASE as a target for AWS DMS in the AWS Database Migration Service User Guide.
  • "Username": The user name to be used to login to the endpoint database.
source
Main.Database_Migration_Service.modify_event_subscriptionMethod
modify_event_subscription(subscription_name)
modify_event_subscription(subscription_name, params::Dict{String,<:Any})

Modifies an existing AWS DMS event notification subscription.

Arguments

  • subscription_name: The name of the AWS DMS event notification subscription to be modified.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Enabled": A Boolean value; set to true to activate the subscription.
  • "EventCategories": A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.
  • "SnsTopicArn": 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": The type of AWS DMS resource that generates the events you want to subscribe to. Valid values: replication-instance | replication-task
source
Main.Database_Migration_Service.modify_replication_instanceMethod
modify_replication_instance(replication_instance_arn)
modify_replication_instance(replication_instance_arn, params::Dict{String,<:Any})

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.

Arguments

  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "AllocatedStorage": The amount of storage (in gigabytes) to be allocated for the replication instance.
  • "AllowMajorVersionUpgrade": 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.
  • "ApplyImmediately": Indicates whether the changes should be applied immediately or during the next maintenance window.
  • "AutoMinorVersionUpgrade": 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. AWS DMS has enabled automatic patching for the given engine version.
  • "EngineVersion": The engine version number of the replication instance. When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to true.
  • "MultiAZ": 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.
  • "PreferredMaintenanceWindow": 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
  • "ReplicationInstanceClass": 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 AWS DMS replication instance for your migration.
  • "ReplicationInstanceIdentifier": The replication instance identifier. This parameter is stored as a lowercase string.
  • "VpcSecurityGroupIds": 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.
source
Main.Database_Migration_Service.modify_replication_subnet_groupMethod
modify_replication_subnet_group(replication_subnet_group_identifier, subnet_ids)
modify_replication_subnet_group(replication_subnet_group_identifier, subnet_ids, params::Dict{String,<:Any})

Modifies the settings for the specified replication subnet group.

Arguments

  • replication_subnet_group_identifier: The name of the replication instance subnet group.
  • subnet_ids: A list of subnet IDs.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ReplicationSubnetGroupDescription": A description for the replication instance subnet group.
source
Main.Database_Migration_Service.modify_replication_taskMethod
modify_replication_task(replication_task_arn)
modify_replication_task(replication_task_arn, params::Dict{String,<:Any})

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 AWS DMS tasks, see Working with Migration Tasks in the AWS Database Migration Service User Guide.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CdcStartPosition": 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-changel og.157832:1876#0#0#*#0#93" LSN Example: –cdc-start-position “mysql-bin-changelog.000024:373” When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS.
  • "CdcStartTime": Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error. Timestamp Example: –cdc-start-time “2018-03-08T12:12:12”
  • "CdcStopPosition": 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 “servertime:2018-02-09T12:12:12” Commit time example: –cdc-stop-position “committime: 2018-02-09T12:12:12 “
  • "MigrationType": The migration type. Valid values: full-load | cdc | full-load-and-cdc
  • "ReplicationTaskIdentifier": The replication task identifier. Constraints: Must contain 1-255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
  • "ReplicationTaskSettings": JSON file that contains settings for the task, such as task metadata settings.
  • "TableMappings": When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with file://. For example, –table-mappings file://mappingfile.json. When working with the DMS API, provide the JSON as the parameter value.
  • "TaskData": 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 AWS Database Migration Service User Guide.
source
Main.Database_Migration_Service.move_replication_taskMethod
move_replication_task(replication_task_arn, target_replication_instance_arn)
move_replication_task(replication_task_arn, target_replication_instance_arn, params::Dict{String,<:Any})

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 AWS DMS version as the current replication instance.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the task that you want to move.
  • target_replication_instance_arn: The ARN of the replication instance where you want to move the task to.
source
Main.Database_Migration_Service.reboot_replication_instanceMethod
reboot_replication_instance(replication_instance_arn)
reboot_replication_instance(replication_instance_arn, params::Dict{String,<:Any})

Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.

Arguments

  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ForceFailover": 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.)
source
Main.Database_Migration_Service.refresh_schemasMethod
refresh_schemas(endpoint_arn, replication_instance_arn)
refresh_schemas(endpoint_arn, replication_instance_arn, params::Dict{String,<:Any})

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.

Arguments

  • endpoint_arn: The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.
source
Main.Database_Migration_Service.reload_tablesMethod
reload_tables(replication_task_arn, tables_to_reload)
reload_tables(replication_task_arn, tables_to_reload, params::Dict{String,<:Any})

Reloads the target database table with the source data.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task.
  • tables_to_reload: The name and schema of the table to be reloaded.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ReloadOption": 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.
source
Main.Database_Migration_Service.remove_tags_from_resourceMethod
remove_tags_from_resource(resource_arn, tag_keys)
remove_tags_from_resource(resource_arn, tag_keys, params::Dict{String,<:Any})

Removes metadata tags from an AWS DMS resource, including replication instance, endpoint, security group, and migration task. For more information, see Tag data type description.

Arguments

  • resource_arn: An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
  • tag_keys: The tag key (name) of the tag to be removed.
source
Main.Database_Migration_Service.start_replication_taskMethod
start_replication_task(replication_task_arn, start_replication_task_type)
start_replication_task(replication_task_arn, start_replication_task_type, params::Dict{String,<:Any})

Starts the replication task. For more information about AWS DMS tasks, see Working with Migration Tasks in the AWS Database Migration Service User Guide.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task to be started.
  • start_replication_task_type: A type of replication task.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "CdcStartPosition": 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-changel og.157832:1876#0#0#*#0#93" LSN Example: –cdc-start-position “mysql-bin-changelog.000024:373” When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS.
  • "CdcStartTime": Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error. Timestamp Example: –cdc-start-time “2018-03-08T12:12:12”
  • "CdcStopPosition": 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 “servertime:2018-02-09T12:12:12” Commit time example: –cdc-stop-position “committime: 2018-02-09T12:12:12 “
source
Main.Database_Migration_Service.start_replication_task_assessmentMethod
start_replication_task_assessment(replication_task_arn)
start_replication_task_assessment(replication_task_arn, params::Dict{String,<:Any})

Starts the replication task assessment for unsupported data types in the source database.

Arguments

  • replication_task_arn: The Amazon Resource Name (ARN) of the replication task.
source
Main.Database_Migration_Service.start_replication_task_assessment_runMethod
start_replication_task_assessment_run(assessment_run_name, replication_task_arn, result_location_bucket, service_access_role_arn)
start_replication_task_assessment_run(assessment_run_name, replication_task_arn, result_location_bucket, service_access_role_arn, params::Dict{String,<:Any})

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.

Arguments

  • assessment_run_name: Unique name to identify the assessment run.
  • replication_task_arn: Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
  • result_location_bucket: Amazon S3 bucket where you want AWS DMS to store the results of this assessment run.
  • service_access_role_arn: ARN of a service role needed to start the assessment run.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Exclude": 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 AWS DMS supports for the associated migration task. This task is specified by ReplicationTaskArn. You can't set a value for Exclude if you also set a value for IncludeOnly in the API operation. To identify the names of the default individual assessments that AWS DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter.
  • "IncludeOnly": 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 AWS DMS supports for the associated migration task. This task is specified by ReplicationTaskArn. You can't set a value for IncludeOnly if you also set a value for Exclude in the API operation. To identify the names of the default individual assessments that AWS DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter.
  • "ResultEncryptionMode": Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, AWS DMS stores the assessment run results without encryption. You can specify one of the options following: "SSES3" – The server-side encryption provided as a default by Amazon S3. "SSEKMS" – AWS Key Management Service (AWS 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": ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to "SSE_KMS".
  • "ResultLocationFolder": Folder within an Amazon S3 bucket where you want AWS DMS to store the results of this assessment run.
source
Main.Database_Migration_Service.stop_replication_taskMethod
stop_replication_task(replication_task_arn)
stop_replication_task(replication_task_arn, params::Dict{String,<:Any})

Stops the replication task.

Arguments

  • replication_task_arn: The Amazon Resource Name(ARN) of the replication task to be stopped.
source
Main.Database_Migration_Service.test_connectionMethod
test_connection(endpoint_arn, replication_instance_arn)
test_connection(endpoint_arn, replication_instance_arn, params::Dict{String,<:Any})

Tests the connection between the replication instance and the endpoint.

Arguments

  • endpoint_arn: The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  • replication_instance_arn: The Amazon Resource Name (ARN) of the replication instance.
source