Class: Aws::SupplyChain::Types::DataIntegrationFlowDatasetOptions

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

Overview

The dataset options used in dataset source and target configurations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dedupe_recordsBoolean

The option to perform deduplication on data records sharing same primary key values. If disabled, transformed data with duplicate primary key values will ingest into dataset, for datasets within asc namespace, such duplicates will cause ingestion fail. If enabled without dedupeStrategy, deduplication is done by retaining a random data record among those sharing the same primary key values. If enabled with dedupeStragtegy, the deduplication is done following the strategy.

Note that target dataset may have partition configured, when dedupe is enabled, it only dedupe against primary keys and retain only one record out of those duplicates regardless of its partition status.

Returns:

  • (Boolean)


581
582
583
584
585
586
587
# File 'gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/types.rb', line 581

class DataIntegrationFlowDatasetOptions < Struct.new(
  :load_type,
  :dedupe_records,
  :dedupe_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#dedupe_strategyTypes::DataIntegrationFlowDedupeStrategy

The deduplication strategy to dedupe the data records sharing same primary key values of the target dataset. This strategy only applies to target dataset with primary keys and with dedupeRecords option enabled. If transformed data still got duplicates after the dedupeStrategy evaluation, a random data record is chosen to be retained.



581
582
583
584
585
586
587
# File 'gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/types.rb', line 581

class DataIntegrationFlowDatasetOptions < Struct.new(
  :load_type,
  :dedupe_records,
  :dedupe_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#load_typeString

The target dataset's data load type. This only affects how source S3 files are selected in the S3-to-dataset flow.

  • REPLACE - Target dataset will get replaced with the new file added under the source s3 prefix.

  • INCREMENTAL - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.

Returns:

  • (String)


581
582
583
584
585
586
587
# File 'gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/types.rb', line 581

class DataIntegrationFlowDatasetOptions < Struct.new(
  :load_type,
  :dedupe_records,
  :dedupe_strategy)
  SENSITIVE = []
  include Aws::Structure
end