Struct aws_sdk_databasemigration::input::CreateEndpointInput [−][src]
#[non_exhaustive]pub struct CreateEndpointInput {Show 34 fields
pub endpoint_identifier: Option<String>,
pub endpoint_type: Option<ReplicationEndpointTypeValue>,
pub engine_name: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
pub server_name: Option<String>,
pub port: Option<i32>,
pub database_name: Option<String>,
pub extra_connection_attributes: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub certificate_arn: Option<String>,
pub ssl_mode: Option<DmsSslModeValue>,
pub service_access_role_arn: Option<String>,
pub external_table_definition: Option<String>,
pub dynamo_db_settings: Option<DynamoDbSettings>,
pub s3_settings: Option<S3Settings>,
pub dms_transfer_settings: Option<DmsTransferSettings>,
pub mongo_db_settings: Option<MongoDbSettings>,
pub kinesis_settings: Option<KinesisSettings>,
pub kafka_settings: Option<KafkaSettings>,
pub elasticsearch_settings: Option<ElasticsearchSettings>,
pub neptune_settings: Option<NeptuneSettings>,
pub redshift_settings: Option<RedshiftSettings>,
pub postgre_sql_settings: Option<PostgreSqlSettings>,
pub my_sql_settings: Option<MySqlSettings>,
pub oracle_settings: Option<OracleSettings>,
pub sybase_settings: Option<SybaseSettings>,
pub microsoft_sql_server_settings: Option<MicrosoftSqlServerSettings>,
pub ibm_db2_settings: Option<IbmDb2Settings>,
pub resource_identifier: Option<String>,
pub doc_db_settings: Option<DocDbSettings>,
pub redis_settings: Option<RedisSettings>,
pub gcp_my_sql_settings: Option<GcpMySqlSettings>,
}
Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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<ReplicationEndpointTypeValue>
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
value, include "mysql"
, "oracle"
,
"postgres"
, "mariadb"
, "aurora"
,
"aurora-postgresql"
, "opensearch"
, "redshift"
, "s3"
,
"db2"
, "azuredb"
, "sybase"
, "dynamodb"
, "mongodb"
,
"kinesis"
, "kafka"
, "elasticsearch"
, "docdb"
,
"sqlserver"
, and "neptune"
.
username: Option<String>
The user name to be used to log in to the endpoint database.
password: Option<String>
The password to be used to log in to the endpoint database.
server_name: Option<String>
The name of the server where the endpoint database resides.
port: Option<i32>
The port used by the endpoint database.
database_name: Option<String>
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
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 DMS Endpoints in the Database Migration Service User Guide.
kms_key_id: Option<String>
An 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
DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
One or more tags to be assigned to the endpoint.
certificate_arn: Option<String>
The Amazon Resource Name (ARN) for the certificate.
ssl_mode: Option<DmsSslModeValue>
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
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. The role must allow the iam:PassRole
action.
external_table_definition: Option<String>
The external table definition.
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 Database Migration Service User Guide.
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 DMS in the Database Migration Service User Guide.
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 Amazon Resource Name (ARN) used by the service access IAM role. The role must allow theiam:PassRole
action. -
BucketName
- The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string
JSON syntax for these settings is as follows: { "ServiceAccessRoleArn":
"string", "BucketName": "string", }
mongo_db_settings: Option<MongoDbSettings>
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the 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 object mapping to migrate data to a Kinesis data stream in the 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 object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
elasticsearch_settings: Option<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.
neptune_settings: Option<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.
redshift_settings: Option<RedshiftSettings>
Provides information that defines an Amazon Redshift endpoint.
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 DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the 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 DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the 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 DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
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 DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
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 DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
ibm_db2_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 DMS in the Database Migration Service User Guide.
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, DMS generates a default identifier
value for the end of EndpointArn
.
doc_db_settings: Option<DocDbSettings>
Provides information that defines a DocumentDB endpoint.
redis_settings: Option<RedisSettings>
Settings in JSON format for the target Redis endpoint.
gcp_my_sql_settings: Option<GcpMySqlSettings>
Settings in JSON format for the source GCP MySQL endpoint.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEndpoint, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEndpoint, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateEndpoint
>
Creates a new builder-style object to manufacture CreateEndpointInput
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.
The type of endpoint. Valid values are source
and target
.
The type of engine for the endpoint. Valid values, depending on the
EndpointType
value, include "mysql"
, "oracle"
,
"postgres"
, "mariadb"
, "aurora"
,
"aurora-postgresql"
, "opensearch"
, "redshift"
, "s3"
,
"db2"
, "azuredb"
, "sybase"
, "dynamodb"
, "mongodb"
,
"kinesis"
, "kafka"
, "elasticsearch"
, "docdb"
,
"sqlserver"
, and "neptune"
.
The user name to be used to log in to the endpoint database.
The password to be used to log in to the endpoint database.
The name of the server where the endpoint database resides.
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
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 DMS Endpoints in the Database Migration Service User Guide.
An 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
DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
One or more tags to be assigned to the endpoint.
The Amazon Resource Name (ARN) for the certificate.
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
The Amazon Resource Name (ARN) for the service access role that you want to use to
create the endpoint. The role must allow the iam:PassRole
action.
The external table definition.
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.
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.
The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings include the following:
-
ServiceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow theiam:PassRole
action. -
BucketName
- The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string
JSON syntax for these settings is as follows: { "ServiceAccessRoleArn":
"string", "BucketName": "string", }
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
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.
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.
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.
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.
Provides information that defines an Amazon Redshift endpoint.
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.
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.
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.
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.
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.
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.
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, DMS generates a default identifier
value for the end of EndpointArn
.
Provides information that defines a DocumentDB endpoint.
Settings in JSON format for the target Redis endpoint.
Settings in JSON format for the source GCP MySQL endpoint.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateEndpointInput
impl Send for CreateEndpointInput
impl Sync for CreateEndpointInput
impl Unpin for CreateEndpointInput
impl UnwindSafe for CreateEndpointInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more