Class: Aws::SageMaker::Types::CreateTrialComponentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::CreateTrialComponentRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
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
-
#display_name ⇒ String
The name of the component as displayed.
-
#end_time ⇒ Time
When the component ended.
-
#input_artifacts ⇒ Hash<String,Types::TrialComponentArtifact>
The input artifacts for the component.
-
#output_artifacts ⇒ Hash<String,Types::TrialComponentArtifact>
The output artifacts for the component.
-
#parameters ⇒ Hash<String,Types::TrialComponentParameterValue>
The hyperparameters for the component.
-
#start_time ⇒ Time
When the component started.
-
#status ⇒ Types::TrialComponentStatus
The status of the component.
-
#tags ⇒ Array<Types::Tag>
A list of tags to associate with the component.
-
#trial_component_name ⇒ String
The name of the component.
Instance Attribute Details
#display_name ⇒ String
The name of the component as displayed. The name doesn’t need to be unique. If ‘DisplayName` isn’t specified, ‘TrialComponentName` is displayed.
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_time ⇒ Time
When the component ended.
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_artifacts ⇒ Hash<String,Types::TrialComponentArtifact>
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
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_artifacts ⇒ Hash<String,Types::TrialComponentArtifact>
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
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 |
#parameters ⇒ Hash<String,Types::TrialComponentParameterValue>
The hyperparameters for the component.
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_time ⇒ Time
When the component started.
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 |
#status ⇒ Types::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 |
#tags ⇒ Array<Types::Tag>
A list of tags to associate with the component. You can use Search API to search on the tags.
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_name ⇒ String
The name of the component. The name must be unique in your AWS account and is not case-sensitive.
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 |