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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-personalize/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:



1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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)


1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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)


1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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)


1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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)


1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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)


1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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.

Returns:



1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1203

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