libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Read CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Show CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Generic CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type Rep CreateTrial :: Type -> Type #

NFData CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Methods

rnf :: CreateTrial -> () #

Hashable CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

ToJSON CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

AWSRequest CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type AWSResponse 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

type Rep CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrial = D1 ('MetaData "CreateTrial" "Amazonka.SageMaker.CreateTrial" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateTrial'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties)) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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)))))
type AWSResponse CreateTrial Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

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:

$sel:metadataProperties:CreateTrial', createTrial_metadataProperties - Undocumented member.

$sel:displayName: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.

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

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

$sel:experimentName: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
Eq CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Read CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Show CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Generic CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Associated Types

type Rep CreateTrialResponse :: Type -> Type #

NFData CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

Methods

rnf :: CreateTrialResponse -> () #

type Rep CreateTrialResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateTrial

type Rep CreateTrialResponse = D1 ('MetaData "CreateTrialResponse" "Amazonka.SageMaker.CreateTrial" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" '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:

$sel:trialArn: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.