aws-sdk-bedrockagentcore 1.16.0 → 1.18.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +177 -50
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +99 -30
- data/lib/aws-sdk-bedrockagentcore/errors.rb +20 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +258 -46
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +34 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +55 -0
- metadata +1 -1
|
@@ -42,7 +42,7 @@ module Aws::BedrockAgentCore
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# The configuration for a stream that enables programmatic control of a
|
|
45
|
-
# browser session in Amazon Bedrock. This stream provides a
|
|
45
|
+
# browser session in Amazon Bedrock AgentCore. This stream provides a
|
|
46
46
|
# bidirectional communication channel for sending commands to the
|
|
47
47
|
# browser and receiving responses, allowing agents to automate web
|
|
48
48
|
# interactions such as navigation, form filling, and element clicking.
|
|
@@ -243,10 +243,47 @@ module Aws::BedrockAgentCore
|
|
|
243
243
|
include Aws::Structure
|
|
244
244
|
end
|
|
245
245
|
|
|
246
|
+
# Browser extension configuration.
|
|
247
|
+
#
|
|
248
|
+
# @!attribute [rw] location
|
|
249
|
+
# The location where the browser extension files are stored. This
|
|
250
|
+
# specifies the source from which the extension will be loaded and
|
|
251
|
+
# installed.
|
|
252
|
+
# @return [Types::ResourceLocation]
|
|
253
|
+
#
|
|
254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BrowserExtension AWS API Documentation
|
|
255
|
+
#
|
|
256
|
+
class BrowserExtension < Struct.new(
|
|
257
|
+
:location)
|
|
258
|
+
SENSITIVE = []
|
|
259
|
+
include Aws::Structure
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# The configuration for a browser profile in Amazon Bedrock AgentCore. A
|
|
263
|
+
# browser profile contains persistent browser data such as cookies and
|
|
264
|
+
# local storage that can be saved from one browser session and reused in
|
|
265
|
+
# subsequent sessions. Browser profiles enable continuity for tasks that
|
|
266
|
+
# require authentication, maintain user preferences, or depend on
|
|
267
|
+
# previously stored browser state.
|
|
268
|
+
#
|
|
269
|
+
# @!attribute [rw] profile_identifier
|
|
270
|
+
# The unique identifier of the browser profile. This identifier is
|
|
271
|
+
# used to reference the profile when starting new browser sessions or
|
|
272
|
+
# saving session data to the profile.
|
|
273
|
+
# @return [String]
|
|
274
|
+
#
|
|
275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BrowserProfileConfiguration AWS API Documentation
|
|
276
|
+
#
|
|
277
|
+
class BrowserProfileConfiguration < Struct.new(
|
|
278
|
+
:profile_identifier)
|
|
279
|
+
SENSITIVE = []
|
|
280
|
+
include Aws::Structure
|
|
281
|
+
end
|
|
282
|
+
|
|
246
283
|
# The collection of streams associated with a browser session in Amazon
|
|
247
|
-
# Bedrock. These streams provide different ways to interact
|
|
248
|
-
# observe the browser session, including programmatic control
|
|
249
|
-
# representation of the browser content.
|
|
284
|
+
# Bedrock AgentCore. These streams provide different ways to interact
|
|
285
|
+
# with and observe the browser session, including programmatic control
|
|
286
|
+
# and visual representation of the browser content.
|
|
250
287
|
#
|
|
251
288
|
# @!attribute [rw] automation_stream
|
|
252
289
|
# The stream that enables programmatic control of the browser. This
|
|
@@ -269,10 +306,10 @@ module Aws::BedrockAgentCore
|
|
|
269
306
|
include Aws::Structure
|
|
270
307
|
end
|
|
271
308
|
|
|
272
|
-
# A condensed representation of a browser session in Amazon Bedrock
|
|
273
|
-
# This structure contains key information about a browser
|
|
274
|
-
# including identifiers, status, and timestamps, without the
|
|
275
|
-
# details of the session configuration and streams.
|
|
309
|
+
# A condensed representation of a browser session in Amazon Bedrock
|
|
310
|
+
# AgentCore. This structure contains key information about a browser
|
|
311
|
+
# session, including identifiers, status, and timestamps, without the
|
|
312
|
+
# full details of the session configuration and streams.
|
|
276
313
|
#
|
|
277
314
|
# @!attribute [rw] browser_identifier
|
|
278
315
|
# The unique identifier of the browser associated with the session.
|
|
@@ -319,10 +356,10 @@ module Aws::BedrockAgentCore
|
|
|
319
356
|
end
|
|
320
357
|
|
|
321
358
|
# The output produced by executing code in a code interpreter session in
|
|
322
|
-
# Amazon Bedrock. This structure contains the results of code
|
|
323
|
-
# including textual output, structured data, and error
|
|
324
|
-
# Agents use these results to generate responses that
|
|
325
|
-
# computation, data analysis, and visualization.
|
|
359
|
+
# Amazon Bedrock AgentCore. This structure contains the results of code
|
|
360
|
+
# execution, including textual output, structured data, and error
|
|
361
|
+
# information. Agents use these results to generate responses that
|
|
362
|
+
# incorporate computation, data analysis, and visualization.
|
|
326
363
|
#
|
|
327
364
|
# @!attribute [rw] content
|
|
328
365
|
# The textual content of the execution result. This includes standard
|
|
@@ -356,9 +393,9 @@ module Aws::BedrockAgentCore
|
|
|
356
393
|
end
|
|
357
394
|
|
|
358
395
|
# A condensed representation of a code interpreter session in Amazon
|
|
359
|
-
# Bedrock. This structure contains key information about a
|
|
360
|
-
# interpreter session, including identifiers, status, and
|
|
361
|
-
# without the full details of the session configuration.
|
|
396
|
+
# Bedrock AgentCore. This structure contains key information about a
|
|
397
|
+
# code interpreter session, including identifiers, status, and
|
|
398
|
+
# timestamps, without the full details of the session configuration.
|
|
362
399
|
#
|
|
363
400
|
# @!attribute [rw] code_interpreter_identifier
|
|
364
401
|
# The unique identifier of the code interpreter associated with the
|
|
@@ -1219,6 +1256,17 @@ module Aws::BedrockAgentCore
|
|
|
1219
1256
|
# correctly for the agent's browsing tasks.
|
|
1220
1257
|
# @return [Types::ViewPort]
|
|
1221
1258
|
#
|
|
1259
|
+
# @!attribute [rw] extensions
|
|
1260
|
+
# The list of browser extensions that are configured in the browser
|
|
1261
|
+
# session.
|
|
1262
|
+
# @return [Array<Types::BrowserExtension>]
|
|
1263
|
+
#
|
|
1264
|
+
# @!attribute [rw] profile_configuration
|
|
1265
|
+
# The browser profile configuration associated with this session.
|
|
1266
|
+
# Contains the profile identifier that links to persistent browser
|
|
1267
|
+
# data such as cookies and local storage.
|
|
1268
|
+
# @return [Types::BrowserProfileConfiguration]
|
|
1269
|
+
#
|
|
1222
1270
|
# @!attribute [rw] session_timeout_seconds
|
|
1223
1271
|
# The timeout period for the browser session in seconds.
|
|
1224
1272
|
# @return [Integer]
|
|
@@ -1249,6 +1297,8 @@ module Aws::BedrockAgentCore
|
|
|
1249
1297
|
:name,
|
|
1250
1298
|
:created_at,
|
|
1251
1299
|
:view_port,
|
|
1300
|
+
:extensions,
|
|
1301
|
+
:profile_configuration,
|
|
1252
1302
|
:session_timeout_seconds,
|
|
1253
1303
|
:status,
|
|
1254
1304
|
:streams,
|
|
@@ -1702,14 +1752,14 @@ module Aws::BedrockAgentCore
|
|
|
1702
1752
|
# @!attribute [rw] agent_runtime_arn
|
|
1703
1753
|
# The Amazon Web Services Resource Name (ARN) of the agent runtime to
|
|
1704
1754
|
# invoke. The ARN uniquely identifies the agent runtime resource in
|
|
1705
|
-
# Amazon Bedrock.
|
|
1755
|
+
# Amazon Bedrock AgentCore.
|
|
1706
1756
|
# @return [String]
|
|
1707
1757
|
#
|
|
1708
1758
|
# @!attribute [rw] qualifier
|
|
1709
1759
|
# The qualifier to use for the agent runtime. This can be a version
|
|
1710
1760
|
# number or an endpoint name that points to a specific version. If not
|
|
1711
|
-
# specified, Amazon Bedrock uses the default version of the
|
|
1712
|
-
# runtime.
|
|
1761
|
+
# specified, Amazon Bedrock AgentCore uses the default version of the
|
|
1762
|
+
# agent runtime.
|
|
1713
1763
|
# @return [String]
|
|
1714
1764
|
#
|
|
1715
1765
|
# @!attribute [rw] account_id
|
|
@@ -1955,8 +2005,8 @@ module Aws::BedrockAgentCore
|
|
|
1955
2005
|
# @!attribute [rw] next_token
|
|
1956
2006
|
# The token for the next set of results. Use the value returned in the
|
|
1957
2007
|
# previous response in the next request to retrieve the next set of
|
|
1958
|
-
# results. If not specified, Amazon Bedrock returns the
|
|
1959
|
-
# results.
|
|
2008
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the
|
|
2009
|
+
# first page of results.
|
|
1960
2010
|
# @return [String]
|
|
1961
2011
|
#
|
|
1962
2012
|
# @!attribute [rw] status
|
|
@@ -2010,8 +2060,8 @@ module Aws::BedrockAgentCore
|
|
|
2010
2060
|
# @!attribute [rw] next_token
|
|
2011
2061
|
# The token for the next set of results. Use the value returned in the
|
|
2012
2062
|
# previous response in the next request to retrieve the next set of
|
|
2013
|
-
# results. If not specified, Amazon Bedrock returns the
|
|
2014
|
-
# results.
|
|
2063
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the
|
|
2064
|
+
# first page of results.
|
|
2015
2065
|
# @return [String]
|
|
2016
2066
|
#
|
|
2017
2067
|
# @!attribute [rw] status
|
|
@@ -2169,8 +2219,8 @@ module Aws::BedrockAgentCore
|
|
|
2169
2219
|
# @return [String]
|
|
2170
2220
|
#
|
|
2171
2221
|
# @!attribute [rw] namespace
|
|
2172
|
-
# The namespace to filter memory records by.
|
|
2173
|
-
# records in
|
|
2222
|
+
# The namespace prefix to filter memory records by. Returns all memory
|
|
2223
|
+
# records in namespaces that start with the provided prefix.
|
|
2174
2224
|
# @return [String]
|
|
2175
2225
|
#
|
|
2176
2226
|
# @!attribute [rw] memory_strategy_id
|
|
@@ -2272,9 +2322,9 @@ module Aws::BedrockAgentCore
|
|
|
2272
2322
|
end
|
|
2273
2323
|
|
|
2274
2324
|
# The configuration for a stream that provides a visual representation
|
|
2275
|
-
# of a browser session in Amazon Bedrock. This stream enables
|
|
2276
|
-
# observe the current state of the browser, including rendered
|
|
2277
|
-
# pages, visual elements, and the results of interactions.
|
|
2325
|
+
# of a browser session in Amazon Bedrock AgentCore. This stream enables
|
|
2326
|
+
# agents to observe the current state of the browser, including rendered
|
|
2327
|
+
# web pages, visual elements, and the results of interactions.
|
|
2278
2328
|
#
|
|
2279
2329
|
# @!attribute [rw] stream_endpoint
|
|
2280
2330
|
# The endpoint URL for the live view stream. This URL is used to
|
|
@@ -2657,6 +2707,30 @@ module Aws::BedrockAgentCore
|
|
|
2657
2707
|
include Aws::Structure
|
|
2658
2708
|
end
|
|
2659
2709
|
|
|
2710
|
+
# The location of the browser extension.
|
|
2711
|
+
#
|
|
2712
|
+
# @note ResourceLocation is a union - when making an API calls you must set exactly one of the members.
|
|
2713
|
+
#
|
|
2714
|
+
# @note ResourceLocation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceLocation corresponding to the set member.
|
|
2715
|
+
#
|
|
2716
|
+
# @!attribute [rw] s3
|
|
2717
|
+
# The Amazon S3 location of the resource. Use this when the resource
|
|
2718
|
+
# is stored in an Amazon S3 bucket.
|
|
2719
|
+
# @return [Types::S3Location]
|
|
2720
|
+
#
|
|
2721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ResourceLocation AWS API Documentation
|
|
2722
|
+
#
|
|
2723
|
+
class ResourceLocation < Struct.new(
|
|
2724
|
+
:s3,
|
|
2725
|
+
:unknown)
|
|
2726
|
+
SENSITIVE = []
|
|
2727
|
+
include Aws::Structure
|
|
2728
|
+
include Aws::Structure::Union
|
|
2729
|
+
|
|
2730
|
+
class S3 < ResourceLocation; end
|
|
2731
|
+
class Unknown < ResourceLocation; end
|
|
2732
|
+
end
|
|
2733
|
+
|
|
2660
2734
|
# The exception that occurs when the specified resource does not exist.
|
|
2661
2735
|
# This can happen when using an invalid identifier or when trying to
|
|
2662
2736
|
# access a resource that has been deleted.
|
|
@@ -2679,7 +2753,8 @@ module Aws::BedrockAgentCore
|
|
|
2679
2753
|
# @return [String]
|
|
2680
2754
|
#
|
|
2681
2755
|
# @!attribute [rw] namespace
|
|
2682
|
-
# The namespace to filter memory records by.
|
|
2756
|
+
# The namespace prefix to filter memory records by. Searches for
|
|
2757
|
+
# memory records in namespaces that start with the provided prefix.
|
|
2683
2758
|
# @return [String]
|
|
2684
2759
|
#
|
|
2685
2760
|
# @!attribute [rw] search_criteria
|
|
@@ -2731,6 +2806,22 @@ module Aws::BedrockAgentCore
|
|
|
2731
2806
|
include Aws::Structure
|
|
2732
2807
|
end
|
|
2733
2808
|
|
|
2809
|
+
# The exception that occurs when there is a retryable conflict
|
|
2810
|
+
# performing an operation. This is a temporary condition that may
|
|
2811
|
+
# resolve itself with retries. We recommend implementing exponential
|
|
2812
|
+
# backoff retry logic in your application.
|
|
2813
|
+
#
|
|
2814
|
+
# @!attribute [rw] message
|
|
2815
|
+
# @return [String]
|
|
2816
|
+
#
|
|
2817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RetryableConflictException AWS API Documentation
|
|
2818
|
+
#
|
|
2819
|
+
class RetryableConflictException < Struct.new(
|
|
2820
|
+
:message)
|
|
2821
|
+
SENSITIVE = []
|
|
2822
|
+
include Aws::Structure
|
|
2823
|
+
end
|
|
2824
|
+
|
|
2734
2825
|
# Right expression of the `eventMetadata`filter.
|
|
2735
2826
|
#
|
|
2736
2827
|
# @note RightExpression is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -2768,6 +2859,110 @@ module Aws::BedrockAgentCore
|
|
|
2768
2859
|
include Aws::Structure
|
|
2769
2860
|
end
|
|
2770
2861
|
|
|
2862
|
+
# The Amazon S3 location configuration of a resource.
|
|
2863
|
+
#
|
|
2864
|
+
# @!attribute [rw] bucket
|
|
2865
|
+
# The name of the Amazon S3 bucket where the resource is stored.
|
|
2866
|
+
# @return [String]
|
|
2867
|
+
#
|
|
2868
|
+
# @!attribute [rw] prefix
|
|
2869
|
+
# The name of the Amazon S3 prefix/key where the resource is stored.
|
|
2870
|
+
# @return [String]
|
|
2871
|
+
#
|
|
2872
|
+
# @!attribute [rw] version_id
|
|
2873
|
+
# The name of the Amazon S3 version ID where the resource is stored
|
|
2874
|
+
# (Optional).
|
|
2875
|
+
# @return [String]
|
|
2876
|
+
#
|
|
2877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/S3Location AWS API Documentation
|
|
2878
|
+
#
|
|
2879
|
+
class S3Location < Struct.new(
|
|
2880
|
+
:bucket,
|
|
2881
|
+
:prefix,
|
|
2882
|
+
:version_id)
|
|
2883
|
+
SENSITIVE = []
|
|
2884
|
+
include Aws::Structure
|
|
2885
|
+
end
|
|
2886
|
+
|
|
2887
|
+
# @!attribute [rw] trace_id
|
|
2888
|
+
# The trace identifier for request tracking.
|
|
2889
|
+
# @return [String]
|
|
2890
|
+
#
|
|
2891
|
+
# @!attribute [rw] trace_parent
|
|
2892
|
+
# The parent trace information for distributed tracing.
|
|
2893
|
+
# @return [String]
|
|
2894
|
+
#
|
|
2895
|
+
# @!attribute [rw] profile_identifier
|
|
2896
|
+
# The unique identifier for the browser profile. This identifier is
|
|
2897
|
+
# used to reference the profile when starting new browser sessions.
|
|
2898
|
+
# The identifier must follow the pattern of an alphanumeric name (up
|
|
2899
|
+
# to 48 characters) followed by a hyphen and a 10-character
|
|
2900
|
+
# alphanumeric suffix.
|
|
2901
|
+
# @return [String]
|
|
2902
|
+
#
|
|
2903
|
+
# @!attribute [rw] browser_identifier
|
|
2904
|
+
# The unique identifier of the browser associated with the session
|
|
2905
|
+
# from which to save the profile.
|
|
2906
|
+
# @return [String]
|
|
2907
|
+
#
|
|
2908
|
+
# @!attribute [rw] session_id
|
|
2909
|
+
# The unique identifier of the browser session from which to save the
|
|
2910
|
+
# profile. The session must be active when saving the profile.
|
|
2911
|
+
# @return [String]
|
|
2912
|
+
#
|
|
2913
|
+
# @!attribute [rw] client_token
|
|
2914
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
2915
|
+
# completes no more than one time. If this token matches a previous
|
|
2916
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2917
|
+
# return an error.
|
|
2918
|
+
#
|
|
2919
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2920
|
+
# not need to pass this option.
|
|
2921
|
+
# @return [String]
|
|
2922
|
+
#
|
|
2923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SaveBrowserSessionProfileRequest AWS API Documentation
|
|
2924
|
+
#
|
|
2925
|
+
class SaveBrowserSessionProfileRequest < Struct.new(
|
|
2926
|
+
:trace_id,
|
|
2927
|
+
:trace_parent,
|
|
2928
|
+
:profile_identifier,
|
|
2929
|
+
:browser_identifier,
|
|
2930
|
+
:session_id,
|
|
2931
|
+
:client_token)
|
|
2932
|
+
SENSITIVE = []
|
|
2933
|
+
include Aws::Structure
|
|
2934
|
+
end
|
|
2935
|
+
|
|
2936
|
+
# @!attribute [rw] profile_identifier
|
|
2937
|
+
# The unique identifier of the saved browser profile.
|
|
2938
|
+
# @return [String]
|
|
2939
|
+
#
|
|
2940
|
+
# @!attribute [rw] browser_identifier
|
|
2941
|
+
# The unique identifier of the browser associated with the session
|
|
2942
|
+
# from which the profile was saved.
|
|
2943
|
+
# @return [String]
|
|
2944
|
+
#
|
|
2945
|
+
# @!attribute [rw] session_id
|
|
2946
|
+
# The unique identifier of the browser session from which the profile
|
|
2947
|
+
# was saved.
|
|
2948
|
+
# @return [String]
|
|
2949
|
+
#
|
|
2950
|
+
# @!attribute [rw] last_updated_at
|
|
2951
|
+
# The timestamp when the browser profile was last updated. This value
|
|
2952
|
+
# is in ISO 8601 format.
|
|
2953
|
+
# @return [Time]
|
|
2954
|
+
#
|
|
2955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SaveBrowserSessionProfileResponse AWS API Documentation
|
|
2956
|
+
#
|
|
2957
|
+
class SaveBrowserSessionProfileResponse < Struct.new(
|
|
2958
|
+
:profile_identifier,
|
|
2959
|
+
:browser_identifier,
|
|
2960
|
+
:session_id,
|
|
2961
|
+
:last_updated_at)
|
|
2962
|
+
SENSITIVE = []
|
|
2963
|
+
include Aws::Structure
|
|
2964
|
+
end
|
|
2965
|
+
|
|
2771
2966
|
# Contains search criteria for retrieving memory records.
|
|
2772
2967
|
#
|
|
2773
2968
|
# @!attribute [rw] search_query
|
|
@@ -2915,16 +3110,29 @@ module Aws::BedrockAgentCore
|
|
|
2915
3110
|
# @!attribute [rw] view_port
|
|
2916
3111
|
# The dimensions of the browser viewport for this session. This
|
|
2917
3112
|
# determines the visible area of the web content and affects how web
|
|
2918
|
-
# pages are rendered. If not specified, Amazon Bedrock uses
|
|
2919
|
-
# viewport size.
|
|
3113
|
+
# pages are rendered. If not specified, Amazon Bedrock AgentCore uses
|
|
3114
|
+
# a default viewport size.
|
|
2920
3115
|
# @return [Types::ViewPort]
|
|
2921
3116
|
#
|
|
3117
|
+
# @!attribute [rw] extensions
|
|
3118
|
+
# A list of browser extensions to load into the browser session.
|
|
3119
|
+
# @return [Array<Types::BrowserExtension>]
|
|
3120
|
+
#
|
|
3121
|
+
# @!attribute [rw] profile_configuration
|
|
3122
|
+
# The browser profile configuration to use for this session. A browser
|
|
3123
|
+
# profile contains persistent data such as cookies and local storage
|
|
3124
|
+
# that can be reused across multiple browser sessions. If specified,
|
|
3125
|
+
# the session initializes with the profile's stored data, enabling
|
|
3126
|
+
# continuity for tasks that require authentication or personalized
|
|
3127
|
+
# settings.
|
|
3128
|
+
# @return [Types::BrowserProfileConfiguration]
|
|
3129
|
+
#
|
|
2922
3130
|
# @!attribute [rw] client_token
|
|
2923
3131
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2924
3132
|
# completes no more than one time. If this token matches a previous
|
|
2925
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
2926
|
-
# error. This parameter helps prevent the creation of
|
|
2927
|
-
# sessions if there are temporary network issues.
|
|
3133
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3134
|
+
# return an error. This parameter helps prevent the creation of
|
|
3135
|
+
# duplicate sessions if there are temporary network issues.
|
|
2928
3136
|
#
|
|
2929
3137
|
# **A suitable default value is auto-generated.** You should normally
|
|
2930
3138
|
# not need to pass this option.
|
|
@@ -2939,6 +3147,8 @@ module Aws::BedrockAgentCore
|
|
|
2939
3147
|
:name,
|
|
2940
3148
|
:session_timeout_seconds,
|
|
2941
3149
|
:view_port,
|
|
3150
|
+
:extensions,
|
|
3151
|
+
:profile_configuration,
|
|
2942
3152
|
:client_token)
|
|
2943
3153
|
SENSITIVE = []
|
|
2944
3154
|
include Aws::Structure
|
|
@@ -3002,9 +3212,9 @@ module Aws::BedrockAgentCore
|
|
|
3002
3212
|
# @!attribute [rw] client_token
|
|
3003
3213
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3004
3214
|
# completes no more than one time. If this token matches a previous
|
|
3005
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3006
|
-
# error. This parameter helps prevent the creation of
|
|
3007
|
-
# sessions if there are temporary network issues.
|
|
3215
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3216
|
+
# return an error. This parameter helps prevent the creation of
|
|
3217
|
+
# duplicate sessions if there are temporary network issues.
|
|
3008
3218
|
#
|
|
3009
3219
|
# **A suitable default value is auto-generated.** You should normally
|
|
3010
3220
|
# not need to pass this option.
|
|
@@ -3103,8 +3313,8 @@ module Aws::BedrockAgentCore
|
|
|
3103
3313
|
# @!attribute [rw] client_token
|
|
3104
3314
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3105
3315
|
# completes no more than one time. If this token matches a previous
|
|
3106
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3107
|
-
# error.
|
|
3316
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3317
|
+
# return an error.
|
|
3108
3318
|
#
|
|
3109
3319
|
# **A suitable default value is auto-generated.** You should normally
|
|
3110
3320
|
# not need to pass this option.
|
|
@@ -3164,8 +3374,8 @@ module Aws::BedrockAgentCore
|
|
|
3164
3374
|
# @!attribute [rw] client_token
|
|
3165
3375
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3166
3376
|
# completes no more than one time. If this token matches a previous
|
|
3167
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3168
|
-
# error.
|
|
3377
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3378
|
+
# return an error.
|
|
3169
3379
|
#
|
|
3170
3380
|
# **A suitable default value is auto-generated.** You should normally
|
|
3171
3381
|
# not need to pass this option.
|
|
@@ -3342,9 +3552,10 @@ module Aws::BedrockAgentCore
|
|
|
3342
3552
|
end
|
|
3343
3553
|
|
|
3344
3554
|
# The collection of arguments that specify the operation to perform and
|
|
3345
|
-
# its parameters when invoking a tool in Amazon Bedrock.
|
|
3346
|
-
# require different arguments, and this structure
|
|
3347
|
-
# way to pass the appropriate arguments to each tool
|
|
3555
|
+
# its parameters when invoking a tool in Amazon Bedrock AgentCore.
|
|
3556
|
+
# Different tools require different arguments, and this structure
|
|
3557
|
+
# provides a flexible way to pass the appropriate arguments to each tool
|
|
3558
|
+
# type.
|
|
3348
3559
|
#
|
|
3349
3560
|
# @!attribute [rw] code
|
|
3350
3561
|
# The code to execute in a code interpreter session. This is the
|
|
@@ -3498,9 +3709,10 @@ module Aws::BedrockAgentCore
|
|
|
3498
3709
|
#
|
|
3499
3710
|
# @!attribute [rw] streams
|
|
3500
3711
|
# The collection of streams associated with a browser session in
|
|
3501
|
-
# Amazon Bedrock. These streams provide different ways to
|
|
3502
|
-
# with and observe the browser session, including
|
|
3503
|
-
# and visual representation of the browser
|
|
3712
|
+
# Amazon Bedrock AgentCore. These streams provide different ways to
|
|
3713
|
+
# interact with and observe the browser session, including
|
|
3714
|
+
# programmatic control and visual representation of the browser
|
|
3715
|
+
# content.
|
|
3504
3716
|
# @return [Types::BrowserSessionStream]
|
|
3505
3717
|
#
|
|
3506
3718
|
# @!attribute [rw] updated_at
|
data/sig/client.rbs
CHANGED
|
@@ -253,6 +253,8 @@ module Aws
|
|
|
253
253
|
def name: () -> ::String
|
|
254
254
|
def created_at: () -> ::Time
|
|
255
255
|
def view_port: () -> Types::ViewPort
|
|
256
|
+
def extensions: () -> ::Array[Types::BrowserExtension]
|
|
257
|
+
def profile_configuration: () -> Types::BrowserProfileConfiguration
|
|
256
258
|
def session_timeout_seconds: () -> ::Integer
|
|
257
259
|
def status: () -> ("READY" | "TERMINATED")
|
|
258
260
|
def streams: () -> Types::BrowserSessionStream
|
|
@@ -590,6 +592,24 @@ module Aws
|
|
|
590
592
|
) -> _RetrieveMemoryRecordsResponseSuccess
|
|
591
593
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetrieveMemoryRecordsResponseSuccess
|
|
592
594
|
|
|
595
|
+
interface _SaveBrowserSessionProfileResponseSuccess
|
|
596
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SaveBrowserSessionProfileResponse]
|
|
597
|
+
def profile_identifier: () -> ::String
|
|
598
|
+
def browser_identifier: () -> ::String
|
|
599
|
+
def session_id: () -> ::String
|
|
600
|
+
def last_updated_at: () -> ::Time
|
|
601
|
+
end
|
|
602
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#save_browser_session_profile-instance_method
|
|
603
|
+
def save_browser_session_profile: (
|
|
604
|
+
?trace_id: ::String,
|
|
605
|
+
?trace_parent: ::String,
|
|
606
|
+
profile_identifier: ::String,
|
|
607
|
+
browser_identifier: ::String,
|
|
608
|
+
session_id: ::String,
|
|
609
|
+
?client_token: ::String
|
|
610
|
+
) -> _SaveBrowserSessionProfileResponseSuccess
|
|
611
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SaveBrowserSessionProfileResponseSuccess
|
|
612
|
+
|
|
593
613
|
interface _StartBrowserSessionResponseSuccess
|
|
594
614
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartBrowserSessionResponse]
|
|
595
615
|
def browser_identifier: () -> ::String
|
|
@@ -608,6 +628,20 @@ module Aws
|
|
|
608
628
|
width: ::Integer,
|
|
609
629
|
height: ::Integer
|
|
610
630
|
},
|
|
631
|
+
?extensions: Array[
|
|
632
|
+
{
|
|
633
|
+
location: {
|
|
634
|
+
s3: {
|
|
635
|
+
bucket: ::String,
|
|
636
|
+
prefix: ::String,
|
|
637
|
+
version_id: ::String?
|
|
638
|
+
}?
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
],
|
|
642
|
+
?profile_configuration: {
|
|
643
|
+
profile_identifier: ::String
|
|
644
|
+
},
|
|
611
645
|
?client_token: ::String
|
|
612
646
|
) -> _StartBrowserSessionResponseSuccess
|
|
613
647
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBrowserSessionResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -29,6 +29,9 @@ module Aws
|
|
|
29
29
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
30
30
|
def message: () -> ::String
|
|
31
31
|
end
|
|
32
|
+
class RetryableConflictException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
32
35
|
class RuntimeClientError < ::Aws::Errors::ServiceError
|
|
33
36
|
def message: () -> ::String
|
|
34
37
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -79,6 +79,16 @@ module Aws::BedrockAgentCore
|
|
|
79
79
|
SENSITIVE: []
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
class BrowserExtension
|
|
83
|
+
attr_accessor location: Types::ResourceLocation
|
|
84
|
+
SENSITIVE: []
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
class BrowserProfileConfiguration
|
|
88
|
+
attr_accessor profile_identifier: ::String
|
|
89
|
+
SENSITIVE: []
|
|
90
|
+
end
|
|
91
|
+
|
|
82
92
|
class BrowserSessionStream
|
|
83
93
|
attr_accessor automation_stream: Types::AutomationStream
|
|
84
94
|
attr_accessor live_view_stream: Types::LiveViewStream
|
|
@@ -352,6 +362,8 @@ module Aws::BedrockAgentCore
|
|
|
352
362
|
attr_accessor name: ::String
|
|
353
363
|
attr_accessor created_at: ::Time
|
|
354
364
|
attr_accessor view_port: Types::ViewPort
|
|
365
|
+
attr_accessor extensions: ::Array[Types::BrowserExtension]
|
|
366
|
+
attr_accessor profile_configuration: Types::BrowserProfileConfiguration
|
|
355
367
|
attr_accessor session_timeout_seconds: ::Integer
|
|
356
368
|
attr_accessor status: ("READY" | "TERMINATED")
|
|
357
369
|
attr_accessor streams: Types::BrowserSessionStream
|
|
@@ -758,6 +770,17 @@ module Aws::BedrockAgentCore
|
|
|
758
770
|
SENSITIVE: []
|
|
759
771
|
end
|
|
760
772
|
|
|
773
|
+
class ResourceLocation
|
|
774
|
+
attr_accessor s3: Types::S3Location
|
|
775
|
+
attr_accessor unknown: untyped
|
|
776
|
+
SENSITIVE: []
|
|
777
|
+
|
|
778
|
+
class S3 < ResourceLocation
|
|
779
|
+
end
|
|
780
|
+
class Unknown < ResourceLocation
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
|
|
761
784
|
class ResourceNotFoundException
|
|
762
785
|
attr_accessor message: ::String
|
|
763
786
|
attr_accessor event_type: untyped
|
|
@@ -779,6 +802,11 @@ module Aws::BedrockAgentCore
|
|
|
779
802
|
SENSITIVE: []
|
|
780
803
|
end
|
|
781
804
|
|
|
805
|
+
class RetryableConflictException
|
|
806
|
+
attr_accessor message: ::String
|
|
807
|
+
SENSITIVE: []
|
|
808
|
+
end
|
|
809
|
+
|
|
782
810
|
class RightExpression
|
|
783
811
|
attr_accessor metadata_value: Types::MetadataValue
|
|
784
812
|
attr_accessor unknown: untyped
|
|
@@ -795,6 +823,31 @@ module Aws::BedrockAgentCore
|
|
|
795
823
|
SENSITIVE: []
|
|
796
824
|
end
|
|
797
825
|
|
|
826
|
+
class S3Location
|
|
827
|
+
attr_accessor bucket: ::String
|
|
828
|
+
attr_accessor prefix: ::String
|
|
829
|
+
attr_accessor version_id: ::String
|
|
830
|
+
SENSITIVE: []
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
class SaveBrowserSessionProfileRequest
|
|
834
|
+
attr_accessor trace_id: ::String
|
|
835
|
+
attr_accessor trace_parent: ::String
|
|
836
|
+
attr_accessor profile_identifier: ::String
|
|
837
|
+
attr_accessor browser_identifier: ::String
|
|
838
|
+
attr_accessor session_id: ::String
|
|
839
|
+
attr_accessor client_token: ::String
|
|
840
|
+
SENSITIVE: []
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
class SaveBrowserSessionProfileResponse
|
|
844
|
+
attr_accessor profile_identifier: ::String
|
|
845
|
+
attr_accessor browser_identifier: ::String
|
|
846
|
+
attr_accessor session_id: ::String
|
|
847
|
+
attr_accessor last_updated_at: ::Time
|
|
848
|
+
SENSITIVE: []
|
|
849
|
+
end
|
|
850
|
+
|
|
798
851
|
class SearchCriteria
|
|
799
852
|
attr_accessor search_query: ::String
|
|
800
853
|
attr_accessor memory_strategy_id: ::String
|
|
@@ -835,6 +888,8 @@ module Aws::BedrockAgentCore
|
|
|
835
888
|
attr_accessor name: ::String
|
|
836
889
|
attr_accessor session_timeout_seconds: ::Integer
|
|
837
890
|
attr_accessor view_port: Types::ViewPort
|
|
891
|
+
attr_accessor extensions: ::Array[Types::BrowserExtension]
|
|
892
|
+
attr_accessor profile_configuration: Types::BrowserProfileConfiguration
|
|
838
893
|
attr_accessor client_token: ::String
|
|
839
894
|
SENSITIVE: []
|
|
840
895
|
end
|