Struct aws_sdk_datasync::operation::create_task::CreateTaskInput
source · #[non_exhaustive]pub struct CreateTaskInput {
pub source_location_arn: Option<String>,
pub destination_location_arn: Option<String>,
pub cloud_watch_log_group_arn: Option<String>,
pub name: Option<String>,
pub options: Option<Options>,
pub excludes: Option<Vec<FilterRule>>,
pub schedule: Option<TaskSchedule>,
pub tags: Option<Vec<TagListEntry>>,
pub includes: Option<Vec<FilterRule>>,
pub manifest_config: Option<ManifestConfig>,
pub task_report_config: Option<TaskReportConfig>,
}
Expand description
CreateTaskRequest
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.source_location_arn: Option<String>
Specifies the ARN of your transfer's source location.
destination_location_arn: Option<String>
Specifies the ARN of your transfer's destination location.
cloud_watch_log_group_arn: Option<String>
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
name: Option<String>
Specifies the name of your task.
options: Option<Options>
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
excludes: Option<Vec<FilterRule>>
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
schedule: Option<TaskSchedule>
Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
includes: Option<Vec<FilterRule>>
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
manifest_config: Option<ManifestConfig>
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
task_report_config: Option<TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
Implementations§
source§impl CreateTaskInput
impl CreateTaskInput
sourcepub fn source_location_arn(&self) -> Option<&str>
pub fn source_location_arn(&self) -> Option<&str>
Specifies the ARN of your transfer's source location.
sourcepub fn destination_location_arn(&self) -> Option<&str>
pub fn destination_location_arn(&self) -> Option<&str>
Specifies the ARN of your transfer's destination location.
sourcepub fn cloud_watch_log_group_arn(&self) -> Option<&str>
pub fn cloud_watch_log_group_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
sourcepub fn options(&self) -> Option<&Options>
pub fn options(&self) -> Option<&Options>
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
sourcepub fn excludes(&self) -> &[FilterRule]
pub fn excludes(&self) -> &[FilterRule]
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .excludes.is_none()
.
sourcepub fn schedule(&self) -> Option<&TaskSchedule>
pub fn schedule(&self) -> Option<&TaskSchedule>
Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn includes(&self) -> &[FilterRule]
pub fn includes(&self) -> &[FilterRule]
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .includes.is_none()
.
sourcepub fn manifest_config(&self) -> Option<&ManifestConfig>
pub fn manifest_config(&self) -> Option<&ManifestConfig>
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
sourcepub fn task_report_config(&self) -> Option<&TaskReportConfig>
pub fn task_report_config(&self) -> Option<&TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
source§impl CreateTaskInput
impl CreateTaskInput
sourcepub fn builder() -> CreateTaskInputBuilder
pub fn builder() -> CreateTaskInputBuilder
Creates a new builder-style object to manufacture CreateTaskInput
.
Trait Implementations§
source§impl Clone for CreateTaskInput
impl Clone for CreateTaskInput
source§fn clone(&self) -> CreateTaskInput
fn clone(&self) -> CreateTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTaskInput
impl Debug for CreateTaskInput
source§impl PartialEq for CreateTaskInput
impl PartialEq for CreateTaskInput
source§fn eq(&self, other: &CreateTaskInput) -> bool
fn eq(&self, other: &CreateTaskInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTaskInput
Auto Trait Implementations§
impl Freeze for CreateTaskInput
impl RefUnwindSafe for CreateTaskInput
impl Send for CreateTaskInput
impl Sync for CreateTaskInput
impl Unpin for CreateTaskInput
impl UnwindSafe for CreateTaskInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more