Paws::LookoutVision::CreateModel - Arguments for method CreateModel on Paws::LookoutVision
This class represents the parameters used for calling the method CreateModel on the Amazon Lookout for Vision service. Use the attributes of this class as arguments to method CreateModel.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateModel.
my $lookoutvision = Paws->service('LookoutVision'); my $CreateModelResponse = $lookoutvision->CreateModel( OutputConfig => { S3Location => { Bucket => 'MyS3BucketName', # min: 3, max: 63 Prefix => 'MyS3KeyPrefix', # max: 1024; OPTIONAL }, }, ProjectName => 'MyProjectName', ClientToken => 'MyClientToken', # OPTIONAL Description => 'MyModelDescriptionMessage', # OPTIONAL KmsKeyId => 'MyKmsKeyId', # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL ); # Results: my $ModelMetadata = $CreateModelResponse->ModelMetadata; # Returns a L<Paws::LookoutVision::CreateModelResponse> 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/lookoutvision/CreateModel
ClientToken is an idempotency token that ensures a call to CreateModel completes only once. You choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a response from CreateModel. In this case, safely retry your call to CreateModel by using the same ClientToken parameter value. An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to CreateModel. An idempotency token is active for 8 hours.
CreateModel
ClientToken
A description for the version of the model.
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.
The location where Amazon Lookout for Vision saves the training results.
The name of the project in which you want to create a model version.
A set of tags (key-value pairs) that you want to attach to the model.
This class forms part of Paws, documenting arguments for method CreateModel in Paws::LookoutVision
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.