aws-sdk-bedrockagent 1.35.0 → 1.37.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: ffe38b005a8585f78c3c55f5e18c49a36d5439d61110145fe4d05fe161ebd5d4
4
- data.tar.gz: 2ee04af5139f9e7741978464939fa13c4866fbb1b66468a220dace2b2f19d946
3
+ metadata.gz: 62aabacc0f7bb03f79fded448983e6fc05f87a572fe1b2546c03a8f948cf3426
4
+ data.tar.gz: 5dccda9a7e64f851d9269fa0fc7d52b1a90e37293e8d033773de1a51ec5887b8
5
5
  SHA512:
6
- metadata.gz: 2f2e71c7b1f2ef26808b8521ead7296a281200239b4ba4e2e382a82c16349621ffa299b8cca76252142016280b3b0d040d85f693f3dbdb4bb7276628655b55c1
7
- data.tar.gz: 303b5f96520c6eb9cad681d47bdce8ff623c9b169490989da5f33639e81252e3d00bc9c199d68e0a086bbfd7eb98f45b5b96011782bead587daebb0ea21279e2
6
+ metadata.gz: 61b190ef91e15c245c12bf9a54fea19501df996fb43c1ac9faa886b3658ce9af6cd72e5423ce74416c3d48f9badca8f804903ba5059069e293fb1fab7e1c47d5
7
+ data.tar.gz: dbbea97fa25a90e5c6b23779c422d8980bc911d8cdec04b2b8b1b64ec89b87e9eeac470fbd0b3322cfe3a4b8b4c2c544bd8b3c8dba8163ff782036bfe957b899
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2024-11-27)
5
+ ------------------
6
+
7
+ * Feature - Add support for specifying embeddingDataType, either FLOAT32 or BINARY
8
+
9
+ 1.36.0 (2024-11-26)
10
+ ------------------
11
+
12
+ * Feature - Custom Orchestration API release for AWSBedrockAgents.
13
+
4
14
  1.35.0 (2024-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.0
@@ -565,6 +565,9 @@ module Aws::BedrockAgent
565
565
  #
566
566
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
567
567
  #
568
+ # @option params [Types::CustomOrchestration] :custom_orchestration
569
+ # Contains details of the custom orchestration configured for the agent.
570
+ #
568
571
  # @option params [String] :customer_encryption_key_arn
569
572
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
570
573
  # the agent.
@@ -630,6 +633,10 @@ module Aws::BedrockAgent
630
633
  # @option params [Types::MemoryConfiguration] :memory_configuration
631
634
  # Contains the details of the memory configured for the agent.
632
635
  #
636
+ # @option params [String] :orchestration_type
637
+ # Specifies the type of orchestration strategy for the agent. This is
638
+ # set to `DEFAULT` orchestration type, by default.
639
+ #
633
640
  # @option params [Types::PromptOverrideConfiguration] :prompt_override_configuration
634
641
  # Contains configurations to override prompts in different parts of an
635
642
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -651,6 +658,11 @@ module Aws::BedrockAgent
651
658
  # agent_name: "Name", # required
652
659
  # agent_resource_role_arn: "AgentRoleArn",
653
660
  # client_token: "ClientToken",
661
+ # custom_orchestration: {
662
+ # executor: {
663
+ # lambda: "LambdaArn",
664
+ # },
665
+ # },
654
666
  # customer_encryption_key_arn: "KmsKeyArn",
655
667
  # description: "Description",
656
668
  # foundation_model: "ModelIdentifier",
@@ -664,6 +676,7 @@ module Aws::BedrockAgent
664
676
  # enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
665
677
  # storage_days: 1,
666
678
  # },
679
+ # orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
667
680
  # prompt_override_configuration: {
668
681
  # override_lambda: "LambdaArn",
669
682
  # prompt_configurations: [ # required
@@ -698,6 +711,7 @@ module Aws::BedrockAgent
698
711
  # resp.agent.agent_version #=> String
699
712
  # resp.agent.client_token #=> String
700
713
  # resp.agent.created_at #=> Time
714
+ # resp.agent.custom_orchestration.executor.lambda #=> String
701
715
  # resp.agent.customer_encryption_key_arn #=> String
702
716
  # resp.agent.description #=> String
703
717
  # resp.agent.failure_reasons #=> Array
@@ -710,6 +724,7 @@ module Aws::BedrockAgent
710
724
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
711
725
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
712
726
  # resp.agent.memory_configuration.storage_days #=> Integer
727
+ # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
713
728
  # resp.agent.prepared_at #=> Time
714
729
  # resp.agent.prompt_override_configuration.override_lambda #=> String
715
730
  # resp.agent.prompt_override_configuration.prompt_configurations #=> Array
@@ -1935,6 +1950,7 @@ module Aws::BedrockAgent
1935
1950
  # embedding_model_configuration: {
1936
1951
  # bedrock_embedding_model_configuration: {
1937
1952
  # dimensions: 1,
1953
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
1938
1954
  # },
1939
1955
  # },
1940
1956
  # },
@@ -2012,6 +2028,7 @@ module Aws::BedrockAgent
2012
2028
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
2013
2029
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2014
2030
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2031
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
2015
2032
  # resp.knowledge_base.knowledge_base_id #=> String
2016
2033
  # resp.knowledge_base.name #=> String
2017
2034
  # resp.knowledge_base.role_arn #=> String
@@ -2814,6 +2831,7 @@ module Aws::BedrockAgent
2814
2831
  # resp.agent.agent_version #=> String
2815
2832
  # resp.agent.client_token #=> String
2816
2833
  # resp.agent.created_at #=> Time
2834
+ # resp.agent.custom_orchestration.executor.lambda #=> String
2817
2835
  # resp.agent.customer_encryption_key_arn #=> String
2818
2836
  # resp.agent.description #=> String
2819
2837
  # resp.agent.failure_reasons #=> Array
@@ -2826,6 +2844,7 @@ module Aws::BedrockAgent
2826
2844
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
2827
2845
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
2828
2846
  # resp.agent.memory_configuration.storage_days #=> Integer
2847
+ # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
2829
2848
  # resp.agent.prepared_at #=> Time
2830
2849
  # resp.agent.prompt_override_configuration.override_lambda #=> String
2831
2850
  # resp.agent.prompt_override_configuration.prompt_configurations #=> Array
@@ -3573,6 +3592,7 @@ module Aws::BedrockAgent
3573
3592
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
3574
3593
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
3575
3594
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
3595
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
3576
3596
  # resp.knowledge_base.knowledge_base_id #=> String
3577
3597
  # resp.knowledge_base.name #=> String
3578
3598
  # resp.knowledge_base.role_arn #=> String
@@ -4698,6 +4718,9 @@ module Aws::BedrockAgent
4698
4718
  # The Amazon Resource Name (ARN) of the IAM role with permissions to
4699
4719
  # invoke API operations on the agent.
4700
4720
  #
4721
+ # @option params [Types::CustomOrchestration] :custom_orchestration
4722
+ # Contains details of the custom orchestration configured for the agent.
4723
+ #
4701
4724
  # @option params [String] :customer_encryption_key_arn
4702
4725
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
4703
4726
  # the agent.
@@ -4763,6 +4786,10 @@ module Aws::BedrockAgent
4763
4786
  # @option params [Types::MemoryConfiguration] :memory_configuration
4764
4787
  # Specifies the new memory configuration for the agent.
4765
4788
  #
4789
+ # @option params [String] :orchestration_type
4790
+ # Specifies the type of orchestration strategy for the agent. This is
4791
+ # set to `DEFAULT` orchestration type, by default.
4792
+ #
4766
4793
  # @option params [Types::PromptOverrideConfiguration] :prompt_override_configuration
4767
4794
  # Contains configurations to override prompts in different parts of an
4768
4795
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -4781,6 +4808,11 @@ module Aws::BedrockAgent
4781
4808
  # agent_id: "Id", # required
4782
4809
  # agent_name: "Name", # required
4783
4810
  # agent_resource_role_arn: "AgentRoleArn", # required
4811
+ # custom_orchestration: {
4812
+ # executor: {
4813
+ # lambda: "LambdaArn",
4814
+ # },
4815
+ # },
4784
4816
  # customer_encryption_key_arn: "KmsKeyArn",
4785
4817
  # description: "Description",
4786
4818
  # foundation_model: "ModelIdentifier", # required
@@ -4794,6 +4826,7 @@ module Aws::BedrockAgent
4794
4826
  # enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
4795
4827
  # storage_days: 1,
4796
4828
  # },
4829
+ # orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
4797
4830
  # prompt_override_configuration: {
4798
4831
  # override_lambda: "LambdaArn",
4799
4832
  # prompt_configurations: [ # required
@@ -4825,6 +4858,7 @@ module Aws::BedrockAgent
4825
4858
  # resp.agent.agent_version #=> String
4826
4859
  # resp.agent.client_token #=> String
4827
4860
  # resp.agent.created_at #=> Time
4861
+ # resp.agent.custom_orchestration.executor.lambda #=> String
4828
4862
  # resp.agent.customer_encryption_key_arn #=> String
4829
4863
  # resp.agent.description #=> String
4830
4864
  # resp.agent.failure_reasons #=> Array
@@ -4837,6 +4871,7 @@ module Aws::BedrockAgent
4837
4871
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
4838
4872
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
4839
4873
  # resp.agent.memory_configuration.storage_days #=> Integer
4874
+ # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
4840
4875
  # resp.agent.prepared_at #=> Time
4841
4876
  # resp.agent.prompt_override_configuration.override_lambda #=> String
4842
4877
  # resp.agent.prompt_override_configuration.prompt_configurations #=> Array
@@ -5839,6 +5874,7 @@ module Aws::BedrockAgent
5839
5874
  # embedding_model_configuration: {
5840
5875
  # bedrock_embedding_model_configuration: {
5841
5876
  # dimensions: 1,
5877
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
5842
5878
  # },
5843
5879
  # },
5844
5880
  # },
@@ -5914,6 +5950,7 @@ module Aws::BedrockAgent
5914
5950
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
5915
5951
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
5916
5952
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
5953
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
5917
5954
  # resp.knowledge_base.knowledge_base_id #=> String
5918
5955
  # resp.knowledge_base.name #=> String
5919
5956
  # resp.knowledge_base.role_arn #=> String
@@ -6404,7 +6441,7 @@ module Aws::BedrockAgent
6404
6441
  tracer: tracer
6405
6442
  )
6406
6443
  context[:gem_name] = 'aws-sdk-bedrockagent'
6407
- context[:gem_version] = '1.35.0'
6444
+ context[:gem_version] = '1.37.0'
6408
6445
  Seahorse::Client::Request.new(handlers, context)
6409
6446
  end
6410
6447
 
@@ -96,6 +96,7 @@ module Aws::BedrockAgent
96
96
  CreatePromptVersionResponse = Shapes::StructureShape.new(name: 'CreatePromptVersionResponse')
97
97
  CreationMode = Shapes::StringShape.new(name: 'CreationMode')
98
98
  CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
99
+ CustomOrchestration = Shapes::StructureShape.new(name: 'CustomOrchestration')
99
100
  CustomTransformationConfiguration = Shapes::StructureShape.new(name: 'CustomTransformationConfiguration')
100
101
  CyclicConnectionFlowValidationDetails = Shapes::StructureShape.new(name: 'CyclicConnectionFlowValidationDetails')
101
102
  DataDeletionPolicy = Shapes::StringShape.new(name: 'DataDeletionPolicy')
@@ -134,6 +135,7 @@ module Aws::BedrockAgent
134
135
  DraftVersion = Shapes::StringShape.new(name: 'DraftVersion')
135
136
  DuplicateConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConditionExpressionFlowValidationDetails')
136
137
  DuplicateConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConnectionsFlowValidationDetails')
138
+ EmbeddingDataType = Shapes::StringShape.new(name: 'EmbeddingDataType')
137
139
  EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
138
140
  EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
139
141
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -333,6 +335,8 @@ module Aws::BedrockAgent
333
335
  OpenSearchServerlessConfiguration = Shapes::StructureShape.new(name: 'OpenSearchServerlessConfiguration')
334
336
  OpenSearchServerlessFieldMapping = Shapes::StructureShape.new(name: 'OpenSearchServerlessFieldMapping')
335
337
  OpenSearchServerlessIndexName = Shapes::StringShape.new(name: 'OpenSearchServerlessIndexName')
338
+ OrchestrationExecutor = Shapes::UnionShape.new(name: 'OrchestrationExecutor')
339
+ OrchestrationType = Shapes::StringShape.new(name: 'OrchestrationType')
336
340
  OutputFlowNodeConfiguration = Shapes::StructureShape.new(name: 'OutputFlowNodeConfiguration')
337
341
  ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
338
342
  ParameterDetail = Shapes::StructureShape.new(name: 'ParameterDetail')
@@ -557,6 +561,7 @@ module Aws::BedrockAgent
557
561
  Agent.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location_name: "agentVersion"))
558
562
  Agent.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
559
563
  Agent.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
564
+ Agent.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
560
565
  Agent.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
561
566
  Agent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
562
567
  Agent.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
@@ -565,6 +570,7 @@ module Aws::BedrockAgent
565
570
  Agent.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, required: true, location_name: "idleSessionTTLInSeconds"))
566
571
  Agent.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
567
572
  Agent.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
573
+ Agent.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
568
574
  Agent.add_member(:prepared_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "preparedAt"))
569
575
  Agent.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
570
576
  Agent.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
@@ -701,6 +707,7 @@ module Aws::BedrockAgent
701
707
  AutoToolChoice.struct_class = Types::AutoToolChoice
702
708
 
703
709
  BedrockEmbeddingModelConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
710
+ BedrockEmbeddingModelConfiguration.add_member(:embedding_data_type, Shapes::ShapeRef.new(shape: EmbeddingDataType, location_name: "embeddingDataType"))
704
711
  BedrockEmbeddingModelConfiguration.struct_class = Types::BedrockEmbeddingModelConfiguration
705
712
 
706
713
  BedrockFoundationModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
@@ -781,6 +788,7 @@ module Aws::BedrockAgent
781
788
  CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
782
789
  CreateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, location_name: "agentResourceRoleArn"))
783
790
  CreateAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
791
+ CreateAgentRequest.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
784
792
  CreateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
785
793
  CreateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
786
794
  CreateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
@@ -788,6 +796,7 @@ module Aws::BedrockAgent
788
796
  CreateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
789
797
  CreateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
790
798
  CreateAgentRequest.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
799
+ CreateAgentRequest.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
791
800
  CreateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
792
801
  CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
793
802
  CreateAgentRequest.struct_class = Types::CreateAgentRequest
@@ -916,6 +925,9 @@ module Aws::BedrockAgent
916
925
  CreatePromptVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
917
926
  CreatePromptVersionResponse.struct_class = Types::CreatePromptVersionResponse
918
927
 
928
+ CustomOrchestration.add_member(:executor, Shapes::ShapeRef.new(shape: OrchestrationExecutor, location_name: "executor"))
929
+ CustomOrchestration.struct_class = Types::CustomOrchestration
930
+
919
931
  CustomTransformationConfiguration.add_member(:intermediate_storage, Shapes::ShapeRef.new(shape: IntermediateStorage, required: true, location_name: "intermediateStorage"))
920
932
  CustomTransformationConfiguration.add_member(:transformations, Shapes::ShapeRef.new(shape: Transformations, required: true, location_name: "transformations"))
921
933
  CustomTransformationConfiguration.struct_class = Types::CustomTransformationConfiguration
@@ -1695,6 +1707,12 @@ module Aws::BedrockAgent
1695
1707
  OpenSearchServerlessFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
1696
1708
  OpenSearchServerlessFieldMapping.struct_class = Types::OpenSearchServerlessFieldMapping
1697
1709
 
1710
+ OrchestrationExecutor.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "lambda"))
1711
+ OrchestrationExecutor.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1712
+ OrchestrationExecutor.add_member_subclass(:lambda, Types::OrchestrationExecutor::Lambda)
1713
+ OrchestrationExecutor.add_member_subclass(:unknown, Types::OrchestrationExecutor::Unknown)
1714
+ OrchestrationExecutor.struct_class = Types::OrchestrationExecutor
1715
+
1698
1716
  OutputFlowNodeConfiguration.struct_class = Types::OutputFlowNodeConfiguration
1699
1717
 
1700
1718
  ParameterDetail.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "description"))
@@ -2131,6 +2149,7 @@ module Aws::BedrockAgent
2131
2149
  UpdateAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
2132
2150
  UpdateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
2133
2151
  UpdateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
2152
+ UpdateAgentRequest.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
2134
2153
  UpdateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
2135
2154
  UpdateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2136
2155
  UpdateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location_name: "foundationModel"))
@@ -2138,6 +2157,7 @@ module Aws::BedrockAgent
2138
2157
  UpdateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
2139
2158
  UpdateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
2140
2159
  UpdateAgentRequest.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
2160
+ UpdateAgentRequest.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
2141
2161
  UpdateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
2142
2162
  UpdateAgentRequest.struct_class = Types::UpdateAgentRequest
2143
2163
 
@@ -201,6 +201,10 @@ module Aws::BedrockAgent
201
201
  # The time at which the agent was created.
202
202
  # @return [Time]
203
203
  #
204
+ # @!attribute [rw] custom_orchestration
205
+ # Contains custom orchestration configurations for the agent.
206
+ # @return [Types::CustomOrchestration]
207
+ #
204
208
  # @!attribute [rw] customer_encryption_key_arn
205
209
  # The Amazon Resource Name (ARN) of the KMS key that encrypts the
206
210
  # agent.
@@ -240,6 +244,10 @@ module Aws::BedrockAgent
240
244
  # Contains memory configuration for the agent.
241
245
  # @return [Types::MemoryConfiguration]
242
246
  #
247
+ # @!attribute [rw] orchestration_type
248
+ # Specifies the orchestration strategy for the agent.
249
+ # @return [String]
250
+ #
243
251
  # @!attribute [rw] prepared_at
244
252
  # The time at which the agent was last prepared.
245
253
  # @return [Time]
@@ -274,6 +282,7 @@ module Aws::BedrockAgent
274
282
  :agent_version,
275
283
  :client_token,
276
284
  :created_at,
285
+ :custom_orchestration,
277
286
  :customer_encryption_key_arn,
278
287
  :description,
279
288
  :failure_reasons,
@@ -282,6 +291,7 @@ module Aws::BedrockAgent
282
291
  :idle_session_ttl_in_seconds,
283
292
  :instruction,
284
293
  :memory_configuration,
294
+ :orchestration_type,
285
295
  :prepared_at,
286
296
  :prompt_override_configuration,
287
297
  :recommended_actions,
@@ -987,10 +997,24 @@ module Aws::BedrockAgent
987
997
  # Bedrock embeddings model.
988
998
  # @return [Integer]
989
999
  #
1000
+ # @!attribute [rw] embedding_data_type
1001
+ # The data type for the vectors when using a model to convert text
1002
+ # into vector embeddings. The model must support the specified data
1003
+ # type for vector embeddings. Floating-point (float32) is the default
1004
+ # data type, and is supported by most models for vector embeddings.
1005
+ # See [Supported embeddings models][1] for information on the
1006
+ # available models and their vector data types.
1007
+ #
1008
+ #
1009
+ #
1010
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html
1011
+ # @return [String]
1012
+ #
990
1013
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockEmbeddingModelConfiguration AWS API Documentation
991
1014
  #
992
1015
  class BedrockEmbeddingModelConfiguration < Struct.new(
993
- :dimensions)
1016
+ :dimensions,
1017
+ :embedding_data_type)
994
1018
  SENSITIVE = []
995
1019
  include Aws::Structure
996
1020
  end
@@ -1494,6 +1518,11 @@ module Aws::BedrockAgent
1494
1518
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1495
1519
  # @return [String]
1496
1520
  #
1521
+ # @!attribute [rw] custom_orchestration
1522
+ # Contains details of the custom orchestration configured for the
1523
+ # agent.
1524
+ # @return [Types::CustomOrchestration]
1525
+ #
1497
1526
  # @!attribute [rw] customer_encryption_key_arn
1498
1527
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
1499
1528
  # the agent.
@@ -1566,6 +1595,11 @@ module Aws::BedrockAgent
1566
1595
  # Contains the details of the memory configured for the agent.
1567
1596
  # @return [Types::MemoryConfiguration]
1568
1597
  #
1598
+ # @!attribute [rw] orchestration_type
1599
+ # Specifies the type of orchestration strategy for the agent. This is
1600
+ # set to `DEFAULT` orchestration type, by default.
1601
+ # @return [String]
1602
+ #
1569
1603
  # @!attribute [rw] prompt_override_configuration
1570
1604
  # Contains configurations to override prompts in different parts of an
1571
1605
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -1585,6 +1619,7 @@ module Aws::BedrockAgent
1585
1619
  :agent_name,
1586
1620
  :agent_resource_role_arn,
1587
1621
  :client_token,
1622
+ :custom_orchestration,
1588
1623
  :customer_encryption_key_arn,
1589
1624
  :description,
1590
1625
  :foundation_model,
@@ -1592,6 +1627,7 @@ module Aws::BedrockAgent
1592
1627
  :idle_session_ttl_in_seconds,
1593
1628
  :instruction,
1594
1629
  :memory_configuration,
1630
+ :orchestration_type,
1595
1631
  :prompt_override_configuration,
1596
1632
  :tags)
1597
1633
  SENSITIVE = [:instruction, :prompt_override_configuration]
@@ -2326,6 +2362,21 @@ module Aws::BedrockAgent
2326
2362
  include Aws::Structure
2327
2363
  end
2328
2364
 
2365
+ # Details of custom orchestration.
2366
+ #
2367
+ # @!attribute [rw] executor
2368
+ # The structure of the executor invoking the actions in custom
2369
+ # orchestration.
2370
+ # @return [Types::OrchestrationExecutor]
2371
+ #
2372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CustomOrchestration AWS API Documentation
2373
+ #
2374
+ class CustomOrchestration < Struct.new(
2375
+ :executor)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2329
2380
  # Settings for customizing steps in the data source content ingestion
2330
2381
  # pipeline.
2331
2382
  #
@@ -6105,6 +6156,32 @@ module Aws::BedrockAgent
6105
6156
  include Aws::Structure
6106
6157
  end
6107
6158
 
6159
+ # Contains details about the Lambda function containing the
6160
+ # orchestration logic carried out upon invoking the custom
6161
+ # orchestration.
6162
+ #
6163
+ # @note OrchestrationExecutor is a union - when making an API calls you must set exactly one of the members.
6164
+ #
6165
+ # @note OrchestrationExecutor is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OrchestrationExecutor corresponding to the set member.
6166
+ #
6167
+ # @!attribute [rw] lambda
6168
+ # The Amazon Resource Name (ARN) of the Lambda function containing the
6169
+ # business logic that is carried out upon invoking the action.
6170
+ # @return [String]
6171
+ #
6172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/OrchestrationExecutor AWS API Documentation
6173
+ #
6174
+ class OrchestrationExecutor < Struct.new(
6175
+ :lambda,
6176
+ :unknown)
6177
+ SENSITIVE = []
6178
+ include Aws::Structure
6179
+ include Aws::Structure::Union
6180
+
6181
+ class Lambda < OrchestrationExecutor; end
6182
+ class Unknown < OrchestrationExecutor; end
6183
+ end
6184
+
6108
6185
  # Contains configurations for an output flow node in the flow. You
6109
6186
  # specify the data type expected for the input into the node in the
6110
6187
  # `type` field and how to return the final output in the `expression`
@@ -8330,6 +8407,11 @@ module Aws::BedrockAgent
8330
8407
  # invoke API operations on the agent.
8331
8408
  # @return [String]
8332
8409
  #
8410
+ # @!attribute [rw] custom_orchestration
8411
+ # Contains details of the custom orchestration configured for the
8412
+ # agent.
8413
+ # @return [Types::CustomOrchestration]
8414
+ #
8333
8415
  # @!attribute [rw] customer_encryption_key_arn
8334
8416
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
8335
8417
  # the agent.
@@ -8402,6 +8484,11 @@ module Aws::BedrockAgent
8402
8484
  # Specifies the new memory configuration for the agent.
8403
8485
  # @return [Types::MemoryConfiguration]
8404
8486
  #
8487
+ # @!attribute [rw] orchestration_type
8488
+ # Specifies the type of orchestration strategy for the agent. This is
8489
+ # set to `DEFAULT` orchestration type, by default.
8490
+ # @return [String]
8491
+ #
8405
8492
  # @!attribute [rw] prompt_override_configuration
8406
8493
  # Contains configurations to override prompts in different parts of an
8407
8494
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -8417,6 +8504,7 @@ module Aws::BedrockAgent
8417
8504
  :agent_id,
8418
8505
  :agent_name,
8419
8506
  :agent_resource_role_arn,
8507
+ :custom_orchestration,
8420
8508
  :customer_encryption_key_arn,
8421
8509
  :description,
8422
8510
  :foundation_model,
@@ -8424,6 +8512,7 @@ module Aws::BedrockAgent
8424
8512
  :idle_session_ttl_in_seconds,
8425
8513
  :instruction,
8426
8514
  :memory_configuration,
8515
+ :orchestration_type,
8427
8516
  :prompt_override_configuration)
8428
8517
  SENSITIVE = [:instruction, :prompt_override_configuration]
8429
8518
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.35.0'
57
+ GEM_VERSION = '1.37.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -98,6 +98,11 @@ module Aws
98
98
  agent_name: ::String,
99
99
  ?agent_resource_role_arn: ::String,
100
100
  ?client_token: ::String,
101
+ ?custom_orchestration: {
102
+ executor: {
103
+ lambda: ::String?
104
+ }?
105
+ },
101
106
  ?customer_encryption_key_arn: ::String,
102
107
  ?description: ::String,
103
108
  ?foundation_model: ::String,
@@ -111,6 +116,7 @@ module Aws
111
116
  enabled_memory_types: Array[("SESSION_SUMMARY")],
112
117
  storage_days: ::Integer?
113
118
  },
119
+ ?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
114
120
  ?prompt_override_configuration: {
115
121
  override_lambda: ::String?,
116
122
  prompt_configurations: Array[
@@ -608,7 +614,8 @@ module Aws
608
614
  embedding_model_arn: ::String,
609
615
  embedding_model_configuration: {
610
616
  bedrock_embedding_model_configuration: {
611
- dimensions: ::Integer?
617
+ dimensions: ::Integer?,
618
+ embedding_data_type: ("FLOAT32" | "BINARY")?
612
619
  }?
613
620
  }?
614
621
  }?
@@ -1361,6 +1368,11 @@ module Aws
1361
1368
  agent_id: ::String,
1362
1369
  agent_name: ::String,
1363
1370
  agent_resource_role_arn: ::String,
1371
+ ?custom_orchestration: {
1372
+ executor: {
1373
+ lambda: ::String?
1374
+ }?
1375
+ },
1364
1376
  ?customer_encryption_key_arn: ::String,
1365
1377
  ?description: ::String,
1366
1378
  foundation_model: ::String,
@@ -1374,6 +1386,7 @@ module Aws
1374
1386
  enabled_memory_types: Array[("SESSION_SUMMARY")],
1375
1387
  storage_days: ::Integer?
1376
1388
  },
1389
+ ?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
1377
1390
  ?prompt_override_configuration: {
1378
1391
  override_lambda: ::String?,
1379
1392
  prompt_configurations: Array[
@@ -1859,7 +1872,8 @@ module Aws
1859
1872
  embedding_model_arn: ::String,
1860
1873
  embedding_model_configuration: {
1861
1874
  bedrock_embedding_model_configuration: {
1862
- dimensions: ::Integer?
1875
+ dimensions: ::Integer?,
1876
+ embedding_data_type: ("FLOAT32" | "BINARY")?
1863
1877
  }?
1864
1878
  }?
1865
1879
  }?
data/sig/types.rbs CHANGED
@@ -59,6 +59,7 @@ module Aws::BedrockAgent
59
59
  attr_accessor agent_version: ::String
60
60
  attr_accessor client_token: ::String
61
61
  attr_accessor created_at: ::Time
62
+ attr_accessor custom_orchestration: Types::CustomOrchestration
62
63
  attr_accessor customer_encryption_key_arn: ::String
63
64
  attr_accessor description: ::String
64
65
  attr_accessor failure_reasons: ::Array[::String]
@@ -67,6 +68,7 @@ module Aws::BedrockAgent
67
68
  attr_accessor idle_session_ttl_in_seconds: ::Integer
68
69
  attr_accessor instruction: ::String
69
70
  attr_accessor memory_configuration: Types::MemoryConfiguration
71
+ attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
70
72
  attr_accessor prepared_at: ::Time
71
73
  attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
72
74
  attr_accessor recommended_actions: ::Array[::String]
@@ -221,6 +223,7 @@ module Aws::BedrockAgent
221
223
 
222
224
  class BedrockEmbeddingModelConfiguration
223
225
  attr_accessor dimensions: ::Integer
226
+ attr_accessor embedding_data_type: ("FLOAT32" | "BINARY")
224
227
  SENSITIVE: []
225
228
  end
226
229
 
@@ -333,6 +336,7 @@ module Aws::BedrockAgent
333
336
  attr_accessor agent_name: ::String
334
337
  attr_accessor agent_resource_role_arn: ::String
335
338
  attr_accessor client_token: ::String
339
+ attr_accessor custom_orchestration: Types::CustomOrchestration
336
340
  attr_accessor customer_encryption_key_arn: ::String
337
341
  attr_accessor description: ::String
338
342
  attr_accessor foundation_model: ::String
@@ -340,6 +344,7 @@ module Aws::BedrockAgent
340
344
  attr_accessor idle_session_ttl_in_seconds: ::Integer
341
345
  attr_accessor instruction: ::String
342
346
  attr_accessor memory_configuration: Types::MemoryConfiguration
347
+ attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
343
348
  attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
344
349
  attr_accessor tags: ::Hash[::String, ::String]
345
350
  SENSITIVE: [:instruction, :prompt_override_configuration]
@@ -499,6 +504,11 @@ module Aws::BedrockAgent
499
504
  SENSITIVE: [:variants]
500
505
  end
501
506
 
507
+ class CustomOrchestration
508
+ attr_accessor executor: Types::OrchestrationExecutor
509
+ SENSITIVE: []
510
+ end
511
+
502
512
  class CustomTransformationConfiguration
503
513
  attr_accessor intermediate_storage: Types::IntermediateStorage
504
514
  attr_accessor transformations: ::Array[Types::Transformation]
@@ -1552,6 +1562,17 @@ module Aws::BedrockAgent
1552
1562
  SENSITIVE: []
1553
1563
  end
1554
1564
 
1565
+ class OrchestrationExecutor
1566
+ attr_accessor lambda: ::String
1567
+ attr_accessor unknown: untyped
1568
+ SENSITIVE: []
1569
+
1570
+ class Lambda < OrchestrationExecutor
1571
+ end
1572
+ class Unknown < OrchestrationExecutor
1573
+ end
1574
+ end
1575
+
1555
1576
  class OutputFlowNodeConfiguration < Aws::EmptyStructure
1556
1577
  end
1557
1578
 
@@ -2157,6 +2178,7 @@ module Aws::BedrockAgent
2157
2178
  attr_accessor agent_id: ::String
2158
2179
  attr_accessor agent_name: ::String
2159
2180
  attr_accessor agent_resource_role_arn: ::String
2181
+ attr_accessor custom_orchestration: Types::CustomOrchestration
2160
2182
  attr_accessor customer_encryption_key_arn: ::String
2161
2183
  attr_accessor description: ::String
2162
2184
  attr_accessor foundation_model: ::String
@@ -2164,6 +2186,7 @@ module Aws::BedrockAgent
2164
2186
  attr_accessor idle_session_ttl_in_seconds: ::Integer
2165
2187
  attr_accessor instruction: ::String
2166
2188
  attr_accessor memory_configuration: Types::MemoryConfiguration
2189
+ attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
2167
2190
  attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
2168
2191
  SENSITIVE: [:instruction, :prompt_override_configuration]
2169
2192
  end
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.35.0
4
+ version: 1.37.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-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core