amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.CreateTrial

Description

Creates an SageMaker trial. A trial is a set of steps called /trial components/ that produce a machine learning model. A trial is part of a single SageMaker experiment.

When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to a trial and then use the Search API to search for the tags.

To get a list of all your trials, call the ListTrials API. To view a trial's properties, call the DescribeTrial API. To create a trial component, call the CreateTrialComponent API.

Synopsis

Creating a Request

data CreateTrial Source #

See: newCreateTrial smart constructor.

Constructors

CreateTrial' 

Fields

Instances

Instances details
ToJSON CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

ToHeaders CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Methods

toHeaders :: CreateTrial -> [Header] #

ToPath CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

ToQuery CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

AWSRequest CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type AWSResponse CreateTrial #

Generic CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type Rep CreateTrial :: Type -> Type #

Read CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Show CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

NFData CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Methods

rnf :: CreateTrial -> () #

Eq CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Hashable CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type AWSResponse CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrial = D1 ('MetaData "CreateTrial" "Amazonka.SageMaker.CreateTrial" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateTrial'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "trialName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "experimentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateTrial Source #

Create a value of CreateTrial with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateTrial, createTrial_displayName - The name of the trial as displayed. The name doesn't need to be unique. If DisplayName isn't specified, TrialName is displayed.

CreateTrial, createTrial_metadataProperties - Undocumented member.

CreateTrial, createTrial_tags - A list of tags to associate with the trial. You can use Search API to search on the tags.

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

CreateTrial, createTrial_experimentName - The name of the experiment to associate the trial with.

Request Lenses

createTrial_displayName :: Lens' CreateTrial (Maybe Text) Source #

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

createTrial_tags :: Lens' CreateTrial (Maybe [Tag]) Source #

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

createTrial_trialName :: Lens' CreateTrial Text Source #

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

createTrial_experimentName :: Lens' CreateTrial Text Source #

The name of the experiment to associate the trial with.

Destructuring the Response

data CreateTrialResponse Source #

See: newCreateTrialResponse smart constructor.

Constructors

CreateTrialResponse' 

Fields

Instances

Instances details
Generic CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type Rep CreateTrialResponse :: Type -> Type #

Read CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Show CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

NFData CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Methods

rnf :: CreateTrialResponse -> () #

Eq CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrialResponse = D1 ('MetaData "CreateTrialResponse" "Amazonka.SageMaker.CreateTrial" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateTrialResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trialArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTrialResponse Source #

Create a value of CreateTrialResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateTrialResponse, createTrialResponse_trialArn - The Amazon Resource Name (ARN) of the trial.

$sel:httpStatus:CreateTrialResponse', createTrialResponse_httpStatus - The response's http status code.

Response Lenses

createTrialResponse_trialArn :: Lens' CreateTrialResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the trial.