Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of the Amazon SageMaker notebook instances in the requester's account in an AWS Region.
This operation returns paginated results.
- listNotebookInstances :: ListNotebookInstances
- data ListNotebookInstances
- lniNameContains :: Lens' ListNotebookInstances (Maybe Text)
- lniLastModifiedTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime)
- lniNotebookInstanceLifecycleConfigNameContains :: Lens' ListNotebookInstances (Maybe Text)
- lniCreationTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime)
- lniNextToken :: Lens' ListNotebookInstances (Maybe Text)
- lniSortOrder :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortOrder)
- lniLastModifiedTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime)
- lniCreationTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime)
- lniStatusEquals :: Lens' ListNotebookInstances (Maybe NotebookInstanceStatus)
- lniMaxResults :: Lens' ListNotebookInstances (Maybe Natural)
- lniSortBy :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortKey)
- listNotebookInstancesResponse :: Int -> ListNotebookInstancesResponse
- data ListNotebookInstancesResponse
- lnirsNotebookInstances :: Lens' ListNotebookInstancesResponse [NotebookInstanceSummary]
- lnirsNextToken :: Lens' ListNotebookInstancesResponse (Maybe Text)
- lnirsResponseStatus :: Lens' ListNotebookInstancesResponse Int
Creating a Request
listNotebookInstances :: ListNotebookInstances Source #
Creates a value of ListNotebookInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lniNameContains
- A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.lniLastModifiedTimeBefore
- A filter that returns only notebook instances that were modified before the specified time (timestamp).lniNotebookInstanceLifecycleConfigNameContains
- 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.lniCreationTimeAfter
- A filter that returns only notebook instances that were created after the specified time (timestamp).lniNextToken
- If the previous call to theListNotebookInstances
is truncated, the response includes aNextToken
. You can use this token in your subsequentListNotebookInstances
request to fetch the next set of notebook instances.lniSortOrder
- The sort order for results.lniLastModifiedTimeAfter
- A filter that returns only notebook instances that were modified after the specified time (timestamp).lniCreationTimeBefore
- A filter that returns only notebook instances that were created before the specified time (timestamp).lniStatusEquals
- A filter that returns only notebook instances with the specified status.lniMaxResults
- The maximum number of notebook instances to return.lniSortBy
- The field to sort results by. The default isName
.
data ListNotebookInstances Source #
See: listNotebookInstances
smart constructor.
Request Lenses
lniNameContains :: Lens' ListNotebookInstances (Maybe Text) Source #
A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.
lniLastModifiedTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were modified before the specified time (timestamp).
lniNotebookInstanceLifecycleConfigNameContains :: 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.
lniCreationTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were created after the specified time (timestamp).
lniNextToken :: 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.
lniSortOrder :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortOrder) Source #
The sort order for results.
lniLastModifiedTimeAfter :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were modified after the specified time (timestamp).
lniCreationTimeBefore :: Lens' ListNotebookInstances (Maybe UTCTime) Source #
A filter that returns only notebook instances that were created before the specified time (timestamp).
lniStatusEquals :: Lens' ListNotebookInstances (Maybe NotebookInstanceStatus) Source #
A filter that returns only notebook instances with the specified status.
lniMaxResults :: Lens' ListNotebookInstances (Maybe Natural) Source #
The maximum number of notebook instances to return.
lniSortBy :: Lens' ListNotebookInstances (Maybe NotebookInstanceSortKey) Source #
The field to sort results by. The default is Name
.
Destructuring the Response
listNotebookInstancesResponse Source #
Creates a value of ListNotebookInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnirsNotebookInstances
- An array ofNotebookInstanceSummary
objects, one for each notebook instance.lnirsNextToken
- If the response to the previousListNotebookInstances
request was truncated, Amazon SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request.lnirsResponseStatus
- -- | The response status code.
data ListNotebookInstancesResponse Source #
See: listNotebookInstancesResponse
smart constructor.
Response Lenses
lnirsNotebookInstances :: Lens' ListNotebookInstancesResponse [NotebookInstanceSummary] Source #
An array of NotebookInstanceSummary
objects, one for each notebook instance.
lnirsNextToken :: 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.
lnirsResponseStatus :: Lens' ListNotebookInstancesResponse Int Source #
- - | The response status code.