aws-sdk-bedrockruntime 1.40.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7a837662b515ba7abb57443b3b4c98f82186b734db6e5d99396765bf2a26cca
4
- data.tar.gz: 171a08d8c626f90efc7294ed39dc3ca3263347ba3537472339e36af911be67c7
3
+ metadata.gz: ca1f2e9df0100f06e3bc0f31d305ff82c3e9642b99d2bac8926869ef74a27832
4
+ data.tar.gz: ddac8114e682d559799c345af4f9c7bdf3c46aa7fe1a3fbd515ba357b8a07e5e
5
5
  SHA512:
6
- metadata.gz: 2713518cae3eeadfb1579352be6f767ae60afb640f4e676eaa53cf83ba33c7833da21514ea4ae734f5030f0f671018bbab30c7f042bb8d3b013d3ecdc2212c7b
7
- data.tar.gz: '0483882a91210f48317d326abb28dc949d18dda87830f76c43c85b1e27c3550b766019d8c67c52c92c13977f7196ff5c4cde0057c9e1b76749d2d829a8876cf6'
6
+ metadata.gz: 713b147a86dd62555318bbccf3b18a464d8c9adffe9676c83daf3fdb07d6fa9e1d23962113124908ea1f2f54840aff67a90c785c81599ceac38f9163a4cba43a
7
+ data.tar.gz: 1bfe5c081028a50fa682ff19eaa221851a1f6a648dc23f55206d3eb32eac816dff3dced5f77cf54d510876291e9e8e9d340b64be5d87289919ba3cd01c7e3429
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2025-03-28)
5
+ ------------------
6
+
7
+ * Feature - Launching Multi-modality Content Filter for Amazon Bedrock Guardrails.
8
+
4
9
  1.40.0 (2025-03-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -541,6 +541,7 @@ module Aws::BedrockRuntime
541
541
  # resp.usage.sensitive_information_policy_units #=> Integer
542
542
  # resp.usage.sensitive_information_policy_free_units #=> Integer
543
543
  # resp.usage.contextual_grounding_policy_units #=> Integer
544
+ # resp.usage.content_policy_image_units #=> Integer
544
545
  # resp.action #=> String, one of "NONE", "GUARDRAIL_INTERVENED"
545
546
  # resp.outputs #=> Array
546
547
  # resp.outputs[0].text #=> String
@@ -582,6 +583,7 @@ module Aws::BedrockRuntime
582
583
  # resp.assessments[0].invocation_metrics.usage.sensitive_information_policy_units #=> Integer
583
584
  # resp.assessments[0].invocation_metrics.usage.sensitive_information_policy_free_units #=> Integer
584
585
  # resp.assessments[0].invocation_metrics.usage.contextual_grounding_policy_units #=> Integer
586
+ # resp.assessments[0].invocation_metrics.usage.content_policy_image_units #=> Integer
585
587
  # resp.assessments[0].invocation_metrics.guardrail_coverage.text_characters.guarded #=> Integer
586
588
  # resp.assessments[0].invocation_metrics.guardrail_coverage.text_characters.total #=> Integer
587
589
  # resp.assessments[0].invocation_metrics.guardrail_coverage.images.guarded #=> Integer
@@ -1027,6 +1029,7 @@ module Aws::BedrockRuntime
1027
1029
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.usage.sensitive_information_policy_units #=> Integer
1028
1030
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.usage.sensitive_information_policy_free_units #=> Integer
1029
1031
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.usage.contextual_grounding_policy_units #=> Integer
1032
+ # resp.trace.guardrail.input_assessment["String"].invocation_metrics.usage.content_policy_image_units #=> Integer
1030
1033
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.text_characters.guarded #=> Integer
1031
1034
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.text_characters.total #=> Integer
1032
1035
  # resp.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.images.guarded #=> Integer
@@ -1070,6 +1073,7 @@ module Aws::BedrockRuntime
1070
1073
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.sensitive_information_policy_units #=> Integer
1071
1074
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.sensitive_information_policy_free_units #=> Integer
1072
1075
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.contextual_grounding_policy_units #=> Integer
1076
+ # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.content_policy_image_units #=> Integer
1073
1077
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.text_characters.guarded #=> Integer
1074
1078
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.text_characters.total #=> Integer
1075
1079
  # resp.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.images.guarded #=> Integer
@@ -1683,6 +1687,7 @@ module Aws::BedrockRuntime
1683
1687
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.usage.sensitive_information_policy_units #=> Integer
1684
1688
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.usage.sensitive_information_policy_free_units #=> Integer
1685
1689
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.usage.contextual_grounding_policy_units #=> Integer
1690
+ # event.trace.guardrail.input_assessment["String"].invocation_metrics.usage.content_policy_image_units #=> Integer
1686
1691
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.text_characters.guarded #=> Integer
1687
1692
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.text_characters.total #=> Integer
1688
1693
  # event.trace.guardrail.input_assessment["String"].invocation_metrics.guardrail_coverage.images.guarded #=> Integer
@@ -1726,6 +1731,7 @@ module Aws::BedrockRuntime
1726
1731
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.sensitive_information_policy_units #=> Integer
1727
1732
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.sensitive_information_policy_free_units #=> Integer
1728
1733
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.contextual_grounding_policy_units #=> Integer
1734
+ # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.usage.content_policy_image_units #=> Integer
1729
1735
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.text_characters.guarded #=> Integer
1730
1736
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.text_characters.total #=> Integer
1731
1737
  # event.trace.guardrail.output_assessments["String"][0].invocation_metrics.guardrail_coverage.images.guarded #=> Integer
@@ -2469,7 +2475,7 @@ module Aws::BedrockRuntime
2469
2475
  tracer: tracer
2470
2476
  )
2471
2477
  context[:gem_name] = 'aws-sdk-bedrockruntime'
2472
- context[:gem_version] = '1.40.0'
2478
+ context[:gem_version] = '1.41.0'
2473
2479
  Seahorse::Client::Request.new(handlers, context)
2474
2480
  end
2475
2481
 
@@ -79,6 +79,7 @@ module Aws::BedrockRuntime
79
79
  GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
80
80
  GuardrailContentPolicyAction = Shapes::StringShape.new(name: 'GuardrailContentPolicyAction')
81
81
  GuardrailContentPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailContentPolicyAssessment')
82
+ GuardrailContentPolicyImageUnitsProcessed = Shapes::IntegerShape.new(name: 'GuardrailContentPolicyImageUnitsProcessed')
82
83
  GuardrailContentPolicyUnitsProcessed = Shapes::IntegerShape.new(name: 'GuardrailContentPolicyUnitsProcessed')
83
84
  GuardrailContentQualifier = Shapes::StringShape.new(name: 'GuardrailContentQualifier')
84
85
  GuardrailContentQualifierList = Shapes::ListShape.new(name: 'GuardrailContentQualifierList')
@@ -622,6 +623,7 @@ module Aws::BedrockRuntime
622
623
  GuardrailUsage.add_member(:sensitive_information_policy_units, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyUnitsProcessed, required: true, location_name: "sensitiveInformationPolicyUnits"))
623
624
  GuardrailUsage.add_member(:sensitive_information_policy_free_units, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyFreeUnitsProcessed, required: true, location_name: "sensitiveInformationPolicyFreeUnits"))
624
625
  GuardrailUsage.add_member(:contextual_grounding_policy_units, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingPolicyUnitsProcessed, required: true, location_name: "contextualGroundingPolicyUnits"))
626
+ GuardrailUsage.add_member(:content_policy_image_units, Shapes::ShapeRef.new(shape: GuardrailContentPolicyImageUnitsProcessed, location_name: "contentPolicyImageUnits"))
625
627
  GuardrailUsage.struct_class = Types::GuardrailUsage
626
628
 
627
629
  GuardrailWordPolicyAssessment.add_member(:custom_words, Shapes::ShapeRef.new(shape: GuardrailCustomWordList, required: true, location_name: "customWords"))
@@ -1713,6 +1713,10 @@ module Aws::BedrockRuntime
1713
1713
  # The contextual grounding policy units processed by the guardrail.
1714
1714
  # @return [Integer]
1715
1715
  #
1716
+ # @!attribute [rw] content_policy_image_units
1717
+ # The content policy image units processed by the guardrail.
1718
+ # @return [Integer]
1719
+ #
1716
1720
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/GuardrailUsage AWS API Documentation
1717
1721
  #
1718
1722
  class GuardrailUsage < Struct.new(
@@ -1721,7 +1725,8 @@ module Aws::BedrockRuntime
1721
1725
  :word_policy_units,
1722
1726
  :sensitive_information_policy_units,
1723
1727
  :sensitive_information_policy_free_units,
1724
- :contextual_grounding_policy_units)
1728
+ :contextual_grounding_policy_units,
1729
+ :content_policy_image_units)
1725
1730
  SENSITIVE = []
1726
1731
  include Aws::Structure
1727
1732
  end
@@ -56,7 +56,7 @@ module Aws::BedrockRuntime
56
56
  autoload :Endpoints, 'aws-sdk-bedrockruntime/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockruntime/event_streams'
58
58
 
59
- GEM_VERSION = '1.40.0'
59
+ GEM_VERSION = '1.41.0'
60
60
 
61
61
  end
62
62
 
data/sig/types.rbs CHANGED
@@ -491,6 +491,7 @@ module Aws::BedrockRuntime
491
491
  attr_accessor sensitive_information_policy_units: ::Integer
492
492
  attr_accessor sensitive_information_policy_free_units: ::Integer
493
493
  attr_accessor contextual_grounding_policy_units: ::Integer
494
+ attr_accessor content_policy_image_units: ::Integer
494
495
  SENSITIVE: []
495
496
  end
496
497
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-05 00:00:00.000000000 Z
11
+ date: 2025-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core