[−][src]Struct rusoto_dms::MongoDbSettings
Provides information that defines a MongoDB endpoint.
Fields
auth_mechanism: Option<String>
The authentication mechanism you use to access the MongoDB source endpoint.
For the default value, in MongoDB version 2.x, "default"
is "mongodb_cr"
. For MongoDB version 3.x or later, "default"
is "scram_sha_1"
. This setting isn't used when AuthType
is set to "no"
.
auth_source: Option<String>
The MongoDB database name. This setting isn't used when AuthType
is set to "no"
.
The default is "admin"
.
auth_type: Option<String>
The authentication type you use to access the MongoDB source endpoint.
When when set to "no"
, user name and password parameters are not used and can be empty.
database_name: Option<String>
The database name on the MongoDB source endpoint.
docs_to_investigate: Option<String>
Indicates the number of documents to preview to determine the document organization. Use this setting when NestingLevel
is set to "one"
.
Must be a positive value greater than 0
. Default value is 1000
.
extract_doc_id: Option<String>
Specifies the document ID. Use this setting when NestingLevel
is set to "none"
.
Default value is "false"
.
kms_key_id: Option<String>
The AWS KMS key identifier that is used to encrypt the content on the replication instance. 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.
nesting_level: Option<String>
Specifies either document or table mode.
Default value is "none"
. Specify "none"
to use document mode. Specify "one"
to use table mode.
password: Option<String>
The password for the user account you use to access the MongoDB source endpoint.
port: Option<i64>
The port value for the MongoDB source endpoint.
server_name: Option<String>
The name of the server on the MongoDB source endpoint.
username: Option<String>
The user name you use to access the MongoDB source endpoint.
Trait Implementations
impl Clone for MongoDbSettings
[src]
pub fn clone(&self) -> MongoDbSettings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MongoDbSettings
[src]
impl Default for MongoDbSettings
[src]
pub fn default() -> MongoDbSettings
[src]
impl<'de> Deserialize<'de> for MongoDbSettings
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<MongoDbSettings> for MongoDbSettings
[src]
pub fn eq(&self, other: &MongoDbSettings) -> bool
[src]
pub fn ne(&self, other: &MongoDbSettings) -> bool
[src]
impl Serialize for MongoDbSettings
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for MongoDbSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for MongoDbSettings
[src]
impl Send for MongoDbSettings
[src]
impl Sync for MongoDbSettings
[src]
impl Unpin for MongoDbSettings
[src]
impl UnwindSafe for MongoDbSettings
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,