Skip to content

CreateAccessTokenRequest

Source code in docs_src/capo_codecatalyst/types/create_access_token_request.py
class CreateAccessTokenRequest(TypedDict, closed=True):
    name: "capo_codecatalyst.types.access_token_name.AccessTokenName"
    """<p>The friendly name of the personal access token.</p>"""
    expires_time: NotRequired["capo_codecatalyst.types.timestamp.Timestamp"]
    """<p>The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>"""

expires_time instance-attribute

expires_time: NotRequired[Timestamp]

The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

name instance-attribute

The friendly name of the personal access token.