Class: Aws::AccountAccess::Types::Principal
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccountAccess::Types::Principal
- Defined in:
- gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb
Overview
Note:
Principal is a union - when making an API calls you must set exactly one of the members.
Note:
Principal is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Principal corresponding to the set member.
Identifies a principal (user or group) that can be granted entitlements.
Defined Under Namespace
Classes: IdentityCenter, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#identity_center ⇒ Types::IdentityCenterPrincipal
The IAM Identity Center principal (user or group).
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#identity_center ⇒ Types::IdentityCenterPrincipal
The IAM Identity Center principal (user or group).
681 682 683 684 685 686 687 688 689 690 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 681 class Principal < Struct.new( :identity_center, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IdentityCenter < Principal; end class Unknown < Principal; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
681 682 683 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 681 def unknown @unknown end |