Struct aws_sdk_datasync::input::UpdateLocationSmbInput
source · [−]#[non_exhaustive]pub struct UpdateLocationSmbInput { /* private fields */ }
Implementations
sourceimpl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationSmb, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationSmb, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateLocationSmb
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateLocationSmbInput
.
sourceimpl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the SMB location to update.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
-
Ensure that the user/password specified belongs to the user who can mount the share and who has the appropriate permissions for all of the files and directories that you want DataSync to access.
-
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
sourcepub fn user(&self) -> Option<&str>
pub fn user(&self) -> Option<&str>
The user who can mount the share has the permissions to access files and folders in the SMB share.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the Windows domain that the SMB server belongs to.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
The password of the user who can mount the share has the permissions to access files and folders in the SMB share.
sourcepub fn agent_arns(&self) -> Option<&[String]>
pub fn agent_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
sourcepub fn mount_options(&self) -> Option<&SmbMountOptions>
pub fn mount_options(&self) -> Option<&SmbMountOptions>
Specifies how DataSync can access a location using the SMB protocol.
Trait Implementations
sourceimpl Clone for UpdateLocationSmbInput
impl Clone for UpdateLocationSmbInput
sourcefn clone(&self) -> UpdateLocationSmbInput
fn clone(&self) -> UpdateLocationSmbInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateLocationSmbInput
impl Debug for UpdateLocationSmbInput
sourceimpl PartialEq<UpdateLocationSmbInput> for UpdateLocationSmbInput
impl PartialEq<UpdateLocationSmbInput> for UpdateLocationSmbInput
sourcefn eq(&self, other: &UpdateLocationSmbInput) -> bool
fn eq(&self, other: &UpdateLocationSmbInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateLocationSmbInput) -> bool
fn ne(&self, other: &UpdateLocationSmbInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateLocationSmbInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateLocationSmbInput
impl Send for UpdateLocationSmbInput
impl Sync for UpdateLocationSmbInput
impl Unpin for UpdateLocationSmbInput
impl UnwindSafe for UpdateLocationSmbInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more