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 |
Gets a list of the model groups in your Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListModelPackageGroups = ListModelPackageGroups' {}
- newListModelPackageGroups :: ListModelPackageGroups
- listModelPackageGroups_nameContains :: Lens' ListModelPackageGroups (Maybe Text)
- listModelPackageGroups_creationTimeAfter :: Lens' ListModelPackageGroups (Maybe UTCTime)
- listModelPackageGroups_nextToken :: Lens' ListModelPackageGroups (Maybe Text)
- listModelPackageGroups_sortOrder :: Lens' ListModelPackageGroups (Maybe SortOrder)
- listModelPackageGroups_creationTimeBefore :: Lens' ListModelPackageGroups (Maybe UTCTime)
- listModelPackageGroups_maxResults :: Lens' ListModelPackageGroups (Maybe Natural)
- listModelPackageGroups_sortBy :: Lens' ListModelPackageGroups (Maybe ModelPackageGroupSortBy)
- data ListModelPackageGroupsResponse = ListModelPackageGroupsResponse' {}
- newListModelPackageGroupsResponse :: Int -> ListModelPackageGroupsResponse
- listModelPackageGroupsResponse_nextToken :: Lens' ListModelPackageGroupsResponse (Maybe Text)
- listModelPackageGroupsResponse_httpStatus :: Lens' ListModelPackageGroupsResponse Int
- listModelPackageGroupsResponse_modelPackageGroupSummaryList :: Lens' ListModelPackageGroupsResponse [ModelPackageGroupSummary]
Creating a Request
data ListModelPackageGroups Source #
See: newListModelPackageGroups
smart constructor.
ListModelPackageGroups' | |
|
Instances
newListModelPackageGroups :: ListModelPackageGroups Source #
Create a value of ListModelPackageGroups
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:nameContains:ListModelPackageGroups'
, listModelPackageGroups_nameContains
- A string in the model group name. This filter returns only model groups
whose name contains the specified string.
$sel:creationTimeAfter:ListModelPackageGroups'
, listModelPackageGroups_creationTimeAfter
- A filter that returns only model groups created after the specified
time.
$sel:nextToken:ListModelPackageGroups'
, listModelPackageGroups_nextToken
- If the result of the previous ListModelPackageGroups
request was
truncated, the response includes a NextToken
. To retrieve the next set
of model groups, use the token in the next request.
$sel:sortOrder:ListModelPackageGroups'
, listModelPackageGroups_sortOrder
- The sort order for results. The default is Ascending
.
$sel:creationTimeBefore:ListModelPackageGroups'
, listModelPackageGroups_creationTimeBefore
- A filter that returns only model groups created before the specified
time.
$sel:maxResults:ListModelPackageGroups'
, listModelPackageGroups_maxResults
- The maximum number of results to return in the response.
$sel:sortBy:ListModelPackageGroups'
, listModelPackageGroups_sortBy
- The field to sort results by. The default is CreationTime
.
Request Lenses
listModelPackageGroups_nameContains :: Lens' ListModelPackageGroups (Maybe Text) Source #
A string in the model group name. This filter returns only model groups whose name contains the specified string.
listModelPackageGroups_creationTimeAfter :: Lens' ListModelPackageGroups (Maybe UTCTime) Source #
A filter that returns only model groups created after the specified time.
listModelPackageGroups_nextToken :: Lens' ListModelPackageGroups (Maybe Text) Source #
If the result of the previous ListModelPackageGroups
request was
truncated, the response includes a NextToken
. To retrieve the next set
of model groups, use the token in the next request.
listModelPackageGroups_sortOrder :: Lens' ListModelPackageGroups (Maybe SortOrder) Source #
The sort order for results. The default is Ascending
.
listModelPackageGroups_creationTimeBefore :: Lens' ListModelPackageGroups (Maybe UTCTime) Source #
A filter that returns only model groups created before the specified time.
listModelPackageGroups_maxResults :: Lens' ListModelPackageGroups (Maybe Natural) Source #
The maximum number of results to return in the response.
listModelPackageGroups_sortBy :: Lens' ListModelPackageGroups (Maybe ModelPackageGroupSortBy) Source #
The field to sort results by. The default is CreationTime
.
Destructuring the Response
data ListModelPackageGroupsResponse Source #
See: newListModelPackageGroupsResponse
smart constructor.
ListModelPackageGroupsResponse' | |
|
Instances
newListModelPackageGroupsResponse Source #
Create a value of ListModelPackageGroupsResponse
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:ListModelPackageGroups'
, listModelPackageGroupsResponse_nextToken
- If the response is truncated, SageMaker returns this token. To retrieve
the next set of model groups, use it in the subsequent request.
$sel:httpStatus:ListModelPackageGroupsResponse'
, listModelPackageGroupsResponse_httpStatus
- The response's http status code.
$sel:modelPackageGroupSummaryList:ListModelPackageGroupsResponse'
, listModelPackageGroupsResponse_modelPackageGroupSummaryList
- A list of summaries of the model groups in your Amazon Web Services
account.
Response Lenses
listModelPackageGroupsResponse_nextToken :: Lens' ListModelPackageGroupsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of model groups, use it in the subsequent request.
listModelPackageGroupsResponse_httpStatus :: Lens' ListModelPackageGroupsResponse Int Source #
The response's http status code.
listModelPackageGroupsResponse_modelPackageGroupSummaryList :: Lens' ListModelPackageGroupsResponse [ModelPackageGroupSummary] Source #
A list of summaries of the model groups in your Amazon Web Services account.