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