You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourceTypes::DataSource

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

Returns:



470
471
472
473
474
475
476
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 470

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

#dataset_arnString

The ARN of the dataset that receives the imported data.

Returns:

  • (String)


470
471
472
473
474
475
476
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 470

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

#job_nameString

The name for the dataset import job.

Returns:

  • (String)


470
471
472
473
474
475
476
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 470

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


470
471
472
473
474
475
476
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 470

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