NAME
Paws::Rekognition::CreateProjectVersion - Arguments for method CreateProjectVersion on Paws::Rekognition
DESCRIPTION
This class represents the parameters used for calling the method CreateProjectVersion on the Amazon Rekognition service. Use the attributes of this class as arguments to method CreateProjectVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProjectVersion.
SYNOPSIS
my $rekognition = Paws->service('Rekognition');
my $CreateProjectVersionResponse = $rekognition->CreateProjectVersion(
OutputConfig => {
S3Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL
S3KeyPrefix => 'MyS3KeyPrefix', # max: 1024; OPTIONAL
},
ProjectArn => 'MyProjectArn',
TestingData => {
Assets => [
{
GroundTruthManifest => {
S3Object => {
Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL
Name => 'MyS3ObjectName', # min: 1, max: 1024; OPTIONAL
Version => 'MyS3ObjectVersion', # min: 1, max: 1024; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
},
...
], # OPTIONAL
AutoCreate => 1, # OPTIONAL
},
TrainingData => {
Assets => [
{
GroundTruthManifest => {
S3Object => {
Bucket => 'MyS3Bucket', # min: 3, max: 255; OPTIONAL
Name => 'MyS3ObjectName', # min: 1, max: 1024; OPTIONAL
Version => 'MyS3ObjectVersion', # min: 1, max: 1024; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
},
...
], # OPTIONAL
},
VersionName => 'MyVersionName',
);
# Results:
my $ProjectVersionArn = $CreateProjectVersionResponse->ProjectVersionArn;
# Returns a L<Paws::Rekognition::CreateProjectVersionResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rekognition/CreateProjectVersion
ATTRIBUTES
REQUIRED OutputConfig => Paws::Rekognition::OutputConfig
The Amazon S3 location to store the results of training.
REQUIRED ProjectArn => Str
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
REQUIRED TestingData => Paws::Rekognition::TestingData
The dataset to use for testing.
REQUIRED TrainingData => Paws::Rekognition::TrainingData
The dataset to use for training.
REQUIRED VersionName => Str
A name for the version of the model. This value must be unique.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateProjectVersion in Paws::Rekognition
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues