Class: Aws::AccountAccess::Types::IdentityCenterPrincipal
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccountAccess::Types::IdentityCenterPrincipal
- Defined in:
- gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb
Overview
Note:
IdentityCenterPrincipal is a union - when making an API calls you must set exactly one of the members.
Note:
IdentityCenterPrincipal is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of IdentityCenterPrincipal corresponding to the set member.
Identifies a user or group from IAM Identity Center.
Defined Under Namespace
Classes: GroupId, Unknown, UserId
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#group_id ⇒ String
The unique identifier of a group in IAM Identity Center.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user_id ⇒ String
The unique identifier of a user in IAM Identity Center.
Instance Attribute Details
#group_id ⇒ String
The unique identifier of a group in IAM Identity Center.
460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 460 class IdentityCenterPrincipal < Struct.new( :user_id, :group_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class UserId < IdentityCenterPrincipal; end class GroupId < IdentityCenterPrincipal; end class Unknown < IdentityCenterPrincipal; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
460 461 462 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 460 def unknown @unknown end |
#user_id ⇒ String
The unique identifier of a user in IAM Identity Center.
460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 460 class IdentityCenterPrincipal < Struct.new( :user_id, :group_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class UserId < IdentityCenterPrincipal; end class GroupId < IdentityCenterPrincipal; end class Unknown < IdentityCenterPrincipal; end end |