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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateBatchInferenceJobRequest as input to an Aws::Client method, you can use a vanilla 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.

Returns:

#job_nameString

The name of the batch inference job to create.

Returns:

  • (String)

    The name of the batch inference job to create.

#job_outputTypes::BatchInferenceJobOutput

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

Returns:

#num_resultsInteger

The number of recommendations to retreive.

Returns:

  • (Integer)

    The number of recommendations to retreive.

#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)

    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.

#solution_version_arnString

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

Returns:

  • (String)

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