Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following:
ExperimentName
SourceArn
TrialName
This operation returns paginated results.
Synopsis
- data ListTrialComponents = ListTrialComponents' {}
- newListTrialComponents :: ListTrialComponents
- listTrialComponents_createdAfter :: Lens' ListTrialComponents (Maybe UTCTime)
- listTrialComponents_sourceArn :: Lens' ListTrialComponents (Maybe Text)
- listTrialComponents_experimentName :: Lens' ListTrialComponents (Maybe Text)
- listTrialComponents_nextToken :: Lens' ListTrialComponents (Maybe Text)
- listTrialComponents_sortOrder :: Lens' ListTrialComponents (Maybe SortOrder)
- listTrialComponents_trialName :: Lens' ListTrialComponents (Maybe Text)
- listTrialComponents_maxResults :: Lens' ListTrialComponents (Maybe Natural)
- listTrialComponents_createdBefore :: Lens' ListTrialComponents (Maybe UTCTime)
- listTrialComponents_sortBy :: Lens' ListTrialComponents (Maybe SortTrialComponentsBy)
- data ListTrialComponentsResponse = ListTrialComponentsResponse' {}
- newListTrialComponentsResponse :: Int -> ListTrialComponentsResponse
- listTrialComponentsResponse_trialComponentSummaries :: Lens' ListTrialComponentsResponse (Maybe [TrialComponentSummary])
- listTrialComponentsResponse_nextToken :: Lens' ListTrialComponentsResponse (Maybe Text)
- listTrialComponentsResponse_httpStatus :: Lens' ListTrialComponentsResponse Int
Creating a Request
data ListTrialComponents Source #
See: newListTrialComponents
smart constructor.
ListTrialComponents' | |
|
Instances
newListTrialComponents :: ListTrialComponents Source #
Create a value of ListTrialComponents
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:ListTrialComponents'
, listTrialComponents_createdAfter
- A filter that returns only components created after the specified time.
$sel:sourceArn:ListTrialComponents'
, listTrialComponents_sourceArn
- A filter that returns only components that have the specified source
Amazon Resource Name (ARN). If you specify SourceArn
, you can't
filter by ExperimentName
or TrialName
.
$sel:experimentName:ListTrialComponents'
, listTrialComponents_experimentName
- A filter that returns only components that are part of the specified
experiment. If you specify ExperimentName
, you can't filter by
SourceArn
or TrialName
.
$sel:nextToken:ListTrialComponents'
, listTrialComponents_nextToken
- If the previous call to ListTrialComponents
didn't return the full
set of components, the call returns a token for getting the next set of
components.
$sel:sortOrder:ListTrialComponents'
, listTrialComponents_sortOrder
- The sort order. The default value is Descending
.
$sel:trialName:ListTrialComponents'
, listTrialComponents_trialName
- A filter that returns only components that are part of the specified
trial. If you specify TrialName
, you can't filter by ExperimentName
or SourceArn
.
$sel:maxResults:ListTrialComponents'
, listTrialComponents_maxResults
- The maximum number of components to return in the response. The default
value is 10.
$sel:createdBefore:ListTrialComponents'
, listTrialComponents_createdBefore
- A filter that returns only components created before the specified time.
$sel:sortBy:ListTrialComponents'
, listTrialComponents_sortBy
- The property used to sort results. The default value is CreationTime
.
Request Lenses
listTrialComponents_createdAfter :: Lens' ListTrialComponents (Maybe UTCTime) Source #
A filter that returns only components created after the specified time.
listTrialComponents_sourceArn :: Lens' ListTrialComponents (Maybe Text) Source #
A filter that returns only components that have the specified source
Amazon Resource Name (ARN). If you specify SourceArn
, you can't
filter by ExperimentName
or TrialName
.
listTrialComponents_experimentName :: Lens' ListTrialComponents (Maybe Text) Source #
A filter that returns only components that are part of the specified
experiment. If you specify ExperimentName
, you can't filter by
SourceArn
or TrialName
.
listTrialComponents_nextToken :: Lens' ListTrialComponents (Maybe Text) Source #
If the previous call to ListTrialComponents
didn't return the full
set of components, the call returns a token for getting the next set of
components.
listTrialComponents_sortOrder :: Lens' ListTrialComponents (Maybe SortOrder) Source #
The sort order. The default value is Descending
.
listTrialComponents_trialName :: Lens' ListTrialComponents (Maybe Text) Source #
A filter that returns only components that are part of the specified
trial. If you specify TrialName
, you can't filter by ExperimentName
or SourceArn
.
listTrialComponents_maxResults :: Lens' ListTrialComponents (Maybe Natural) Source #
The maximum number of components to return in the response. The default value is 10.
listTrialComponents_createdBefore :: Lens' ListTrialComponents (Maybe UTCTime) Source #
A filter that returns only components created before the specified time.
listTrialComponents_sortBy :: Lens' ListTrialComponents (Maybe SortTrialComponentsBy) Source #
The property used to sort results. The default value is CreationTime
.
Destructuring the Response
data ListTrialComponentsResponse Source #
See: newListTrialComponentsResponse
smart constructor.
ListTrialComponentsResponse' | |
|
Instances
newListTrialComponentsResponse Source #
Create a value of ListTrialComponentsResponse
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:trialComponentSummaries:ListTrialComponentsResponse'
, listTrialComponentsResponse_trialComponentSummaries
- A list of the summaries of your trial components.
$sel:nextToken:ListTrialComponents'
, listTrialComponentsResponse_nextToken
- A token for getting the next set of components, if there are any.
$sel:httpStatus:ListTrialComponentsResponse'
, listTrialComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
listTrialComponentsResponse_trialComponentSummaries :: Lens' ListTrialComponentsResponse (Maybe [TrialComponentSummary]) Source #
A list of the summaries of your trial components.
listTrialComponentsResponse_nextToken :: Lens' ListTrialComponentsResponse (Maybe Text) Source #
A token for getting the next set of components, if there are any.
listTrialComponentsResponse_httpStatus :: Lens' ListTrialComponentsResponse Int Source #
The response's http status code.