| 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.ListNotebookInstances
Description
Returns a list of the SageMaker notebook instances in the requester's account in an Amazon Web Services Region.
This operation returns paginated results.
Synopsis
- data ListNotebookInstances = ListNotebookInstances' {
- additionalCodeRepositoryEquals :: Maybe Text
 - creationTimeAfter :: Maybe POSIX
 - creationTimeBefore :: Maybe POSIX
 - defaultCodeRepositoryContains :: Maybe Text
 - lastModifiedTimeAfter :: Maybe POSIX
 - lastModifiedTimeBefore :: Maybe POSIX
 - maxResults :: Maybe Natural
 - nameContains :: Maybe Text
 - nextToken :: Maybe Text
 - notebookInstanceLifecycleConfigNameContains :: Maybe Text
 - sortBy :: Maybe NotebookInstanceSortKey
 - sortOrder :: Maybe NotebookInstanceSortOrder
 - statusEquals :: Maybe NotebookInstanceStatus
 
 - newListNotebookInstances :: ListNotebookInstances
 - listNotebookInstances_additionalCodeRepositoryEquals :: Lens' ListNotebookInstances (Maybe Text)
 - listNotebookInstances_creationTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime)
 - listNotebookInstances_creationTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime)
 - listNotebookInstances_defaultCodeRepositoryContains :: Lens' ListNotebookInstances (Maybe Text)
 - listNotebookInstances_lastModifiedTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime)
 - listNotebookInstances_lastModifiedTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime)
 - listNotebookInstances_maxResults :: Lens' ListNotebookInstances (Maybe Natural)
 - listNotebookInstances_nameContains :: Lens' ListNotebookInstances (Maybe Text)
 - listNotebookInstances_nextToken :: Lens' ListNotebookInstances (Maybe Text)
 - listNotebookInstances_notebookInstanceLifecycleConfigNameContains :: Lens' ListNotebookInstances (Maybe Text)
 - listNotebookInstances_sortBy :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortKey)
 - listNotebookInstances_sortOrder :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortOrder)
 - listNotebookInstances_statusEquals :: Lens' ListNotebookInstances (Maybe NotebookInstanceStatus)
 - data ListNotebookInstancesResponse = ListNotebookInstancesResponse' {}
 - newListNotebookInstancesResponse :: Int -> ListNotebookInstancesResponse
 - listNotebookInstancesResponse_nextToken :: Lens' ListNotebookInstancesResponse (Maybe Text)
 - listNotebookInstancesResponse_notebookInstances :: Lens' ListNotebookInstancesResponse (Maybe [NotebookInstanceSummary])
 - listNotebookInstancesResponse_httpStatus :: Lens' ListNotebookInstancesResponse Int
 
Creating a Request
data ListNotebookInstances Source #
See: newListNotebookInstances smart constructor.
Constructors
| ListNotebookInstances' | |
Fields 
  | |
Instances
newListNotebookInstances :: ListNotebookInstances Source #
Create a value of ListNotebookInstances 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:additionalCodeRepositoryEquals:ListNotebookInstances', listNotebookInstances_additionalCodeRepositoryEquals - A filter that returns only notebook instances with associated with the
 specified git repository.
$sel:creationTimeAfter:ListNotebookInstances', listNotebookInstances_creationTimeAfter - A filter that returns only notebook instances that were created after
 the specified time (timestamp).
$sel:creationTimeBefore:ListNotebookInstances', listNotebookInstances_creationTimeBefore - A filter that returns only notebook instances that were created before
 the specified time (timestamp).
$sel:defaultCodeRepositoryContains:ListNotebookInstances', listNotebookInstances_defaultCodeRepositoryContains - A string in the name or URL of a Git repository associated with this
 notebook instance. This filter returns only notebook instances
 associated with a git repository with a name that contains the specified
 string.
$sel:lastModifiedTimeAfter:ListNotebookInstances', listNotebookInstances_lastModifiedTimeAfter - A filter that returns only notebook instances that were modified after
 the specified time (timestamp).
$sel:lastModifiedTimeBefore:ListNotebookInstances', listNotebookInstances_lastModifiedTimeBefore - A filter that returns only notebook instances that were modified before
 the specified time (timestamp).
$sel:maxResults:ListNotebookInstances', listNotebookInstances_maxResults - The maximum number of notebook instances to return.
$sel:nameContains:ListNotebookInstances', listNotebookInstances_nameContains - A string in the notebook instances' name. This filter returns only
 notebook instances whose name contains the specified string.
ListNotebookInstances, listNotebookInstances_nextToken - If the previous call to the ListNotebookInstances is truncated, the
 response includes a NextToken. You can use this token in your
 subsequent ListNotebookInstances request to fetch the next set of
 notebook instances.
You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request.
$sel:notebookInstanceLifecycleConfigNameContains:ListNotebookInstances', listNotebookInstances_notebookInstanceLifecycleConfigNameContains - A string in the name of a notebook instances lifecycle configuration
 associated with this notebook instance. This filter returns only
 notebook instances associated with a lifecycle configuration with a name
 that contains the specified string.
$sel:sortBy:ListNotebookInstances', listNotebookInstances_sortBy - The field to sort results by. The default is Name.
$sel:sortOrder:ListNotebookInstances', listNotebookInstances_sortOrder - The sort order for results.
$sel:statusEquals:ListNotebookInstances', listNotebookInstances_statusEquals - A filter that returns only notebook instances with the specified status.
Request Lenses
listNotebookInstances_additionalCodeRepositoryEquals :: Lens' ListNotebookInstances (Maybe Text) Source #
A filter that returns only notebook instances with associated with the specified git repository.
listNotebookInstances_creationTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were created after the specified time (timestamp).
listNotebookInstances_creationTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were created before the specified time (timestamp).
listNotebookInstances_defaultCodeRepositoryContains :: Lens' ListNotebookInstances (Maybe Text) Source #
A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string.
listNotebookInstances_lastModifiedTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were modified after the specified time (timestamp).
listNotebookInstances_lastModifiedTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were modified before the specified time (timestamp).
listNotebookInstances_maxResults :: Lens' ListNotebookInstances (Maybe Natural) Source #
The maximum number of notebook instances to return.
listNotebookInstances_nameContains :: Lens' ListNotebookInstances (Maybe Text) Source #
A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.
listNotebookInstances_nextToken :: Lens' ListNotebookInstances (Maybe Text) Source #
If the previous call to the ListNotebookInstances is truncated, the
 response includes a NextToken. You can use this token in your
 subsequent ListNotebookInstances request to fetch the next set of
 notebook instances.
You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request.
listNotebookInstances_notebookInstanceLifecycleConfigNameContains :: Lens' ListNotebookInstances (Maybe Text) Source #
A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string.
listNotebookInstances_sortBy :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortKey) Source #
The field to sort results by. The default is Name.
listNotebookInstances_sortOrder :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortOrder) Source #
The sort order for results.
listNotebookInstances_statusEquals :: Lens' ListNotebookInstances (Maybe NotebookInstanceStatus) Source #
A filter that returns only notebook instances with the specified status.
Destructuring the Response
data ListNotebookInstancesResponse Source #
See: newListNotebookInstancesResponse smart constructor.
Constructors
| ListNotebookInstancesResponse' | |
Fields 
  | |
Instances
newListNotebookInstancesResponse Source #
Create a value of ListNotebookInstancesResponse 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:
ListNotebookInstances, listNotebookInstancesResponse_nextToken - If the response to the previous ListNotebookInstances request was
 truncated, SageMaker returns this token. To retrieve the next set of
 notebook instances, use the token in the next request.
$sel:notebookInstances:ListNotebookInstancesResponse', listNotebookInstancesResponse_notebookInstances - An array of NotebookInstanceSummary objects, one for each notebook
 instance.
$sel:httpStatus:ListNotebookInstancesResponse', listNotebookInstancesResponse_httpStatus - The response's http status code.
Response Lenses
listNotebookInstancesResponse_nextToken :: Lens' ListNotebookInstancesResponse (Maybe Text) Source #
If the response to the previous ListNotebookInstances request was
 truncated, SageMaker returns this token. To retrieve the next set of
 notebook instances, use the token in the next request.
listNotebookInstancesResponse_notebookInstances :: Lens' ListNotebookInstancesResponse (Maybe [NotebookInstanceSummary]) Source #
An array of NotebookInstanceSummary objects, one for each notebook
 instance.
listNotebookInstancesResponse_httpStatus :: Lens' ListNotebookInstancesResponse Int Source #
The response's http status code.