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.ListTrials

Description

Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTrials Source #

See: newListTrials smart constructor.

Constructors

ListTrials' 

Fields

Instances

Instances details
ToJSON ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

ToHeaders ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Methods

toHeaders :: ListTrials -> [Header] #

ToPath ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

ToQuery ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

AWSPager ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

AWSRequest ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Associated Types

type AWSResponse ListTrials #

Generic ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Associated Types

type Rep ListTrials :: Type -> Type #

Read ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Show ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

NFData ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Methods

rnf :: ListTrials -> () #

Eq ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Hashable ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

type AWSResponse ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

type Rep ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

newListTrials :: ListTrials Source #

Create a value of ListTrials 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:

ListTrials, listTrials_createdAfter - A filter that returns only trials created after the specified time.

ListTrials, listTrials_createdBefore - A filter that returns only trials created before the specified time.

ListTrials, listTrials_experimentName - A filter that returns only trials that are part of the specified experiment.

$sel:maxResults:ListTrials', listTrials_maxResults - The maximum number of trials to return in the response. The default value is 10.

ListTrials, listTrials_nextToken - If the previous call to ListTrials didn't return the full set of trials, the call returns a token for getting the next set of trials.

$sel:sortBy:ListTrials', listTrials_sortBy - The property used to sort results. The default value is CreationTime.

$sel:sortOrder:ListTrials', listTrials_sortOrder - The sort order. The default value is Descending.

ListTrials, listTrials_trialComponentName - A filter that returns only trials that are associated with the specified trial component.

Request Lenses

listTrials_createdAfter :: Lens' ListTrials (Maybe UTCTime) Source #

A filter that returns only trials created after the specified time.

listTrials_createdBefore :: Lens' ListTrials (Maybe UTCTime) Source #

A filter that returns only trials created before the specified time.

listTrials_experimentName :: Lens' ListTrials (Maybe Text) Source #

A filter that returns only trials that are part of the specified experiment.

listTrials_maxResults :: Lens' ListTrials (Maybe Natural) Source #

The maximum number of trials to return in the response. The default value is 10.

listTrials_nextToken :: Lens' ListTrials (Maybe Text) Source #

If the previous call to ListTrials didn't return the full set of trials, the call returns a token for getting the next set of trials.

listTrials_sortBy :: Lens' ListTrials (Maybe SortTrialsBy) Source #

The property used to sort results. The default value is CreationTime.

listTrials_sortOrder :: Lens' ListTrials (Maybe SortOrder) Source #

The sort order. The default value is Descending.

listTrials_trialComponentName :: Lens' ListTrials (Maybe Text) Source #

A filter that returns only trials that are associated with the specified trial component.

Destructuring the Response

data ListTrialsResponse Source #

See: newListTrialsResponse smart constructor.

Constructors

ListTrialsResponse' 

Fields

Instances

Instances details
Generic ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Associated Types

type Rep ListTrialsResponse :: Type -> Type #

Read ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Show ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

NFData ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Methods

rnf :: ListTrialsResponse -> () #

Eq ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

type Rep ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

type Rep ListTrialsResponse = D1 ('MetaData "ListTrialsResponse" "Amazonka.SageMaker.ListTrials" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListTrialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trialSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrialSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTrialsResponse Source #

Create a value of ListTrialsResponse 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:

ListTrials, listTrialsResponse_nextToken - A token for getting the next set of trials, if there are any.

$sel:trialSummaries:ListTrialsResponse', listTrialsResponse_trialSummaries - A list of the summaries of your trials.

$sel:httpStatus:ListTrialsResponse', listTrialsResponse_httpStatus - The response's http status code.

Response Lenses

listTrialsResponse_nextToken :: Lens' ListTrialsResponse (Maybe Text) Source #

A token for getting the next set of trials, if there are any.