Struct aws_sdk_datasync::input::UpdateTaskInput
source · [−]#[non_exhaustive]pub struct UpdateTaskInput {
pub task_arn: Option<String>,
pub options: Option<Options>,
pub excludes: Option<Vec<FilterRule>>,
pub schedule: Option<TaskSchedule>,
pub name: Option<String>,
pub cloud_watch_log_group_arn: Option<String>,
pub includes: Option<Vec<FilterRule>>,
}
Expand description
UpdateTaskResponse
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.task_arn: Option<String>
The Amazon Resource Name (ARN) of the resource name of the task to update.
options: Option<Options>
Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on.
A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options
value to StartTaskExecution.
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"
.
schedule: Option<TaskSchedule>
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
name: Option<String>
The name of the task to update.
cloud_watch_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
includes: Option<Vec<FilterRule>>
A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateTask
>
Creates a new builder-style object to manufacture UpdateTaskInput
The Amazon Resource Name (ARN) of the resource name of the task to update.
Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on.
A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options
value to StartTaskExecution.
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"
.
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdateTaskInput
impl Send for UpdateTaskInput
impl Sync for UpdateTaskInput
impl Unpin for UpdateTaskInput
impl UnwindSafe for UpdateTaskInput
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