aws-sdk-bedrockagent 1.35.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffe38b005a8585f78c3c55f5e18c49a36d5439d61110145fe4d05fe161ebd5d4
4
- data.tar.gz: 2ee04af5139f9e7741978464939fa13c4866fbb1b66468a220dace2b2f19d946
3
+ metadata.gz: f3414020facddac75cefbc36472d96d4bad6c0e8568ca535ca375d48c7b5fb2f
4
+ data.tar.gz: 2cd5f6d7db9261b27093719241943461dece4ef23a6b1e4be5cdeacd0bf30f10
5
5
  SHA512:
6
- metadata.gz: 2f2e71c7b1f2ef26808b8521ead7296a281200239b4ba4e2e382a82c16349621ffa299b8cca76252142016280b3b0d040d85f693f3dbdb4bb7276628655b55c1
7
- data.tar.gz: 303b5f96520c6eb9cad681d47bdce8ff623c9b169490989da5f33639e81252e3d00bc9c199d68e0a086bbfd7eb98f45b5b96011782bead587daebb0ea21279e2
6
+ metadata.gz: 8e94b2893c2db2e61530c3a5d6484148bd89dc2eb50cc5c04155b37d7a95fe170e79f209e9b13b4b8972c305720c4b3258ad6a912a518022172229e0dd31719e
7
+ data.tar.gz: fff585fddb41fc8dc0610092ffc910d63e2280c1869e384649bc1c5aa3ab0e1d6e14fab213c1787a4ff555171c0068ce0e768559090964234cab0a2855a7b05c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2024-11-26)
5
+ ------------------
6
+
7
+ * Feature - Custom Orchestration API release for AWSBedrockAgents.
8
+
4
9
  1.35.0 (2024-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.36.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
@@ -2814,6 +2829,7 @@ module Aws::BedrockAgent
2814
2829
  # resp.agent.agent_version #=> String
2815
2830
  # resp.agent.client_token #=> String
2816
2831
  # resp.agent.created_at #=> Time
2832
+ # resp.agent.custom_orchestration.executor.lambda #=> String
2817
2833
  # resp.agent.customer_encryption_key_arn #=> String
2818
2834
  # resp.agent.description #=> String
2819
2835
  # resp.agent.failure_reasons #=> Array
@@ -2826,6 +2842,7 @@ module Aws::BedrockAgent
2826
2842
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
2827
2843
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
2828
2844
  # resp.agent.memory_configuration.storage_days #=> Integer
2845
+ # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
2829
2846
  # resp.agent.prepared_at #=> Time
2830
2847
  # resp.agent.prompt_override_configuration.override_lambda #=> String
2831
2848
  # resp.agent.prompt_override_configuration.prompt_configurations #=> Array
@@ -4698,6 +4715,9 @@ module Aws::BedrockAgent
4698
4715
  # The Amazon Resource Name (ARN) of the IAM role with permissions to
4699
4716
  # invoke API operations on the agent.
4700
4717
  #
4718
+ # @option params [Types::CustomOrchestration] :custom_orchestration
4719
+ # Contains details of the custom orchestration configured for the agent.
4720
+ #
4701
4721
  # @option params [String] :customer_encryption_key_arn
4702
4722
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
4703
4723
  # the agent.
@@ -4763,6 +4783,10 @@ module Aws::BedrockAgent
4763
4783
  # @option params [Types::MemoryConfiguration] :memory_configuration
4764
4784
  # Specifies the new memory configuration for the agent.
4765
4785
  #
4786
+ # @option params [String] :orchestration_type
4787
+ # Specifies the type of orchestration strategy for the agent. This is
4788
+ # set to `DEFAULT` orchestration type, by default.
4789
+ #
4766
4790
  # @option params [Types::PromptOverrideConfiguration] :prompt_override_configuration
4767
4791
  # Contains configurations to override prompts in different parts of an
4768
4792
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -4781,6 +4805,11 @@ module Aws::BedrockAgent
4781
4805
  # agent_id: "Id", # required
4782
4806
  # agent_name: "Name", # required
4783
4807
  # agent_resource_role_arn: "AgentRoleArn", # required
4808
+ # custom_orchestration: {
4809
+ # executor: {
4810
+ # lambda: "LambdaArn",
4811
+ # },
4812
+ # },
4784
4813
  # customer_encryption_key_arn: "KmsKeyArn",
4785
4814
  # description: "Description",
4786
4815
  # foundation_model: "ModelIdentifier", # required
@@ -4794,6 +4823,7 @@ module Aws::BedrockAgent
4794
4823
  # enabled_memory_types: ["SESSION_SUMMARY"], # required, accepts SESSION_SUMMARY
4795
4824
  # storage_days: 1,
4796
4825
  # },
4826
+ # orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
4797
4827
  # prompt_override_configuration: {
4798
4828
  # override_lambda: "LambdaArn",
4799
4829
  # prompt_configurations: [ # required
@@ -4825,6 +4855,7 @@ module Aws::BedrockAgent
4825
4855
  # resp.agent.agent_version #=> String
4826
4856
  # resp.agent.client_token #=> String
4827
4857
  # resp.agent.created_at #=> Time
4858
+ # resp.agent.custom_orchestration.executor.lambda #=> String
4828
4859
  # resp.agent.customer_encryption_key_arn #=> String
4829
4860
  # resp.agent.description #=> String
4830
4861
  # resp.agent.failure_reasons #=> Array
@@ -4837,6 +4868,7 @@ module Aws::BedrockAgent
4837
4868
  # resp.agent.memory_configuration.enabled_memory_types #=> Array
4838
4869
  # resp.agent.memory_configuration.enabled_memory_types[0] #=> String, one of "SESSION_SUMMARY"
4839
4870
  # resp.agent.memory_configuration.storage_days #=> Integer
4871
+ # resp.agent.orchestration_type #=> String, one of "DEFAULT", "CUSTOM_ORCHESTRATION"
4840
4872
  # resp.agent.prepared_at #=> Time
4841
4873
  # resp.agent.prompt_override_configuration.override_lambda #=> String
4842
4874
  # resp.agent.prompt_override_configuration.prompt_configurations #=> Array
@@ -6404,7 +6436,7 @@ module Aws::BedrockAgent
6404
6436
  tracer: tracer
6405
6437
  )
6406
6438
  context[:gem_name] = 'aws-sdk-bedrockagent'
6407
- context[:gem_version] = '1.35.0'
6439
+ context[:gem_version] = '1.36.0'
6408
6440
  Seahorse::Client::Request.new(handlers, context)
6409
6441
  end
6410
6442
 
@@ -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')
@@ -333,6 +334,8 @@ module Aws::BedrockAgent
333
334
  OpenSearchServerlessConfiguration = Shapes::StructureShape.new(name: 'OpenSearchServerlessConfiguration')
334
335
  OpenSearchServerlessFieldMapping = Shapes::StructureShape.new(name: 'OpenSearchServerlessFieldMapping')
335
336
  OpenSearchServerlessIndexName = Shapes::StringShape.new(name: 'OpenSearchServerlessIndexName')
337
+ OrchestrationExecutor = Shapes::UnionShape.new(name: 'OrchestrationExecutor')
338
+ OrchestrationType = Shapes::StringShape.new(name: 'OrchestrationType')
336
339
  OutputFlowNodeConfiguration = Shapes::StructureShape.new(name: 'OutputFlowNodeConfiguration')
337
340
  ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
338
341
  ParameterDetail = Shapes::StructureShape.new(name: 'ParameterDetail')
@@ -557,6 +560,7 @@ module Aws::BedrockAgent
557
560
  Agent.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location_name: "agentVersion"))
558
561
  Agent.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
559
562
  Agent.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
563
+ Agent.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
560
564
  Agent.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
561
565
  Agent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
562
566
  Agent.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
@@ -565,6 +569,7 @@ module Aws::BedrockAgent
565
569
  Agent.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, required: true, location_name: "idleSessionTTLInSeconds"))
566
570
  Agent.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
567
571
  Agent.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
572
+ Agent.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
568
573
  Agent.add_member(:prepared_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "preparedAt"))
569
574
  Agent.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
570
575
  Agent.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
@@ -781,6 +786,7 @@ module Aws::BedrockAgent
781
786
  CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
782
787
  CreateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, location_name: "agentResourceRoleArn"))
783
788
  CreateAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
789
+ CreateAgentRequest.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
784
790
  CreateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
785
791
  CreateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
786
792
  CreateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
@@ -788,6 +794,7 @@ module Aws::BedrockAgent
788
794
  CreateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
789
795
  CreateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
790
796
  CreateAgentRequest.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
797
+ CreateAgentRequest.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
791
798
  CreateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
792
799
  CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
793
800
  CreateAgentRequest.struct_class = Types::CreateAgentRequest
@@ -916,6 +923,9 @@ module Aws::BedrockAgent
916
923
  CreatePromptVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
917
924
  CreatePromptVersionResponse.struct_class = Types::CreatePromptVersionResponse
918
925
 
926
+ CustomOrchestration.add_member(:executor, Shapes::ShapeRef.new(shape: OrchestrationExecutor, location_name: "executor"))
927
+ CustomOrchestration.struct_class = Types::CustomOrchestration
928
+
919
929
  CustomTransformationConfiguration.add_member(:intermediate_storage, Shapes::ShapeRef.new(shape: IntermediateStorage, required: true, location_name: "intermediateStorage"))
920
930
  CustomTransformationConfiguration.add_member(:transformations, Shapes::ShapeRef.new(shape: Transformations, required: true, location_name: "transformations"))
921
931
  CustomTransformationConfiguration.struct_class = Types::CustomTransformationConfiguration
@@ -1695,6 +1705,12 @@ module Aws::BedrockAgent
1695
1705
  OpenSearchServerlessFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
1696
1706
  OpenSearchServerlessFieldMapping.struct_class = Types::OpenSearchServerlessFieldMapping
1697
1707
 
1708
+ OrchestrationExecutor.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "lambda"))
1709
+ OrchestrationExecutor.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1710
+ OrchestrationExecutor.add_member_subclass(:lambda, Types::OrchestrationExecutor::Lambda)
1711
+ OrchestrationExecutor.add_member_subclass(:unknown, Types::OrchestrationExecutor::Unknown)
1712
+ OrchestrationExecutor.struct_class = Types::OrchestrationExecutor
1713
+
1698
1714
  OutputFlowNodeConfiguration.struct_class = Types::OutputFlowNodeConfiguration
1699
1715
 
1700
1716
  ParameterDetail.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "description"))
@@ -2131,6 +2147,7 @@ module Aws::BedrockAgent
2131
2147
  UpdateAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
2132
2148
  UpdateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
2133
2149
  UpdateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
2150
+ UpdateAgentRequest.add_member(:custom_orchestration, Shapes::ShapeRef.new(shape: CustomOrchestration, location_name: "customOrchestration"))
2134
2151
  UpdateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
2135
2152
  UpdateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2136
2153
  UpdateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location_name: "foundationModel"))
@@ -2138,6 +2155,7 @@ module Aws::BedrockAgent
2138
2155
  UpdateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
2139
2156
  UpdateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
2140
2157
  UpdateAgentRequest.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: MemoryConfiguration, location_name: "memoryConfiguration"))
2158
+ UpdateAgentRequest.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
2141
2159
  UpdateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
2142
2160
  UpdateAgentRequest.struct_class = Types::UpdateAgentRequest
2143
2161
 
@@ -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,
@@ -1494,6 +1504,11 @@ module Aws::BedrockAgent
1494
1504
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1495
1505
  # @return [String]
1496
1506
  #
1507
+ # @!attribute [rw] custom_orchestration
1508
+ # Contains details of the custom orchestration configured for the
1509
+ # agent.
1510
+ # @return [Types::CustomOrchestration]
1511
+ #
1497
1512
  # @!attribute [rw] customer_encryption_key_arn
1498
1513
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
1499
1514
  # the agent.
@@ -1566,6 +1581,11 @@ module Aws::BedrockAgent
1566
1581
  # Contains the details of the memory configured for the agent.
1567
1582
  # @return [Types::MemoryConfiguration]
1568
1583
  #
1584
+ # @!attribute [rw] orchestration_type
1585
+ # Specifies the type of orchestration strategy for the agent. This is
1586
+ # set to `DEFAULT` orchestration type, by default.
1587
+ # @return [String]
1588
+ #
1569
1589
  # @!attribute [rw] prompt_override_configuration
1570
1590
  # Contains configurations to override prompts in different parts of an
1571
1591
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -1585,6 +1605,7 @@ module Aws::BedrockAgent
1585
1605
  :agent_name,
1586
1606
  :agent_resource_role_arn,
1587
1607
  :client_token,
1608
+ :custom_orchestration,
1588
1609
  :customer_encryption_key_arn,
1589
1610
  :description,
1590
1611
  :foundation_model,
@@ -1592,6 +1613,7 @@ module Aws::BedrockAgent
1592
1613
  :idle_session_ttl_in_seconds,
1593
1614
  :instruction,
1594
1615
  :memory_configuration,
1616
+ :orchestration_type,
1595
1617
  :prompt_override_configuration,
1596
1618
  :tags)
1597
1619
  SENSITIVE = [:instruction, :prompt_override_configuration]
@@ -2326,6 +2348,21 @@ module Aws::BedrockAgent
2326
2348
  include Aws::Structure
2327
2349
  end
2328
2350
 
2351
+ # Details of custom orchestration.
2352
+ #
2353
+ # @!attribute [rw] executor
2354
+ # The structure of the executor invoking the actions in custom
2355
+ # orchestration.
2356
+ # @return [Types::OrchestrationExecutor]
2357
+ #
2358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CustomOrchestration AWS API Documentation
2359
+ #
2360
+ class CustomOrchestration < Struct.new(
2361
+ :executor)
2362
+ SENSITIVE = []
2363
+ include Aws::Structure
2364
+ end
2365
+
2329
2366
  # Settings for customizing steps in the data source content ingestion
2330
2367
  # pipeline.
2331
2368
  #
@@ -6105,6 +6142,32 @@ module Aws::BedrockAgent
6105
6142
  include Aws::Structure
6106
6143
  end
6107
6144
 
6145
+ # Contains details about the Lambda function containing the
6146
+ # orchestration logic carried out upon invoking the custom
6147
+ # orchestration.
6148
+ #
6149
+ # @note OrchestrationExecutor is a union - when making an API calls you must set exactly one of the members.
6150
+ #
6151
+ # @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.
6152
+ #
6153
+ # @!attribute [rw] lambda
6154
+ # The Amazon Resource Name (ARN) of the Lambda function containing the
6155
+ # business logic that is carried out upon invoking the action.
6156
+ # @return [String]
6157
+ #
6158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/OrchestrationExecutor AWS API Documentation
6159
+ #
6160
+ class OrchestrationExecutor < Struct.new(
6161
+ :lambda,
6162
+ :unknown)
6163
+ SENSITIVE = []
6164
+ include Aws::Structure
6165
+ include Aws::Structure::Union
6166
+
6167
+ class Lambda < OrchestrationExecutor; end
6168
+ class Unknown < OrchestrationExecutor; end
6169
+ end
6170
+
6108
6171
  # Contains configurations for an output flow node in the flow. You
6109
6172
  # specify the data type expected for the input into the node in the
6110
6173
  # `type` field and how to return the final output in the `expression`
@@ -8330,6 +8393,11 @@ module Aws::BedrockAgent
8330
8393
  # invoke API operations on the agent.
8331
8394
  # @return [String]
8332
8395
  #
8396
+ # @!attribute [rw] custom_orchestration
8397
+ # Contains details of the custom orchestration configured for the
8398
+ # agent.
8399
+ # @return [Types::CustomOrchestration]
8400
+ #
8333
8401
  # @!attribute [rw] customer_encryption_key_arn
8334
8402
  # The Amazon Resource Name (ARN) of the KMS key with which to encrypt
8335
8403
  # the agent.
@@ -8402,6 +8470,11 @@ module Aws::BedrockAgent
8402
8470
  # Specifies the new memory configuration for the agent.
8403
8471
  # @return [Types::MemoryConfiguration]
8404
8472
  #
8473
+ # @!attribute [rw] orchestration_type
8474
+ # Specifies the type of orchestration strategy for the agent. This is
8475
+ # set to `DEFAULT` orchestration type, by default.
8476
+ # @return [String]
8477
+ #
8405
8478
  # @!attribute [rw] prompt_override_configuration
8406
8479
  # Contains configurations to override prompts in different parts of an
8407
8480
  # agent sequence. For more information, see [Advanced prompts][1].
@@ -8417,6 +8490,7 @@ module Aws::BedrockAgent
8417
8490
  :agent_id,
8418
8491
  :agent_name,
8419
8492
  :agent_resource_role_arn,
8493
+ :custom_orchestration,
8420
8494
  :customer_encryption_key_arn,
8421
8495
  :description,
8422
8496
  :foundation_model,
@@ -8424,6 +8498,7 @@ module Aws::BedrockAgent
8424
8498
  :idle_session_ttl_in_seconds,
8425
8499
  :instruction,
8426
8500
  :memory_configuration,
8501
+ :orchestration_type,
8427
8502
  :prompt_override_configuration)
8428
8503
  SENSITIVE = [:instruction, :prompt_override_configuration]
8429
8504
  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.36.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[
@@ -1361,6 +1367,11 @@ module Aws
1361
1367
  agent_id: ::String,
1362
1368
  agent_name: ::String,
1363
1369
  agent_resource_role_arn: ::String,
1370
+ ?custom_orchestration: {
1371
+ executor: {
1372
+ lambda: ::String?
1373
+ }?
1374
+ },
1364
1375
  ?customer_encryption_key_arn: ::String,
1365
1376
  ?description: ::String,
1366
1377
  foundation_model: ::String,
@@ -1374,6 +1385,7 @@ module Aws
1374
1385
  enabled_memory_types: Array[("SESSION_SUMMARY")],
1375
1386
  storage_days: ::Integer?
1376
1387
  },
1388
+ ?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
1377
1389
  ?prompt_override_configuration: {
1378
1390
  override_lambda: ::String?,
1379
1391
  prompt_configurations: Array[
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]
@@ -333,6 +335,7 @@ module Aws::BedrockAgent
333
335
  attr_accessor agent_name: ::String
334
336
  attr_accessor agent_resource_role_arn: ::String
335
337
  attr_accessor client_token: ::String
338
+ attr_accessor custom_orchestration: Types::CustomOrchestration
336
339
  attr_accessor customer_encryption_key_arn: ::String
337
340
  attr_accessor description: ::String
338
341
  attr_accessor foundation_model: ::String
@@ -340,6 +343,7 @@ module Aws::BedrockAgent
340
343
  attr_accessor idle_session_ttl_in_seconds: ::Integer
341
344
  attr_accessor instruction: ::String
342
345
  attr_accessor memory_configuration: Types::MemoryConfiguration
346
+ attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
343
347
  attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
344
348
  attr_accessor tags: ::Hash[::String, ::String]
345
349
  SENSITIVE: [:instruction, :prompt_override_configuration]
@@ -499,6 +503,11 @@ module Aws::BedrockAgent
499
503
  SENSITIVE: [:variants]
500
504
  end
501
505
 
506
+ class CustomOrchestration
507
+ attr_accessor executor: Types::OrchestrationExecutor
508
+ SENSITIVE: []
509
+ end
510
+
502
511
  class CustomTransformationConfiguration
503
512
  attr_accessor intermediate_storage: Types::IntermediateStorage
504
513
  attr_accessor transformations: ::Array[Types::Transformation]
@@ -1552,6 +1561,17 @@ module Aws::BedrockAgent
1552
1561
  SENSITIVE: []
1553
1562
  end
1554
1563
 
1564
+ class OrchestrationExecutor
1565
+ attr_accessor lambda: ::String
1566
+ attr_accessor unknown: untyped
1567
+ SENSITIVE: []
1568
+
1569
+ class Lambda < OrchestrationExecutor
1570
+ end
1571
+ class Unknown < OrchestrationExecutor
1572
+ end
1573
+ end
1574
+
1555
1575
  class OutputFlowNodeConfiguration < Aws::EmptyStructure
1556
1576
  end
1557
1577
 
@@ -2157,6 +2177,7 @@ module Aws::BedrockAgent
2157
2177
  attr_accessor agent_id: ::String
2158
2178
  attr_accessor agent_name: ::String
2159
2179
  attr_accessor agent_resource_role_arn: ::String
2180
+ attr_accessor custom_orchestration: Types::CustomOrchestration
2160
2181
  attr_accessor customer_encryption_key_arn: ::String
2161
2182
  attr_accessor description: ::String
2162
2183
  attr_accessor foundation_model: ::String
@@ -2164,6 +2185,7 @@ module Aws::BedrockAgent
2164
2185
  attr_accessor idle_session_ttl_in_seconds: ::Integer
2165
2186
  attr_accessor instruction: ::String
2166
2187
  attr_accessor memory_configuration: Types::MemoryConfiguration
2188
+ attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
2167
2189
  attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
2168
2190
  SENSITIVE: [:instruction, :prompt_override_configuration]
2169
2191
  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.36.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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core