pub struct CreateTaskRequest {
pub cloud_watch_log_group_arn: Option<String>,
pub destination_location_arn: String,
pub excludes: Option<Vec<FilterRule>>,
pub name: Option<String>,
pub options: Option<Options>,
pub schedule: Option<TaskSchedule>,
pub source_location_arn: String,
pub tags: Option<Vec<TagListEntry>>,
}
Expand description
CreateTaskRequest
Fields§
§cloud_watch_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
For more information about how to use CloudWatch Logs with DataSync, see Monitoring Your Task in the AWS DataSync User Guide.
destination_location_arn: String
The Amazon Resource Name (ARN) of an AWS storage resource's location.
excludes: Option<Vec<FilterRule>>
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
name: Option<String>
The name of a task. This value is a text reference that is used to identify the task in the console.
options: Option<Options>
The set of configuration options that control the behavior of a single execution of the task that occurs when you call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the OverrideOptions
before starting a the task execution. For more information, see the operation.
schedule: Option<TaskSchedule>
Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see task-scheduling.
source_location_arn: String
The Amazon Resource Name (ARN) of the source location for the task.
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
Trait Implementations§
Source§impl Clone for CreateTaskRequest
impl Clone for CreateTaskRequest
Source§fn clone(&self) -> CreateTaskRequest
fn clone(&self) -> CreateTaskRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more