ModifyEndpointMessage

Struct ModifyEndpointMessage 

Source
pub struct ModifyEndpointMessage {
Show 23 fields 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_arn: String, pub endpoint_identifier: Option<String>, pub endpoint_type: Option<String>, pub engine_name: Option<String>, pub external_table_definition: Option<String>, pub extra_connection_attributes: Option<String>, pub kafka_settings: Option<KafkaSettings>, pub kinesis_settings: Option<KinesisSettings>, 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 username: Option<String>,
}
Expand description

Fields§

§certificate_arn: Option<String>

The Amazon Resource Name (ARN) of the certificate used for SSL connection.

§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.

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" }

§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_arn: String

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

§endpoint_identifier: Option<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: Option<String>

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

§engine_name: Option<String>

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".

§external_table_definition: Option<String>

The external table definition.

§extra_connection_attributes: Option<String>

Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.

§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.

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

§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 login 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 you want to use to modify the endpoint.

§ssl_mode: Option<String>

The SSL mode used to connect to the endpoint. The default value is none.

§username: Option<String>

The user name to be used to login to the endpoint database.

Trait Implementations§

Source§

impl Clone for ModifyEndpointMessage

Source§

fn clone(&self) -> ModifyEndpointMessage

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ModifyEndpointMessage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ModifyEndpointMessage

Source§

fn default() -> ModifyEndpointMessage

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ModifyEndpointMessage

Source§

fn eq(&self, other: &ModifyEndpointMessage) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ModifyEndpointMessage

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ModifyEndpointMessage

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more