The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SageMaker::CreateTrialComponent - Arguments for method CreateTrialComponent on Paws::SageMaker

DESCRIPTION

This class represents the parameters used for calling the method CreateTrialComponent on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateTrialComponent.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTrialComponent.

SYNOPSIS

    my $api.sagemaker = Paws->service('SageMaker');
    my $CreateTrialComponentResponse = $api . sagemaker->CreateTrialComponent(
      TrialComponentName => 'MyExperimentEntityName',
      DisplayName        => 'MyExperimentEntityName',    # OPTIONAL
      EndTime            => '1970-01-01T01:00:00',       # OPTIONAL
      InputArtifacts     => {
        'MyTrialComponentKey64' => {
          Value     => 'MyTrialComponentArtifactValue',    # max: 2048
          MediaType => 'MyMediaType',                      # max: 64; OPTIONAL
        },    # key: max: 64
      },    # OPTIONAL
      MetadataProperties => {
        CommitId    => 'MyMetadataPropertyValue',    # max: 1024; OPTIONAL
        GeneratedBy => 'MyMetadataPropertyValue',    # max: 1024; OPTIONAL
        ProjectId   => 'MyMetadataPropertyValue',    # max: 1024; OPTIONAL
        Repository  => 'MyMetadataPropertyValue',    # max: 1024; OPTIONAL
      },    # OPTIONAL
      OutputArtifacts => {
        'MyTrialComponentKey64' => {
          Value     => 'MyTrialComponentArtifactValue',    # max: 2048
          MediaType => 'MyMediaType',                      # max: 64; OPTIONAL
        },    # key: max: 64
      },    # OPTIONAL
      Parameters => {
        'MyTrialComponentKey256' => {
          NumberValue => 1,                           # OPTIONAL
          StringValue => 'MyStringParameterValue',    # max: 256; OPTIONAL
        },    # key: max: 256
      },    # OPTIONAL
      StartTime => '1970-01-01T01:00:00',    # OPTIONAL
      Status    => {
        Message       => 'MyTrialComponentStatusMessage',  # max: 1024; OPTIONAL
        PrimaryStatus => 'InProgress'
        ,   # values: InProgress, Completed, Failed, Stopping, Stopped; OPTIONAL
      },    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $TrialComponentArn = $CreateTrialComponentResponse->TrialComponentArn;

    # Returns a L<Paws::SageMaker::CreateTrialComponentResponse> 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/api.sagemaker/CreateTrialComponent

ATTRIBUTES

DisplayName => Str

The name of the component as displayed. The name doesn't need to be unique. If DisplayName isn't specified, TrialComponentName is displayed.

EndTime => Str

When the component ended.

InputArtifacts => Paws::SageMaker::TrialComponentArtifacts

The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.

MetadataProperties => Paws::SageMaker::MetadataProperties

OutputArtifacts => Paws::SageMaker::TrialComponentArtifacts

The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.

Parameters => Paws::SageMaker::TrialComponentParameters

The hyperparameters for the component.

StartTime => Str

When the component started.

Status => Paws::SageMaker::TrialComponentStatus

The status of the component. States include:

  • InProgress

  • Completed

  • Failed

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

A list of tags to associate with the component. You can use Search API to search on the tags.

REQUIRED TrialComponentName => Str

The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateTrialComponent in Paws::SageMaker

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