libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.ListNotebookInstances

Description

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

Creating a Request

data ListNotebookInstances Source #

See: newListNotebookInstances smart constructor.

Constructors

ListNotebookInstances' 

Fields

  • nameContains :: Maybe Text

    A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.

  • defaultCodeRepositoryContains :: Maybe Text

    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.

  • lastModifiedTimeBefore :: Maybe POSIX

    A filter that returns only notebook instances that were modified before the specified time (timestamp).

  • notebookInstanceLifecycleConfigNameContains :: Maybe Text

    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.

  • creationTimeAfter :: Maybe POSIX

    A filter that returns only notebook instances that were created after the specified time (timestamp).

  • additionalCodeRepositoryEquals :: Maybe Text

    A filter that returns only notebook instances with associated with the specified git repository.

  • nextToken :: Maybe Text

    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.

  • sortOrder :: Maybe NotebookInstanceSortOrder

    The sort order for results.

  • lastModifiedTimeAfter :: Maybe POSIX

    A filter that returns only notebook instances that were modified after the specified time (timestamp).

  • creationTimeBefore :: Maybe POSIX

    A filter that returns only notebook instances that were created before the specified time (timestamp).

  • statusEquals :: Maybe NotebookInstanceStatus

    A filter that returns only notebook instances with the specified status.

  • maxResults :: Maybe Natural

    The maximum number of notebook instances to return.

  • sortBy :: Maybe NotebookInstanceSortKey

    The field to sort results by. The default is Name.

Instances

Instances details
Eq ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Read ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Show ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Generic ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Associated Types

type Rep ListNotebookInstances :: Type -> Type #

NFData ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Methods

rnf :: ListNotebookInstances -> () #

Hashable ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

ToJSON ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

AWSPager ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

AWSRequest ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Associated Types

type AWSResponse ListNotebookInstances #

ToHeaders ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

ToPath ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

ToQuery ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

type Rep ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

type Rep ListNotebookInstances = D1 ('MetaData "ListNotebookInstances" "Amazonka.SageMaker.ListNotebookInstances" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ListNotebookInstances'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "nameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultCodeRepositoryContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "notebookInstanceLifecycleConfigNameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "additionalCodeRepositoryEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceSortOrder)) :*: S1 ('MetaSel ('Just "lastModifiedTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "statusEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceStatus))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceSortKey)))))))
type AWSResponse ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

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_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.

Constructors

ListNotebookInstancesResponse' 

Fields

  • notebookInstances :: Maybe [NotebookInstanceSummary]

    An array of NotebookInstanceSummary objects, one for each notebook instance.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Read ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Show ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Generic ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Associated Types

type Rep ListNotebookInstancesResponse :: Type -> Type #

NFData ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

type Rep ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

type Rep ListNotebookInstancesResponse = D1 ('MetaData "ListNotebookInstancesResponse" "Amazonka.SageMaker.ListNotebookInstances" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ListNotebookInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notebookInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookInstanceSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.