Class: Aws::Appflow::Types::Task

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb

Overview

Note:

When making an API call, you may pass Task data as a hash:

{
  source_fields: ["String"], # required
  connector_operator: {
    amplitude: "BETWEEN", # accepts BETWEEN
    datadog: "PROJECTION", # accepts PROJECTION, BETWEEN, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    dynatrace: "PROJECTION", # accepts PROJECTION, BETWEEN, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    google_analytics: "PROJECTION", # accepts PROJECTION, BETWEEN
    infor_nexus: "PROJECTION", # accepts PROJECTION, BETWEEN, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    marketo: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, BETWEEN, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    s3: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    salesforce: "PROJECTION", # accepts PROJECTION, LESS_THAN, CONTAINS, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    service_now: "PROJECTION", # accepts PROJECTION, CONTAINS, LESS_THAN, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    singular: "PROJECTION", # accepts PROJECTION, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    slack: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    trendmicro: "PROJECTION", # accepts PROJECTION, EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    veeva: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
    zendesk: "PROJECTION", # accepts PROJECTION, GREATER_THAN, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
  },
  destination_field: "DestinationField",
  task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Truncate, Validate
  task_properties: {
    "VALUE" => "Property",
  },
}

A class for modeling different type of tasks. Task implementation varies based on the TaskType.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connector_operatorTypes::ConnectorOperator

The operation to be performed on the provided source fields.



4692
4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4692

class Task < Struct.new(
  :source_fields,
  :connector_operator,
  :destination_field,
  :task_type,
  :task_properties)
  SENSITIVE = []
  include Aws::Structure
end

#destination_fieldString

A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

Returns:

  • (String)


4692
4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4692

class Task < Struct.new(
  :source_fields,
  :connector_operator,
  :destination_field,
  :task_type,
  :task_properties)
  SENSITIVE = []
  include Aws::Structure
end

#source_fieldsArray<String>

The source fields to which a particular task is applied.

Returns:

  • (Array<String>)


4692
4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4692

class Task < Struct.new(
  :source_fields,
  :connector_operator,
  :destination_field,
  :task_type,
  :task_properties)
  SENSITIVE = []
  include Aws::Structure
end

#task_propertiesHash<String,String>

A map used to store task-related information. The execution service looks for particular information based on the TaskType.

Returns:

  • (Hash<String,String>)


4692
4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4692

class Task < Struct.new(
  :source_fields,
  :connector_operator,
  :destination_field,
  :task_type,
  :task_properties)
  SENSITIVE = []
  include Aws::Structure
end

#task_typeString

Specifies the particular task implementation that Amazon AppFlow performs.

Returns:

  • (String)


4692
4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4692

class Task < Struct.new(
  :source_fields,
  :connector_operator,
  :destination_field,
  :task_type,
  :task_properties)
  SENSITIVE = []
  include Aws::Structure
end