Struct aws_sdk_fsx::client::fluent_builders::CreateDataRepositoryTask [−][src]
pub struct CreateDataRepositoryTask<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateDataRepositoryTask.
Creates an Amazon FSx for Lustre data repository task. You use data repository tasks
to perform bulk operations between your Amazon FSx file system and its linked data
repository. An example of a data repository task is
exporting any data and metadata changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) from your FSx file system to its linked data repository. A
CreateDataRepositoryTask operation will fail if a data repository is not
linked to the FSx file system. To learn more about data repository tasks, see
Data Repository Tasks.
To learn more about linking a data repository to your file system, see
Linking your file system to an S3 bucket.
Implementations
impl<C, M, R> CreateDataRepositoryTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDataRepositoryTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDataRepositoryTaskOutput, SdkError<CreateDataRepositoryTaskError>> where
R::Policy: SmithyRetryPolicy<CreateDataRepositoryTaskInputOperationOutputAlias, CreateDataRepositoryTaskOutput, CreateDataRepositoryTaskError, CreateDataRepositoryTaskInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDataRepositoryTaskOutput, SdkError<CreateDataRepositoryTaskError>> where
R::Policy: SmithyRetryPolicy<CreateDataRepositoryTaskInputOperationOutputAlias, CreateDataRepositoryTaskOutput, CreateDataRepositoryTaskError, CreateDataRepositoryTaskInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Specifies the type of data repository task to create.
Specifies the type of data repository task to create.
Appends an item to Paths.
To override the contents of this collection use set_paths.
(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.
(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.
The globally unique ID of the file system, assigned by Amazon FSx.
The globally unique ID of the file system, assigned by Amazon FSx.
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.
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.
(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.
(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.
Appends an item to Tags.
To override the contents of this collection use set_tags.
A list of Tag values, with a maximum of 50 elements.
A list of Tag values, with a maximum of 50 elements.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDataRepositoryTask<C, M, R>
impl<C, M, R> Send for CreateDataRepositoryTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDataRepositoryTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDataRepositoryTask<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDataRepositoryTask<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more