Class: Aws::QBusiness::Types::RuleConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::RuleConfiguration
- Defined in:
- gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb
Overview
RuleConfiguration is a union - when making an API calls you must set exactly one of the members.
RuleConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleConfiguration corresponding to the set member.
Provides configuration information about a rule.
Direct Known Subclasses
Defined Under Namespace
Classes: ContentBlockerRule, ContentRetrievalRule, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content_blocker_rule ⇒ Types::ContentBlockerRule
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
-
#content_retrieval_rule ⇒ Types::ContentRetrievalRule
Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#content_blocker_rule ⇒ Types::ContentBlockerRule
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 6769 class RuleConfiguration < Struct.new( :content_blocker_rule, :content_retrieval_rule, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ContentBlockerRule < RuleConfiguration; end class ContentRetrievalRule < RuleConfiguration; end class Unknown < RuleConfiguration; end end |
#content_retrieval_rule ⇒ Types::ContentRetrievalRule
Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.
6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 6769 class RuleConfiguration < Struct.new( :content_blocker_rule, :content_retrieval_rule, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ContentBlockerRule < RuleConfiguration; end class ContentRetrievalRule < RuleConfiguration; end class Unknown < RuleConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6769 6770 6771 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 6769 def unknown @unknown end |