Skip to content

ListSessionsInput

Source code in docs_src/capo_emr/types/list_sessions_input.py
class ListSessionsInput(TypedDict, closed=True):
    cluster_id: NotRequired["capo_emr.types.cluster_id.ClusterId"]
    """<p>The ID of the cluster to list sessions for.</p>"""
    session_states: NotRequired["capo_emr.types.session_state_list.SessionStateList"]
    """<p>An optional filter that limits the results to sessions in the specified states.</p>"""
    next_token: NotRequired["capo_emr.types.string.String"]
    """<p>The pagination token returned by a previous <code>ListSessions</code> call. Use it to retrieve the next page of results.</p>"""
    max_results: NotRequired["capo_emr.types.max_results_number.MaxResultsNumber"]
    """<p>The maximum number of sessions to return in each page of results.</p>"""

cluster_id instance-attribute

cluster_id: NotRequired[ClusterId]

The ID of the cluster to list sessions for.

max_results instance-attribute

max_results: NotRequired[MaxResultsNumber]

The maximum number of sessions to return in each page of results.

next_token instance-attribute

next_token: NotRequired[String]

The pagination token returned by a previous ListSessions call. Use it to retrieve the next page of results.

session_states instance-attribute

session_states: NotRequired[SessionStateList]

An optional filter that limits the results to sessions in the specified states.