Class: Aws::Personalize::Types::CreateDatasetImportJobRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-personalize/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourceTypes::DataSource

The Amazon S3 bucket that contains the training data to import.

Returns:



1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#dataset_arnString

The ARN of the dataset that receives the imported data.

Returns:

  • (String)


1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#import_modeString

Specify how to add the new records to an existing dataset. The default import mode is ‘FULL`. If you haven’t imported bulk records into the dataset previously, you can only specify ‘FULL`.

  • Specify ‘FULL` to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced.

  • Specify ‘INCREMENTAL` to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.

Returns:

  • (String)


1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#job_nameString

The name for the dataset import job.

Returns:

  • (String)


1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#publish_attribution_metrics_to_s3Boolean

If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3

Returns:

  • (Boolean)


1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that has permissions to read from the Amazon S3 data source.

Returns:

  • (String)


1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of [tags] to apply to the dataset import job.

[1]: docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html

Returns:



1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/aws-sdk-personalize/types.rb', line 1262

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn,
  :tags,
  :import_mode,
  :publish_attribution_metrics_to_s3)
  SENSITIVE = []
  include Aws::Structure
end