| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data ListTrials = ListTrials' {}
- newListTrials :: ListTrials
- listTrials_createdAfter :: Lens' ListTrials (Maybe UTCTime)
- listTrials_createdBefore :: Lens' ListTrials (Maybe UTCTime)
- listTrials_experimentName :: Lens' ListTrials (Maybe Text)
- listTrials_maxResults :: Lens' ListTrials (Maybe Natural)
- listTrials_nextToken :: Lens' ListTrials (Maybe Text)
- listTrials_sortBy :: Lens' ListTrials (Maybe SortTrialsBy)
- listTrials_sortOrder :: Lens' ListTrials (Maybe SortOrder)
- listTrials_trialComponentName :: Lens' ListTrials (Maybe Text)
- data ListTrialsResponse = ListTrialsResponse' {
- nextToken :: Maybe Text
- trialSummaries :: Maybe [TrialSummary]
- httpStatus :: Int
- newListTrialsResponse :: Int -> ListTrialsResponse
- listTrialsResponse_nextToken :: Lens' ListTrialsResponse (Maybe Text)
- listTrialsResponse_trialSummaries :: Lens' ListTrialsResponse (Maybe [TrialSummary])
- listTrialsResponse_httpStatus :: Lens' ListTrialsResponse Int
Creating a Request
data ListTrials Source #
See: newListTrials smart constructor.
Constructors
| ListTrials' | |
Fields
| |
Instances
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
newListTrialsResponse Source #
Arguments
| :: Int | |
| -> ListTrialsResponse |
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.
listTrialsResponse_trialSummaries :: Lens' ListTrialsResponse (Maybe [TrialSummary]) Source #
A list of the summaries of your trials.
listTrialsResponse_httpStatus :: Lens' ListTrialsResponse Int Source #
The response's http status code.