amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data ListNotebookInstances Source #

See: newListNotebookInstances smart constructor.

Constructors

ListNotebookInstances' 

Fields

  • additionalCodeRepositoryEquals :: Maybe Text

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

  • creationTimeAfter :: Maybe POSIX

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

  • creationTimeBefore :: Maybe POSIX

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

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

  • lastModifiedTimeAfter :: Maybe POSIX

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

  • lastModifiedTimeBefore :: Maybe POSIX

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

  • maxResults :: Maybe Natural

    The maximum number of notebook instances to return.

  • nameContains :: Maybe Text

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

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

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

  • sortBy :: Maybe NotebookInstanceSortKey

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

  • sortOrder :: Maybe NotebookInstanceSortOrder

    The sort order for results.

  • statusEquals :: Maybe NotebookInstanceStatus

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

Instances

Instances details
ToJSON ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.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

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 #

Generic ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Associated Types

type Rep ListNotebookInstances :: Type -> Type #

Read ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Show ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

NFData ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Methods

rnf :: ListNotebookInstances -> () #

Eq ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Hashable ListNotebookInstances Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

type AWSResponse 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListNotebookInstances'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalCodeRepositoryEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "defaultCodeRepositoryContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastModifiedTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "notebookInstanceLifecycleConfigNameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceSortKey))) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceSortOrder)) :*: S1 ('MetaSel ('Just "statusEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookInstanceStatus)))))))

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

  • nextToken :: Maybe Text

    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.

  • notebookInstances :: Maybe [NotebookInstanceSummary]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Associated Types

type Rep ListNotebookInstancesResponse :: Type -> Type #

Read ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Show ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

NFData ListNotebookInstancesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListNotebookInstances

Eq 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListNotebookInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notebookInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookInstanceSummary])) :*: 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:

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.