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

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

Overview

Note:

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

{
  job_name: "Name", # required
  dataset_arn: "Arn", # required
  data_source: { # required
    data_location: "S3Location",
  },
  role_arn: "RoleArn", # required
}

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:



845
846
847
848
849
850
851
852
# File 'lib/aws-sdk-personalize/types.rb', line 845

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

#dataset_arnString

The ARN of the dataset that receives the imported data.

Returns:

  • (String)


845
846
847
848
849
850
851
852
# File 'lib/aws-sdk-personalize/types.rb', line 845

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

#job_nameString

The name for the dataset import job.

Returns:

  • (String)


845
846
847
848
849
850
851
852
# File 'lib/aws-sdk-personalize/types.rb', line 845

class CreateDatasetImportJobRequest < Struct.new(
  :job_name,
  :dataset_arn,
  :data_source,
  :role_arn)
  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)


845
846
847
848
849
850
851
852
# File 'lib/aws-sdk-personalize/types.rb', line 845

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