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

Defined in Amazonka.SageMaker.ListTrials

Read ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Show ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Generic ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Associated Types

type Rep ListTrials :: Type -> Type #

NFData ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Methods

rnf :: ListTrials -> () #

Hashable ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

ToJSON 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 #

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

type Rep ListTrials Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

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

$sel:createdAfter:ListTrials', listTrials_createdAfter - A filter that returns only trials created after the specified time.

$sel:experimentName:ListTrials', listTrials_experimentName - A filter that returns only trials that are part of the specified experiment.

$sel:nextToken: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:sortOrder:ListTrials', listTrials_sortOrder - The sort order. The default value is Descending.

$sel:trialComponentName:ListTrials', listTrials_trialComponentName - A filter that returns only trials that are associated with the specified trial component.

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

$sel:createdBefore:ListTrials', listTrials_createdBefore - A filter that returns only trials created before the specified time.

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

Request Lenses

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

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

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

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

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

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

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

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

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

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

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

Destructuring the Response

data ListTrialsResponse Source #

See: newListTrialsResponse smart constructor.

Constructors

ListTrialsResponse' 

Fields

Instances

Instances details
Eq ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Read ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Show ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Generic ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Associated Types

type Rep ListTrialsResponse :: Type -> Type #

NFData ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

Methods

rnf :: ListTrialsResponse -> () #

type Rep ListTrialsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListTrials

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

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