aws-sdk-bedrockagentcore 1.25.0 → 1.27.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: d14de8a9be7333d1d13dc6cd07cd1aee920df9a5c702b6f2f91bd709ac8fa9a3
4
- data.tar.gz: 59e151e33f95392a070ee7c8dbbd7a0a154294b5a65c5eae5ba0ad280bb50674
3
+ metadata.gz: 95c36dfda3736bc62b7080884c06aa6f0ad99e39e246280ec8f7de28923c7bf9
4
+ data.tar.gz: 427b46b13f95620bbe5fc9eda2ed4ab9a2439f173d1bc176e769b9fe173f3571
5
5
  SHA512:
6
- metadata.gz: 9855c303bde7ab917a787ea384a533a9d1708c79de044c10514dcc9c2d0d7d9d0425c4799b6202560c5391ddeed95bfc582daa8c74ca7ae00ecf438b685a6048
7
- data.tar.gz: 88ffc56e98b0f77cf984dc4a49043ef23823564df6c0fffb2806dc3dc91e74ccf6756b947c9a3f2d31440fc3b7dc7e3635f6138bd2a8d2b5f8d73a2cbf99578e
6
+ metadata.gz: f498cba57bbb03bbf8be38e9d22ad5987ce384e11f43ce0fe465cf277a02341eb2e1ae26e8212b445d59f3b74c9abd7bc5493edcd7889475f0406650c757d83f
7
+ data.tar.gz: 8371f1b94b461dc234aaa3a03ffe49f4f50d99c01f303a92e5714e744ea202dd23c6658b3ed5f46675623c56e77b7fc254a25cc659ac955f1a0d9236b6a69b9b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2026-04-09)
5
+ ------------------
6
+
7
+ * Feature - Introducing support for SearchRegistryRecords API on AgentCoreRegistry
8
+
9
+ 1.26.0 (2026-04-07)
10
+ ------------------
11
+
12
+ * Feature - This release includes support for 1) InvokeBrowser API, enabling OS-level control of AgentCore Browser Tool sessions through mouse actions, keyboard input, and screenshots. 2) Added documentation noting that empty sessions are automatically deleted after one day in the ListSessions API.
13
+
4
14
  1.25.0 (2026-04-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.27.0
@@ -1958,6 +1958,125 @@ module Aws::BedrockAgentCore
1958
1958
  req.send_request(options, &block)
1959
1959
  end
1960
1960
 
1961
+ # Invokes an operating system-level action on a browser session in
1962
+ # Amazon Bedrock AgentCore. This operation provides direct OS-level
1963
+ # control over browser sessions, enabling mouse actions, keyboard input,
1964
+ # and screenshots that the WebSocket-based Chrome DevTools Protocol
1965
+ # (CDP) cannot handle — such as interacting with print dialogs, context
1966
+ # menus, and JavaScript alerts.
1967
+ #
1968
+ # You send a request with exactly one action in the `BrowserAction`
1969
+ # union, and receive a corresponding result in the `BrowserActionResult`
1970
+ # union.
1971
+ #
1972
+ # The following operations are related to `InvokeBrowser`:
1973
+ #
1974
+ # * [StartBrowserSession][1]
1975
+ #
1976
+ # * [GetBrowserSession][2]
1977
+ #
1978
+ # * [StopBrowserSession][3]
1979
+ #
1980
+ #
1981
+ #
1982
+ # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html
1983
+ # [2]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html
1984
+ # [3]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html
1985
+ #
1986
+ # @option params [required, String] :browser_identifier
1987
+ # The unique identifier of the browser associated with the session. This
1988
+ # must match the identifier used when creating the session with
1989
+ # `StartBrowserSession`.
1990
+ #
1991
+ # @option params [required, String] :session_id
1992
+ # The unique identifier of the browser session on which to perform the
1993
+ # action. This must be an active session created with
1994
+ # `StartBrowserSession`.
1995
+ #
1996
+ # @option params [required, Types::BrowserAction] :action
1997
+ # The browser action to perform. Exactly one member of the
1998
+ # `BrowserAction` union must be set per request.
1999
+ #
2000
+ # @return [Types::InvokeBrowserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2001
+ #
2002
+ # * {Types::InvokeBrowserResponse#result #result} => Types::BrowserActionResult
2003
+ # * {Types::InvokeBrowserResponse#session_id #session_id} => String
2004
+ #
2005
+ # @example Request syntax with placeholder values
2006
+ #
2007
+ # resp = client.invoke_browser({
2008
+ # browser_identifier: "String", # required
2009
+ # session_id: "BrowserSessionId", # required
2010
+ # action: { # required
2011
+ # mouse_click: {
2012
+ # x: 1, # required
2013
+ # y: 1, # required
2014
+ # button: "LEFT", # accepts LEFT, RIGHT, MIDDLE
2015
+ # click_count: 1,
2016
+ # },
2017
+ # mouse_move: {
2018
+ # x: 1, # required
2019
+ # y: 1, # required
2020
+ # },
2021
+ # mouse_drag: {
2022
+ # end_x: 1, # required
2023
+ # end_y: 1, # required
2024
+ # start_x: 1, # required
2025
+ # start_y: 1, # required
2026
+ # button: "LEFT", # accepts LEFT, RIGHT, MIDDLE
2027
+ # },
2028
+ # mouse_scroll: {
2029
+ # x: 1, # required
2030
+ # y: 1, # required
2031
+ # delta_x: 1,
2032
+ # delta_y: 1,
2033
+ # },
2034
+ # key_type: {
2035
+ # text: "KeyTypeArgumentsTextString", # required
2036
+ # },
2037
+ # key_press: {
2038
+ # key: "String", # required
2039
+ # presses: 1,
2040
+ # },
2041
+ # key_shortcut: {
2042
+ # keys: ["String"], # required
2043
+ # },
2044
+ # screenshot: {
2045
+ # format: "PNG", # accepts PNG
2046
+ # },
2047
+ # },
2048
+ # })
2049
+ #
2050
+ # @example Response structure
2051
+ #
2052
+ # resp.result.mouse_click.status #=> String, one of "SUCCESS", "FAILED"
2053
+ # resp.result.mouse_click.error #=> String
2054
+ # resp.result.mouse_move.status #=> String, one of "SUCCESS", "FAILED"
2055
+ # resp.result.mouse_move.error #=> String
2056
+ # resp.result.mouse_drag.status #=> String, one of "SUCCESS", "FAILED"
2057
+ # resp.result.mouse_drag.error #=> String
2058
+ # resp.result.mouse_scroll.status #=> String, one of "SUCCESS", "FAILED"
2059
+ # resp.result.mouse_scroll.error #=> String
2060
+ # resp.result.key_type.status #=> String, one of "SUCCESS", "FAILED"
2061
+ # resp.result.key_type.error #=> String
2062
+ # resp.result.key_press.status #=> String, one of "SUCCESS", "FAILED"
2063
+ # resp.result.key_press.error #=> String
2064
+ # resp.result.key_shortcut.status #=> String, one of "SUCCESS", "FAILED"
2065
+ # resp.result.key_shortcut.error #=> String
2066
+ # resp.result.screenshot.status #=> String, one of "SUCCESS", "FAILED"
2067
+ # resp.result.screenshot.error #=> String
2068
+ # resp.result.screenshot.data #=> String
2069
+ # resp.session_id #=> String
2070
+ #
2071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InvokeBrowser AWS API Documentation
2072
+ #
2073
+ # @overload invoke_browser(params = {})
2074
+ # @param [Hash] params ({})
2075
+ def invoke_browser(params = {}, options = {})
2076
+ req = build_request(:invoke_browser, params)
2077
+ req.send_request(options)
2078
+ end
2079
+
1961
2080
  # Executes code within an active code interpreter session in Amazon
1962
2081
  # Bedrock AgentCore. This operation processes the provided code, runs it
1963
2082
  # in a secure environment, and returns the execution results including
@@ -2716,6 +2835,8 @@ module Aws::BedrockAgentCore
2716
2835
  # criteria. We recommend using pagination to ensure that the operation
2717
2836
  # returns quickly and successfully.
2718
2837
  #
2838
+ # Empty sessions are automatically deleted after one day.
2839
+ #
2719
2840
  # To use this operation, you must have the
2720
2841
  # `bedrock-agentcore:ListSessions` permission.
2721
2842
  #
@@ -2951,6 +3072,84 @@ module Aws::BedrockAgentCore
2951
3072
  req.send_request(options)
2952
3073
  end
2953
3074
 
3075
+ # Searches for registry records using semantic, lexical, or hybrid
3076
+ # queries. Returns metadata for matching records ordered by relevance
3077
+ # within the specified registry.
3078
+ #
3079
+ # @option params [required, String] :search_query
3080
+ # The search query to find matching registry records.
3081
+ #
3082
+ # @option params [required, Array<String>] :registry_ids
3083
+ # The list of registry identifiers to search within. Currently, you can
3084
+ # specify exactly one registry identifier. You can provide either the
3085
+ # full Amazon Web Services Resource Name (ARN) or the 12-character
3086
+ # alphanumeric registry ID.
3087
+ #
3088
+ # @option params [Integer] :max_results
3089
+ # The maximum number of records to return in a single call. Valid values
3090
+ # are 1 through 20. The default value is 10.
3091
+ #
3092
+ # @option params [Hash,Array,String,Numeric,Boolean] :filters
3093
+ # A metadata filter expression to narrow search results. Uses structured
3094
+ # JSON operators including field-level operators (`$eq`, `$ne`, `$in`)
3095
+ # and logical operators (`$and`, `$or`) on filterable fields (`name`,
3096
+ # `descriptorType`, `version`). For example, to filter by descriptor
3097
+ # type: `{"descriptorType": {"$eq": "MCP"}}`. To combine filters:
3098
+ # `{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq":
3099
+ # "my-tool"}}]}`.
3100
+ #
3101
+ # Document type used to carry open content
3102
+ # (Hash,Array,String,Numeric,Boolean). A document type value is
3103
+ # serialized using the same format as its surroundings and requires no
3104
+ # additional encoding or escaping.
3105
+ #
3106
+ # @return [Types::SearchRegistryRecordsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3107
+ #
3108
+ # * {Types::SearchRegistryRecordsResponse#registry_records #registry_records} => Array&lt;Types::RegistryRecordSummary&gt;
3109
+ #
3110
+ # @example Request syntax with placeholder values
3111
+ #
3112
+ # resp = client.search_registry_records({
3113
+ # search_query: "SearchRegistryRecordsRequestSearchQueryString", # required
3114
+ # registry_ids: ["RegistryIdentifier"], # required
3115
+ # max_results: 1,
3116
+ # filters: {
3117
+ # },
3118
+ # })
3119
+ #
3120
+ # @example Response structure
3121
+ #
3122
+ # resp.registry_records #=> Array
3123
+ # resp.registry_records[0].registry_arn #=> String
3124
+ # resp.registry_records[0].record_arn #=> String
3125
+ # resp.registry_records[0].record_id #=> String
3126
+ # resp.registry_records[0].name #=> String
3127
+ # resp.registry_records[0].description #=> String
3128
+ # resp.registry_records[0].descriptor_type #=> String, one of "MCP", "A2A", "CUSTOM", "AGENT_SKILLS"
3129
+ # resp.registry_records[0].descriptors.mcp.server.schema_version #=> String
3130
+ # resp.registry_records[0].descriptors.mcp.server.inline_content #=> String
3131
+ # resp.registry_records[0].descriptors.mcp.tools.protocol_version #=> String
3132
+ # resp.registry_records[0].descriptors.mcp.tools.inline_content #=> String
3133
+ # resp.registry_records[0].descriptors.a2a.agent_card.schema_version #=> String
3134
+ # resp.registry_records[0].descriptors.a2a.agent_card.inline_content #=> String
3135
+ # resp.registry_records[0].descriptors.custom.inline_content #=> String
3136
+ # resp.registry_records[0].descriptors.agent_skills.skill_md.inline_content #=> String
3137
+ # resp.registry_records[0].descriptors.agent_skills.skill_definition.schema_version #=> String
3138
+ # resp.registry_records[0].descriptors.agent_skills.skill_definition.inline_content #=> String
3139
+ # resp.registry_records[0].version #=> String
3140
+ # resp.registry_records[0].status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED"
3141
+ # resp.registry_records[0].created_at #=> Time
3142
+ # resp.registry_records[0].updated_at #=> Time
3143
+ #
3144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SearchRegistryRecords AWS API Documentation
3145
+ #
3146
+ # @overload search_registry_records(params = {})
3147
+ # @param [Hash] params ({})
3148
+ def search_registry_records(params = {}, options = {})
3149
+ req = build_request(:search_registry_records, params)
3150
+ req.send_request(options)
3151
+ end
3152
+
2954
3153
  # Creates and initializes a browser session in Amazon Bedrock AgentCore.
2955
3154
  # The session enables agents to navigate and interact with web content,
2956
3155
  # extract information from websites, and perform web-based tasks as part
@@ -2971,12 +3170,15 @@ module Aws::BedrockAgentCore
2971
3170
  #
2972
3171
  # * [StopBrowserSession][4]
2973
3172
  #
3173
+ # * [InvokeBrowser][5]
3174
+ #
2974
3175
  #
2975
3176
  #
2976
3177
  # [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html
2977
3178
  # [2]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateBrowserStream.html
2978
3179
  # [3]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_SaveBrowserSessionProfile.html
2979
3180
  # [4]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html
3181
+ # [5]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_InvokeBrowser.html
2980
3182
  #
2981
3183
  # @option params [String] :trace_id
2982
3184
  # The trace identifier for request tracking.
@@ -3550,7 +3752,7 @@ module Aws::BedrockAgentCore
3550
3752
  tracer: tracer
3551
3753
  )
3552
3754
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
3553
- context[:gem_version] = '1.25.0'
3755
+ context[:gem_version] = '1.27.0'
3554
3756
  Seahorse::Client::Request.new(handlers, context)
3555
3757
  end
3556
3758