Struct aws_sdk_fsx::input::CreateDataRepositoryTaskInput
source · [−]#[non_exhaustive]pub struct CreateDataRepositoryTaskInput {
pub type: Option<DataRepositoryTaskType>,
pub paths: Option<Vec<String>>,
pub file_system_id: Option<String>,
pub report: Option<CompletionReport>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.type: Option<DataRepositoryTaskType>
Specifies the type of data repository task to create.
paths: Option<Vec<String>>
(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. If the mount point is /mnt/fsx
and /mnt/fsx/path1
is a directory or file on the file system you want to export, then the path to provide is path1
. If a path that you provide isn't valid, the task fails.
file_system_id: Option<String>
The globally unique ID of the file system, assigned by Amazon FSx.
report: Option<CompletionReport>
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the Scope
parameter. For more information, see Working with Task Completion Reports.
client_request_token: Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
A list of Tag
values, with a maximum of 50 elements.
Implementations
sourceimpl CreateDataRepositoryTaskInput
impl CreateDataRepositoryTaskInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateDataRepositoryTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateDataRepositoryTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDataRepositoryTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDataRepositoryTaskInput
sourceimpl CreateDataRepositoryTaskInput
impl CreateDataRepositoryTaskInput
sourcepub fn type(&self) -> Option<&DataRepositoryTaskType>
pub fn type(&self) -> Option<&DataRepositoryTaskType>
Specifies the type of data repository task to create.
sourcepub fn paths(&self) -> Option<&[String]>
pub fn paths(&self) -> Option<&[String]>
(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. If the mount point is /mnt/fsx
and /mnt/fsx/path1
is a directory or file on the file system you want to export, then the path to provide is path1
. If a path that you provide isn't valid, the task fails.
sourcepub fn file_system_id(&self) -> Option<&str>
pub fn file_system_id(&self) -> Option<&str>
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn report(&self) -> Option<&CompletionReport>
pub fn report(&self) -> Option<&CompletionReport>
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the Scope
parameter. For more information, see Working with Task Completion Reports.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
A list of Tag
values, with a maximum of 50 elements.
Trait Implementations
sourceimpl Clone for CreateDataRepositoryTaskInput
impl Clone for CreateDataRepositoryTaskInput
sourcefn clone(&self) -> CreateDataRepositoryTaskInput
fn clone(&self) -> CreateDataRepositoryTaskInput
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 CreateDataRepositoryTaskInput
impl Debug for CreateDataRepositoryTaskInput
sourceimpl PartialEq<CreateDataRepositoryTaskInput> for CreateDataRepositoryTaskInput
impl PartialEq<CreateDataRepositoryTaskInput> for CreateDataRepositoryTaskInput
sourcefn eq(&self, other: &CreateDataRepositoryTaskInput) -> bool
fn eq(&self, other: &CreateDataRepositoryTaskInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDataRepositoryTaskInput) -> bool
fn ne(&self, other: &CreateDataRepositoryTaskInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDataRepositoryTaskInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDataRepositoryTaskInput
impl Send for CreateDataRepositoryTaskInput
impl Sync for CreateDataRepositoryTaskInput
impl Unpin for CreateDataRepositoryTaskInput
impl UnwindSafe for CreateDataRepositoryTaskInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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