SageMaker / Client / associate_trial_component

associate_trial_component#

SageMaker.Client.associate_trial_component(**kwargs)#

Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

See also: AWS API Documentation

Request Syntax

response = client.associate_trial_component(
    TrialComponentName='string',
    TrialName='string'
)
Parameters:
  • TrialComponentName (string) –

    [REQUIRED]

    The name of the component to associated with the trial.

  • TrialName (string) –

    [REQUIRED]

    The name of the trial to associate with.

Return type:

dict

Returns:

Response Syntax

{
    'TrialComponentArn': 'string',
    'TrialArn': 'string'
}

Response Structure

  • (dict) –

    • TrialComponentArn (string) –

      The Amazon Resource Name (ARN) of the trial component.

    • TrialArn (string) –

      The Amazon Resource Name (ARN) of the trial.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound

  • SageMaker.Client.exceptions.ResourceLimitExceeded