Class: Aws::AccountAccess::Types::IdentityCenterPrincipal

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

Instance Attribute Details

#group_idString

The unique identifier of a group in IAM Identity Center.

Returns:

  • (String)


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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



460
461
462
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 460

def unknown
  @unknown
end

#user_idString

The unique identifier of a user in IAM Identity Center.

Returns:

  • (String)


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