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)


3234
3235
3236
3237
3238
3239
3240
3241
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3234

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)


3234
3235
3236
3237
3238
3239
3240
3241
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3234

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)


3234
3235
3236
3237
3238
3239
3240
3241
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3234

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)


3234
3235
3236
3237
3238
3239
3240
3241
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3234

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