#[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>>,
pub capacity_to_release: Option<i64>,
}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>>A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
-
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the Amazon S3 bucket. 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/fsxand/mnt/fsx/path1is a directory or file on the file system you want to export, then the path to provide ispath1. -
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix(wheremyPrefixis optional).
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 63 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.
capacity_to_release: Option<i64>Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
Implementations§
source§impl 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]>
A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
-
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the Amazon S3 bucket. 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/fsxand/mnt/fsx/path1is a directory or file on the file system you want to export, then the path to provide ispath1. -
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix(wheremyPrefixis optional).
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 63 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.
sourcepub fn capacity_to_release(&self) -> Option<i64>
pub fn capacity_to_release(&self) -> Option<i64>
Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
source§impl CreateDataRepositoryTaskInput
impl CreateDataRepositoryTaskInput
sourcepub fn builder() -> CreateDataRepositoryTaskInputBuilder
pub fn builder() -> CreateDataRepositoryTaskInputBuilder
Creates a new builder-style object to manufacture CreateDataRepositoryTaskInput.
Trait Implementations§
source§impl Clone for CreateDataRepositoryTaskInput
impl Clone for CreateDataRepositoryTaskInput
source§fn clone(&self) -> CreateDataRepositoryTaskInput
fn clone(&self) -> CreateDataRepositoryTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<CreateDataRepositoryTaskInput> for CreateDataRepositoryTaskInput
impl PartialEq<CreateDataRepositoryTaskInput> for CreateDataRepositoryTaskInput
source§fn eq(&self, other: &CreateDataRepositoryTaskInput) -> bool
fn eq(&self, other: &CreateDataRepositoryTaskInput) -> bool
self and other values to be equal, and is used
by ==.