Class: Aws::BedrockAgentRuntime::Types::AgenticRetrieveWarning

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

Overview

Note:

AgenticRetrieveWarning is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AgenticRetrieveWarning corresponding to the set member.

A warning generated during agentic retrieval.

Defined Under Namespace

Classes: Guardrail, Message, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#guardrail ⇒ Types::AgenticRetrieveGuardrailWarning

A warning from a guardrail evaluation.



1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1336

class AgenticRetrieveWarning < Struct.new(
  :guardrail,
  :message,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Guardrail < AgenticRetrieveWarning; end
  class Message < AgenticRetrieveWarning; end
  class Unknown < AgenticRetrieveWarning; end
end

#message ⇒ Types::AgenticRetrieveWarningMessage

A general warning message.



1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1336

class AgenticRetrieveWarning < Struct.new(
  :guardrail,
  :message,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Guardrail < AgenticRetrieveWarning; end
  class Message < AgenticRetrieveWarning; end
  class Unknown < AgenticRetrieveWarning; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1336
1337
1338
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1336

def unknown
  @unknown
end