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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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)


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2890

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