1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. getTrialComponent

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::TrialComponent. A trial component is a stage of a machine learning trial, such as a preprocessing job, training job, or batch transform job.

    Using getTrialComponent

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrialComponent(args: GetTrialComponentArgs, opts?: InvokeOptions): Promise<GetTrialComponentResult>
    function getTrialComponentOutput(args: GetTrialComponentOutputArgs, opts?: InvokeOutputOptions): Output<GetTrialComponentResult>
    def get_trial_component(trial_component_arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetTrialComponentResult
    def get_trial_component_output(trial_component_arn: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOutputOptions] = None) -> Output[GetTrialComponentResult]
    func LookupTrialComponent(ctx *Context, args *LookupTrialComponentArgs, opts ...InvokeOption) (*LookupTrialComponentResult, error)
    func LookupTrialComponentOutput(ctx *Context, args *LookupTrialComponentOutputArgs, opts ...InvokeOption) LookupTrialComponentResultOutput

    > Note: This function is named LookupTrialComponent in the Go SDK.

    public static class GetTrialComponent 
    {
        public static Task<GetTrialComponentResult> InvokeAsync(GetTrialComponentArgs args, InvokeOptions? opts = null)
        public static Output<GetTrialComponentResult> Invoke(GetTrialComponentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTrialComponentResult> Invoke(GetTrialComponentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTrialComponentResult> getTrialComponent(GetTrialComponentArgs args, InvokeOptions options)
    public static Output<GetTrialComponentResult> getTrialComponent(GetTrialComponentArgs args, InvokeOptions options)
    public static Output<GetTrialComponentResult> getTrialComponent(GetTrialComponentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getTrialComponent
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_trial_component" "name" {
        # arguments
    }

    The following arguments are supported:

    TrialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    TrialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    trial_component_arn string
    The Amazon Resource Name (ARN) of the trial component.
    trialComponentArn String
    The Amazon Resource Name (ARN) of the trial component.
    trialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    trial_component_arn str
    The Amazon Resource Name (ARN) of the trial component.
    trialComponentArn String
    The Amazon Resource Name (ARN) of the trial component.

    getTrialComponent Result

    The following output properties are available:

    CreationTime string
    When the trial component was created.
    DisplayName string
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    InputArtifacts Dictionary<string, Pulumi.AwsNative.SageMaker.Outputs.TrialComponentArtifact>
    The input artifacts for the component.
    LastModifiedTime string
    When the trial component was last modified.
    LineageGroupArn string
    The Amazon Resource Name (ARN) of the lineage group.
    OutputArtifacts Dictionary<string, Pulumi.AwsNative.SageMaker.Outputs.TrialComponentArtifact>
    The output artifacts for the component.
    Parameters Dictionary<string, Pulumi.AwsNative.SageMaker.Outputs.TrialComponentParameterValue>
    The hyperparameters for the component.
    Status Pulumi.AwsNative.SageMaker.Outputs.TrialComponentStatus
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags to associate with the trial component.
    TrialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    CreationTime string
    When the trial component was created.
    DisplayName string
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    InputArtifacts map[string]TrialComponentArtifact
    The input artifacts for the component.
    LastModifiedTime string
    When the trial component was last modified.
    LineageGroupArn string
    The Amazon Resource Name (ARN) of the lineage group.
    OutputArtifacts map[string]TrialComponentArtifact
    The output artifacts for the component.
    Parameters map[string]TrialComponentParameterValue
    The hyperparameters for the component.
    Status TrialComponentStatus
    Tags Tag
    A list of tags to associate with the trial component.
    TrialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    creation_time string
    When the trial component was created.
    display_name string
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    input_artifacts map(object)
    The input artifacts for the component.
    last_modified_time string
    When the trial component was last modified.
    lineage_group_arn string
    The Amazon Resource Name (ARN) of the lineage group.
    output_artifacts map(object)
    The output artifacts for the component.
    parameters map(object)
    The hyperparameters for the component.
    status object
    tags list(object)
    A list of tags to associate with the trial component.
    trial_component_arn string
    The Amazon Resource Name (ARN) of the trial component.
    creationTime String
    When the trial component was created.
    displayName String
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    inputArtifacts Map<String,TrialComponentArtifact>
    The input artifacts for the component.
    lastModifiedTime String
    When the trial component was last modified.
    lineageGroupArn String
    The Amazon Resource Name (ARN) of the lineage group.
    outputArtifacts Map<String,TrialComponentArtifact>
    The output artifacts for the component.
    parameters Map<String,TrialComponentParameterValue>
    The hyperparameters for the component.
    status TrialComponentStatus
    tags List<Tag>
    A list of tags to associate with the trial component.
    trialComponentArn String
    The Amazon Resource Name (ARN) of the trial component.
    creationTime string
    When the trial component was created.
    displayName string
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    inputArtifacts {[key: string]: TrialComponentArtifact}
    The input artifacts for the component.
    lastModifiedTime string
    When the trial component was last modified.
    lineageGroupArn string
    The Amazon Resource Name (ARN) of the lineage group.
    outputArtifacts {[key: string]: TrialComponentArtifact}
    The output artifacts for the component.
    parameters {[key: string]: TrialComponentParameterValue}
    The hyperparameters for the component.
    status TrialComponentStatus
    tags Tag[]
    A list of tags to associate with the trial component.
    trialComponentArn string
    The Amazon Resource Name (ARN) of the trial component.
    creation_time str
    When the trial component was created.
    display_name str
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    input_artifacts Mapping[str, TrialComponentArtifact]
    The input artifacts for the component.
    last_modified_time str
    When the trial component was last modified.
    lineage_group_arn str
    The Amazon Resource Name (ARN) of the lineage group.
    output_artifacts Mapping[str, TrialComponentArtifact]
    The output artifacts for the component.
    parameters Mapping[str, TrialComponentParameterValue]
    The hyperparameters for the component.
    status TrialComponentStatus
    tags Sequence[root_Tag]
    A list of tags to associate with the trial component.
    trial_component_arn str
    The Amazon Resource Name (ARN) of the trial component.
    creationTime String
    When the trial component was created.
    displayName String
    The name of the component as displayed. If DisplayName isn't specified, TrialComponentName is displayed.
    inputArtifacts Map<Property Map>
    The input artifacts for the component.
    lastModifiedTime String
    When the trial component was last modified.
    lineageGroupArn String
    The Amazon Resource Name (ARN) of the lineage group.
    outputArtifacts Map<Property Map>
    The output artifacts for the component.
    parameters Map<Property Map>
    The hyperparameters for the component.
    status Property Map
    tags List<Property Map>
    A list of tags to associate with the trial component.
    trialComponentArn String
    The Amazon Resource Name (ARN) of the trial component.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TrialComponentArtifact

    Value string
    The location of the artifact.
    MediaType string
    The media type of the artifact.
    Value string
    The location of the artifact.
    MediaType string
    The media type of the artifact.
    value string
    The location of the artifact.
    media_type string
    The media type of the artifact.
    value String
    The location of the artifact.
    mediaType String
    The media type of the artifact.
    value string
    The location of the artifact.
    mediaType string
    The media type of the artifact.
    value str
    The location of the artifact.
    media_type str
    The media type of the artifact.
    value String
    The location of the artifact.
    mediaType String
    The media type of the artifact.

    TrialComponentParameterValue

    NumberValue double
    The numeric value of a numeric hyperparameter.
    StringValue string
    The string value of a categorical hyperparameter.
    NumberValue float64
    The numeric value of a numeric hyperparameter.
    StringValue string
    The string value of a categorical hyperparameter.
    number_value number
    The numeric value of a numeric hyperparameter.
    string_value string
    The string value of a categorical hyperparameter.
    numberValue Double
    The numeric value of a numeric hyperparameter.
    stringValue String
    The string value of a categorical hyperparameter.
    numberValue number
    The numeric value of a numeric hyperparameter.
    stringValue string
    The string value of a categorical hyperparameter.
    number_value float
    The numeric value of a numeric hyperparameter.
    string_value str
    The string value of a categorical hyperparameter.
    numberValue Number
    The numeric value of a numeric hyperparameter.
    stringValue String
    The string value of a categorical hyperparameter.

    TrialComponentStatus

    Message string
    If the component failed, a message describing why.
    PrimaryStatus Pulumi.AwsNative.SageMaker.TrialComponentStatusPrimaryStatus
    The status of the trial component.
    Message string
    If the component failed, a message describing why.
    PrimaryStatus TrialComponentStatusPrimaryStatus
    The status of the trial component.
    message string
    If the component failed, a message describing why.
    primary_status "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the trial component.
    message String
    If the component failed, a message describing why.
    primaryStatus TrialComponentStatusPrimaryStatus
    The status of the trial component.
    message string
    If the component failed, a message describing why.
    primaryStatus TrialComponentStatusPrimaryStatus
    The status of the trial component.
    message str
    If the component failed, a message describing why.
    primary_status TrialComponentStatusPrimaryStatus
    The status of the trial component.
    message String
    If the component failed, a message describing why.
    primaryStatus "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the trial component.

    TrialComponentStatusPrimaryStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.75.0
    published on Monday, Aug 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial