Class: Aws::BedrockRuntime::Types::GuardrailStreamConfiguration

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

Overview

Configuration information for a guardrail that you use with the

ConverseStream][1

action.

[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#guardrail_identifierString

The identifier for the guardrail.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2720

class GuardrailStreamConfiguration < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :trace,
  :stream_processing_mode)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_versionString

The version of the guardrail.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2720

class GuardrailStreamConfiguration < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :trace,
  :stream_processing_mode)
  SENSITIVE = []
  include Aws::Structure
end

#stream_processing_modeString

The processing mode.

The processing mode. For more information, see *Configure streaming response behavior* in the *Amazon Bedrock User Guide*.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2720

class GuardrailStreamConfiguration < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :trace,
  :stream_processing_mode)
  SENSITIVE = []
  include Aws::Structure
end

#traceString

The trace behavior for the guardrail.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2720

class GuardrailStreamConfiguration < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :trace,
  :stream_processing_mode)
  SENSITIVE = []
  include Aws::Structure
end