#[non_exhaustive]pub struct UpdateLocationSmbInput {
pub location_arn: Option<String>,
pub subdirectory: Option<String>,
pub user: Option<String>,
pub domain: Option<String>,
pub password: Option<String>,
pub agent_arns: Option<Vec<String>>,
pub mount_options: Option<SmbMountOptions>,
}
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.location_arn: Option<String>
Specifies the ARN of the SMB location that you want to update.
subdirectory: Option<String>
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
user: Option<String>
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
domain: Option<String>
Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
password: Option<String>
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
agent_arns: Option<Vec<String>>
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
mount_options: Option<SmbMountOptions>
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
Implementations§
source§impl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
Specifies the ARN of the SMB location that you want to update.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
sourcepub fn user(&self) -> Option<&str>
pub fn user(&self) -> Option<&str>
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For more information, see required permissions for SMB locations.
sourcepub fn agent_arns(&self) -> &[String]
pub fn agent_arns(&self) -> &[String]
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_arns.is_none()
.
sourcepub fn mount_options(&self) -> Option<&SmbMountOptions>
pub fn mount_options(&self) -> Option<&SmbMountOptions>
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
source§impl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub fn builder() -> UpdateLocationSmbInputBuilder
pub fn builder() -> UpdateLocationSmbInputBuilder
Creates a new builder-style object to manufacture UpdateLocationSmbInput
.
Trait Implementations§
source§impl Clone for UpdateLocationSmbInput
impl Clone for UpdateLocationSmbInput
source§fn clone(&self) -> UpdateLocationSmbInput
fn clone(&self) -> UpdateLocationSmbInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateLocationSmbInput
impl Debug for UpdateLocationSmbInput
source§impl PartialEq for UpdateLocationSmbInput
impl PartialEq for UpdateLocationSmbInput
source§fn eq(&self, other: &UpdateLocationSmbInput) -> bool
fn eq(&self, other: &UpdateLocationSmbInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateLocationSmbInput
Auto Trait Implementations§
impl Freeze for UpdateLocationSmbInput
impl RefUnwindSafe for UpdateLocationSmbInput
impl Send for UpdateLocationSmbInput
impl Sync for UpdateLocationSmbInput
impl Unpin for UpdateLocationSmbInput
impl UnwindSafe for UpdateLocationSmbInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more