Skip to content

StartSessionRequest

Source code in docs_src/capo_emr_serverless/types/start_session_request.py
class StartSessionRequest(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application on which to start the session.</p>"""
    client_token: "capo_emr_serverless.types.client_token.ClientToken"
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the successful response without performing the operation again.</p>"""
    execution_role_arn: "capo_emr_serverless.types.iam_role_arn.IAMRoleArn"
    """<p>The execution role ARN for the session. Amazon EMR Serverless uses this role to access Amazon Web Services resources on your behalf during session execution.</p>"""
    configuration_overrides: NotRequired[
        "capo_emr_serverless.types.session_configuration_overrides.SessionConfigurationOverrides"
    ]
    """<p>The configuration overrides for the session. Only runtime configuration overrides are supported.</p>"""
    tags: NotRequired["capo_emr_serverless.types.tag_map.TagMap"]
    """<p>The tags to assign to the session.</p>"""
    idle_timeout_minutes: NotRequired["capo_emr_serverless.types.duration.Duration"]
    """<p>The idle timeout in minutes for the session. After the session remains idle for this duration, Amazon EMR Serverless automatically terminates it.</p>"""
    name: NotRequired["capo_emr_serverless.types.string256.String256"]
    """<p>The optional name for the session.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application on which to start the session.

client_token instance-attribute

client_token: ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the successful response without performing the operation again.

configuration_overrides instance-attribute

configuration_overrides: NotRequired[SessionConfigurationOverrides]

The configuration overrides for the session. Only runtime configuration overrides are supported.

execution_role_arn instance-attribute

execution_role_arn: IAMRoleArn

The execution role ARN for the session. Amazon EMR Serverless uses this role to access Amazon Web Services resources on your behalf during session execution.

idle_timeout_minutes instance-attribute

idle_timeout_minutes: NotRequired[Duration]

The idle timeout in minutes for the session. After the session remains idle for this duration, Amazon EMR Serverless automatically terminates it.

name instance-attribute

name: NotRequired[String256]

The optional name for the session.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to assign to the session.