SubscriptionPrincipal
A user or group in the IAM Identity Center instance connected to the Amazon Q Business application.
Inheritors
Types
Functions
Link copied to clipboard
Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a Group.
Link copied to clipboard
Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a Group.
Link copied to clipboard
Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a User.
Link copied to clipboard
Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a User.