aws-sdk-bedrockagent 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f224138d7bff4d88ec9bce10ded84f14b9c7dfb2cd93328bfc73b2da79c7c4f
4
- data.tar.gz: 8c5fd2eecb7fd3463c6260ca2fab75e2a3a138ca5ffdb9dcbcd1571549b8c009
3
+ metadata.gz: e00949b3c8f2b6f70ca1951dc2600827d7e7b843b3aa5f0f3db2d5f6ef52cbcd
4
+ data.tar.gz: cb8ac7f1612a2218cfda9dae949fe09e0ec454e2c40fd3e323f91c9c50f0ec58
5
5
  SHA512:
6
- metadata.gz: 13d01fc60761edd0fa884ffc99f279a2741a185d97e623cb7ba3cd2a9d339201591c0982749566d82edf44b018f93253ea5edc62b1ca217ee220f819eac64778
7
- data.tar.gz: e3d6d332f19279ea221ec7628ff6d6c7d4260059f7ad408058e468e70fb8f1d092a9a6fbb016a157f57b022b7d00f2fd294b969fabbccbf6110658507579d93d
6
+ metadata.gz: 34b02e90dd9189b77d5c69569478683948965fc67893c4b0a9ed5bed67d5ab255137909a9d21bf6d55d480ac5c2c045195dd21db56794bfb9f1fcade7c9def6b
7
+ data.tar.gz: a59626199e9ad4e79d9a4f808da3068d6fe9a96166e7b9cd2f6cd77dba0de6c9aea94ad3d2597e85cd73b952decb363b6133240845727c3d34c2e47762d01442
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2025-03-10)
5
+ ------------------
6
+
7
+ * Feature - Add support for computer use tools
8
+
4
9
  1.50.0 (2025-03-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -932,24 +932,53 @@ module Aws::BedrockAgent
932
932
  # JSON or YAML-formatted payload defining the schema.
933
933
  #
934
934
  # @option params [String] :parent_action_group_signature
935
- # To allow your agent to request the user for additional information
936
- # when trying to complete a task, set this field to `AMAZON.UserInput`.
937
- # You must leave the `description`, `apiSchema`, and
938
- # `actionGroupExecutor` fields blank for this action group.
935
+ # Specify a built-in or computer use action for this action group. If
936
+ # you specify a value, you must leave the `description`, `apiSchema`,
937
+ # and `actionGroupExecutor` fields empty for this action group.
939
938
  #
940
- # To allow your agent to generate, run, and troubleshoot code when
941
- # trying to complete a task, set this field to `AMAZON.CodeInterpreter`.
942
- # You must leave the `description`, `apiSchema`, and
943
- # `actionGroupExecutor` fields blank for this action group.
939
+ # * To allow your agent to request the user for additional information
940
+ # when trying to complete a task, set this field to
941
+ # `AMAZON.UserInput`.
944
942
  #
945
- # During orchestration, if your agent determines that it needs to invoke
946
- # an API in an action group, but doesn't have enough information to
947
- # complete the API request, it will invoke this action group instead and
948
- # return an [Observation][1] reprompting the user for more information.
943
+ # * To allow your agent to generate, run, and troubleshoot code when
944
+ # trying to complete a task, set this field to
945
+ # `AMAZON.CodeInterpreter`.
946
+ #
947
+ # * To allow your agent to use an Anthropic computer use tool, specify
948
+ # one of the following values.
949
+ #
950
+ # Computer use is a new Anthropic Claude model capability (in beta)
951
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
952
+ # only. When operating computer use functionality, we recommend taking
953
+ # additional security precautions, such as executing computer actions
954
+ # in virtual environments with restricted data access and limited
955
+ # internet connectivity. For more information, see [Configure an
956
+ # Amazon Bedrock Agent to complete tasks with computer use tools][1].
957
+ #
958
+ # * `ANTHROPIC.Computer` - Gives the agent permission to use the mouse
959
+ # and keyboard and take screenshots.
960
+ #
961
+ # * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
962
+ # create and edit files.
949
963
  #
964
+ # * `ANTHROPIC.Bash` - Gives the agent permission to run commands in a
965
+ # bash shell.
950
966
  #
951
967
  #
952
- # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
968
+ #
969
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
970
+ #
971
+ # @option params [Hash<String,String>] :parent_action_group_signature_params
972
+ # The configuration settings for a computer use action.
973
+ #
974
+ # Computer use is a new Anthropic Claude model capability (in beta)
975
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
976
+ # only. For more information, see [Configure an Amazon Bedrock Agent to
977
+ # complete tasks with computer use tools][1].
978
+ #
979
+ #
980
+ #
981
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
953
982
  #
954
983
  # @return [Types::CreateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
955
984
  #
@@ -991,7 +1020,10 @@ module Aws::BedrockAgent
991
1020
  # },
992
1021
  # ],
993
1022
  # },
994
- # parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
1023
+ # parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
1024
+ # parent_action_group_signature_params: {
1025
+ # "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
1026
+ # },
995
1027
  # })
996
1028
  #
997
1029
  # @example Response structure
@@ -1017,7 +1049,9 @@ module Aws::BedrockAgent
1017
1049
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
1018
1050
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
1019
1051
  # resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
1020
- # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
1052
+ # resp.agent_action_group.parent_action_group_signature_params #=> Hash
1053
+ # resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
1054
+ # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
1021
1055
  # resp.agent_action_group.updated_at #=> Time
1022
1056
  #
1023
1057
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroup AWS API Documentation
@@ -3309,7 +3343,9 @@ module Aws::BedrockAgent
3309
3343
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
3310
3344
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
3311
3345
  # resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
3312
- # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
3346
+ # resp.agent_action_group.parent_action_group_signature_params #=> Hash
3347
+ # resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
3348
+ # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
3313
3349
  # resp.agent_action_group.updated_at #=> Time
3314
3350
  #
3315
3351
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentActionGroup AWS API Documentation
@@ -5755,19 +5791,59 @@ module Aws::BedrockAgent
5755
5791
  # JSON or YAML-formatted payload defining the schema.
5756
5792
  #
5757
5793
  # @option params [String] :parent_action_group_signature
5758
- # To allow your agent to request the user for additional information
5759
- # when trying to complete a task, set this field to `AMAZON.UserInput`.
5760
- # You must leave the `description`, `apiSchema`, and
5761
- # `actionGroupExecutor` fields blank for this action group.
5794
+ # Update the built-in or computer use action for this action group. If
5795
+ # you specify a value, you must leave the `description`, `apiSchema`,
5796
+ # and `actionGroupExecutor` fields empty for this action group.
5797
+ #
5798
+ # * To allow your agent to request the user for additional information
5799
+ # when trying to complete a task, set this field to
5800
+ # `AMAZON.UserInput`.
5801
+ #
5802
+ # * To allow your agent to generate, run, and troubleshoot code when
5803
+ # trying to complete a task, set this field to
5804
+ # `AMAZON.CodeInterpreter`.
5805
+ #
5806
+ # * To allow your agent to use an Anthropic computer use tool, specify
5807
+ # one of the following values.
5808
+ #
5809
+ # Computer use is a new Anthropic Claude model capability (in beta)
5810
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
5811
+ # only. When operating computer use functionality, we recommend taking
5812
+ # additional security precautions, such as executing computer actions
5813
+ # in virtual environments with restricted data access and limited
5814
+ # internet connectivity. For more information, see [Configure an
5815
+ # Amazon Bedrock Agent to complete tasks with computer use tools][1].
5816
+ #
5817
+ # * `ANTHROPIC.Computer` - Gives the agent permission to use the mouse
5818
+ # and keyboard and take screenshots.
5819
+ #
5820
+ # * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
5821
+ # create and edit files.
5822
+ #
5823
+ # * `ANTHROPIC.Bash` - Gives the agent permission to run commands in a
5824
+ # bash shell.
5762
5825
  #
5763
5826
  # During orchestration, if your agent determines that it needs to invoke
5764
5827
  # an API in an action group, but doesn't have enough information to
5765
5828
  # complete the API request, it will invoke this action group instead and
5766
- # return an [Observation][1] reprompting the user for more information.
5829
+ # return an [Observation][2] reprompting the user for more information.
5767
5830
  #
5768
5831
  #
5769
5832
  #
5770
- # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
5833
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
5834
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
5835
+ #
5836
+ # @option params [Hash<String,String>] :parent_action_group_signature_params
5837
+ # The configuration settings for a computer use action.
5838
+ #
5839
+ # Computer use is a new Anthropic Claude model capability (in beta)
5840
+ # available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more
5841
+ # information, see [Configure an Amazon Bedrock Agent to complete tasks
5842
+ # with computer use tools][1].
5843
+ #
5844
+ #
5845
+ #
5846
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
5771
5847
  #
5772
5848
  # @return [Types::UpdateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5773
5849
  #
@@ -5809,7 +5885,10 @@ module Aws::BedrockAgent
5809
5885
  # },
5810
5886
  # ],
5811
5887
  # },
5812
- # parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
5888
+ # parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
5889
+ # parent_action_group_signature_params: {
5890
+ # "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
5891
+ # },
5813
5892
  # })
5814
5893
  #
5815
5894
  # @example Response structure
@@ -5835,7 +5914,9 @@ module Aws::BedrockAgent
5835
5914
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
5836
5915
  # resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
5837
5916
  # resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
5838
- # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter"
5917
+ # resp.agent_action_group.parent_action_group_signature_params #=> Hash
5918
+ # resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
5919
+ # resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
5839
5920
  # resp.agent_action_group.updated_at #=> Time
5840
5921
  #
5841
5922
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroup AWS API Documentation
@@ -7498,7 +7579,7 @@ module Aws::BedrockAgent
7498
7579
  tracer: tracer
7499
7580
  )
7500
7581
  context[:gem_name] = 'aws-sdk-bedrockagent'
7501
- context[:gem_version] = '1.50.0'
7582
+ context[:gem_version] = '1.51.0'
7502
7583
  Seahorse::Client::Request.new(handlers, context)
7503
7584
  end
7504
7585
 
@@ -18,6 +18,9 @@ module Aws::BedrockAgent
18
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
19
  ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
20
20
  ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
21
+ ActionGroupSignatureParams = Shapes::MapShape.new(name: 'ActionGroupSignatureParams')
22
+ ActionGroupSignatureParamsKeyString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsKeyString')
23
+ ActionGroupSignatureParamsValueString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsValueString')
21
24
  ActionGroupState = Shapes::StringShape.new(name: 'ActionGroupState')
22
25
  ActionGroupSummaries = Shapes::ListShape.new(name: 'ActionGroupSummaries')
23
26
  ActionGroupSummary = Shapes::StructureShape.new(name: 'ActionGroupSummary')
@@ -663,6 +666,9 @@ module Aws::BedrockAgent
663
666
  ActionGroupExecutor.add_member_subclass(:unknown, Types::ActionGroupExecutor::Unknown)
664
667
  ActionGroupExecutor.struct_class = Types::ActionGroupExecutor
665
668
 
669
+ ActionGroupSignatureParams.key = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsKeyString)
670
+ ActionGroupSignatureParams.value = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsValueString)
671
+
666
672
  ActionGroupSummaries.member = Shapes::ShapeRef.new(shape: ActionGroupSummary)
667
673
 
668
674
  ActionGroupSummary.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "actionGroupId"))
@@ -708,6 +714,7 @@ module Aws::BedrockAgent
708
714
  AgentActionGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
709
715
  AgentActionGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
710
716
  AgentActionGroup.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
717
+ AgentActionGroup.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
711
718
  AgentActionGroup.add_member(:parent_action_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionSignature"))
712
719
  AgentActionGroup.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
713
720
  AgentActionGroup.struct_class = Types::AgentActionGroup
@@ -953,6 +960,7 @@ module Aws::BedrockAgent
953
960
  CreateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
954
961
  CreateAgentActionGroupRequest.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
955
962
  CreateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
963
+ CreateAgentActionGroupRequest.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
956
964
  CreateAgentActionGroupRequest.struct_class = Types::CreateAgentActionGroupRequest
957
965
 
958
966
  CreateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
@@ -2562,6 +2570,7 @@ module Aws::BedrockAgent
2562
2570
  UpdateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2563
2571
  UpdateAgentActionGroupRequest.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
2564
2572
  UpdateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
2573
+ UpdateAgentActionGroupRequest.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
2565
2574
  UpdateAgentActionGroupRequest.struct_class = Types::UpdateAgentActionGroupRequest
2566
2575
 
2567
2576
  UpdateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
@@ -376,6 +376,19 @@ module Aws::BedrockAgent
376
376
  # action group.
377
377
  # @return [Types::FunctionSchema]
378
378
  #
379
+ # @!attribute [rw] parent_action_group_signature_params
380
+ # The configuration settings for a computer use action.
381
+ #
382
+ # Computer use is a new Anthropic Claude model capability (in beta)
383
+ # available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For
384
+ # more information, see [Configure an Amazon Bedrock Agent to complete
385
+ # tasks with computer use tools][1].
386
+ #
387
+ #
388
+ #
389
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
390
+ # @return [Hash<String,String>]
391
+ #
379
392
  # @!attribute [rw] parent_action_signature
380
393
  # If this field is set as `AMAZON.UserInput`, the agent can request
381
394
  # the user for additional information when trying to complete a task.
@@ -411,6 +424,7 @@ module Aws::BedrockAgent
411
424
  :created_at,
412
425
  :description,
413
426
  :function_schema,
427
+ :parent_action_group_signature_params,
414
428
  :parent_action_signature,
415
429
  :updated_at)
416
430
  SENSITIVE = []
@@ -1725,28 +1739,57 @@ module Aws::BedrockAgent
1725
1739
  # @return [Types::FunctionSchema]
1726
1740
  #
1727
1741
  # @!attribute [rw] parent_action_group_signature
1728
- # To allow your agent to request the user for additional information
1729
- # when trying to complete a task, set this field to
1730
- # `AMAZON.UserInput`. You must leave the `description`, `apiSchema`,
1731
- # and `actionGroupExecutor` fields blank for this action group.
1732
- #
1733
- # To allow your agent to generate, run, and troubleshoot code when
1734
- # trying to complete a task, set this field to
1735
- # `AMAZON.CodeInterpreter`. You must leave the `description`,
1736
- # `apiSchema`, and `actionGroupExecutor` fields blank for this action
1737
- # group.
1742
+ # Specify a built-in or computer use action for this action group. If
1743
+ # you specify a value, you must leave the `description`, `apiSchema`,
1744
+ # and `actionGroupExecutor` fields empty for this action group.
1738
1745
  #
1739
- # During orchestration, if your agent determines that it needs to
1740
- # invoke an API in an action group, but doesn't have enough
1741
- # information to complete the API request, it will invoke this action
1742
- # group instead and return an [Observation][1] reprompting the user
1743
- # for more information.
1746
+ # * To allow your agent to request the user for additional information
1747
+ # when trying to complete a task, set this field to
1748
+ # `AMAZON.UserInput`.
1744
1749
  #
1750
+ # * To allow your agent to generate, run, and troubleshoot code when
1751
+ # trying to complete a task, set this field to
1752
+ # `AMAZON.CodeInterpreter`.
1745
1753
  #
1754
+ # * To allow your agent to use an Anthropic computer use tool, specify
1755
+ # one of the following values.
1746
1756
  #
1747
- # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
1757
+ # Computer use is a new Anthropic Claude model capability (in beta)
1758
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet
1759
+ # v2 only. When operating computer use functionality, we recommend
1760
+ # taking additional security precautions, such as executing computer
1761
+ # actions in virtual environments with restricted data access and
1762
+ # limited internet connectivity. For more information, see
1763
+ # [Configure an Amazon Bedrock Agent to complete tasks with computer
1764
+ # use tools][1].
1765
+ #
1766
+ # * `ANTHROPIC.Computer` - Gives the agent permission to use the
1767
+ # mouse and keyboard and take screenshots.
1768
+ #
1769
+ # * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
1770
+ # create and edit files.
1771
+ #
1772
+ # * `ANTHROPIC.Bash` - Gives the agent permission to run commands in
1773
+ # a bash shell.
1774
+ #
1775
+ #
1776
+ #
1777
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
1748
1778
  # @return [String]
1749
1779
  #
1780
+ # @!attribute [rw] parent_action_group_signature_params
1781
+ # The configuration settings for a computer use action.
1782
+ #
1783
+ # Computer use is a new Anthropic Claude model capability (in beta)
1784
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
1785
+ # only. For more information, see [Configure an Amazon Bedrock Agent
1786
+ # to complete tasks with computer use tools][1].
1787
+ #
1788
+ #
1789
+ #
1790
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
1791
+ # @return [Hash<String,String>]
1792
+ #
1750
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroupRequest AWS API Documentation
1751
1794
  #
1752
1795
  class CreateAgentActionGroupRequest < Struct.new(
@@ -1759,7 +1802,8 @@ module Aws::BedrockAgent
1759
1802
  :client_token,
1760
1803
  :description,
1761
1804
  :function_schema,
1762
- :parent_action_group_signature)
1805
+ :parent_action_group_signature,
1806
+ :parent_action_group_signature_params)
1763
1807
  SENSITIVE = []
1764
1808
  include Aws::Structure
1765
1809
  end
@@ -7651,7 +7695,7 @@ module Aws::BedrockAgent
7651
7695
  # Specifies whether to override the default parser Lambda function
7652
7696
  # when parsing the raw foundation model output in the part of the
7653
7697
  # agent sequence defined by the `promptType`. If you set the field as
7654
- # `OVERRIDEN`, the `overrideLambda` field in the
7698
+ # `OVERRIDDEN`, the `overrideLambda` field in the
7655
7699
  # [PromptOverrideConfiguration][1] must be specified with the ARN of a
7656
7700
  # Lambda function.
7657
7701
  #
@@ -9869,22 +9913,64 @@ module Aws::BedrockAgent
9869
9913
  # @return [Types::FunctionSchema]
9870
9914
  #
9871
9915
  # @!attribute [rw] parent_action_group_signature
9872
- # To allow your agent to request the user for additional information
9873
- # when trying to complete a task, set this field to
9874
- # `AMAZON.UserInput`. You must leave the `description`, `apiSchema`,
9875
- # and `actionGroupExecutor` fields blank for this action group.
9916
+ # Update the built-in or computer use action for this action group. If
9917
+ # you specify a value, you must leave the `description`, `apiSchema`,
9918
+ # and `actionGroupExecutor` fields empty for this action group.
9919
+ #
9920
+ # * To allow your agent to request the user for additional information
9921
+ # when trying to complete a task, set this field to
9922
+ # `AMAZON.UserInput`.
9923
+ #
9924
+ # * To allow your agent to generate, run, and troubleshoot code when
9925
+ # trying to complete a task, set this field to
9926
+ # `AMAZON.CodeInterpreter`.
9927
+ #
9928
+ # * To allow your agent to use an Anthropic computer use tool, specify
9929
+ # one of the following values.
9930
+ #
9931
+ # Computer use is a new Anthropic Claude model capability (in beta)
9932
+ # available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet
9933
+ # v2 only. When operating computer use functionality, we recommend
9934
+ # taking additional security precautions, such as executing computer
9935
+ # actions in virtual environments with restricted data access and
9936
+ # limited internet connectivity. For more information, see
9937
+ # [Configure an Amazon Bedrock Agent to complete tasks with computer
9938
+ # use tools][1].
9939
+ #
9940
+ # * `ANTHROPIC.Computer` - Gives the agent permission to use the
9941
+ # mouse and keyboard and take screenshots.
9942
+ #
9943
+ # * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
9944
+ # create and edit files.
9945
+ #
9946
+ # * `ANTHROPIC.Bash` - Gives the agent permission to run commands in
9947
+ # a bash shell.
9876
9948
  #
9877
9949
  # During orchestration, if your agent determines that it needs to
9878
9950
  # invoke an API in an action group, but doesn't have enough
9879
9951
  # information to complete the API request, it will invoke this action
9880
- # group instead and return an [Observation][1] reprompting the user
9952
+ # group instead and return an [Observation][2] reprompting the user
9881
9953
  # for more information.
9882
9954
  #
9883
9955
  #
9884
9956
  #
9885
- # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
9957
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
9958
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
9886
9959
  # @return [String]
9887
9960
  #
9961
+ # @!attribute [rw] parent_action_group_signature_params
9962
+ # The configuration settings for a computer use action.
9963
+ #
9964
+ # Computer use is a new Anthropic Claude model capability (in beta)
9965
+ # available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more
9966
+ # information, see [Configure an Amazon Bedrock Agent to complete
9967
+ # tasks with computer use tools][1].
9968
+ #
9969
+ #
9970
+ #
9971
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
9972
+ # @return [Hash<String,String>]
9973
+ #
9888
9974
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroupRequest AWS API Documentation
9889
9975
  #
9890
9976
  class UpdateAgentActionGroupRequest < Struct.new(
@@ -9897,7 +9983,8 @@ module Aws::BedrockAgent
9897
9983
  :api_schema,
9898
9984
  :description,
9899
9985
  :function_schema,
9900
- :parent_action_group_signature)
9986
+ :parent_action_group_signature,
9987
+ :parent_action_group_signature_params)
9901
9988
  SENSITIVE = []
9902
9989
  include Aws::Structure
9903
9990
  end
@@ -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.50.0'
57
+ GEM_VERSION = '1.51.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -204,7 +204,8 @@ module Aws
204
204
  },
205
205
  ]?
206
206
  },
207
- ?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
207
+ ?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"),
208
+ ?parent_action_group_signature_params: Hash[::String, ::String]
208
209
  ) -> _CreateAgentActionGroupResponseSuccess
209
210
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentActionGroupResponseSuccess
210
211
 
@@ -1758,7 +1759,8 @@ module Aws
1758
1759
  },
1759
1760
  ]?
1760
1761
  },
1761
- ?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
1762
+ ?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"),
1763
+ ?parent_action_group_signature_params: Hash[::String, ::String]
1762
1764
  ) -> _UpdateAgentActionGroupResponseSuccess
1763
1765
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentActionGroupResponseSuccess
1764
1766
 
data/sig/types.rbs CHANGED
@@ -89,7 +89,8 @@ module Aws::BedrockAgent
89
89
  attr_accessor created_at: ::Time
90
90
  attr_accessor description: ::String
91
91
  attr_accessor function_schema: Types::FunctionSchema
92
- attr_accessor parent_action_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
92
+ attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
93
+ attr_accessor parent_action_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
93
94
  attr_accessor updated_at: ::Time
94
95
  SENSITIVE: []
95
96
  end
@@ -390,7 +391,8 @@ module Aws::BedrockAgent
390
391
  attr_accessor client_token: ::String
391
392
  attr_accessor description: ::String
392
393
  attr_accessor function_schema: Types::FunctionSchema
393
- attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
394
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
395
+ attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
394
396
  SENSITIVE: []
395
397
  end
396
398
 
@@ -2561,7 +2563,8 @@ module Aws::BedrockAgent
2561
2563
  attr_accessor api_schema: Types::APISchema
2562
2564
  attr_accessor description: ::String
2563
2565
  attr_accessor function_schema: Types::FunctionSchema
2564
- attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
2566
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
2567
+ attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
2565
2568
  SENSITIVE: []
2566
2569
  end
2567
2570
 
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.50.0
4
+ version: 1.51.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-07 00:00:00.000000000 Z
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