| 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.ListProjects
Description
Gets a list of the projects in an Amazon Web Services account.
Synopsis
- data ListProjects = ListProjects' {}
- newListProjects :: ListProjects
- listProjects_creationTimeAfter :: Lens' ListProjects (Maybe UTCTime)
- listProjects_creationTimeBefore :: Lens' ListProjects (Maybe UTCTime)
- listProjects_maxResults :: Lens' ListProjects (Maybe Natural)
- listProjects_nameContains :: Lens' ListProjects (Maybe Text)
- listProjects_nextToken :: Lens' ListProjects (Maybe Text)
- listProjects_sortBy :: Lens' ListProjects (Maybe ProjectSortBy)
- listProjects_sortOrder :: Lens' ListProjects (Maybe ProjectSortOrder)
- data ListProjectsResponse = ListProjectsResponse' {}
- newListProjectsResponse :: Int -> ListProjectsResponse
- listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
- listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
- listProjectsResponse_projectSummaryList :: Lens' ListProjectsResponse [ProjectSummary]
Creating a Request
data ListProjects Source #
See: newListProjects smart constructor.
Constructors
| ListProjects' | |
Fields
| |
Instances
newListProjects :: ListProjects Source #
Create a value of ListProjects 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:creationTimeAfter:ListProjects', listProjects_creationTimeAfter - A filter that returns the projects that were created after a specified
time.
$sel:creationTimeBefore:ListProjects', listProjects_creationTimeBefore - A filter that returns the projects that were created before a specified
time.
$sel:maxResults:ListProjects', listProjects_maxResults - The maximum number of projects to return in the response.
$sel:nameContains:ListProjects', listProjects_nameContains - A filter that returns the projects whose name contains a specified
string.
ListProjects, listProjects_nextToken - If the result of the previous ListProjects request was truncated, the
response includes a NextToken. To retrieve the next set of projects,
use the token in the next request.
$sel:sortBy:ListProjects', listProjects_sortBy - The field by which to sort results. The default is CreationTime.
$sel:sortOrder:ListProjects', listProjects_sortOrder - The sort order for results. The default is Ascending.
Request Lenses
listProjects_creationTimeAfter :: Lens' ListProjects (Maybe UTCTime) Source #
A filter that returns the projects that were created after a specified time.
listProjects_creationTimeBefore :: Lens' ListProjects (Maybe UTCTime) Source #
A filter that returns the projects that were created before a specified time.
listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #
The maximum number of projects to return in the response.
listProjects_nameContains :: Lens' ListProjects (Maybe Text) Source #
A filter that returns the projects whose name contains a specified string.
listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #
If the result of the previous ListProjects request was truncated, the
response includes a NextToken. To retrieve the next set of projects,
use the token in the next request.
listProjects_sortBy :: Lens' ListProjects (Maybe ProjectSortBy) Source #
The field by which to sort results. The default is CreationTime.
listProjects_sortOrder :: Lens' ListProjects (Maybe ProjectSortOrder) Source #
The sort order for results. The default is Ascending.
Destructuring the Response
data ListProjectsResponse Source #
See: newListProjectsResponse smart constructor.
Constructors
| ListProjectsResponse' | |
Fields
| |
Instances
newListProjectsResponse Source #
Arguments
| :: Int | |
| -> ListProjectsResponse |
Create a value of ListProjectsResponse 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:
ListProjects, listProjectsResponse_nextToken - If the result of the previous ListCompilationJobs request was
truncated, the response includes a NextToken. To retrieve the next set
of model compilation jobs, use the token in the next request.
$sel:httpStatus:ListProjectsResponse', listProjectsResponse_httpStatus - The response's http status code.
$sel:projectSummaryList:ListProjectsResponse', listProjectsResponse_projectSummaryList - A list of summaries of projects.
Response Lenses
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
If the result of the previous ListCompilationJobs request was
truncated, the response includes a NextToken. To retrieve the next set
of model compilation jobs, use the token in the next request.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.
listProjectsResponse_projectSummaryList :: Lens' ListProjectsResponse [ProjectSummary] Source #
A list of summaries of projects.