aws-sdk-bedrockagentruntime 1.35.0 → 1.36.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.
@@ -240,6 +240,104 @@ module Aws::BedrockAgentRuntime
240
240
  include Aws::Structure
241
241
  end
242
242
 
243
+ # Input for an agent collaborator. The input can be text or an action
244
+ # invocation result.
245
+ #
246
+ # @!attribute [rw] return_control_results
247
+ # An action invocation result.
248
+ # @return [Types::ReturnControlResults]
249
+ #
250
+ # @!attribute [rw] text
251
+ # Input text.
252
+ # @return [String]
253
+ #
254
+ # @!attribute [rw] type
255
+ # The input type.
256
+ # @return [String]
257
+ #
258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgentCollaboratorInputPayload AWS API Documentation
259
+ #
260
+ class AgentCollaboratorInputPayload < Struct.new(
261
+ :return_control_results,
262
+ :text,
263
+ :type)
264
+ SENSITIVE = [:text]
265
+ include Aws::Structure
266
+ end
267
+
268
+ # An agent collaborator invocation input.
269
+ #
270
+ # @!attribute [rw] agent_collaborator_alias_arn
271
+ # The collaborator's alias ARN.
272
+ # @return [String]
273
+ #
274
+ # @!attribute [rw] agent_collaborator_name
275
+ # The collaborator's name.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] input
279
+ # Text or action invocation result input for the collaborator.
280
+ # @return [Types::AgentCollaboratorInputPayload]
281
+ #
282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgentCollaboratorInvocationInput AWS API Documentation
283
+ #
284
+ class AgentCollaboratorInvocationInput < Struct.new(
285
+ :agent_collaborator_alias_arn,
286
+ :agent_collaborator_name,
287
+ :input)
288
+ SENSITIVE = []
289
+ include Aws::Structure
290
+ end
291
+
292
+ # Output from an agent collaborator.
293
+ #
294
+ # @!attribute [rw] agent_collaborator_alias_arn
295
+ # The output's agent collaborator alias ARN.
296
+ # @return [String]
297
+ #
298
+ # @!attribute [rw] agent_collaborator_name
299
+ # The output's agent collaborator name.
300
+ # @return [String]
301
+ #
302
+ # @!attribute [rw] output
303
+ # The output's output.
304
+ # @return [Types::AgentCollaboratorOutputPayload]
305
+ #
306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgentCollaboratorInvocationOutput AWS API Documentation
307
+ #
308
+ class AgentCollaboratorInvocationOutput < Struct.new(
309
+ :agent_collaborator_alias_arn,
310
+ :agent_collaborator_name,
311
+ :output)
312
+ SENSITIVE = []
313
+ include Aws::Structure
314
+ end
315
+
316
+ # Output from an agent collaborator. The output can be text or an action
317
+ # invocation result.
318
+ #
319
+ # @!attribute [rw] return_control_payload
320
+ # An action invocation result.
321
+ # @return [Types::ReturnControlPayload]
322
+ #
323
+ # @!attribute [rw] text
324
+ # Text output.
325
+ # @return [String]
326
+ #
327
+ # @!attribute [rw] type
328
+ # The type of output.
329
+ # @return [String]
330
+ #
331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgentCollaboratorOutputPayload AWS API Documentation
332
+ #
333
+ class AgentCollaboratorOutputPayload < Struct.new(
334
+ :return_control_payload,
335
+ :text,
336
+ :type)
337
+ SENSITIVE = [:return_control_payload, :text]
338
+ include Aws::Structure
339
+ end
340
+
243
341
  # An event in which the prompt was analyzed in preparation for
244
342
  # optimization.
245
343
  #
@@ -277,10 +375,18 @@ module Aws::BedrockAgentRuntime
277
375
  # Contains information about the API operation to invoke.
278
376
  # @return [String]
279
377
  #
378
+ # @!attribute [rw] agent_id
379
+ # The agent's ID.
380
+ # @return [String]
381
+ #
280
382
  # @!attribute [rw] api_path
281
383
  # The path to the API operation.
282
384
  # @return [String]
283
385
  #
386
+ # @!attribute [rw] collaborator_name
387
+ # The agent collaborator's name.
388
+ # @return [String]
389
+ #
284
390
  # @!attribute [rw] http_method
285
391
  # The HTTP method of the API operation.
286
392
  # @return [String]
@@ -300,11 +406,13 @@ module Aws::BedrockAgentRuntime
300
406
  class ApiInvocationInput < Struct.new(
301
407
  :action_group,
302
408
  :action_invocation_type,
409
+ :agent_id,
303
410
  :api_path,
411
+ :collaborator_name,
304
412
  :http_method,
305
413
  :parameters,
306
414
  :request_body)
307
- SENSITIVE = [:api_path]
415
+ SENSITIVE = [:api_path, :collaborator_name]
308
416
  include Aws::Structure
309
417
  end
310
418
 
@@ -386,6 +494,10 @@ module Aws::BedrockAgentRuntime
386
494
  # The action group that the API operation belongs to.
387
495
  # @return [String]
388
496
  #
497
+ # @!attribute [rw] agent_id
498
+ # The agent's ID.
499
+ # @return [String]
500
+ #
389
501
  # @!attribute [rw] api_path
390
502
  # The path to the API operation.
391
503
  # @return [String]
@@ -422,6 +534,7 @@ module Aws::BedrockAgentRuntime
422
534
  #
423
535
  class ApiResult < Struct.new(
424
536
  :action_group,
537
+ :agent_id,
425
538
  :api_path,
426
539
  :confirmation_state,
427
540
  :http_method,
@@ -553,6 +666,27 @@ module Aws::BedrockAgentRuntime
553
666
  include Aws::Structure
554
667
  end
555
668
 
669
+ # Details about a caller.
670
+ #
671
+ # @note Caller is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Caller corresponding to the set member.
672
+ #
673
+ # @!attribute [rw] agent_alias_arn
674
+ # The caller's agent alias ARN.
675
+ # @return [String]
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/Caller AWS API Documentation
678
+ #
679
+ class Caller < Struct.new(
680
+ :agent_alias_arn,
681
+ :unknown)
682
+ SENSITIVE = []
683
+ include Aws::Structure
684
+ include Aws::Structure::Union
685
+
686
+ class AgentAliasArn < Caller; end
687
+ class Unknown < Caller; end
688
+ end
689
+
556
690
  # An object containing a segment of the generated response that is based
557
691
  # on a source in the knowledge base, alongside information about the
558
692
  # source.
@@ -665,6 +799,27 @@ module Aws::BedrockAgentRuntime
665
799
  include Aws::Structure
666
800
  end
667
801
 
802
+ # A content block.
803
+ #
804
+ # @note ContentBlock is a union - when making an API calls you must set exactly one of the members.
805
+ #
806
+ # @!attribute [rw] text
807
+ # The block's text.
808
+ # @return [String]
809
+ #
810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ContentBlock AWS API Documentation
811
+ #
812
+ class ContentBlock < Struct.new(
813
+ :text,
814
+ :unknown)
815
+ SENSITIVE = []
816
+ include Aws::Structure
817
+ include Aws::Structure::Union
818
+
819
+ class Text < ContentBlock; end
820
+ class Unknown < ContentBlock; end
821
+ end
822
+
668
823
  # Contains the body of the API response.
669
824
  #
670
825
  # This data type is used in the following API operations:
@@ -690,6 +845,20 @@ module Aws::BedrockAgentRuntime
690
845
  include Aws::Structure
691
846
  end
692
847
 
848
+ # A conversation history.
849
+ #
850
+ # @!attribute [rw] messages
851
+ # The conversation's messages.
852
+ # @return [Array<Types::Message>]
853
+ #
854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ConversationHistory AWS API Documentation
855
+ #
856
+ class ConversationHistory < Struct.new(
857
+ :messages)
858
+ SENSITIVE = []
859
+ include Aws::Structure
860
+ end
861
+
693
862
  # The trace behavior for the custom orchestration.
694
863
  #
695
864
  # @!attribute [rw] event
@@ -1422,6 +1591,14 @@ module Aws::BedrockAgentRuntime
1422
1591
  # Contains information about the function to invoke,
1423
1592
  # @return [String]
1424
1593
  #
1594
+ # @!attribute [rw] agent_id
1595
+ # The agent's ID.
1596
+ # @return [String]
1597
+ #
1598
+ # @!attribute [rw] collaborator_name
1599
+ # The collaborator's name.
1600
+ # @return [String]
1601
+ #
1425
1602
  # @!attribute [rw] function
1426
1603
  # The name of the function.
1427
1604
  # @return [String]
@@ -1435,9 +1612,11 @@ module Aws::BedrockAgentRuntime
1435
1612
  class FunctionInvocationInput < Struct.new(
1436
1613
  :action_group,
1437
1614
  :action_invocation_type,
1615
+ :agent_id,
1616
+ :collaborator_name,
1438
1617
  :function,
1439
1618
  :parameters)
1440
- SENSITIVE = []
1619
+ SENSITIVE = [:collaborator_name]
1441
1620
  include Aws::Structure
1442
1621
  end
1443
1622
 
@@ -1493,6 +1672,10 @@ module Aws::BedrockAgentRuntime
1493
1672
  # The action group that the function belongs to.
1494
1673
  # @return [String]
1495
1674
  #
1675
+ # @!attribute [rw] agent_id
1676
+ # The agent's ID.
1677
+ # @return [String]
1678
+ #
1496
1679
  # @!attribute [rw] confirmation_state
1497
1680
  # Contains the user confirmation information about the function that
1498
1681
  # was called.
@@ -1521,6 +1704,7 @@ module Aws::BedrockAgentRuntime
1521
1704
  #
1522
1705
  class FunctionResult < Struct.new(
1523
1706
  :action_group,
1707
+ :agent_id,
1524
1708
  :confirmation_state,
1525
1709
  :function,
1526
1710
  :response_body,
@@ -2345,6 +2529,10 @@ module Aws::BedrockAgentRuntime
2345
2529
  # Contains information about the action group to be invoked.
2346
2530
  # @return [Types::ActionGroupInvocationInput]
2347
2531
  #
2532
+ # @!attribute [rw] agent_collaborator_invocation_input
2533
+ # The collaborator's invocation input.
2534
+ # @return [Types::AgentCollaboratorInvocationInput]
2535
+ #
2348
2536
  # @!attribute [rw] code_interpreter_invocation_input
2349
2537
  # Contains information about the code interpreter to be invoked.
2350
2538
  # @return [Types::CodeInterpreterInvocationInput]
@@ -2367,6 +2555,7 @@ module Aws::BedrockAgentRuntime
2367
2555
  #
2368
2556
  class InvocationInput < Struct.new(
2369
2557
  :action_group_invocation_input,
2558
+ :agent_collaborator_invocation_input,
2370
2559
  :code_interpreter_invocation_input,
2371
2560
  :invocation_type,
2372
2561
  :knowledge_base_lookup_input,
@@ -2433,6 +2622,8 @@ module Aws::BedrockAgentRuntime
2433
2622
  #
2434
2623
  # @note InvocationResultMember is a union - when making an API calls you must set exactly one of the members.
2435
2624
  #
2625
+ # @note InvocationResultMember is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InvocationResultMember corresponding to the set member.
2626
+ #
2436
2627
  # @!attribute [rw] api_result
2437
2628
  # The result from the API response from the action group invocation.
2438
2629
  # @return [Types::ApiResult]
@@ -2509,6 +2700,10 @@ module Aws::BedrockAgentRuntime
2509
2700
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html
2510
2701
  # @return [Types::SessionState]
2511
2702
  #
2703
+ # @!attribute [rw] source_arn
2704
+ # The ARN of the resource making the request.
2705
+ # @return [String]
2706
+ #
2512
2707
  # @!attribute [rw] streaming_configurations
2513
2708
  # Specifies the configurations for streaming.
2514
2709
  # @return [Types::StreamingConfigurations]
@@ -2524,6 +2719,7 @@ module Aws::BedrockAgentRuntime
2524
2719
  :memory_id,
2525
2720
  :session_id,
2526
2721
  :session_state,
2722
+ :source_arn,
2527
2723
  :streaming_configurations)
2528
2724
  SENSITIVE = [:input_text]
2529
2725
  include Aws::Structure
@@ -3122,6 +3318,25 @@ module Aws::BedrockAgentRuntime
3122
3318
  include Aws::Structure
3123
3319
  end
3124
3320
 
3321
+ # Details about a message.
3322
+ #
3323
+ # @!attribute [rw] content
3324
+ # The message's content.
3325
+ # @return [Array<Types::ContentBlock>]
3326
+ #
3327
+ # @!attribute [rw] role
3328
+ # The message's role.
3329
+ # @return [String]
3330
+ #
3331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/Message AWS API Documentation
3332
+ #
3333
+ class Message < Struct.new(
3334
+ :content,
3335
+ :role)
3336
+ SENSITIVE = [:content]
3337
+ include Aws::Structure
3338
+ end
3339
+
3125
3340
  # Provides details of the foundation model.
3126
3341
  #
3127
3342
  # @!attribute [rw] usage
@@ -3196,6 +3411,10 @@ module Aws::BedrockAgentRuntime
3196
3411
  #
3197
3412
  # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html
3198
3413
  #
3414
+ # @!attribute [rw] foundation_model
3415
+ # The identifier of a foundation model.
3416
+ # @return [String]
3417
+ #
3199
3418
  # @!attribute [rw] inference_configuration
3200
3419
  # Specifications about the inference parameters that were provided
3201
3420
  # alongside the prompt. These are specified in the
@@ -3246,6 +3465,7 @@ module Aws::BedrockAgentRuntime
3246
3465
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ModelInvocationInput AWS API Documentation
3247
3466
  #
3248
3467
  class ModelInvocationInput < Struct.new(
3468
+ :foundation_model,
3249
3469
  :inference_configuration,
3250
3470
  :override_lambda,
3251
3471
  :parser_mode,
@@ -3265,6 +3485,10 @@ module Aws::BedrockAgentRuntime
3265
3485
  # the action group.
3266
3486
  # @return [Types::ActionGroupInvocationOutput]
3267
3487
  #
3488
+ # @!attribute [rw] agent_collaborator_invocation_output
3489
+ # A collaborator's invocation output.
3490
+ # @return [Types::AgentCollaboratorInvocationOutput]
3491
+ #
3268
3492
  # @!attribute [rw] code_interpreter_invocation_output
3269
3493
  # Contains the JSON-formatted string returned by the API invoked by
3270
3494
  # the code interpreter.
@@ -3309,6 +3533,7 @@ module Aws::BedrockAgentRuntime
3309
3533
  #
3310
3534
  class Observation < Struct.new(
3311
3535
  :action_group_invocation_output,
3536
+ :agent_collaborator_invocation_output,
3312
3537
  :code_interpreter_invocation_output,
3313
3538
  :final_response,
3314
3539
  :knowledge_base_lookup_output,
@@ -5050,6 +5275,88 @@ module Aws::BedrockAgentRuntime
5050
5275
  include Aws::Structure
5051
5276
  end
5052
5277
 
5278
+ # An action invocation result.
5279
+ #
5280
+ # @!attribute [rw] invocation_id
5281
+ # The action's invocation ID.
5282
+ # @return [String]
5283
+ #
5284
+ # @!attribute [rw] return_control_invocation_results
5285
+ # The action invocation result.
5286
+ # @return [Array<Types::InvocationResultMember>]
5287
+ #
5288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ReturnControlResults AWS API Documentation
5289
+ #
5290
+ class ReturnControlResults < Struct.new(
5291
+ :invocation_id,
5292
+ :return_control_invocation_results)
5293
+ SENSITIVE = []
5294
+ include Aws::Structure
5295
+ end
5296
+
5297
+ # Invocation output from a routing classifier model.
5298
+ #
5299
+ # @!attribute [rw] metadata
5300
+ # The invocation's metadata.
5301
+ # @return [Types::Metadata]
5302
+ #
5303
+ # @!attribute [rw] raw_response
5304
+ # The invocation's raw response.
5305
+ # @return [Types::RawResponse]
5306
+ #
5307
+ # @!attribute [rw] trace_id
5308
+ # The invocation's trace ID.
5309
+ # @return [String]
5310
+ #
5311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RoutingClassifierModelInvocationOutput AWS API Documentation
5312
+ #
5313
+ class RoutingClassifierModelInvocationOutput < Struct.new(
5314
+ :metadata,
5315
+ :raw_response,
5316
+ :trace_id)
5317
+ SENSITIVE = [:metadata, :raw_response]
5318
+ include Aws::Structure
5319
+ end
5320
+
5321
+ # A trace for a routing classifier.
5322
+ #
5323
+ # @note RoutingClassifierTrace is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RoutingClassifierTrace corresponding to the set member.
5324
+ #
5325
+ # @!attribute [rw] invocation_input
5326
+ # The classifier's invocation input.
5327
+ # @return [Types::InvocationInput]
5328
+ #
5329
+ # @!attribute [rw] model_invocation_input
5330
+ # The classifier's model invocation input.
5331
+ # @return [Types::ModelInvocationInput]
5332
+ #
5333
+ # @!attribute [rw] model_invocation_output
5334
+ # The classifier's model invocation output.
5335
+ # @return [Types::RoutingClassifierModelInvocationOutput]
5336
+ #
5337
+ # @!attribute [rw] observation
5338
+ # The classifier's observation.
5339
+ # @return [Types::Observation]
5340
+ #
5341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RoutingClassifierTrace AWS API Documentation
5342
+ #
5343
+ class RoutingClassifierTrace < Struct.new(
5344
+ :invocation_input,
5345
+ :model_invocation_input,
5346
+ :model_invocation_output,
5347
+ :observation,
5348
+ :unknown)
5349
+ SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation]
5350
+ include Aws::Structure
5351
+ include Aws::Structure::Union
5352
+
5353
+ class InvocationInput < RoutingClassifierTrace; end
5354
+ class ModelInvocationInput < RoutingClassifierTrace; end
5355
+ class ModelInvocationOutput < RoutingClassifierTrace; end
5356
+ class Observation < RoutingClassifierTrace; end
5357
+ class Unknown < RoutingClassifierTrace; end
5358
+ end
5359
+
5053
5360
  # The identifier information for an Amazon S3 bucket.
5054
5361
  #
5055
5362
  # @!attribute [rw] s3_bucket_name
@@ -5126,6 +5433,10 @@ module Aws::BedrockAgentRuntime
5126
5433
  # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html
5127
5434
  # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html
5128
5435
  #
5436
+ # @!attribute [rw] conversation_history
5437
+ # The state's conversation history.
5438
+ # @return [Types::ConversationHistory]
5439
+ #
5129
5440
  # @!attribute [rw] files
5130
5441
  # Contains information about the files used by code interpreter.
5131
5442
  # @return [Array<Types::InputFile>]
@@ -5184,6 +5495,7 @@ module Aws::BedrockAgentRuntime
5184
5495
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/SessionState AWS API Documentation
5185
5496
  #
5186
5497
  class SessionState < Struct.new(
5498
+ :conversation_history,
5187
5499
  :files,
5188
5500
  :invocation_id,
5189
5501
  :knowledge_base_configurations,
@@ -5401,6 +5713,10 @@ module Aws::BedrockAgentRuntime
5401
5713
  # contextualizes and categorizes user inputs.
5402
5714
  # @return [Types::PreProcessingTrace]
5403
5715
  #
5716
+ # @!attribute [rw] routing_classifier_trace
5717
+ # A routing classifier's trace.
5718
+ # @return [Types::RoutingClassifierTrace]
5719
+ #
5404
5720
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/Trace AWS API Documentation
5405
5721
  #
5406
5722
  class Trace < Struct.new(
@@ -5410,8 +5726,9 @@ module Aws::BedrockAgentRuntime
5410
5726
  :orchestration_trace,
5411
5727
  :post_processing_trace,
5412
5728
  :pre_processing_trace,
5729
+ :routing_classifier_trace,
5413
5730
  :unknown)
5414
- SENSITIVE = [:custom_orchestration_trace, :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace]
5731
+ SENSITIVE = [:custom_orchestration_trace, :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :routing_classifier_trace]
5415
5732
  include Aws::Structure
5416
5733
  include Aws::Structure::Union
5417
5734
 
@@ -5421,6 +5738,7 @@ module Aws::BedrockAgentRuntime
5421
5738
  class OrchestrationTrace < Trace; end
5422
5739
  class PostProcessingTrace < Trace; end
5423
5740
  class PreProcessingTrace < Trace; end
5741
+ class RoutingClassifierTrace < Trace; end
5424
5742
  class Unknown < Trace; end
5425
5743
  end
5426
5744
 
@@ -5446,6 +5764,14 @@ module Aws::BedrockAgentRuntime
5446
5764
  # The version of the agent.
5447
5765
  # @return [String]
5448
5766
  #
5767
+ # @!attribute [rw] caller_chain
5768
+ # The part's caller chain.
5769
+ # @return [Array<Types::Caller>]
5770
+ #
5771
+ # @!attribute [rw] collaborator_name
5772
+ # The part's collaborator name.
5773
+ # @return [String]
5774
+ #
5449
5775
  # @!attribute [rw] session_id
5450
5776
  # The unique identifier of the session with the agent.
5451
5777
  # @return [String]
@@ -5468,10 +5794,12 @@ module Aws::BedrockAgentRuntime
5468
5794
  :agent_alias_id,
5469
5795
  :agent_id,
5470
5796
  :agent_version,
5797
+ :caller_chain,
5798
+ :collaborator_name,
5471
5799
  :session_id,
5472
5800
  :trace,
5473
5801
  :event_type)
5474
- SENSITIVE = [:trace]
5802
+ SENSITIVE = [:collaborator_name, :trace]
5475
5803
  include Aws::Structure
5476
5804
  end
5477
5805
 
@@ -55,7 +55,7 @@ module Aws::BedrockAgentRuntime
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagentruntime/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-bedrockagentruntime/event_streams'
57
57
 
58
- GEM_VERSION = '1.35.0'
58
+ GEM_VERSION = '1.36.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -122,6 +122,18 @@ module Aws
122
122
  ?memory_id: ::String,
123
123
  session_id: ::String,
124
124
  ?session_state: {
125
+ conversation_history: {
126
+ messages: Array[
127
+ {
128
+ content: Array[
129
+ {
130
+ text: ::String?
131
+ },
132
+ ],
133
+ role: ("user" | "assistant")
134
+ },
135
+ ]?
136
+ }?,
125
137
  files: Array[
126
138
  {
127
139
  name: ::String,
@@ -254,6 +266,7 @@ module Aws
254
266
  {
255
267
  api_result: {
256
268
  action_group: ::String,
269
+ agent_id: ::String?,
257
270
  api_path: ::String?,
258
271
  confirmation_state: ("CONFIRM" | "DENY")?,
259
272
  http_method: ::String?,
@@ -265,6 +278,7 @@ module Aws
265
278
  }?,
266
279
  function_result: {
267
280
  action_group: ::String,
281
+ agent_id: ::String?,
268
282
  confirmation_state: ("CONFIRM" | "DENY")?,
269
283
  function: ::String?,
270
284
  response_body: Hash[::String, {
@@ -276,6 +290,7 @@ module Aws
276
290
  ]?,
277
291
  session_attributes: Hash[::String, ::String]?
278
292
  },
293
+ ?source_arn: ::String,
279
294
  ?streaming_configurations: {
280
295
  apply_guardrail_interval: ::Integer?,
281
296
  stream_final_response: bool?
@@ -377,6 +392,7 @@ module Aws
377
392
  {
378
393
  api_result: {
379
394
  action_group: ::String,
395
+ agent_id: ::String?,
380
396
  api_path: ::String?,
381
397
  confirmation_state: ("CONFIRM" | "DENY")?,
382
398
  http_method: ::String?,
@@ -388,6 +404,7 @@ module Aws
388
404
  }?,
389
405
  function_result: {
390
406
  action_group: ::String,
407
+ agent_id: ::String?,
391
408
  confirmation_state: ("CONFIRM" | "DENY")?,
392
409
  function: ::String?,
393
410
  response_body: Hash[::String, {