Class: Aws::Personalize::Types::CreateBatchInferenceJobRequest

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 CreateBatchInferenceJobRequest data as a hash:

{
  job_name: "Name", # required
  solution_version_arn: "Arn", # required
  num_results: 1,
  job_input: { # required
    s3_data_source: { # required
      path: "S3Location", # required
      kms_key_arn: "KmsKeyArn",
    },
  },
  job_output: { # required
    s3_data_destination: { # required
      path: "S3Location", # required
      kms_key_arn: "KmsKeyArn",
    },
  },
  role_arn: "RoleArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#job_inputTypes::BatchInferenceJobInput

The Amazon S3 path that leads to the input file to base your recommendations on. The input material must be in JSON format.



587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end

#job_nameString

The name of the batch inference job to create.

Returns:

  • (String)


587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end

#job_outputTypes::BatchInferenceJobOutput

The path to the Amazon S3 bucket where the job's output will be stored.



587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end

#num_resultsInteger

The number of recommendations to retreive.

Returns:

  • (Integer)


587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end

#role_arnString

The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and out Amazon S3 buckets respectively.

Returns:

  • (String)


587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end

#solution_version_arnString

The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations.

Returns:

  • (String)


587
588
589
590
591
592
593
594
595
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 587

class CreateBatchInferenceJobRequest < Struct.new(
  :job_name,
  :solution_version_arn,
  :num_results,
  :job_input,
  :job_output,
  :role_arn)
  include Aws::Structure
end