Skip to content

CreateAuthCodeRequest

Source code in docs_src/capo_connect/types/create_auth_code_request.py
class CreateAuthCodeRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.instance_id.InstanceId"
    """<p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>"""
    scope: "capo_connect.types.auth_scope.AuthScope"
    """<p>The scope for the authorization code. Defines the permissions and access boundaries for the session.</p>"""
    max_session_duration_minutes: NotRequired[
        "capo_connect.types.max_session_duration_minutes.MaxSessionDurationMinutes"
    ]
    """<p>The maximum duration of the session, in minutes. Minimum value of 1440 (24 hours). Maximum value of 43200 (30 days). If no value is provided, the session will expire after 400 days.</p>"""
    session_inactivity_duration_minutes: "capo_connect.types.session_inactivity_duration_minutes.SessionInactivityDurationMinutes"
    """<p>The duration of inactivity, in minutes, after which the session expires. Minimum value of 1440 (24 hours). Maximum value of 20160 (14 days).</p>"""

instance_id instance-attribute

instance_id: InstanceId

The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

max_session_duration_minutes instance-attribute

max_session_duration_minutes: NotRequired[MaxSessionDurationMinutes]

The maximum duration of the session, in minutes. Minimum value of 1440 (24 hours). Maximum value of 43200 (30 days). If no value is provided, the session will expire after 400 days.

scope instance-attribute

scope: AuthScope

The scope for the authorization code. Defines the permissions and access boundaries for the session.

session_inactivity_duration_minutes instance-attribute

session_inactivity_duration_minutes: SessionInactivityDurationMinutes

The duration of inactivity, in minutes, after which the session expires. Minimum value of 1440 (24 hours). Maximum value of 20160 (14 days).