Class: Aws::QBusiness::Types::Principal
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::Principal
- Defined in:
- gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb
Overview
Note:
Principal is a union - when making an API calls you must set exactly one of the members.
Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#group ⇒ Types::PrincipalGroup
The group associated with the principal.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user ⇒ Types::PrincipalUser
The user associated with the principal.
Instance Attribute Details
#group ⇒ Types::PrincipalGroup
The group associated with the principal.
5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 5086 class Principal < Struct.new( :user, :group, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class User < Principal; end class Group < Principal; end class Unknown < Principal; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
5086 5087 5088 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 5086 def unknown @unknown end |
#user ⇒ Types::PrincipalUser
The user associated with the principal.
5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 5086 class Principal < Struct.new( :user, :group, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class User < Principal; end class Group < Principal; end class Unknown < Principal; end end |