[][src]Struct rusoto_datasync::CreateTaskRequest

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>>,
}

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.

tags: Option<Vec<TagListEntry>>

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

impl Clone for CreateTaskRequest[src]

impl Debug for CreateTaskRequest[src]

impl Default for CreateTaskRequest[src]

impl PartialEq<CreateTaskRequest> for CreateTaskRequest[src]

impl Serialize for CreateTaskRequest[src]

impl StructuralPartialEq for CreateTaskRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.