AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ModifyEndpoint operation.
Modifies the specified endpoint.
For a MySQL source or target endpoint, don't explicitly specify the database using
the DatabaseName
request parameter on the ModifyEndpoint
API call. Specifying
DatabaseName
when you modify a MySQL endpoint replicates all the task tables
to this single database. For MySQL endpoints, you specify the database only when you
specify the schema in the table-mapping rules of the DMS task.
Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public class ModifyEndpointRequest : AmazonDatabaseMigrationServiceRequest IAmazonWebServiceRequest
The ModifyEndpointRequest type exposes the following members
Name | Description | |
---|---|---|
ModifyEndpointRequest() |
Name | Type | Description | |
---|---|---|---|
CertificateArn | System.String |
Gets and sets the property CertificateArn. The Amazon Resource Name (ARN) of the certificate used for SSL connection. |
|
DatabaseName | System.String |
Gets and sets the property DatabaseName. The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. |
|
DmsTransferSettings | Amazon.DatabaseMigrationService.Model.DmsTransferSettings |
Gets and sets the property DmsTransferSettings. The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following:
Shorthand syntax for these settings is as follows:
JSON syntax for these settings is as follows: |
|
DocDbSettings | Amazon.DatabaseMigrationService.Model.DocDbSettings |
Gets and sets the property 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 Database Migration Service in the Database Migration Service User Guide. |
|
DynamoDbSettings | Amazon.DatabaseMigrationService.Model.DynamoDbSettings |
Gets and sets the property 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 Database Migration Service User Guide. |
|
ElasticsearchSettings | Amazon.DatabaseMigrationService.Model.ElasticsearchSettings |
Gets and sets the property ElasticsearchSettings. Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide. |
|
EndpointArn | System.String |
Gets and sets the property EndpointArn. The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. |
|
EndpointIdentifier | System.String |
Gets and sets the property 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 | Amazon.DatabaseMigrationService.ReplicationEndpointTypeValue |
Gets and sets the property EndpointType.
The type of endpoint. Valid values are |
|
EngineName | System.String |
Gets and sets the property EngineName.
The database engine name. Valid values, depending on the EndpointType, include |
|
ExactSettings | System.Boolean |
Gets and sets the property ExactSettings.
If this attribute is Y, the current call to
For example, if you call
However, suppose that you follow this with a call to |
|
ExternalTableDefinition | System.String |
Gets and sets the property ExternalTableDefinition. The external table definition. |
|
ExtraConnectionAttributes | System.String |
Gets and sets the property ExtraConnectionAttributes. Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument. |
|
GcpMySQLSettings | Amazon.DatabaseMigrationService.Model.GcpMySQLSettings |
Gets and sets the property GcpMySQLSettings. Settings in JSON format for the source GCP MySQL endpoint. |
|
IBMDb2Settings | Amazon.DatabaseMigrationService.Model.IBMDb2Settings |
Gets and sets the property 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 DMS in the Database Migration Service User Guide. |
|
KafkaSettings | Amazon.DatabaseMigrationService.Model.KafkaSettings |
Gets and sets the property KafkaSettings. Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide. |
|
KinesisSettings | Amazon.DatabaseMigrationService.Model.KinesisSettings |
Gets and sets the property KinesisSettings. Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide. |
|
MicrosoftSQLServerSettings | Amazon.DatabaseMigrationService.Model.MicrosoftSQLServerSettings |
Gets and sets the property 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 DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide. |
|
MongoDbSettings | Amazon.DatabaseMigrationService.Model.MongoDbSettings |
Gets and sets the property MongoDbSettings. Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide. |
|
MySQLSettings | Amazon.DatabaseMigrationService.Model.MySQLSettings |
Gets and sets the property 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 DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide. |
|
NeptuneSettings | Amazon.DatabaseMigrationService.Model.NeptuneSettings |
Gets and sets the property NeptuneSettings. Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide. |
|
OracleSettings | Amazon.DatabaseMigrationService.Model.OracleSettings |
Gets and sets the property 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 DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide. |
|
Password | System.String |
Gets and sets the property Password. The password to be used to login to the endpoint database. |
|
Port | System.Int32 |
Gets and sets the property Port. The port used by the endpoint database. |
|
PostgreSQLSettings | Amazon.DatabaseMigrationService.Model.PostgreSQLSettings |
Gets and sets the property 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 DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide. |
|
RedisSettings | Amazon.DatabaseMigrationService.Model.RedisSettings |
Gets and sets the property RedisSettings. Settings in JSON format for the Redis target endpoint. |
|
RedshiftSettings | Amazon.DatabaseMigrationService.Model.RedshiftSettings |
Gets and sets the property RedshiftSettings. |
|
S3Settings | Amazon.DatabaseMigrationService.Model.S3Settings |
Gets and sets the property 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 DMS in the Database Migration Service User Guide. |
|
ServerName | System.String |
Gets and sets the property ServerName. The name of the server where the endpoint database resides. |
|
ServiceAccessRoleArn | System.String |
Gets and sets the property ServiceAccessRoleArn.
The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint.
The role must allow the |
|
SslMode | Amazon.DatabaseMigrationService.DmsSslModeValue |
Gets and sets the property SslMode.
The SSL mode used to connect to the endpoint. The default value is |
|
SybaseSettings | Amazon.DatabaseMigrationService.Model.SybaseSettings |
Gets and sets the property 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 DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide. |
|
TimestreamSettings | Amazon.DatabaseMigrationService.Model.TimestreamSettings |
Gets and sets the property TimestreamSettings. Settings in JSON format for the target Amazon Timestream endpoint. |
|
Username | System.String |
Gets and sets the property Username. The user name to be used to login to the endpoint database. |
Modifies the specified endpoint.
var client = new AmazonDatabaseMigrationServiceClient(); var response = client.ModifyEndpoint(new ModifyEndpointRequest { CertificateArn = "", DatabaseName = "", EndpointArn = "", EndpointIdentifier = "", EndpointType = "source", EngineName = "", ExtraConnectionAttributes = "", Password = "", Port = 123, ServerName = "", SslMode = "require", Username = "" }); Endpoint endpoint = response.Endpoint;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5