Class: Aws::Appflow::Types::SAPODataDestinationProperties

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 SAPODataDestinationProperties data as a hash:

{
  object_path: "Object", # required
  success_response_handling_config: {
    bucket_prefix: "BucketPrefix",
    bucket_name: "BucketName",
  },
  id_field_names: ["Name"],
  error_handling_config: {
    fail_on_first_destination_error: false,
    bucket_prefix: "BucketPrefix",
    bucket_name: "BucketName",
  },
  write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
}

The properties that are applied when using SAPOData as a flow destination

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_handling_configTypes::ErrorHandlingConfig

The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.



5455
5456
5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 5455

class SAPODataDestinationProperties < Struct.new(
  :object_path,
  :success_response_handling_config,
  :id_field_names,
  :error_handling_config,
  :write_operation_type)
  SENSITIVE = []
  include Aws::Structure
end

#id_field_namesArray<String>

A list of field names that can be used as an ID field when performing a write operation.

Returns:

  • (Array<String>)


5455
5456
5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 5455

class SAPODataDestinationProperties < Struct.new(
  :object_path,
  :success_response_handling_config,
  :id_field_names,
  :error_handling_config,
  :write_operation_type)
  SENSITIVE = []
  include Aws::Structure
end

#object_pathString

The object path specified in the SAPOData flow destination.

Returns:

  • (String)


5455
5456
5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 5455

class SAPODataDestinationProperties < Struct.new(
  :object_path,
  :success_response_handling_config,
  :id_field_names,
  :error_handling_config,
  :write_operation_type)
  SENSITIVE = []
  include Aws::Structure
end

#success_response_handling_configTypes::SuccessResponseHandlingConfig

Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.

For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.



5455
5456
5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 5455

class SAPODataDestinationProperties < Struct.new(
  :object_path,
  :success_response_handling_config,
  :id_field_names,
  :error_handling_config,
  :write_operation_type)
  SENSITIVE = []
  include Aws::Structure
end

#write_operation_typeString

The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT operation.

Returns:

  • (String)


5455
5456
5457
5458
5459
5460
5461
5462
5463
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 5455

class SAPODataDestinationProperties < Struct.new(
  :object_path,
  :success_response_handling_config,
  :id_field_names,
  :error_handling_config,
  :write_operation_type)
  SENSITIVE = []
  include Aws::Structure
end