AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Rekognition::Types::CreateProjectVersionRequest

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

Overview

Note:

When passing CreateProjectVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  project_arn: "ProjectArn", # required
  version_name: "VersionName", # required
  output_config: { # required
    s3_bucket: "S3Bucket",
    s3_key_prefix: "S3KeyPrefix",
  },
  training_data: { # required
    assets: [
      {
        ground_truth_manifest: {
          s3_object: {
            bucket: "S3Bucket",
            name: "S3ObjectName",
            version: "S3ObjectVersion",
          },
        },
      },
    ],
  },
  testing_data: { # required
    assets: [
      {
        ground_truth_manifest: {
          s3_object: {
            bucket: "S3Bucket",
            name: "S3ObjectName",
            version: "S3ObjectVersion",
          },
        },
      },
    ],
    auto_create: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#output_configTypes::OutputConfig

The Amazon S3 location to store the results of training.

Returns:

#project_arnString

The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.

Returns:

  • (String)

    The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.

#testing_dataTypes::TestingData

The dataset to use for testing.

Returns:

#training_dataTypes::TrainingData

The dataset to use for training.

Returns:

#version_nameString

A name for the version of the model. This value must be unique.

Returns:

  • (String)

    A name for the version of the model.