Skip to content

ListSessionsRequest

Source code in docs_src/capo_emr_serverless/types/list_sessions_request.py
class ListSessionsRequest(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application to list sessions for.</p>"""
    next_token: NotRequired["capo_emr_serverless.types.next_token.NextToken"]
    """<p>The token for the next set of session results.</p>"""
    max_results: NotRequired["int"]
    """<p>The maximum number of sessions to return in each page of results.</p>"""
    states: NotRequired["capo_emr_serverless.types.session_state_set.SessionStateSet"]
    """<p>An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>"""
    created_at_after: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The lower bound of the option to filter by creation date and time.</p>"""
    created_at_before: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The upper bound of the option to filter by creation date and time.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application to list sessions for.

created_at_after instance-attribute

created_at_after: NotRequired[Date]

The lower bound of the option to filter by creation date and time.

created_at_before instance-attribute

created_at_before: NotRequired[Date]

The upper bound of the option to filter by creation date and time.

max_results instance-attribute

max_results: NotRequired[int]

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

next_token instance-attribute

next_token: NotRequired[NextToken]

The token for the next set of session results.

states instance-attribute

states: NotRequired[SessionStateSet]

An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.