Class: Aws::QBusiness::Types::RuleConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-qbusiness/types.rb

Overview

Note:

RuleConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

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

ContentBlockerRule, ContentRetrievalRule, Unknown

Defined Under Namespace

Classes: ContentBlockerRule, ContentRetrievalRule, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_blocker_ruleTypes::ContentBlockerRule

A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.



6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555

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_ruleTypes::ContentRetrievalRule

Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.



6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6555
6556
6557
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555

def unknown
  @unknown
end