Class: Aws::BedrockRuntime::Types::ApplyGuardrailResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action taken in the response from the guardrail.

Returns:

  • (String)


90
91
92
93
94
95
96
97
98
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 90

class ApplyGuardrailResponse < Struct.new(
  :usage,
  :action,
  :outputs,
  :assessments,
  :guardrail_coverage)
  SENSITIVE = []
  include Aws::Structure
end

#assessmentsArray<Types::GuardrailAssessment>

The assessment details in the response from the guardrail.

Returns:



90
91
92
93
94
95
96
97
98
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 90

class ApplyGuardrailResponse < Struct.new(
  :usage,
  :action,
  :outputs,
  :assessments,
  :guardrail_coverage)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_coverageTypes::GuardrailCoverage

The guardrail coverage details in the apply guardrail response.



90
91
92
93
94
95
96
97
98
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 90

class ApplyGuardrailResponse < Struct.new(
  :usage,
  :action,
  :outputs,
  :assessments,
  :guardrail_coverage)
  SENSITIVE = []
  include Aws::Structure
end

#outputsArray<Types::GuardrailOutputContent>

The output details in the response from the guardrail.

Returns:



90
91
92
93
94
95
96
97
98
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 90

class ApplyGuardrailResponse < Struct.new(
  :usage,
  :action,
  :outputs,
  :assessments,
  :guardrail_coverage)
  SENSITIVE = []
  include Aws::Structure
end

#usageTypes::GuardrailUsage

The usage details in the response from the guardrail.



90
91
92
93
94
95
96
97
98
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 90

class ApplyGuardrailResponse < Struct.new(
  :usage,
  :action,
  :outputs,
  :assessments,
  :guardrail_coverage)
  SENSITIVE = []
  include Aws::Structure
end