[][src]Struct rusoto_dms::MicrosoftSQLServerSettings

pub struct MicrosoftSQLServerSettings {
    pub bcp_packet_size: Option<i64>,
    pub control_tables_file_group: Option<String>,
    pub database_name: Option<String>,
    pub password: Option<String>,
    pub port: Option<i64>,
    pub read_backup_only: Option<bool>,
    pub safeguard_policy: Option<String>,
    pub secrets_manager_access_role_arn: Option<String>,
    pub secrets_manager_secret_id: Option<String>,
    pub server_name: Option<String>,
    pub use_bcp_full_load: Option<bool>,
    pub username: Option<String>,
}

Provides information that defines a Microsoft SQL Server endpoint.

Fields

bcp_packet_size: Option<i64>

The maximum size of the packets (in bytes) used to transfer data using BCP.

control_tables_file_group: Option<String>

Specifies a file group for the AWS DMS internal tables. When the replication task starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created for the specified file group.

database_name: Option<String>

Database name for the endpoint.

password: Option<String>

Endpoint connection password.

port: Option<i64>

Endpoint TCP port.

read_backup_only: Option<bool>

When this attribute is set to Y, AWS DMS only reads changes from transaction log backups and doesn't read from the active transaction log file during ongoing replication. Setting this parameter to Y enables you to control active transaction log file growth during full load and ongoing replication tasks. However, it can add some source latency to ongoing replication.

safeguard_policy: Option<String>

Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using one of the following two methods.

Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.

Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.

secrets_manager_access_role_arn: Option<String>

The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. SecretsManagerSecret has the value of the AWS Secrets Manager secret that allows access to the SQL Server endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide.

secrets_manager_secret_id: Option<String>

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

server_name: Option<String>

Fully qualified domain name of the endpoint.

use_bcp_full_load: Option<bool>

Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.

username: Option<String>

Endpoint connection user name.

Trait Implementations

impl Clone for MicrosoftSQLServerSettings[src]

impl Debug for MicrosoftSQLServerSettings[src]

impl Default for MicrosoftSQLServerSettings[src]

impl<'de> Deserialize<'de> for MicrosoftSQLServerSettings[src]

impl PartialEq<MicrosoftSQLServerSettings> for MicrosoftSQLServerSettings[src]

impl Serialize for MicrosoftSQLServerSettings[src]

impl StructuralPartialEq for MicrosoftSQLServerSettings[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.