aws-sdk-bedrockagent 1.25.0 → 1.27.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +5 -7
- data/lib/aws-sdk-bedrockagent/client_api.rb +3 -1
- data/lib/aws-sdk-bedrockagent/types.rb +24 -10
- data/lib/aws-sdk-bedrockagent.rb +15 -11
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 123930db1958fdc1ef554a7f6a5c199d48ebd53aa493124c76dde6747bdde2cf
         | 
| 4 | 
            +
              data.tar.gz: 5d98413d6c1b78f82cadae2ad4d6f324bc15d059e5e54f5a962068d2967f9c76
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: fb3df45d383f6bdfa15830c242a4317ca09c2d04627e217f64f0e2902dea80da4f770025f72ee1f2de1111726cca49cdb10f062a3214acff7a55bd365a3d9a4d
         | 
| 7 | 
            +
              data.tar.gz: 5cc559c55e1d50074fde2c21d1c99a9b3d571b98af09ad39fa025e261f75ef8f2a3d3bb42a4eac588ac51377fbffb7744a525c5f8b74ef6e98f275f566999945
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,16 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.27.0 (2024-09-24)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.26.0 (2024-09-23)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience.
         | 
| 13 | 
            +
             | 
| 4 14 | 
             
            1.25.0 (2024-09-20)
         | 
| 5 15 | 
             
            ------------------
         | 
| 6 16 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.27.0
         | 
| @@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb' | |
| 36 36 | 
             
            require 'aws-sdk-core/plugins/sign.rb'
         | 
| 37 37 | 
             
            require 'aws-sdk-core/plugins/protocols/rest_json.rb'
         | 
| 38 38 |  | 
| 39 | 
            -
            Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockagent)
         | 
| 40 | 
            -
             | 
| 41 39 | 
             
            module Aws::BedrockAgent
         | 
| 42 40 | 
             
              # An API client for BedrockAgent.  To construct a client, you need to configure a `:region` and `:credentials`.
         | 
| 43 41 | 
             
              #
         | 
| @@ -576,8 +574,8 @@ module Aws::BedrockAgent | |
| 576 574 | 
             
                #   A description of the agent.
         | 
| 577 575 | 
             
                #
         | 
| 578 576 | 
             
                # @option params [String] :foundation_model
         | 
| 579 | 
            -
                #   The foundation model to be used for | 
| 580 | 
            -
                #   create.
         | 
| 577 | 
            +
                #   The Amazon Resource Name (ARN) of the foundation model to be used for
         | 
| 578 | 
            +
                #   orchestration by the agent you create.
         | 
| 581 579 | 
             
                #
         | 
| 582 580 | 
             
                # @option params [Types::GuardrailConfiguration] :guardrail_configuration
         | 
| 583 581 | 
             
                #   The unique Guardrail configuration assigned to the agent when it is
         | 
| @@ -1376,7 +1374,7 @@ module Aws::BedrockAgent | |
| 1376 1374 | 
             
                #             },
         | 
| 1377 1375 | 
             
                #             knowledge_base: {
         | 
| 1378 1376 | 
             
                #               knowledge_base_id: "KnowledgeBaseId", # required
         | 
| 1379 | 
            -
                #               model_id: " | 
| 1377 | 
            +
                #               model_id: "KnowledgeBaseModelIdentifier",
         | 
| 1380 1378 | 
             
                #             },
         | 
| 1381 1379 | 
             
                #             lambda_function: {
         | 
| 1382 1380 | 
             
                #               lambda_arn: "LambdaArn", # required
         | 
| @@ -5136,7 +5134,7 @@ module Aws::BedrockAgent | |
| 5136 5134 | 
             
                #             },
         | 
| 5137 5135 | 
             
                #             knowledge_base: {
         | 
| 5138 5136 | 
             
                #               knowledge_base_id: "KnowledgeBaseId", # required
         | 
| 5139 | 
            -
                #               model_id: " | 
| 5137 | 
            +
                #               model_id: "KnowledgeBaseModelIdentifier",
         | 
| 5140 5138 | 
             
                #             },
         | 
| 5141 5139 | 
             
                #             lambda_function: {
         | 
| 5142 5140 | 
             
                #               lambda_arn: "LambdaArn", # required
         | 
| @@ -5675,7 +5673,7 @@ module Aws::BedrockAgent | |
| 5675 5673 | 
             
                    tracer: tracer
         | 
| 5676 5674 | 
             
                  )
         | 
| 5677 5675 | 
             
                  context[:gem_name] = 'aws-sdk-bedrockagent'
         | 
| 5678 | 
            -
                  context[:gem_version] = '1. | 
| 5676 | 
            +
                  context[:gem_version] = '1.27.0'
         | 
| 5679 5677 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 5680 5678 | 
             
                end
         | 
| 5681 5679 |  | 
| @@ -7,6 +7,7 @@ | |
| 7 7 | 
             
            #
         | 
| 8 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 9 9 |  | 
| 10 | 
            +
             | 
| 10 11 | 
             
            module Aws::BedrockAgent
         | 
| 11 12 | 
             
              # @api private
         | 
| 12 13 | 
             
              module ClientApi
         | 
| @@ -243,6 +244,7 @@ module Aws::BedrockAgent | |
| 243 244 | 
             
                KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
         | 
| 244 245 | 
             
                KnowledgeBaseFlowNodeConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseFlowNodeConfiguration')
         | 
| 245 246 | 
             
                KnowledgeBaseId = Shapes::StringShape.new(name: 'KnowledgeBaseId')
         | 
| 247 | 
            +
                KnowledgeBaseModelIdentifier = Shapes::StringShape.new(name: 'KnowledgeBaseModelIdentifier')
         | 
| 246 248 | 
             
                KnowledgeBaseRoleArn = Shapes::StringShape.new(name: 'KnowledgeBaseRoleArn')
         | 
| 247 249 | 
             
                KnowledgeBaseState = Shapes::StringShape.new(name: 'KnowledgeBaseState')
         | 
| 248 250 | 
             
                KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
         | 
| @@ -1336,7 +1338,7 @@ module Aws::BedrockAgent | |
| 1336 1338 | 
             
                KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
         | 
| 1337 1339 |  | 
| 1338 1340 | 
             
                KnowledgeBaseFlowNodeConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
         | 
| 1339 | 
            -
                KnowledgeBaseFlowNodeConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape:  | 
| 1341 | 
            +
                KnowledgeBaseFlowNodeConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape: KnowledgeBaseModelIdentifier, location_name: "modelId"))
         | 
| 1340 1342 | 
             
                KnowledgeBaseFlowNodeConfiguration.struct_class = Types::KnowledgeBaseFlowNodeConfiguration
         | 
| 1341 1343 |  | 
| 1342 1344 | 
             
                KnowledgeBaseSummaries.member = Shapes::ShapeRef.new(shape: KnowledgeBaseSummary)
         | 
| @@ -1409,8 +1409,8 @@ module Aws::BedrockAgent | |
| 1409 1409 | 
             
                #   @return [String]
         | 
| 1410 1410 | 
             
                #
         | 
| 1411 1411 | 
             
                # @!attribute [rw] foundation_model
         | 
| 1412 | 
            -
                #   The  | 
| 1413 | 
            -
                #   create.
         | 
| 1412 | 
            +
                #   The Amazon Resource Name (ARN) of the foundation model to be used
         | 
| 1413 | 
            +
                #   for orchestration by the agent you create.
         | 
| 1414 1414 | 
             
                #   @return [String]
         | 
| 1415 1415 | 
             
                #
         | 
| 1416 1416 | 
             
                # @!attribute [rw] guardrail_configuration
         | 
| @@ -4592,9 +4592,13 @@ module Aws::BedrockAgent | |
| 4592 4592 | 
             
                #   @return [String]
         | 
| 4593 4593 | 
             
                #
         | 
| 4594 4594 | 
             
                # @!attribute [rw] model_id
         | 
| 4595 | 
            -
                #   The unique identifier of the model  | 
| 4596 | 
            -
                #   from the query results. Omit this field if | 
| 4597 | 
            -
                #   retrieved results as an array.
         | 
| 4595 | 
            +
                #   The unique identifier of the model or [inference profile][1] to use
         | 
| 4596 | 
            +
                #   to generate a response from the query results. Omit this field if
         | 
| 4597 | 
            +
                #   you want to return the retrieved results as an array.
         | 
| 4598 | 
            +
                #
         | 
| 4599 | 
            +
                #
         | 
| 4600 | 
            +
                #
         | 
| 4601 | 
            +
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
         | 
| 4598 4602 | 
             
                #   @return [String]
         | 
| 4599 4603 | 
             
                #
         | 
| 4600 4604 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBaseFlowNodeConfiguration AWS API Documentation
         | 
| @@ -5891,7 +5895,12 @@ module Aws::BedrockAgent | |
| 5891 5895 | 
             
                #   @return [Types::PromptInferenceConfiguration]
         | 
| 5892 5896 | 
             
                #
         | 
| 5893 5897 | 
             
                # @!attribute [rw] model_id
         | 
| 5894 | 
            -
                #   The unique identifier of the model to run | 
| 5898 | 
            +
                #   The unique identifier of the model or [inference profile][1] to run
         | 
| 5899 | 
            +
                #   inference with.
         | 
| 5900 | 
            +
                #
         | 
| 5901 | 
            +
                #
         | 
| 5902 | 
            +
                #
         | 
| 5903 | 
            +
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
         | 
| 5895 5904 | 
             
                #   @return [String]
         | 
| 5896 5905 | 
             
                #
         | 
| 5897 5906 | 
             
                # @!attribute [rw] template_configuration
         | 
| @@ -6077,8 +6086,8 @@ module Aws::BedrockAgent | |
| 6077 6086 | 
             
                #   foundation model output in parts of the agent sequence. If you
         | 
| 6078 6087 | 
             
                #   specify this field, at least one of the `promptConfigurations` must
         | 
| 6079 6088 | 
             
                #   contain a `parserMode` value that is set to `OVERRIDDEN`. For more
         | 
| 6080 | 
            -
                #   information, see [Parser Lambda function in  | 
| 6081 | 
            -
                #    | 
| 6089 | 
            +
                #   information, see [Parser Lambda function in Amazon Bedrock
         | 
| 6090 | 
            +
                #   Agents][1].
         | 
| 6082 6091 | 
             
                #
         | 
| 6083 6092 | 
             
                #
         | 
| 6084 6093 | 
             
                #
         | 
| @@ -6203,8 +6212,12 @@ module Aws::BedrockAgent | |
| 6203 6212 | 
             
                #   @return [Array<Types::PromptMetadataEntry>]
         | 
| 6204 6213 | 
             
                #
         | 
| 6205 6214 | 
             
                # @!attribute [rw] model_id
         | 
| 6206 | 
            -
                #   The unique identifier of the model  | 
| 6207 | 
            -
                #   the prompt.
         | 
| 6215 | 
            +
                #   The unique identifier of the model or [inference profile][1] with
         | 
| 6216 | 
            +
                #   which to run inference on the prompt.
         | 
| 6217 | 
            +
                #
         | 
| 6218 | 
            +
                #
         | 
| 6219 | 
            +
                #
         | 
| 6220 | 
            +
                #   [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
         | 
| 6208 6221 | 
             
                #   @return [String]
         | 
| 6209 6222 | 
             
                #
         | 
| 6210 6223 | 
             
                # @!attribute [rw] name
         | 
| @@ -7942,3 +7955,4 @@ module Aws::BedrockAgent | |
| 7942 7955 |  | 
| 7943 7956 | 
             
              end
         | 
| 7944 7957 | 
             
            end
         | 
| 7958 | 
            +
             | 
    
        data/lib/aws-sdk-bedrockagent.rb
    CHANGED
    
    | @@ -11,16 +11,7 @@ | |
| 11 11 | 
             
            require 'aws-sdk-core'
         | 
| 12 12 | 
             
            require 'aws-sigv4'
         | 
| 13 13 |  | 
| 14 | 
            -
             | 
| 15 | 
            -
            require_relative 'aws-sdk-bedrockagent/client_api'
         | 
| 16 | 
            -
            require_relative 'aws-sdk-bedrockagent/plugins/endpoints.rb'
         | 
| 17 | 
            -
            require_relative 'aws-sdk-bedrockagent/client'
         | 
| 18 | 
            -
            require_relative 'aws-sdk-bedrockagent/errors'
         | 
| 19 | 
            -
            require_relative 'aws-sdk-bedrockagent/resource'
         | 
| 20 | 
            -
            require_relative 'aws-sdk-bedrockagent/endpoint_parameters'
         | 
| 21 | 
            -
            require_relative 'aws-sdk-bedrockagent/endpoint_provider'
         | 
| 22 | 
            -
            require_relative 'aws-sdk-bedrockagent/endpoints'
         | 
| 23 | 
            -
            require_relative 'aws-sdk-bedrockagent/customizations'
         | 
| 14 | 
            +
            Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockagent)
         | 
| 24 15 |  | 
| 25 16 | 
             
            # This module provides support for Agents for Amazon Bedrock. This module is available in the
         | 
| 26 17 | 
             
            # `aws-sdk-bedrockagent` gem.
         | 
| @@ -51,7 +42,20 @@ require_relative 'aws-sdk-bedrockagent/customizations' | |
| 51 42 | 
             
            #
         | 
| 52 43 | 
             
            # @!group service
         | 
| 53 44 | 
             
            module Aws::BedrockAgent
         | 
| 45 | 
            +
              autoload :Types, 'aws-sdk-bedrockagent/types'
         | 
| 46 | 
            +
              autoload :ClientApi, 'aws-sdk-bedrockagent/client_api'
         | 
| 47 | 
            +
              module Plugins
         | 
| 48 | 
            +
                autoload :Endpoints, 'aws-sdk-bedrockagent/plugins/endpoints.rb'
         | 
| 49 | 
            +
              end
         | 
| 50 | 
            +
              autoload :Client, 'aws-sdk-bedrockagent/client'
         | 
| 51 | 
            +
              autoload :Errors, 'aws-sdk-bedrockagent/errors'
         | 
| 52 | 
            +
              autoload :Resource, 'aws-sdk-bedrockagent/resource'
         | 
| 53 | 
            +
              autoload :EndpointParameters, 'aws-sdk-bedrockagent/endpoint_parameters'
         | 
| 54 | 
            +
              autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
         | 
| 55 | 
            +
              autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
         | 
| 54 56 |  | 
| 55 | 
            -
              GEM_VERSION = '1. | 
| 57 | 
            +
              GEM_VERSION = '1.27.0'
         | 
| 56 58 |  | 
| 57 59 | 
             
            end
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            require_relative 'aws-sdk-bedrockagent/customizations'
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-bedrockagent
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.27.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: 2024-09- | 
| 11 | 
            +
            date: 2024-09-24 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |