The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::LookoutVision::CreateModel - Arguments for method CreateModel on Paws::LookoutVision

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

ClientToken => Str

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.

Description => Str

A description for the version of the model.

KmsKeyId => Str

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.

REQUIRED OutputConfig => Paws::LookoutVision::OutputConfig

The location where Amazon Lookout for Vision saves the training results.

REQUIRED ProjectName => Str

The name of the project in which you want to create a model version.

Tags => ArrayRef[Paws::LookoutVision::Tag]

A set of tags (key-value pairs) that you want to attach to the model.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateModel in Paws::LookoutVision

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