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',
KmsKeyId => 'MyKmsKeyId', # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# 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
KmsKeyId => Str
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). You can supply the Amazon Resource Name (ARN) of your CMK, the ID of your CMK, or an alias for your CMK. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you don't specify a value for KmsKeyId
, images copied into the service are encrypted using a key that AWS owns and manages.
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.
Tags => Paws::Rekognition::TagMap
A set of tags (key-value pairs) that you want to attach to the model.
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