Skip to content

GetRoleCredentialsRequest

Source code in docs_src/capo_sso/types/get_role_credentials_request.py
class GetRoleCredentialsRequest(TypedDict, closed=True):
    role_name: "capo_sso.types.role_name_type.RoleNameType"
    """<p>The friendly name of the role that is assigned to the user.</p>"""
    account_id: "capo_sso.types.account_id_type.AccountIdType"
    """<p>The identifier for the AWS account that is assigned to the user.</p>"""
    access_token: "capo_sso.types.access_token_type.AccessTokenType"
    """<p>The token issued by the <code>CreateToken</code> API call. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>"""

access_token instance-attribute

access_token: AccessTokenType

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

account_id instance-attribute

account_id: AccountIdType

The identifier for the AWS account that is assigned to the user.

role_name instance-attribute

role_name: RoleNameType

The friendly name of the role that is assigned to the user.