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)


84
85
86
87
88
89
90
91
92
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 84

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:



84
85
86
87
88
89
90
91
92
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 84

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.



84
85
86
87
88
89
90
91
92
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 84

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:



84
85
86
87
88
89
90
91
92
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 84

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.



84
85
86
87
88
89
90
91
92
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 84

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