RoleInfo - Amazon IAM Identity Center
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

RoleInfo

Provides information about the role that is assigned to the user.

Contents

accountId

The identifier of the Amazon account assigned to the user.

Type: String

Required: No

roleName

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: