Class: Aws::CloudWatchOmni::Types::PrincipalSearchResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb

Overview

A user or group matched by SearchPrincipals.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

An optional description of the principal.

Returns:

  • (String)


4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4131

class PrincipalSearchResult < Struct.new(
  :principal_id,
  :principal_type,
  :display_name,
  :user_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#display_name ⇒ String

The display name of the principal.

Returns:

  • (String)


4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4131

class PrincipalSearchResult < Struct.new(
  :principal_id,
  :principal_type,
  :display_name,
  :user_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#principal_id ⇒ String

The unique ID of the principal.

Returns:

  • (String)


4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4131

class PrincipalSearchResult < Struct.new(
  :principal_id,
  :principal_type,
  :display_name,
  :user_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#principal_type ⇒ String

Whether the principal is a user or a group.

Returns:

  • (String)


4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4131

class PrincipalSearchResult < Struct.new(
  :principal_id,
  :principal_type,
  :display_name,
  :user_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#user_name ⇒ String

The user name of the principal. Present for users only.

Returns:

  • (String)


4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4131

class PrincipalSearchResult < Struct.new(
  :principal_id,
  :principal_type,
  :display_name,
  :user_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end