« blib/lib/Paws/SageMaker/TrialComponent.pm
↑ Summary
blib/lib/Paws/SageMaker/TrialComponentArtifacts.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::TrialComponentArtifact; | ||
| 3 | use Moose; | ||
| 4 | has MediaType => (is => 'ro', isa => 'Str'); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::SageMaker::TrialComponentArtifact | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::SageMaker::TrialComponentArtifact object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { MediaType => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::TrialComponentArtifact object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->MediaType | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Represents an input or output artifact of a trial component. You | ||
| 38 | specify C<TrialComponentArtifact> as part of the C<InputArtifacts> and | ||
| 39 | C<OutputArtifacts> parameters in the CreateTrialComponent request. | ||
| 40 | |||
| 41 | Examples of input artifacts are datasets, algorithms, hyperparameters, | ||
| 42 | source code, and instance types. Examples of output artifacts are | ||
| 43 | metrics, snapshots, logs, and images. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 MediaType => Str | ||
| 49 | |||
| 50 | The media type of the artifact, which indicates the type of data in the | ||
| 51 | artifact file. The media type consists of a I<type> and a I<subtype> | ||
| 52 | concatenated with a slash (/) character, for example, text/csv, | ||
| 53 | image/jpeg, and s3/uri. The type specifies the category of the media. | ||
| 54 | The subtype specifies the kind of data. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> Value => Str | ||
| 58 | |||
| 59 | The location of the artifact. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |