Class: Aws::BedrockRuntime::Types::GuardrailUsage

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

Overview

The details on the use of the guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_policy_unitsInteger

The content policy units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end

#contextual_grounding_policy_unitsInteger

The contextual grounding policy units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end

#sensitive_information_policy_free_unitsInteger

The sensitive information policy free units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end

#sensitive_information_policy_unitsInteger

The sensitive information policy units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end

#topic_policy_unitsInteger

The topic policy units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end

#word_policy_unitsInteger

The word policy units processed by the guardrail.

Returns:

  • (Integer)


1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1222

class GuardrailUsage < Struct.new(
  :topic_policy_units,
  :content_policy_units,
  :word_policy_units,
  :sensitive_information_policy_units,
  :sensitive_information_policy_free_units,
  :contextual_grounding_policy_units)
  SENSITIVE = []
  include Aws::Structure
end