Skip to content

StartSessionInput

Source code in docs_src/capo_emr/types/start_session_input.py
class StartSessionInput(TypedDict, closed=True):
    name: NotRequired["capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"]
    """<p>An optional name for the session.</p>"""
    cluster_id: NotRequired["capo_emr.types.cluster_id.ClusterId"]
    """<p>The ID of the cluster on which to start the session.</p>"""
    execution_role_arn: NotRequired["capo_emr.types.iam_role_arn.IAMRoleArn"]
    """<p>The execution role ARN for the session. Amazon EMR uses this role to access Amazon Web Services resources on your behalf during session execution.</p>"""
    engine_configurations: NotRequired[
        "capo_emr.types.configuration_list.ConfigurationList"
    ]
    """<p>The configuration overrides for the session. Only runtime configuration overrides are supported.</p>"""
    monitoring_configuration: NotRequired[
        "capo_emr.types.session_monitoring_configuration.SessionMonitoringConfiguration"
    ]
    """<p>The monitoring configuration that controls where session logs are published, such as Amazon S3, CloudWatch, or managed logging.</p>"""
    session_idle_timeout_in_minutes: NotRequired["capo_emr.types.long.Long"]
    """<p>The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR EC2 automatically terminates it.</p>"""
    client_request_token: NotRequired[
        "capo_emr.types.client_request_token.ClientRequestToken"
    ]
    """<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 request token, the service returns the original response without performing the operation again.</p>"""
    tags: NotRequired["capo_emr.types.tag_list.TagList"]
    """<p>The tags to assign to the session.</p>"""

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

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 request token, the service returns the original response without performing the operation again.

cluster_id instance-attribute

cluster_id: NotRequired[ClusterId]

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

engine_configurations instance-attribute

engine_configurations: NotRequired[ConfigurationList]

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

execution_role_arn instance-attribute

execution_role_arn: NotRequired[IAMRoleArn]

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

monitoring_configuration instance-attribute

monitoring_configuration: NotRequired[SessionMonitoringConfiguration]

The monitoring configuration that controls where session logs are published, such as Amazon S3, CloudWatch, or managed logging.

name instance-attribute

name: NotRequired[XmlStringMaxLen256]

An optional name for the session.

session_idle_timeout_in_minutes instance-attribute

session_idle_timeout_in_minutes: NotRequired[Long]

The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR EC2 automatically terminates it.

tags instance-attribute

tags: NotRequired[TagList]

The tags to assign to the session.