amazonka-emr-2.0: Amazon EMR 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.EMR.ListNotebookExecutions

Description

Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple ListNotebookExecution calls.

This operation returns paginated results.

Synopsis

Creating a Request

data ListNotebookExecutions Source #

See: newListNotebookExecutions smart constructor.

Constructors

ListNotebookExecutions' 

Fields

  • editorId :: Maybe Text

    The unique ID of the editor associated with the notebook execution.

  • from :: Maybe POSIX

    The beginning of time range filter for listing notebook executions. The default is the timestamp of 30 days ago.

  • marker :: Maybe Text

    The pagination token, returned by a previous ListNotebookExecutions call, that indicates the start of the list for this ListNotebookExecutions call.

  • status :: Maybe NotebookExecutionStatus

    The status filter for listing notebook executions.

    • START_PENDING indicates that the cluster has received the execution request but execution has not begun.
    • STARTING indicates that the execution is starting on the cluster.
    • RUNNING indicates that the execution is being processed by the cluster.
    • FINISHING indicates that execution processing is in the final stages.
    • FINISHED indicates that the execution has completed without error.
    • FAILING indicates that the execution is failing and will not finish successfully.
    • FAILED indicates that the execution failed.
    • STOP_PENDING indicates that the cluster has received a StopNotebookExecution request and the stop is pending.
    • STOPPING indicates that the cluster is in the process of stopping the execution as a result of a StopNotebookExecution request.
    • STOPPED indicates that the execution stopped because of a StopNotebookExecution request.
  • to :: Maybe POSIX

    The end of time range filter for listing notebook executions. The default is the current timestamp.

Instances

Instances details
ToJSON ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

ToHeaders ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

ToPath ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

ToQuery ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

AWSPager ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

AWSRequest ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Associated Types

type AWSResponse ListNotebookExecutions #

Generic ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Associated Types

type Rep ListNotebookExecutions :: Type -> Type #

Read ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Show ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

NFData ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Methods

rnf :: ListNotebookExecutions -> () #

Eq ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Hashable ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

type AWSResponse ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

type Rep ListNotebookExecutions Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

type Rep ListNotebookExecutions = D1 ('MetaData "ListNotebookExecutions" "Amazonka.EMR.ListNotebookExecutions" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "ListNotebookExecutions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "editorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookExecutionStatus)) :*: S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newListNotebookExecutions :: ListNotebookExecutions Source #

Create a value of ListNotebookExecutions 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:

ListNotebookExecutions, listNotebookExecutions_editorId - The unique ID of the editor associated with the notebook execution.

$sel:from:ListNotebookExecutions', listNotebookExecutions_from - The beginning of time range filter for listing notebook executions. The default is the timestamp of 30 days ago.

ListNotebookExecutions, listNotebookExecutions_marker - The pagination token, returned by a previous ListNotebookExecutions call, that indicates the start of the list for this ListNotebookExecutions call.

ListNotebookExecutions, listNotebookExecutions_status - The status filter for listing notebook executions.

  • START_PENDING indicates that the cluster has received the execution request but execution has not begun.
  • STARTING indicates that the execution is starting on the cluster.
  • RUNNING indicates that the execution is being processed by the cluster.
  • FINISHING indicates that execution processing is in the final stages.
  • FINISHED indicates that the execution has completed without error.
  • FAILING indicates that the execution is failing and will not finish successfully.
  • FAILED indicates that the execution failed.
  • STOP_PENDING indicates that the cluster has received a StopNotebookExecution request and the stop is pending.
  • STOPPING indicates that the cluster is in the process of stopping the execution as a result of a StopNotebookExecution request.
  • STOPPED indicates that the execution stopped because of a StopNotebookExecution request.

$sel:to:ListNotebookExecutions', listNotebookExecutions_to - The end of time range filter for listing notebook executions. The default is the current timestamp.

Request Lenses

listNotebookExecutions_editorId :: Lens' ListNotebookExecutions (Maybe Text) Source #

The unique ID of the editor associated with the notebook execution.

listNotebookExecutions_from :: Lens' ListNotebookExecutions (Maybe UTCTime) Source #

The beginning of time range filter for listing notebook executions. The default is the timestamp of 30 days ago.

listNotebookExecutions_marker :: Lens' ListNotebookExecutions (Maybe Text) Source #

The pagination token, returned by a previous ListNotebookExecutions call, that indicates the start of the list for this ListNotebookExecutions call.

listNotebookExecutions_status :: Lens' ListNotebookExecutions (Maybe NotebookExecutionStatus) Source #

The status filter for listing notebook executions.

  • START_PENDING indicates that the cluster has received the execution request but execution has not begun.
  • STARTING indicates that the execution is starting on the cluster.
  • RUNNING indicates that the execution is being processed by the cluster.
  • FINISHING indicates that execution processing is in the final stages.
  • FINISHED indicates that the execution has completed without error.
  • FAILING indicates that the execution is failing and will not finish successfully.
  • FAILED indicates that the execution failed.
  • STOP_PENDING indicates that the cluster has received a StopNotebookExecution request and the stop is pending.
  • STOPPING indicates that the cluster is in the process of stopping the execution as a result of a StopNotebookExecution request.
  • STOPPED indicates that the execution stopped because of a StopNotebookExecution request.

listNotebookExecutions_to :: Lens' ListNotebookExecutions (Maybe UTCTime) Source #

The end of time range filter for listing notebook executions. The default is the current timestamp.

Destructuring the Response

data ListNotebookExecutionsResponse Source #

See: newListNotebookExecutionsResponse smart constructor.

Constructors

ListNotebookExecutionsResponse' 

Fields

Instances

Instances details
Generic ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Associated Types

type Rep ListNotebookExecutionsResponse :: Type -> Type #

Read ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Show ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

NFData ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

Eq ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

type Rep ListNotebookExecutionsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListNotebookExecutions

type Rep ListNotebookExecutionsResponse = D1 ('MetaData "ListNotebookExecutionsResponse" "Amazonka.EMR.ListNotebookExecutions" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "ListNotebookExecutionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notebookExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookExecutionSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListNotebookExecutionsResponse Source #

Create a value of ListNotebookExecutionsResponse 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:

ListNotebookExecutions, listNotebookExecutionsResponse_marker - A pagination token that a subsequent ListNotebookExecutions can use to determine the next set of results to retrieve.

$sel:notebookExecutions:ListNotebookExecutionsResponse', listNotebookExecutionsResponse_notebookExecutions - A list of notebook executions.

$sel:httpStatus:ListNotebookExecutionsResponse', listNotebookExecutionsResponse_httpStatus - The response's http status code.

Response Lenses

listNotebookExecutionsResponse_marker :: Lens' ListNotebookExecutionsResponse (Maybe Text) Source #

A pagination token that a subsequent ListNotebookExecutions can use to determine the next set of results to retrieve.