Class: Aws::AccountAccess::Types::Principal

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#identity_centerTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



681
682
683
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 681

def unknown
  @unknown
end