[][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 doc_db_settings: Option<DocDbSettings>,
    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 ibm_db_2_settings: Option<IBMDb2Settings>,
    pub kafka_settings: Option<KafkaSettings>,
    pub kinesis_settings: Option<KinesisSettings>,
    pub kms_key_id: Option<String>,
    pub microsoft_sql_server_settings: Option<MicrosoftSQLServerSettings>,
    pub mongo_db_settings: Option<MongoDbSettings>,
    pub my_sql_settings: Option<MySQLSettings>,
    pub neptune_settings: Option<NeptuneSettings>,
    pub oracle_settings: Option<OracleSettings>,
    pub password: Option<String>,
    pub port: Option<i64>,
    pub postgre_sql_settings: Option<PostgreSQLSettings>,
    pub redshift_settings: Option<RedshiftSettings>,
    pub resource_identifier: Option<String>,
    pub s3_settings: Option<S3Settings>,
    pub server_name: Option<String>,
    pub service_access_role_arn: Option<String>,
    pub ssl_mode: Option<String>,
    pub sybase_settings: Option<SybaseSettings>,
    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" }

doc_db_settings: Option<DocDbSettings>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", "docdb", "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.

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

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.

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

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.

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

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.

oracle_settings: Option<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: Option<String>

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

port: Option<i64>

The port used by the endpoint database.

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

redshift_settings: Option<RedshiftSettings>resource_identifier: Option<String>

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, AWS DMS generates a default identifier value for the end of EndpointArn.

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

sybase_settings: Option<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: 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, 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.