Skip to content

UpdateProfileRequest

Source code in docs_src/capo_rolesanywhere/types/update_profile_request.py
class UpdateProfileRequest(TypedDict, closed=True):
    profile_id: "capo_rolesanywhere.types.uuid.Uuid"
    """<p>The unique identifier of the profile.</p>"""
    name: NotRequired["capo_rolesanywhere.types.resource_name.ResourceName"]
    """<p>The name of the profile.</p>"""
    session_policy: NotRequired["str"]
    """<p>A session policy that applies to the trust boundary of the vended session credentials. </p>"""
    role_arns: NotRequired["capo_rolesanywhere.types.role_arn_list.RoleArnList"]
    """<p>A list of IAM roles that this profile can assume in a temporary credential request.</p>"""
    managed_policy_arns: NotRequired[
        "capo_rolesanywhere.types.managed_policy_list.ManagedPolicyList"
    ]
    """<p>A list of managed policy ARNs that apply to the vended session credentials. </p>"""
    duration_seconds: NotRequired["int"]
    """<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>"""
    accept_role_session_name: NotRequired["bool"]
    """<p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>"""

accept_role_session_name instance-attribute

accept_role_session_name: NotRequired[bool]

Used to determine if a custom role session name will be accepted in a temporary credential request.

duration_seconds instance-attribute

duration_seconds: NotRequired[int]

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

managed_policy_arns instance-attribute

managed_policy_arns: NotRequired[ManagedPolicyList]

A list of managed policy ARNs that apply to the vended session credentials.

name instance-attribute

name: NotRequired[ResourceName]

The name of the profile.

profile_id instance-attribute

profile_id: Uuid

The unique identifier of the profile.

role_arns instance-attribute

role_arns: NotRequired[RoleArnList]

A list of IAM roles that this profile can assume in a temporary credential request.

session_policy instance-attribute

session_policy: NotRequired[str]

A session policy that applies to the trust boundary of the vended session credentials.