aws-sdk-bedrockagentruntime 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +66 -4
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +25 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +150 -31
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +40 -6
- data/sig/types.rbs +20 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c93ab9ad99b2d3acd3b93e088183aa21aa86ba8ff909027df858039add174e4
|
4
|
+
data.tar.gz: e070ba38084eee44af0ad077864c455e3be39d19dae9b3f379cc226b0d18e1e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dae914ba0770051ecb613b5d150dd4ec9796d9ec63dbc5bbc2ff010bbde14496195b458db2245733fb78154e835706b7d46a118e9a0c38d810cb850e4b326af
|
7
|
+
data.tar.gz: 96cfd801de9882aef15c1bc5299eb878b7d0b7d5e72496c0cc7a04fc0c8199547c9241ce0e4f0e797dde126d8047a995339e464289452be566a7c0269ab87ceb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -577,7 +577,7 @@ module Aws::BedrockAgentRuntime
|
|
577
577
|
#
|
578
578
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html
|
579
579
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html
|
580
|
-
# [3]: https://docs.aws.amazon.com/bedrock/latest/API_agent-runtime_InvokeAgent.html
|
580
|
+
# [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html
|
581
581
|
# [4]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html
|
582
582
|
# [5]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html
|
583
583
|
# [6]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html
|
@@ -1455,6 +1455,14 @@ module Aws::BedrockAgentRuntime
|
|
1455
1455
|
# response_body: {
|
1456
1456
|
# "String" => {
|
1457
1457
|
# body: "String",
|
1458
|
+
# images: [
|
1459
|
+
# {
|
1460
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
1461
|
+
# source: { # required
|
1462
|
+
# bytes: "data",
|
1463
|
+
# },
|
1464
|
+
# },
|
1465
|
+
# ],
|
1458
1466
|
# },
|
1459
1467
|
# },
|
1460
1468
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -1467,6 +1475,14 @@ module Aws::BedrockAgentRuntime
|
|
1467
1475
|
# response_body: {
|
1468
1476
|
# "String" => {
|
1469
1477
|
# body: "String",
|
1478
|
+
# images: [
|
1479
|
+
# {
|
1480
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
1481
|
+
# source: { # required
|
1482
|
+
# bytes: "data",
|
1483
|
+
# },
|
1484
|
+
# },
|
1485
|
+
# ],
|
1470
1486
|
# },
|
1471
1487
|
# },
|
1472
1488
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -1671,6 +1687,9 @@ module Aws::BedrockAgentRuntime
|
|
1671
1687
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
1672
1688
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
1673
1689
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
1690
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
1691
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1692
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
1674
1693
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1675
1694
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
1676
1695
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -1678,6 +1697,9 @@ module Aws::BedrockAgentRuntime
|
|
1678
1697
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
1679
1698
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
1680
1699
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
1700
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
1701
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1702
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
1681
1703
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1682
1704
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
1683
1705
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -1839,6 +1861,9 @@ module Aws::BedrockAgentRuntime
|
|
1839
1861
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
1840
1862
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
1841
1863
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
1864
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
1865
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1866
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
1842
1867
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1843
1868
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
1844
1869
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -1846,6 +1871,9 @@ module Aws::BedrockAgentRuntime
|
|
1846
1871
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
1847
1872
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
1848
1873
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
1874
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
1875
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1876
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
1849
1877
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1850
1878
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
1851
1879
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -2685,7 +2713,10 @@ module Aws::BedrockAgentRuntime
|
|
2685
2713
|
# },
|
2686
2714
|
# ],
|
2687
2715
|
# },
|
2688
|
-
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
|
2716
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
2717
|
+
# parent_action_group_signature_params: {
|
2718
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
2719
|
+
# },
|
2689
2720
|
# },
|
2690
2721
|
# ],
|
2691
2722
|
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
@@ -2735,7 +2766,10 @@ module Aws::BedrockAgentRuntime
|
|
2735
2766
|
# },
|
2736
2767
|
# ],
|
2737
2768
|
# },
|
2738
|
-
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
|
2769
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
2770
|
+
# parent_action_group_signature_params: {
|
2771
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
2772
|
+
# },
|
2739
2773
|
# },
|
2740
2774
|
# ],
|
2741
2775
|
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
@@ -2951,6 +2985,14 @@ module Aws::BedrockAgentRuntime
|
|
2951
2985
|
# response_body: {
|
2952
2986
|
# "String" => {
|
2953
2987
|
# body: "String",
|
2988
|
+
# images: [
|
2989
|
+
# {
|
2990
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
2991
|
+
# source: { # required
|
2992
|
+
# bytes: "data",
|
2993
|
+
# },
|
2994
|
+
# },
|
2995
|
+
# ],
|
2954
2996
|
# },
|
2955
2997
|
# },
|
2956
2998
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -2963,6 +3005,14 @@ module Aws::BedrockAgentRuntime
|
|
2963
3005
|
# response_body: {
|
2964
3006
|
# "String" => {
|
2965
3007
|
# body: "String",
|
3008
|
+
# images: [
|
3009
|
+
# {
|
3010
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
3011
|
+
# source: { # required
|
3012
|
+
# bytes: "data",
|
3013
|
+
# },
|
3014
|
+
# },
|
3015
|
+
# ],
|
2966
3016
|
# },
|
2967
3017
|
# },
|
2968
3018
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -3298,6 +3348,9 @@ module Aws::BedrockAgentRuntime
|
|
3298
3348
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
3299
3349
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
3300
3350
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
3351
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
3352
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3353
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
3301
3354
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3302
3355
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
3303
3356
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -3305,6 +3358,9 @@ module Aws::BedrockAgentRuntime
|
|
3305
3358
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
3306
3359
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
3307
3360
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
3361
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
3362
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3363
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
3308
3364
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3309
3365
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
3310
3366
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -3466,6 +3522,9 @@ module Aws::BedrockAgentRuntime
|
|
3466
3522
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
3467
3523
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
3468
3524
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
3525
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
3526
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3527
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
3469
3528
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3470
3529
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
3471
3530
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -3473,6 +3532,9 @@ module Aws::BedrockAgentRuntime
|
|
3473
3532
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
3474
3533
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
3475
3534
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
3535
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
3536
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3537
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
3476
3538
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3477
3539
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
3478
3540
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -5369,7 +5431,7 @@ module Aws::BedrockAgentRuntime
|
|
5369
5431
|
tracer: tracer
|
5370
5432
|
)
|
5371
5433
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
5372
|
-
context[:gem_version] = '1.
|
5434
|
+
context[:gem_version] = '1.49.0'
|
5373
5435
|
Seahorse::Client::Request.new(handlers, context)
|
5374
5436
|
end
|
5375
5437
|
|
@@ -23,6 +23,9 @@ module Aws::BedrockAgentRuntime
|
|
23
23
|
ActionGroupName = Shapes::StringShape.new(name: 'ActionGroupName')
|
24
24
|
ActionGroupOutputString = Shapes::StringShape.new(name: 'ActionGroupOutputString')
|
25
25
|
ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
|
26
|
+
ActionGroupSignatureParams = Shapes::MapShape.new(name: 'ActionGroupSignatureParams')
|
27
|
+
ActionGroupSignatureParamsKeyString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsKeyString')
|
28
|
+
ActionGroupSignatureParamsValueString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsValueString')
|
26
29
|
ActionInvocationType = Shapes::StringShape.new(name: 'ActionInvocationType')
|
27
30
|
AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
|
28
31
|
AdditionalModelRequestFieldsKey = Shapes::StringShape.new(name: 'AdditionalModelRequestFieldsKey')
|
@@ -215,6 +218,11 @@ module Aws::BedrockAgentRuntime
|
|
215
218
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
216
219
|
ImageBlock = Shapes::StructureShape.new(name: 'ImageBlock')
|
217
220
|
ImageFormat = Shapes::StringShape.new(name: 'ImageFormat')
|
221
|
+
ImageInput = Shapes::StructureShape.new(name: 'ImageInput')
|
222
|
+
ImageInputFormat = Shapes::StringShape.new(name: 'ImageInputFormat')
|
223
|
+
ImageInputSource = Shapes::UnionShape.new(name: 'ImageInputSource')
|
224
|
+
ImageInputSourceBytesBlob = Shapes::BlobShape.new(name: 'ImageInputSourceBytesBlob')
|
225
|
+
ImageInputs = Shapes::ListShape.new(name: 'ImageInputs')
|
218
226
|
ImageSource = Shapes::UnionShape.new(name: 'ImageSource')
|
219
227
|
ImageSourceBytesBlob = Shapes::BlobShape.new(name: 'ImageSourceBytesBlob')
|
220
228
|
ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
|
@@ -538,6 +546,9 @@ module Aws::BedrockAgentRuntime
|
|
538
546
|
ActionGroupInvocationOutput.add_member(:text, Shapes::ShapeRef.new(shape: ActionGroupOutputString, location_name: "text"))
|
539
547
|
ActionGroupInvocationOutput.struct_class = Types::ActionGroupInvocationOutput
|
540
548
|
|
549
|
+
ActionGroupSignatureParams.key = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsKeyString)
|
550
|
+
ActionGroupSignatureParams.value = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsValueString)
|
551
|
+
|
541
552
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
542
553
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
543
554
|
|
@@ -547,6 +558,7 @@ module Aws::BedrockAgentRuntime
|
|
547
558
|
AgentActionGroup.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
|
548
559
|
AgentActionGroup.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
|
549
560
|
AgentActionGroup.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
|
561
|
+
AgentActionGroup.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
|
550
562
|
AgentActionGroup.struct_class = Types::AgentActionGroup
|
551
563
|
|
552
564
|
AgentActionGroups.member = Shapes::ShapeRef.new(shape: AgentActionGroup)
|
@@ -708,6 +720,7 @@ module Aws::BedrockAgentRuntime
|
|
708
720
|
ContentBlocks.member = Shapes::ShapeRef.new(shape: ContentBlock)
|
709
721
|
|
710
722
|
ContentBody.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "body"))
|
723
|
+
ContentBody.add_member(:images, Shapes::ShapeRef.new(shape: ImageInputs, location_name: "images"))
|
711
724
|
ContentBody.struct_class = Types::ContentBody
|
712
725
|
|
713
726
|
ContentMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -1102,6 +1115,18 @@ module Aws::BedrockAgentRuntime
|
|
1102
1115
|
ImageBlock.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, required: true, location_name: "source"))
|
1103
1116
|
ImageBlock.struct_class = Types::ImageBlock
|
1104
1117
|
|
1118
|
+
ImageInput.add_member(:format, Shapes::ShapeRef.new(shape: ImageInputFormat, required: true, location_name: "format"))
|
1119
|
+
ImageInput.add_member(:source, Shapes::ShapeRef.new(shape: ImageInputSource, required: true, location_name: "source"))
|
1120
|
+
ImageInput.struct_class = Types::ImageInput
|
1121
|
+
|
1122
|
+
ImageInputSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageInputSourceBytesBlob, location_name: "bytes"))
|
1123
|
+
ImageInputSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1124
|
+
ImageInputSource.add_member_subclass(:bytes, Types::ImageInputSource::Bytes)
|
1125
|
+
ImageInputSource.add_member_subclass(:unknown, Types::ImageInputSource::Unknown)
|
1126
|
+
ImageInputSource.struct_class = Types::ImageInputSource
|
1127
|
+
|
1128
|
+
ImageInputs.member = Shapes::ShapeRef.new(shape: ImageInput)
|
1129
|
+
|
1105
1130
|
ImageSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageSourceBytesBlob, location_name: "bytes"))
|
1106
1131
|
ImageSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
1107
1132
|
ImageSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
@@ -205,28 +205,57 @@ module Aws::BedrockAgentRuntime
|
|
205
205
|
# @return [Types::FunctionSchema]
|
206
206
|
#
|
207
207
|
# @!attribute [rw] parent_action_group_signature
|
208
|
-
#
|
209
|
-
#
|
210
|
-
# `
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
208
|
+
# Specify a built-in or computer use action for this action group. If
|
209
|
+
# you specify a value, you must leave the `description`, `apiSchema`,
|
210
|
+
# and `actionGroupExecutor` fields empty for this action group.
|
211
|
+
#
|
212
|
+
# * To allow your agent to request the user for additional information
|
213
|
+
# when trying to complete a task, set this field to
|
214
|
+
# `AMAZON.UserInput`.
|
215
|
+
#
|
216
|
+
# * To allow your agent to generate, run, and troubleshoot code when
|
217
|
+
# trying to complete a task, set this field to
|
218
|
+
# `AMAZON.CodeInterpreter`.
|
219
|
+
#
|
220
|
+
# * To allow your agent to use an Anthropic computer use tool, specify
|
221
|
+
# one of the following values.
|
222
|
+
#
|
223
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
224
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet
|
225
|
+
# v2 only. When operating computer use functionality, we recommend
|
226
|
+
# taking additional security precautions, such as executing computer
|
227
|
+
# actions in virtual environments with restricted data access and
|
228
|
+
# limited internet connectivity. For more information, see
|
229
|
+
# [Configure an Amazon Bedrock Agent to complete tasks with computer
|
230
|
+
# use tools][1].
|
218
231
|
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
# information to complete the API request, it will invoke this action
|
222
|
-
# group instead and return an [Observation][1] reprompting the user
|
223
|
-
# for more information.
|
232
|
+
# * `ANTHROPIC.Computer` - Gives the agent permission to use the
|
233
|
+
# mouse and keyboard and take screenshots.
|
224
234
|
#
|
235
|
+
# * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
|
236
|
+
# create and edit files.
|
225
237
|
#
|
238
|
+
# * `ANTHROPIC.Bash` - Gives the agent permission to run commands in
|
239
|
+
# a bash shell.
|
226
240
|
#
|
227
|
-
#
|
241
|
+
#
|
242
|
+
#
|
243
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
228
244
|
# @return [String]
|
229
245
|
#
|
246
|
+
# @!attribute [rw] parent_action_group_signature_params
|
247
|
+
# The configuration settings for a computer use action.
|
248
|
+
#
|
249
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
250
|
+
# available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For
|
251
|
+
# more information, see [Configure an Amazon Bedrock Agent to complete
|
252
|
+
# tasks with computer use tools][1].
|
253
|
+
#
|
254
|
+
#
|
255
|
+
#
|
256
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
257
|
+
# @return [Hash<String,String>]
|
258
|
+
#
|
230
259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgentActionGroup AWS API Documentation
|
231
260
|
#
|
232
261
|
class AgentActionGroup < Struct.new(
|
@@ -235,7 +264,8 @@ module Aws::BedrockAgentRuntime
|
|
235
264
|
:api_schema,
|
236
265
|
:description,
|
237
266
|
:function_schema,
|
238
|
-
:parent_action_group_signature
|
267
|
+
:parent_action_group_signature,
|
268
|
+
:parent_action_group_signature_params)
|
239
269
|
SENSITIVE = [:action_group_name, :description]
|
240
270
|
include Aws::Structure
|
241
271
|
end
|
@@ -1013,10 +1043,23 @@ module Aws::BedrockAgentRuntime
|
|
1013
1043
|
# The body of the API response.
|
1014
1044
|
# @return [String]
|
1015
1045
|
#
|
1046
|
+
# @!attribute [rw] images
|
1047
|
+
# Lists details, including format and source, for the image in the
|
1048
|
+
# response from the function call. You can specify only one image and
|
1049
|
+
# the function in the `returnControlInvocationResults` must be a
|
1050
|
+
# computer use action. For more information, see [Configure an Amazon
|
1051
|
+
# Bedrock Agent to complete tasks with computer use tools][1].
|
1052
|
+
#
|
1053
|
+
#
|
1054
|
+
#
|
1055
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
1056
|
+
# @return [Array<Types::ImageInput>]
|
1057
|
+
#
|
1016
1058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ContentBody AWS API Documentation
|
1017
1059
|
#
|
1018
1060
|
class ContentBody < Struct.new(
|
1019
|
-
:body
|
1061
|
+
:body,
|
1062
|
+
:images)
|
1020
1063
|
SENSITIVE = []
|
1021
1064
|
include Aws::Structure
|
1022
1065
|
end
|
@@ -2086,10 +2129,18 @@ module Aws::BedrockAgentRuntime
|
|
2086
2129
|
# @return [String]
|
2087
2130
|
#
|
2088
2131
|
# @!attribute [rw] response_body
|
2089
|
-
# The response from the function call using the parameters. The
|
2090
|
-
#
|
2091
|
-
#
|
2092
|
-
#
|
2132
|
+
# The response from the function call using the parameters. The
|
2133
|
+
# response might be returned directly or from the Lambda function.
|
2134
|
+
# Specify `TEXT` or `IMAGES`. The key of the object is the content
|
2135
|
+
# type. You can only specify one type. If you specify `IMAGES`, you
|
2136
|
+
# can specify only one image. You can specify images only when the
|
2137
|
+
# function in the `returnControlInvocationResults` is a computer use
|
2138
|
+
# action. For more information, see [Configure an Amazon Bedrock Agent
|
2139
|
+
# to complete tasks with computer use tools][1].
|
2140
|
+
#
|
2141
|
+
#
|
2142
|
+
#
|
2143
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
2093
2144
|
# @return [Hash<String,Types::ContentBody>]
|
2094
2145
|
#
|
2095
2146
|
# @!attribute [rw] response_state
|
@@ -2778,6 +2829,57 @@ module Aws::BedrockAgentRuntime
|
|
2778
2829
|
include Aws::Structure
|
2779
2830
|
end
|
2780
2831
|
|
2832
|
+
# Details about an image in the result from a function in the action
|
2833
|
+
# group invocation. You can specify images only when the function is a
|
2834
|
+
# computer use action. For more information, see [Configure an Amazon
|
2835
|
+
# Bedrock Agent to complete tasks with computer use tools][1].
|
2836
|
+
#
|
2837
|
+
#
|
2838
|
+
#
|
2839
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
2840
|
+
#
|
2841
|
+
# @!attribute [rw] format
|
2842
|
+
# The type of image in the result.
|
2843
|
+
# @return [String]
|
2844
|
+
#
|
2845
|
+
# @!attribute [rw] source
|
2846
|
+
# The source of the image in the result.
|
2847
|
+
# @return [Types::ImageInputSource]
|
2848
|
+
#
|
2849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ImageInput AWS API Documentation
|
2850
|
+
#
|
2851
|
+
class ImageInput < Struct.new(
|
2852
|
+
:format,
|
2853
|
+
:source)
|
2854
|
+
SENSITIVE = []
|
2855
|
+
include Aws::Structure
|
2856
|
+
end
|
2857
|
+
|
2858
|
+
# Details about the source of an input image in the result from a
|
2859
|
+
# function in the action group invocation.
|
2860
|
+
#
|
2861
|
+
# @note ImageInputSource is a union - when making an API calls you must set exactly one of the members.
|
2862
|
+
#
|
2863
|
+
# @note ImageInputSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ImageInputSource corresponding to the set member.
|
2864
|
+
#
|
2865
|
+
# @!attribute [rw] bytes
|
2866
|
+
# The raw image bytes for the image. If you use an Amazon Web Services
|
2867
|
+
# SDK, you don't need to encode the image bytes in base64.
|
2868
|
+
# @return [String]
|
2869
|
+
#
|
2870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ImageInputSource AWS API Documentation
|
2871
|
+
#
|
2872
|
+
class ImageInputSource < Struct.new(
|
2873
|
+
:bytes,
|
2874
|
+
:unknown)
|
2875
|
+
SENSITIVE = []
|
2876
|
+
include Aws::Structure
|
2877
|
+
include Aws::Structure::Union
|
2878
|
+
|
2879
|
+
class Bytes < ImageInputSource; end
|
2880
|
+
class Unknown < ImageInputSource; end
|
2881
|
+
end
|
2882
|
+
|
2781
2883
|
# The source for an image.
|
2782
2884
|
#
|
2783
2885
|
# @note ImageSource is a union - when making an API calls you must set exactly one of the members.
|
@@ -5819,9 +5921,12 @@ module Aws::BedrockAgentRuntime
|
|
5819
5921
|
# @return [Types::FilterAttribute]
|
5820
5922
|
#
|
5821
5923
|
# @!attribute [rw] not_equals
|
5822
|
-
# Knowledge base data sources
|
5823
|
-
#
|
5824
|
-
#
|
5924
|
+
# Knowledge base data sources are returned when:
|
5925
|
+
#
|
5926
|
+
# * It contains a metadata attribute whose name matches the `key` and
|
5927
|
+
# whose value doesn't match the `value` in this object.
|
5928
|
+
#
|
5929
|
+
# * The key is not present in the document.
|
5825
5930
|
#
|
5826
5931
|
# The following example would return data sources that don't contain
|
5827
5932
|
# an `animal` attribute whose value is `cat`.
|
@@ -6210,8 +6315,10 @@ module Aws::BedrockAgentRuntime
|
|
6210
6315
|
# The type of resource that contains your data for retrieving
|
6211
6316
|
# information and generating responses.
|
6212
6317
|
#
|
6213
|
-
# If you choose to use `EXTERNAL_SOURCES`, then currently only
|
6318
|
+
# <note markdown="1"> If you choose to use `EXTERNAL_SOURCES`, then currently only
|
6214
6319
|
# Anthropic Claude 3 Sonnet models for knowledge bases are supported.
|
6320
|
+
#
|
6321
|
+
# </note>
|
6215
6322
|
# @return [String]
|
6216
6323
|
#
|
6217
6324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RetrieveAndGenerateConfiguration AWS API Documentation
|
@@ -6775,14 +6882,20 @@ module Aws::BedrockAgentRuntime
|
|
6775
6882
|
#
|
6776
6883
|
# @!attribute [rw] prompt_session_attributes
|
6777
6884
|
# Contains attributes that persist across a prompt and the values of
|
6778
|
-
# those attributes.
|
6779
|
-
#
|
6780
|
-
# orchestration prompt template
|
6781
|
-
#
|
6885
|
+
# those attributes.
|
6886
|
+
#
|
6887
|
+
# * In orchestration prompt template, these attributes replace the
|
6888
|
+
# $prompt\_session\_attributes$ placeholder variable. For more
|
6889
|
+
# information, see [Prompt template placeholder variables][1].
|
6890
|
+
#
|
6891
|
+
# * In [multi-agent collaboration][2], the `promptSessionAttributes`
|
6892
|
+
# will only be used by supervisor agent when
|
6893
|
+
# $prompt\_session\_attributes$ is present in prompt template.
|
6782
6894
|
#
|
6783
6895
|
#
|
6784
6896
|
#
|
6785
6897
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html
|
6898
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html
|
6786
6899
|
# @return [Hash<String,String>]
|
6787
6900
|
#
|
6788
6901
|
# @!attribute [rw] return_control_invocation_results
|
@@ -6802,7 +6915,13 @@ module Aws::BedrockAgentRuntime
|
|
6802
6915
|
#
|
6803
6916
|
# @!attribute [rw] session_attributes
|
6804
6917
|
# Contains attributes that persist across a session and the values of
|
6805
|
-
# those attributes.
|
6918
|
+
# those attributes. If `sessionAttributes` are passed to a supervisor
|
6919
|
+
# agent in [multi-agent collaboration][1], it will be forwarded to all
|
6920
|
+
# agent collaborators.
|
6921
|
+
#
|
6922
|
+
#
|
6923
|
+
#
|
6924
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html
|
6806
6925
|
# @return [Hash<String,String>]
|
6807
6926
|
#
|
6808
6927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/SessionState AWS API Documentation
|
data/sig/client.rbs
CHANGED
@@ -380,7 +380,15 @@ module Aws
|
|
380
380
|
http_method: ::String?,
|
381
381
|
http_status_code: ::Integer?,
|
382
382
|
response_body: Hash[::String, {
|
383
|
-
body: ::String
|
383
|
+
body: ::String?,
|
384
|
+
images: Array[
|
385
|
+
{
|
386
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
387
|
+
source: {
|
388
|
+
bytes: ::String?
|
389
|
+
}
|
390
|
+
},
|
391
|
+
]?
|
384
392
|
}]?,
|
385
393
|
response_state: ("FAILURE" | "REPROMPT")?
|
386
394
|
}?,
|
@@ -390,7 +398,15 @@ module Aws
|
|
390
398
|
confirmation_state: ("CONFIRM" | "DENY")?,
|
391
399
|
function: ::String?,
|
392
400
|
response_body: Hash[::String, {
|
393
|
-
body: ::String
|
401
|
+
body: ::String?,
|
402
|
+
images: Array[
|
403
|
+
{
|
404
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
405
|
+
source: {
|
406
|
+
bytes: ::String?
|
407
|
+
}
|
408
|
+
},
|
409
|
+
]?
|
394
410
|
}]?,
|
395
411
|
response_state: ("FAILURE" | "REPROMPT")?
|
396
412
|
}?
|
@@ -473,7 +489,8 @@ module Aws
|
|
473
489
|
},
|
474
490
|
]?
|
475
491
|
}?,
|
476
|
-
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
492
|
+
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")?,
|
493
|
+
parent_action_group_signature_params: Hash[::String, ::String]?
|
477
494
|
},
|
478
495
|
],
|
479
496
|
?agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"),
|
@@ -521,7 +538,8 @@ module Aws
|
|
521
538
|
},
|
522
539
|
]?
|
523
540
|
}?,
|
524
|
-
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
541
|
+
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")?,
|
542
|
+
parent_action_group_signature_params: Hash[::String, ::String]?
|
525
543
|
},
|
526
544
|
]?,
|
527
545
|
agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")?,
|
@@ -727,7 +745,15 @@ module Aws
|
|
727
745
|
http_method: ::String?,
|
728
746
|
http_status_code: ::Integer?,
|
729
747
|
response_body: Hash[::String, {
|
730
|
-
body: ::String
|
748
|
+
body: ::String?,
|
749
|
+
images: Array[
|
750
|
+
{
|
751
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
752
|
+
source: {
|
753
|
+
bytes: ::String?
|
754
|
+
}
|
755
|
+
},
|
756
|
+
]?
|
731
757
|
}]?,
|
732
758
|
response_state: ("FAILURE" | "REPROMPT")?
|
733
759
|
}?,
|
@@ -737,7 +763,15 @@ module Aws
|
|
737
763
|
confirmation_state: ("CONFIRM" | "DENY")?,
|
738
764
|
function: ::String?,
|
739
765
|
response_body: Hash[::String, {
|
740
|
-
body: ::String
|
766
|
+
body: ::String?,
|
767
|
+
images: Array[
|
768
|
+
{
|
769
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
770
|
+
source: {
|
771
|
+
bytes: ::String?
|
772
|
+
}
|
773
|
+
},
|
774
|
+
]?
|
741
775
|
}]?,
|
742
776
|
response_state: ("FAILURE" | "REPROMPT")?
|
743
777
|
}?
|
data/sig/types.rbs
CHANGED
@@ -65,7 +65,8 @@ module Aws::BedrockAgentRuntime
|
|
65
65
|
attr_accessor api_schema: Types::APISchema
|
66
66
|
attr_accessor description: ::String
|
67
67
|
attr_accessor function_schema: Types::FunctionSchema
|
68
|
-
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
68
|
+
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
|
69
|
+
attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
|
69
70
|
SENSITIVE: [:action_group_name, :description]
|
70
71
|
end
|
71
72
|
|
@@ -276,6 +277,7 @@ module Aws::BedrockAgentRuntime
|
|
276
277
|
|
277
278
|
class ContentBody
|
278
279
|
attr_accessor body: ::String
|
280
|
+
attr_accessor images: ::Array[Types::ImageInput]
|
279
281
|
SENSITIVE: []
|
280
282
|
end
|
281
283
|
|
@@ -791,6 +793,23 @@ module Aws::BedrockAgentRuntime
|
|
791
793
|
SENSITIVE: []
|
792
794
|
end
|
793
795
|
|
796
|
+
class ImageInput
|
797
|
+
attr_accessor format: ("png" | "jpeg" | "gif" | "webp")
|
798
|
+
attr_accessor source: Types::ImageInputSource
|
799
|
+
SENSITIVE: []
|
800
|
+
end
|
801
|
+
|
802
|
+
class ImageInputSource
|
803
|
+
attr_accessor bytes: ::String
|
804
|
+
attr_accessor unknown: untyped
|
805
|
+
SENSITIVE: []
|
806
|
+
|
807
|
+
class Bytes < ImageInputSource
|
808
|
+
end
|
809
|
+
class Unknown < ImageInputSource
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
794
813
|
class ImageSource
|
795
814
|
attr_accessor bytes: ::String
|
796
815
|
attr_accessor s3_location: Types::S3Location
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagentruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|