Skip to content

GetDelegatedAccessTokenResponse

Source code in docs_src/capo_sts/types/get_delegated_access_token_response.py
class GetDelegatedAccessTokenResponse(TypedDict, closed=True):
    credentials: NotRequired["capo_sts.types.credentials.Credentials"]
    packed_policy_size: NotRequired[
        "capo_sts.types.non_negative_integer_type.nonNegativeIntegerType"
    ]
    """<p>The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.</p>"""
    assumed_principal: NotRequired["capo_sts.types.arn_type.arnType"]
    """<p>The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.</p>"""

assumed_principal instance-attribute

assumed_principal: NotRequired[arnType]

The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.

credentials instance-attribute

credentials: NotRequired[Credentials]

packed_policy_size instance-attribute

packed_policy_size: NotRequired[nonNegativeIntegerType]

The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.