Struct aws_sdk_appflow::types::Task
source · #[non_exhaustive]pub struct Task {
pub source_fields: Vec<String>,
pub connector_operator: Option<ConnectorOperator>,
pub destination_field: Option<String>,
pub task_type: TaskType,
pub task_properties: Option<HashMap<OperatorPropertiesKeys, String>>,
}
Expand description
A class for modeling different type of tasks. Task implementation varies based on the TaskType
.
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_fields: Vec<String>
The source fields to which a particular task is applied.
connector_operator: Option<ConnectorOperator>
The operation to be performed on the provided source fields.
destination_field: Option<String>
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
task_type: TaskType
Specifies the particular task implementation that Amazon AppFlow performs.
task_properties: Option<HashMap<OperatorPropertiesKeys, String>>
A map used to store task-related information. The execution service looks for particular information based on the TaskType
.
Implementations§
source§impl Task
impl Task
sourcepub fn source_fields(&self) -> &[String]
pub fn source_fields(&self) -> &[String]
The source fields to which a particular task is applied.
sourcepub fn connector_operator(&self) -> Option<&ConnectorOperator>
pub fn connector_operator(&self) -> Option<&ConnectorOperator>
The operation to be performed on the provided source fields.
sourcepub fn destination_field(&self) -> Option<&str>
pub fn destination_field(&self) -> Option<&str>
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
sourcepub fn task_type(&self) -> &TaskType
pub fn task_type(&self) -> &TaskType
Specifies the particular task implementation that Amazon AppFlow performs.
sourcepub fn task_properties(
&self
) -> Option<&HashMap<OperatorPropertiesKeys, String>>
pub fn task_properties( &self ) -> Option<&HashMap<OperatorPropertiesKeys, String>>
A map used to store task-related information. The execution service looks for particular information based on the TaskType
.