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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

#automated_reasoning_policiesInteger

The number of automated reasoning policies that were processed during the guardrail evaluation.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#automated_reasoning_policy_unitsInteger

The number of text units processed by the automated reasoning policy.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#content_policy_image_unitsInteger

The content policy image units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#content_policy_unitsInteger

The content policy units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#contextual_grounding_policy_unitsInteger

The contextual grounding policy units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#sensitive_information_policy_free_unitsInteger

The sensitive information policy free units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#sensitive_information_policy_unitsInteger

The sensitive information policy units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#topic_policy_unitsInteger

The topic policy units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end

#word_policy_unitsInteger

The word policy units processed by the guardrail.

Returns:

  • (Integer)


2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2779

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,
  :content_policy_image_units,
  :automated_reasoning_policy_units,
  :automated_reasoning_policies)
  SENSITIVE = []
  include Aws::Structure
end