[][src]Struct rusoto_dms::CreateEndpointMessage

pub struct CreateEndpointMessage {
    pub certificate_arn: Option<String>,
    pub database_name: Option<String>,
    pub dms_transfer_settings: Option<DmsTransferSettings>,
    pub dynamo_db_settings: Option<DynamoDbSettings>,
    pub elasticsearch_settings: Option<ElasticsearchSettings>,
    pub endpoint_identifier: String,
    pub endpoint_type: String,
    pub engine_name: String,
    pub external_table_definition: Option<String>,
    pub extra_connection_attributes: Option<String>,
    pub kafka_settings: Option<KafkaSettings>,
    pub kinesis_settings: Option<KinesisSettings>,
    pub kms_key_id: Option<String>,
    pub mongo_db_settings: Option<MongoDbSettings>,
    pub neptune_settings: Option<NeptuneSettings>,
    pub password: Option<String>,
    pub port: Option<i64>,
    pub redshift_settings: Option<RedshiftSettings>,
    pub s3_settings: Option<S3Settings>,
    pub server_name: Option<String>,
    pub service_access_role_arn: Option<String>,
    pub ssl_mode: Option<String>,
    pub tags: Option<Vec<Tag>>,
    pub username: Option<String>,
}

Fields

certificate_arn: Option<String>

The Amazon Resource Name (ARN) for the certificate.

database_name: Option<String>

The name of the endpoint database.

dms_transfer_settings: Option<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" }

dynamo_db_settings: Option<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.

elasticsearch_settings: Option<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.

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

endpoint_type: String

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

engine_name: String

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", "documentdb", "sqlserver", and "neptune".

external_table_definition: Option<String>

The external table definition.

extra_connection_attributes: Option<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 AWS DMS Endpoints in the AWS Database Migration Service User Guide.

kafka_settings: Option<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.

kinesis_settings: Option<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.

kms_key_id: Option<String>

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.

mongo_db_settings: Option<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.

neptune_settings: Option<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.

password: Option<String>

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

port: Option<i64>

The port used by the endpoint database.

redshift_settings: Option<RedshiftSettings>s3_settings: Option<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.

server_name: Option<String>

The name of the server where the endpoint database resides.

service_access_role_arn: Option<String>

The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.

ssl_mode: Option<String>

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

tags: Option<Vec<Tag>>

One or more tags to be assigned to the endpoint.

username: Option<String>

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

Trait Implementations

impl Clone for CreateEndpointMessage[src]

impl Debug for CreateEndpointMessage[src]

impl Default for CreateEndpointMessage[src]

impl PartialEq<CreateEndpointMessage> for CreateEndpointMessage[src]

impl Serialize for CreateEndpointMessage[src]

impl StructuralPartialEq for CreateEndpointMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.