| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::ModelPackageContainerDefinition; | ||
| 3 | use Moose; | ||
| 4 | has ContainerHostname => (is => 'ro', isa => 'Str'); | ||
| 5 | has Environment => (is => 'ro', isa => 'Paws::SageMaker::EnvironmentMap'); | ||
| 6 | has Image => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has ImageDigest => (is => 'ro', isa => 'Str'); | ||
| 8 | has ModelDataUrl => (is => 'ro', isa => 'Str'); | ||
| 9 | has ProductId => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::SageMaker::ModelPackageContainerDefinition | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::SageMaker::ModelPackageContainerDefinition object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { ContainerHostname => $value, ..., ProductId => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ModelPackageContainerDefinition object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->ContainerHostname | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Describes the Docker container for the model package. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 ContainerHostname => Str | ||
| 47 | |||
| 48 | The DNS host name for the Docker container. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Environment => L<Paws::SageMaker::EnvironmentMap> | ||
| 52 | |||
| 53 | The environment variables to set in the Docker container. Each key and | ||
| 54 | value in the C<Environment> string to string map can have length of up | ||
| 55 | to 1024. We support up to 16 entries in the map. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> Image => Str | ||
| 59 | |||
| 60 | The Amazon EC2 Container Registry (Amazon ECR) path where inference | ||
| 61 | code is stored. | ||
| 62 | |||
| 63 | If you are using your own custom algorithm instead of an algorithm | ||
| 64 | provided by Amazon SageMaker, the inference code must meet Amazon | ||
| 65 | SageMaker requirements. Amazon SageMaker supports both | ||
| 66 | C<registry/repository[:tag]> and C<registry/repository[@digest]> image | ||
| 67 | path formats. For more information, see Using Your Own Algorithms with | ||
| 68 | Amazon SageMaker | ||
| 69 | (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). | ||
| 70 | |||
| 71 | |||
| 72 | =head2 ImageDigest => Str | ||
| 73 | |||
| 74 | An MD5 hash of the training algorithm that identifies the Docker image | ||
| 75 | used for training. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 ModelDataUrl => Str | ||
| 79 | |||
| 80 | The Amazon S3 path where the model artifacts, which result from model | ||
| 81 | training, are stored. This path must point to a single C<gzip> | ||
| 82 | compressed tar archive (C<.tar.gz> suffix). | ||
| 83 | |||
| 84 | The model artifacts must be in an S3 bucket that is in the same region | ||
| 85 | as the model package. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 ProductId => Str | ||
| 89 | |||
| 90 | The Amazon Web Services Marketplace product ID of the model package. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |