Class: Aws::SageMaker::Types::CreateTrialComponentRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass CreateTrialComponentRequest data as a hash:

{
  trial_component_name: "ExperimentEntityName", # required
  display_name: "ExperimentEntityName",
  status: {
    primary_status: "InProgress", # accepts InProgress, Completed, Failed
    message: "TrialComponentStatusMessage",
  },
  start_time: Time.now,
  end_time: Time.now,
  parameters: {
    "TrialComponentKey256" => {
      string_value: "StringParameterValue",
      number_value: 1.0,
    },
  },
  input_artifacts: {
    "TrialComponentKey64" => {
      media_type: "MediaType",
      value: "TrialComponentArtifactValue", # required
    },
  },
  output_artifacts: {
    "TrialComponentKey64" => {
      media_type: "MediaType",
      value: "TrialComponentArtifactValue", # required
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#end_timeTime

When the component ended.

Returns:

  • (Time)


4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#input_artifactsHash<String,Types::TrialComponentArtifact>

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

Returns:



4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#output_artifactsHash<String,Types::TrialComponentArtifact>

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

Returns:



4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#parametersHash<String,Types::TrialComponentParameterValue>

The hyperparameters for the component.

Returns:



4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#start_timeTime

When the component started.

Returns:

  • (Time)


4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#statusTypes::TrialComponentStatus

The status of the component. States include:

  • InProgress

  • Completed

  • Failed



4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end

#trial_component_nameString

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

Returns:

  • (String)


4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
# File 'lib/aws-sdk-sagemaker/types.rb', line 4983

class CreateTrialComponentRequest < Struct.new(
  :trial_component_name,
  :display_name,
  :status,
  :start_time,
  :end_time,
  :parameters,
  :input_artifacts,
  :output_artifacts,
  :tags)
  include Aws::Structure
end