AWS SDK Version 3 for .NET
API Reference

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.

Creates an endpoint using the provided settings.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CreateEndpointAsync.

Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z


public virtual CreateEndpointResponse CreateEndpoint(
         CreateEndpointRequest request
Type: Amazon.DatabaseMigrationService.Model.CreateEndpointRequest

Container for the necessary parameters to execute the CreateEndpoint service method.

Return Value
The response from the CreateEndpoint service method, as returned by DatabaseMigrationService.


AccessDeniedException AWS DMS was denied access to the endpoint.
InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
ResourceAlreadyExistsException The resource you are attempting to create already exists.
ResourceNotFoundException The resource could not be found.
ResourceQuotaExceededException The quota for this resource quota has been exceeded.


Creates an endpoint using the provided settings.

Create endpoint

var response = client.CreateEndpoint(new CreateEndpointRequest 
    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 = "",
    SslMode = "require",
    Tags = new List {
        new Tag {
            Key = "Acount",
            Value = "143327655"
    Username = "username"

Endpoint endpoint = response.Endpoint;


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also