aws-sdk-bedrockagentcore 1.17.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +158 -50
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +39 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +166 -46
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +22 -0
- data/sig/types.rbs +25 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 676e23c16bfbb735c865caa35ddf469bcda0acd1ef2ee49234224a7e27b41221
|
|
4
|
+
data.tar.gz: a4376096769335ed424119f89f6b92725280ff9cdbac24200791e3ff5b4f80f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eea0e71ad859c99bbc39ab8a4a5fd9c84aad26e4e04589b58e5950781097486ca06d1ab41b7698ae12f3539c16fb69727bbd9895ade19f753d4e3a479d7dda80
|
|
7
|
+
data.tar.gz: d4f74474fdac2123042e68a302702e15352edd06911b0cc599d79d6eb7d2d3b1666037f94053e013d7c46c6c8db0a5dbe546d37bc78ac248182f4f2849f95a09
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -993,8 +993,8 @@ module Aws::BedrockAgentCore
|
|
|
993
993
|
end
|
|
994
994
|
|
|
995
995
|
# Retrieves detailed information about a specific browser session in
|
|
996
|
-
# Amazon Bedrock. This operation returns the session's
|
|
997
|
-
# current status, associated streams, and metadata.
|
|
996
|
+
# Amazon Bedrock AgentCore. This operation returns the session's
|
|
997
|
+
# configuration, current status, associated streams, and metadata.
|
|
998
998
|
#
|
|
999
999
|
# To get a browser session, you must specify both the browser identifier
|
|
1000
1000
|
# and the session ID. The response includes information about the
|
|
@@ -1029,6 +1029,7 @@ module Aws::BedrockAgentCore
|
|
|
1029
1029
|
# * {Types::GetBrowserSessionResponse#created_at #created_at} => Time
|
|
1030
1030
|
# * {Types::GetBrowserSessionResponse#view_port #view_port} => Types::ViewPort
|
|
1031
1031
|
# * {Types::GetBrowserSessionResponse#extensions #extensions} => Array<Types::BrowserExtension>
|
|
1032
|
+
# * {Types::GetBrowserSessionResponse#profile_configuration #profile_configuration} => Types::BrowserProfileConfiguration
|
|
1032
1033
|
# * {Types::GetBrowserSessionResponse#session_timeout_seconds #session_timeout_seconds} => Integer
|
|
1033
1034
|
# * {Types::GetBrowserSessionResponse#status #status} => String
|
|
1034
1035
|
# * {Types::GetBrowserSessionResponse#streams #streams} => Types::BrowserSessionStream
|
|
@@ -1054,6 +1055,7 @@ module Aws::BedrockAgentCore
|
|
|
1054
1055
|
# resp.extensions[0].location.s3.bucket #=> String
|
|
1055
1056
|
# resp.extensions[0].location.s3.prefix #=> String
|
|
1056
1057
|
# resp.extensions[0].location.s3.version_id #=> String
|
|
1058
|
+
# resp.profile_configuration.profile_identifier #=> String
|
|
1057
1059
|
# resp.session_timeout_seconds #=> Integer
|
|
1058
1060
|
# resp.status #=> String, one of "READY", "TERMINATED"
|
|
1059
1061
|
# resp.streams.automation_stream.stream_endpoint #=> String
|
|
@@ -1072,8 +1074,8 @@ module Aws::BedrockAgentCore
|
|
|
1072
1074
|
end
|
|
1073
1075
|
|
|
1074
1076
|
# Retrieves detailed information about a specific code interpreter
|
|
1075
|
-
# session in Amazon Bedrock. This operation returns the
|
|
1076
|
-
# configuration, current status, and metadata.
|
|
1077
|
+
# session in Amazon Bedrock AgentCore. This operation returns the
|
|
1078
|
+
# session's configuration, current status, and metadata.
|
|
1077
1079
|
#
|
|
1078
1080
|
# To get a code interpreter session, you must specify both the code
|
|
1079
1081
|
# interpreter identifier and the session ID. The response includes
|
|
@@ -1513,13 +1515,13 @@ module Aws::BedrockAgentCore
|
|
|
1513
1515
|
# @option params [required, String] :agent_runtime_arn
|
|
1514
1516
|
# The Amazon Web Services Resource Name (ARN) of the agent runtime to
|
|
1515
1517
|
# invoke. The ARN uniquely identifies the agent runtime resource in
|
|
1516
|
-
# Amazon Bedrock.
|
|
1518
|
+
# Amazon Bedrock AgentCore.
|
|
1517
1519
|
#
|
|
1518
1520
|
# @option params [String] :qualifier
|
|
1519
1521
|
# The qualifier to use for the agent runtime. This can be a version
|
|
1520
1522
|
# number or an endpoint name that points to a specific version. If not
|
|
1521
|
-
# specified, Amazon Bedrock uses the default version of the
|
|
1522
|
-
# runtime.
|
|
1523
|
+
# specified, Amazon Bedrock AgentCore uses the default version of the
|
|
1524
|
+
# agent runtime.
|
|
1523
1525
|
#
|
|
1524
1526
|
# @option params [String] :account_id
|
|
1525
1527
|
# The identifier of the Amazon Web Services account for the agent
|
|
@@ -1586,8 +1588,8 @@ module Aws::BedrockAgentCore
|
|
|
1586
1588
|
end
|
|
1587
1589
|
|
|
1588
1590
|
# Executes code within an active code interpreter session in Amazon
|
|
1589
|
-
# Bedrock. This operation processes the provided code, runs it
|
|
1590
|
-
# secure environment, and returns the execution results including
|
|
1591
|
+
# Bedrock AgentCore. This operation processes the provided code, runs it
|
|
1592
|
+
# in a secure environment, and returns the execution results including
|
|
1591
1593
|
# output, errors, and generated visualizations.
|
|
1592
1594
|
#
|
|
1593
1595
|
# To execute code, you must specify the code interpreter identifier,
|
|
@@ -1951,9 +1953,10 @@ module Aws::BedrockAgentCore
|
|
|
1951
1953
|
req.send_request(options)
|
|
1952
1954
|
end
|
|
1953
1955
|
|
|
1954
|
-
# Retrieves a list of browser sessions in Amazon Bedrock that
|
|
1955
|
-
# specified criteria. This operation returns summary
|
|
1956
|
-
# each session, including identifiers, status, and
|
|
1956
|
+
# Retrieves a list of browser sessions in Amazon Bedrock AgentCore that
|
|
1957
|
+
# match the specified criteria. This operation returns summary
|
|
1958
|
+
# information about each session, including identifiers, status, and
|
|
1959
|
+
# timestamps.
|
|
1957
1960
|
#
|
|
1958
1961
|
# You can filter the results by browser identifier and session status.
|
|
1959
1962
|
# The operation supports pagination to handle large result sets
|
|
@@ -1987,8 +1990,8 @@ module Aws::BedrockAgentCore
|
|
|
1987
1990
|
# @option params [String] :next_token
|
|
1988
1991
|
# The token for the next set of results. Use the value returned in the
|
|
1989
1992
|
# previous response in the next request to retrieve the next set of
|
|
1990
|
-
# results. If not specified, Amazon Bedrock returns the first
|
|
1991
|
-
# results.
|
|
1993
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the first
|
|
1994
|
+
# page of results.
|
|
1992
1995
|
#
|
|
1993
1996
|
# @option params [String] :status
|
|
1994
1997
|
# The status of the browser sessions to list. Valid values include
|
|
@@ -2029,10 +2032,10 @@ module Aws::BedrockAgentCore
|
|
|
2029
2032
|
req.send_request(options)
|
|
2030
2033
|
end
|
|
2031
2034
|
|
|
2032
|
-
# Retrieves a list of code interpreter sessions in Amazon Bedrock
|
|
2033
|
-
# match the specified criteria. This operation returns
|
|
2034
|
-
# information about each session, including identifiers, status,
|
|
2035
|
-
# timestamps.
|
|
2035
|
+
# Retrieves a list of code interpreter sessions in Amazon Bedrock
|
|
2036
|
+
# AgentCore that match the specified criteria. This operation returns
|
|
2037
|
+
# summary information about each session, including identifiers, status,
|
|
2038
|
+
# and timestamps.
|
|
2036
2039
|
#
|
|
2037
2040
|
# You can filter the results by code interpreter identifier and session
|
|
2038
2041
|
# status. The operation supports pagination to handle large result sets
|
|
@@ -2066,8 +2069,8 @@ module Aws::BedrockAgentCore
|
|
|
2066
2069
|
# @option params [String] :next_token
|
|
2067
2070
|
# The token for the next set of results. Use the value returned in the
|
|
2068
2071
|
# previous response in the next request to retrieve the next set of
|
|
2069
|
-
# results. If not specified, Amazon Bedrock returns the first
|
|
2070
|
-
# results.
|
|
2072
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the first
|
|
2073
|
+
# page of results.
|
|
2071
2074
|
#
|
|
2072
2075
|
# @option params [String] :status
|
|
2073
2076
|
# The status of the code interpreter sessions to list. Valid values
|
|
@@ -2281,8 +2284,8 @@ module Aws::BedrockAgentCore
|
|
|
2281
2284
|
# memory records.
|
|
2282
2285
|
#
|
|
2283
2286
|
# @option params [required, String] :namespace
|
|
2284
|
-
# The namespace to filter memory records by.
|
|
2285
|
-
# records in
|
|
2287
|
+
# The namespace prefix to filter memory records by. Returns all memory
|
|
2288
|
+
# records in namespaces that start with the provided prefix.
|
|
2286
2289
|
#
|
|
2287
2290
|
# @option params [String] :memory_strategy_id
|
|
2288
2291
|
# The memory strategy identifier to filter memory records by. If
|
|
@@ -2406,7 +2409,8 @@ module Aws::BedrockAgentCore
|
|
|
2406
2409
|
# memory records.
|
|
2407
2410
|
#
|
|
2408
2411
|
# @option params [required, String] :namespace
|
|
2409
|
-
# The namespace to filter memory records by.
|
|
2412
|
+
# The namespace prefix to filter memory records by. Searches for memory
|
|
2413
|
+
# records in namespaces that start with the provided prefix.
|
|
2410
2414
|
#
|
|
2411
2415
|
# @option params [required, Types::SearchCriteria] :search_criteria
|
|
2412
2416
|
# The search criteria to use for finding relevant memory records. This
|
|
@@ -2479,8 +2483,98 @@ module Aws::BedrockAgentCore
|
|
|
2479
2483
|
req.send_request(options)
|
|
2480
2484
|
end
|
|
2481
2485
|
|
|
2482
|
-
#
|
|
2483
|
-
#
|
|
2486
|
+
# Saves the current state of a browser session as a reusable profile in
|
|
2487
|
+
# Amazon Bedrock AgentCore. A browser profile captures persistent
|
|
2488
|
+
# browser data such as cookies and local storage from an active session,
|
|
2489
|
+
# enabling you to reuse this data in future browser sessions.
|
|
2490
|
+
#
|
|
2491
|
+
# To save a browser session profile, you must specify the profile
|
|
2492
|
+
# identifier, browser identifier, and session ID. The session must be
|
|
2493
|
+
# active when saving the profile. Once saved, the profile can be used
|
|
2494
|
+
# with the `StartBrowserSession` operation to initialize new sessions
|
|
2495
|
+
# with the stored browser state.
|
|
2496
|
+
#
|
|
2497
|
+
# Browser profiles are useful for scenarios that require persistent
|
|
2498
|
+
# authentication, maintaining user preferences across sessions, or
|
|
2499
|
+
# continuing tasks that depend on previously stored browser data.
|
|
2500
|
+
#
|
|
2501
|
+
# The following operations are related to `SaveBrowserSessionProfile`:
|
|
2502
|
+
#
|
|
2503
|
+
# * [StartBrowserSession][1]
|
|
2504
|
+
#
|
|
2505
|
+
# * [GetBrowserSession][2]
|
|
2506
|
+
#
|
|
2507
|
+
#
|
|
2508
|
+
#
|
|
2509
|
+
# [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html
|
|
2510
|
+
# [2]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html
|
|
2511
|
+
#
|
|
2512
|
+
# @option params [String] :trace_id
|
|
2513
|
+
# The trace identifier for request tracking.
|
|
2514
|
+
#
|
|
2515
|
+
# @option params [String] :trace_parent
|
|
2516
|
+
# The parent trace information for distributed tracing.
|
|
2517
|
+
#
|
|
2518
|
+
# @option params [required, String] :profile_identifier
|
|
2519
|
+
# The unique identifier for the browser profile. This identifier is used
|
|
2520
|
+
# to reference the profile when starting new browser sessions. The
|
|
2521
|
+
# identifier must follow the pattern of an alphanumeric name (up to 48
|
|
2522
|
+
# characters) followed by a hyphen and a 10-character alphanumeric
|
|
2523
|
+
# suffix.
|
|
2524
|
+
#
|
|
2525
|
+
# @option params [required, String] :browser_identifier
|
|
2526
|
+
# The unique identifier of the browser associated with the session from
|
|
2527
|
+
# which to save the profile.
|
|
2528
|
+
#
|
|
2529
|
+
# @option params [required, String] :session_id
|
|
2530
|
+
# The unique identifier of the browser session from which to save the
|
|
2531
|
+
# profile. The session must be active when saving the profile.
|
|
2532
|
+
#
|
|
2533
|
+
# @option params [String] :client_token
|
|
2534
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
2535
|
+
# completes no more than one time. If this token matches a previous
|
|
2536
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2537
|
+
# return an error.
|
|
2538
|
+
#
|
|
2539
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2540
|
+
# not need to pass this option.**
|
|
2541
|
+
#
|
|
2542
|
+
# @return [Types::SaveBrowserSessionProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2543
|
+
#
|
|
2544
|
+
# * {Types::SaveBrowserSessionProfileResponse#profile_identifier #profile_identifier} => String
|
|
2545
|
+
# * {Types::SaveBrowserSessionProfileResponse#browser_identifier #browser_identifier} => String
|
|
2546
|
+
# * {Types::SaveBrowserSessionProfileResponse#session_id #session_id} => String
|
|
2547
|
+
# * {Types::SaveBrowserSessionProfileResponse#last_updated_at #last_updated_at} => Time
|
|
2548
|
+
#
|
|
2549
|
+
# @example Request syntax with placeholder values
|
|
2550
|
+
#
|
|
2551
|
+
# resp = client.save_browser_session_profile({
|
|
2552
|
+
# trace_id: "SaveBrowserSessionProfileRequestTraceIdString",
|
|
2553
|
+
# trace_parent: "SaveBrowserSessionProfileRequestTraceParentString",
|
|
2554
|
+
# profile_identifier: "BrowserProfileId", # required
|
|
2555
|
+
# browser_identifier: "String", # required
|
|
2556
|
+
# session_id: "BrowserSessionId", # required
|
|
2557
|
+
# client_token: "ClientToken",
|
|
2558
|
+
# })
|
|
2559
|
+
#
|
|
2560
|
+
# @example Response structure
|
|
2561
|
+
#
|
|
2562
|
+
# resp.profile_identifier #=> String
|
|
2563
|
+
# resp.browser_identifier #=> String
|
|
2564
|
+
# resp.session_id #=> String
|
|
2565
|
+
# resp.last_updated_at #=> Time
|
|
2566
|
+
#
|
|
2567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SaveBrowserSessionProfile AWS API Documentation
|
|
2568
|
+
#
|
|
2569
|
+
# @overload save_browser_session_profile(params = {})
|
|
2570
|
+
# @param [Hash] params ({})
|
|
2571
|
+
def save_browser_session_profile(params = {}, options = {})
|
|
2572
|
+
req = build_request(:save_browser_session_profile, params)
|
|
2573
|
+
req.send_request(options)
|
|
2574
|
+
end
|
|
2575
|
+
|
|
2576
|
+
# Creates and initializes a browser session in Amazon Bedrock AgentCore.
|
|
2577
|
+
# The session enables agents to navigate and interact with web content,
|
|
2484
2578
|
# extract information from websites, and perform web-based tasks as part
|
|
2485
2579
|
# of their response generation.
|
|
2486
2580
|
#
|
|
@@ -2495,13 +2589,16 @@ module Aws::BedrockAgentCore
|
|
|
2495
2589
|
#
|
|
2496
2590
|
# * [UpdateBrowserStream][2]
|
|
2497
2591
|
#
|
|
2498
|
-
# * [
|
|
2592
|
+
# * [SaveBrowserSessionProfile][3]
|
|
2593
|
+
#
|
|
2594
|
+
# * [StopBrowserSession][4]
|
|
2499
2595
|
#
|
|
2500
2596
|
#
|
|
2501
2597
|
#
|
|
2502
2598
|
# [1]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html
|
|
2503
2599
|
# [2]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateBrowserStream.html
|
|
2504
|
-
# [3]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/
|
|
2600
|
+
# [3]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_SaveBrowserSessionProfile.html
|
|
2601
|
+
# [4]: https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html
|
|
2505
2602
|
#
|
|
2506
2603
|
# @option params [String] :trace_id
|
|
2507
2604
|
# The trace identifier for request tracking.
|
|
@@ -2527,18 +2624,26 @@ module Aws::BedrockAgentCore
|
|
|
2527
2624
|
# @option params [Types::ViewPort] :view_port
|
|
2528
2625
|
# The dimensions of the browser viewport for this session. This
|
|
2529
2626
|
# determines the visible area of the web content and affects how web
|
|
2530
|
-
# pages are rendered. If not specified, Amazon Bedrock uses a
|
|
2531
|
-
# viewport size.
|
|
2627
|
+
# pages are rendered. If not specified, Amazon Bedrock AgentCore uses a
|
|
2628
|
+
# default viewport size.
|
|
2532
2629
|
#
|
|
2533
2630
|
# @option params [Array<Types::BrowserExtension>] :extensions
|
|
2534
2631
|
# A list of browser extensions to load into the browser session.
|
|
2535
2632
|
#
|
|
2633
|
+
# @option params [Types::BrowserProfileConfiguration] :profile_configuration
|
|
2634
|
+
# The browser profile configuration to use for this session. A browser
|
|
2635
|
+
# profile contains persistent data such as cookies and local storage
|
|
2636
|
+
# that can be reused across multiple browser sessions. If specified, the
|
|
2637
|
+
# session initializes with the profile's stored data, enabling
|
|
2638
|
+
# continuity for tasks that require authentication or personalized
|
|
2639
|
+
# settings.
|
|
2640
|
+
#
|
|
2536
2641
|
# @option params [String] :client_token
|
|
2537
2642
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2538
2643
|
# completes no more than one time. If this token matches a previous
|
|
2539
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
2540
|
-
# error. This parameter helps prevent the creation of
|
|
2541
|
-
# if there are temporary network issues.
|
|
2644
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2645
|
+
# return an error. This parameter helps prevent the creation of
|
|
2646
|
+
# duplicate sessions if there are temporary network issues.
|
|
2542
2647
|
#
|
|
2543
2648
|
# **A suitable default value is auto-generated.** You should normally
|
|
2544
2649
|
# not need to pass this option.**
|
|
@@ -2573,6 +2678,9 @@ module Aws::BedrockAgentCore
|
|
|
2573
2678
|
# },
|
|
2574
2679
|
# },
|
|
2575
2680
|
# ],
|
|
2681
|
+
# profile_configuration: {
|
|
2682
|
+
# profile_identifier: "BrowserProfileId", # required
|
|
2683
|
+
# },
|
|
2576
2684
|
# client_token: "ClientToken",
|
|
2577
2685
|
# })
|
|
2578
2686
|
#
|
|
@@ -2594,10 +2702,10 @@ module Aws::BedrockAgentCore
|
|
|
2594
2702
|
req.send_request(options)
|
|
2595
2703
|
end
|
|
2596
2704
|
|
|
2597
|
-
# Creates and initializes a code interpreter session in Amazon Bedrock
|
|
2598
|
-
# The session enables agents to execute code as part of their
|
|
2599
|
-
# generation, supporting programming languages such as Python
|
|
2600
|
-
# analysis, visualization, and computation tasks.
|
|
2705
|
+
# Creates and initializes a code interpreter session in Amazon Bedrock
|
|
2706
|
+
# AgentCore. The session enables agents to execute code as part of their
|
|
2707
|
+
# response generation, supporting programming languages such as Python
|
|
2708
|
+
# for data analysis, visualization, and computation tasks.
|
|
2601
2709
|
#
|
|
2602
2710
|
# To create a session, you must specify a code interpreter identifier
|
|
2603
2711
|
# and a name. The session remains active until it times out or you
|
|
@@ -2641,9 +2749,9 @@ module Aws::BedrockAgentCore
|
|
|
2641
2749
|
# @option params [String] :client_token
|
|
2642
2750
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2643
2751
|
# completes no more than one time. If this token matches a previous
|
|
2644
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
2645
|
-
# error. This parameter helps prevent the creation of
|
|
2646
|
-
# if there are temporary network issues.
|
|
2752
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2753
|
+
# return an error. This parameter helps prevent the creation of
|
|
2754
|
+
# duplicate sessions if there are temporary network issues.
|
|
2647
2755
|
#
|
|
2648
2756
|
# **A suitable default value is auto-generated.** You should normally
|
|
2649
2757
|
# not need to pass this option.**
|
|
@@ -2729,9 +2837,9 @@ module Aws::BedrockAgentCore
|
|
|
2729
2837
|
req.send_request(options)
|
|
2730
2838
|
end
|
|
2731
2839
|
|
|
2732
|
-
# Terminates an active browser session in Amazon Bedrock. This
|
|
2733
|
-
# stops the session, releases associated resources, and makes
|
|
2734
|
-
# session unavailable for further use.
|
|
2840
|
+
# Terminates an active browser session in Amazon Bedrock AgentCore. This
|
|
2841
|
+
# operation stops the session, releases associated resources, and makes
|
|
2842
|
+
# the session unavailable for further use.
|
|
2735
2843
|
#
|
|
2736
2844
|
# To stop a browser session, you must specify both the browser
|
|
2737
2845
|
# identifier and the session ID. Once stopped, a session cannot be
|
|
@@ -2763,8 +2871,8 @@ module Aws::BedrockAgentCore
|
|
|
2763
2871
|
# @option params [String] :client_token
|
|
2764
2872
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2765
2873
|
# completes no more than one time. If this token matches a previous
|
|
2766
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
2767
|
-
# error.
|
|
2874
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2875
|
+
# return an error.
|
|
2768
2876
|
#
|
|
2769
2877
|
# **A suitable default value is auto-generated.** You should normally
|
|
2770
2878
|
# not need to pass this option.**
|
|
@@ -2800,9 +2908,9 @@ module Aws::BedrockAgentCore
|
|
|
2800
2908
|
req.send_request(options)
|
|
2801
2909
|
end
|
|
2802
2910
|
|
|
2803
|
-
# Terminates an active code interpreter session in Amazon Bedrock
|
|
2804
|
-
# operation stops the session, releases associated
|
|
2805
|
-
# the session unavailable for further use.
|
|
2911
|
+
# Terminates an active code interpreter session in Amazon Bedrock
|
|
2912
|
+
# AgentCore. This operation stops the session, releases associated
|
|
2913
|
+
# resources, and makes the session unavailable for further use.
|
|
2806
2914
|
#
|
|
2807
2915
|
# To stop a code interpreter session, you must specify both the code
|
|
2808
2916
|
# interpreter identifier and the session ID. Once stopped, a session
|
|
@@ -2836,8 +2944,8 @@ module Aws::BedrockAgentCore
|
|
|
2836
2944
|
# @option params [String] :client_token
|
|
2837
2945
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
2838
2946
|
# completes no more than one time. If this token matches a previous
|
|
2839
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
2840
|
-
# error.
|
|
2947
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
2948
|
+
# return an error.
|
|
2841
2949
|
#
|
|
2842
2950
|
# **A suitable default value is auto-generated.** You should normally
|
|
2843
2951
|
# not need to pass this option.**
|
|
@@ -2999,7 +3107,7 @@ module Aws::BedrockAgentCore
|
|
|
2999
3107
|
tracer: tracer
|
|
3000
3108
|
)
|
|
3001
3109
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
3002
|
-
context[:gem_version] = '1.
|
|
3110
|
+
context[:gem_version] = '1.18.0'
|
|
3003
3111
|
Seahorse::Client::Request.new(handlers, context)
|
|
3004
3112
|
end
|
|
3005
3113
|
|
|
@@ -39,6 +39,8 @@ module Aws::BedrockAgentCore
|
|
|
39
39
|
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
|
40
40
|
BrowserExtension = Shapes::StructureShape.new(name: 'BrowserExtension')
|
|
41
41
|
BrowserExtensions = Shapes::ListShape.new(name: 'BrowserExtensions')
|
|
42
|
+
BrowserProfileConfiguration = Shapes::StructureShape.new(name: 'BrowserProfileConfiguration')
|
|
43
|
+
BrowserProfileId = Shapes::StringShape.new(name: 'BrowserProfileId')
|
|
42
44
|
BrowserSessionId = Shapes::StringShape.new(name: 'BrowserSessionId')
|
|
43
45
|
BrowserSessionStatus = Shapes::StringShape.new(name: 'BrowserSessionStatus')
|
|
44
46
|
BrowserSessionStream = Shapes::StructureShape.new(name: 'BrowserSessionStream')
|
|
@@ -214,6 +216,10 @@ module Aws::BedrockAgentCore
|
|
|
214
216
|
S3LocationBucketString = Shapes::StringShape.new(name: 'S3LocationBucketString')
|
|
215
217
|
S3LocationPrefixString = Shapes::StringShape.new(name: 'S3LocationPrefixString')
|
|
216
218
|
S3LocationVersionIdString = Shapes::StringShape.new(name: 'S3LocationVersionIdString')
|
|
219
|
+
SaveBrowserSessionProfileRequest = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileRequest')
|
|
220
|
+
SaveBrowserSessionProfileRequestTraceIdString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceIdString')
|
|
221
|
+
SaveBrowserSessionProfileRequestTraceParentString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceParentString')
|
|
222
|
+
SaveBrowserSessionProfileResponse = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileResponse')
|
|
217
223
|
ScopeType = Shapes::StringShape.new(name: 'ScopeType')
|
|
218
224
|
ScopesListType = Shapes::ListShape.new(name: 'ScopesListType')
|
|
219
225
|
SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
|
|
@@ -335,6 +341,9 @@ module Aws::BedrockAgentCore
|
|
|
335
341
|
|
|
336
342
|
BrowserExtensions.member = Shapes::ShapeRef.new(shape: BrowserExtension)
|
|
337
343
|
|
|
344
|
+
BrowserProfileConfiguration.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location_name: "profileIdentifier"))
|
|
345
|
+
BrowserProfileConfiguration.struct_class = Types::BrowserProfileConfiguration
|
|
346
|
+
|
|
338
347
|
BrowserSessionStream.add_member(:automation_stream, Shapes::ShapeRef.new(shape: AutomationStream, required: true, location_name: "automationStream"))
|
|
339
348
|
BrowserSessionStream.add_member(:live_view_stream, Shapes::ShapeRef.new(shape: LiveViewStream, location_name: "liveViewStream"))
|
|
340
349
|
BrowserSessionStream.struct_class = Types::BrowserSessionStream
|
|
@@ -554,6 +563,7 @@ module Aws::BedrockAgentCore
|
|
|
554
563
|
GetBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
555
564
|
GetBrowserSessionResponse.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
|
|
556
565
|
GetBrowserSessionResponse.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
|
|
566
|
+
GetBrowserSessionResponse.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
|
|
557
567
|
GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
558
568
|
GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
|
|
559
569
|
GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
|
|
@@ -909,6 +919,20 @@ module Aws::BedrockAgentCore
|
|
|
909
919
|
S3Location.add_member(:version_id, Shapes::ShapeRef.new(shape: S3LocationVersionIdString, location_name: "versionId"))
|
|
910
920
|
S3Location.struct_class = Types::S3Location
|
|
911
921
|
|
|
922
|
+
SaveBrowserSessionProfileRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
923
|
+
SaveBrowserSessionProfileRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
924
|
+
SaveBrowserSessionProfileRequest.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location: "uri", location_name: "profileIdentifier"))
|
|
925
|
+
SaveBrowserSessionProfileRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
|
|
926
|
+
SaveBrowserSessionProfileRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
|
|
927
|
+
SaveBrowserSessionProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
928
|
+
SaveBrowserSessionProfileRequest.struct_class = Types::SaveBrowserSessionProfileRequest
|
|
929
|
+
|
|
930
|
+
SaveBrowserSessionProfileResponse.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location_name: "profileIdentifier"))
|
|
931
|
+
SaveBrowserSessionProfileResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
|
|
932
|
+
SaveBrowserSessionProfileResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
|
|
933
|
+
SaveBrowserSessionProfileResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
|
934
|
+
SaveBrowserSessionProfileResponse.struct_class = Types::SaveBrowserSessionProfileResponse
|
|
935
|
+
|
|
912
936
|
ScopesListType.member = Shapes::ShapeRef.new(shape: ScopeType)
|
|
913
937
|
|
|
914
938
|
SearchCriteria.add_member(:search_query, Shapes::ShapeRef.new(shape: SearchCriteriaSearchQueryString, required: true, location_name: "searchQuery"))
|
|
@@ -946,6 +970,7 @@ module Aws::BedrockAgentCore
|
|
|
946
970
|
StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
947
971
|
StartBrowserSessionRequest.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
|
|
948
972
|
StartBrowserSessionRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
|
|
973
|
+
StartBrowserSessionRequest.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
|
|
949
974
|
StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
950
975
|
StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
|
|
951
976
|
|
|
@@ -1548,6 +1573,20 @@ module Aws::BedrockAgentCore
|
|
|
1548
1573
|
)
|
|
1549
1574
|
end)
|
|
1550
1575
|
|
|
1576
|
+
api.add_operation(:save_browser_session_profile, Seahorse::Model::Operation.new.tap do |o|
|
|
1577
|
+
o.name = "SaveBrowserSessionProfile"
|
|
1578
|
+
o.http_method = "PUT"
|
|
1579
|
+
o.http_request_uri = "/browser-profiles/{profileIdentifier}/save"
|
|
1580
|
+
o.input = Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequest)
|
|
1581
|
+
o.output = Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileResponse)
|
|
1582
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1583
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1588
|
+
end)
|
|
1589
|
+
|
|
1551
1590
|
api.add_operation(:start_browser_session, Seahorse::Model::Operation.new.tap do |o|
|
|
1552
1591
|
o.name = "StartBrowserSession"
|
|
1553
1592
|
o.http_method = "PUT"
|
|
@@ -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.
|
|
@@ -259,10 +259,31 @@ module Aws::BedrockAgentCore
|
|
|
259
259
|
include Aws::Structure
|
|
260
260
|
end
|
|
261
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
|
+
|
|
262
283
|
# The collection of streams associated with a browser session in Amazon
|
|
263
|
-
# Bedrock. These streams provide different ways to interact
|
|
264
|
-
# observe the browser session, including programmatic control
|
|
265
|
-
# 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.
|
|
266
287
|
#
|
|
267
288
|
# @!attribute [rw] automation_stream
|
|
268
289
|
# The stream that enables programmatic control of the browser. This
|
|
@@ -285,10 +306,10 @@ module Aws::BedrockAgentCore
|
|
|
285
306
|
include Aws::Structure
|
|
286
307
|
end
|
|
287
308
|
|
|
288
|
-
# A condensed representation of a browser session in Amazon Bedrock
|
|
289
|
-
# This structure contains key information about a browser
|
|
290
|
-
# including identifiers, status, and timestamps, without the
|
|
291
|
-
# 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.
|
|
292
313
|
#
|
|
293
314
|
# @!attribute [rw] browser_identifier
|
|
294
315
|
# The unique identifier of the browser associated with the session.
|
|
@@ -335,10 +356,10 @@ module Aws::BedrockAgentCore
|
|
|
335
356
|
end
|
|
336
357
|
|
|
337
358
|
# The output produced by executing code in a code interpreter session in
|
|
338
|
-
# Amazon Bedrock. This structure contains the results of code
|
|
339
|
-
# including textual output, structured data, and error
|
|
340
|
-
# Agents use these results to generate responses that
|
|
341
|
-
# 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.
|
|
342
363
|
#
|
|
343
364
|
# @!attribute [rw] content
|
|
344
365
|
# The textual content of the execution result. This includes standard
|
|
@@ -372,9 +393,9 @@ module Aws::BedrockAgentCore
|
|
|
372
393
|
end
|
|
373
394
|
|
|
374
395
|
# A condensed representation of a code interpreter session in Amazon
|
|
375
|
-
# Bedrock. This structure contains key information about a
|
|
376
|
-
# interpreter session, including identifiers, status, and
|
|
377
|
-
# 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.
|
|
378
399
|
#
|
|
379
400
|
# @!attribute [rw] code_interpreter_identifier
|
|
380
401
|
# The unique identifier of the code interpreter associated with the
|
|
@@ -1240,6 +1261,12 @@ module Aws::BedrockAgentCore
|
|
|
1240
1261
|
# session.
|
|
1241
1262
|
# @return [Array<Types::BrowserExtension>]
|
|
1242
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
|
+
#
|
|
1243
1270
|
# @!attribute [rw] session_timeout_seconds
|
|
1244
1271
|
# The timeout period for the browser session in seconds.
|
|
1245
1272
|
# @return [Integer]
|
|
@@ -1271,6 +1298,7 @@ module Aws::BedrockAgentCore
|
|
|
1271
1298
|
:created_at,
|
|
1272
1299
|
:view_port,
|
|
1273
1300
|
:extensions,
|
|
1301
|
+
:profile_configuration,
|
|
1274
1302
|
:session_timeout_seconds,
|
|
1275
1303
|
:status,
|
|
1276
1304
|
:streams,
|
|
@@ -1724,14 +1752,14 @@ module Aws::BedrockAgentCore
|
|
|
1724
1752
|
# @!attribute [rw] agent_runtime_arn
|
|
1725
1753
|
# The Amazon Web Services Resource Name (ARN) of the agent runtime to
|
|
1726
1754
|
# invoke. The ARN uniquely identifies the agent runtime resource in
|
|
1727
|
-
# Amazon Bedrock.
|
|
1755
|
+
# Amazon Bedrock AgentCore.
|
|
1728
1756
|
# @return [String]
|
|
1729
1757
|
#
|
|
1730
1758
|
# @!attribute [rw] qualifier
|
|
1731
1759
|
# The qualifier to use for the agent runtime. This can be a version
|
|
1732
1760
|
# number or an endpoint name that points to a specific version. If not
|
|
1733
|
-
# specified, Amazon Bedrock uses the default version of the
|
|
1734
|
-
# runtime.
|
|
1761
|
+
# specified, Amazon Bedrock AgentCore uses the default version of the
|
|
1762
|
+
# agent runtime.
|
|
1735
1763
|
# @return [String]
|
|
1736
1764
|
#
|
|
1737
1765
|
# @!attribute [rw] account_id
|
|
@@ -1977,8 +2005,8 @@ module Aws::BedrockAgentCore
|
|
|
1977
2005
|
# @!attribute [rw] next_token
|
|
1978
2006
|
# The token for the next set of results. Use the value returned in the
|
|
1979
2007
|
# previous response in the next request to retrieve the next set of
|
|
1980
|
-
# results. If not specified, Amazon Bedrock returns the
|
|
1981
|
-
# results.
|
|
2008
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the
|
|
2009
|
+
# first page of results.
|
|
1982
2010
|
# @return [String]
|
|
1983
2011
|
#
|
|
1984
2012
|
# @!attribute [rw] status
|
|
@@ -2032,8 +2060,8 @@ module Aws::BedrockAgentCore
|
|
|
2032
2060
|
# @!attribute [rw] next_token
|
|
2033
2061
|
# The token for the next set of results. Use the value returned in the
|
|
2034
2062
|
# previous response in the next request to retrieve the next set of
|
|
2035
|
-
# results. If not specified, Amazon Bedrock returns the
|
|
2036
|
-
# results.
|
|
2063
|
+
# results. If not specified, Amazon Bedrock AgentCore returns the
|
|
2064
|
+
# first page of results.
|
|
2037
2065
|
# @return [String]
|
|
2038
2066
|
#
|
|
2039
2067
|
# @!attribute [rw] status
|
|
@@ -2191,8 +2219,8 @@ module Aws::BedrockAgentCore
|
|
|
2191
2219
|
# @return [String]
|
|
2192
2220
|
#
|
|
2193
2221
|
# @!attribute [rw] namespace
|
|
2194
|
-
# The namespace to filter memory records by.
|
|
2195
|
-
# records in
|
|
2222
|
+
# The namespace prefix to filter memory records by. Returns all memory
|
|
2223
|
+
# records in namespaces that start with the provided prefix.
|
|
2196
2224
|
# @return [String]
|
|
2197
2225
|
#
|
|
2198
2226
|
# @!attribute [rw] memory_strategy_id
|
|
@@ -2294,9 +2322,9 @@ module Aws::BedrockAgentCore
|
|
|
2294
2322
|
end
|
|
2295
2323
|
|
|
2296
2324
|
# The configuration for a stream that provides a visual representation
|
|
2297
|
-
# of a browser session in Amazon Bedrock. This stream enables
|
|
2298
|
-
# observe the current state of the browser, including rendered
|
|
2299
|
-
# 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.
|
|
2300
2328
|
#
|
|
2301
2329
|
# @!attribute [rw] stream_endpoint
|
|
2302
2330
|
# The endpoint URL for the live view stream. This URL is used to
|
|
@@ -2725,7 +2753,8 @@ module Aws::BedrockAgentCore
|
|
|
2725
2753
|
# @return [String]
|
|
2726
2754
|
#
|
|
2727
2755
|
# @!attribute [rw] namespace
|
|
2728
|
-
# 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.
|
|
2729
2758
|
# @return [String]
|
|
2730
2759
|
#
|
|
2731
2760
|
# @!attribute [rw] search_criteria
|
|
@@ -2855,6 +2884,85 @@ module Aws::BedrockAgentCore
|
|
|
2855
2884
|
include Aws::Structure
|
|
2856
2885
|
end
|
|
2857
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
|
+
|
|
2858
2966
|
# Contains search criteria for retrieving memory records.
|
|
2859
2967
|
#
|
|
2860
2968
|
# @!attribute [rw] search_query
|
|
@@ -3002,20 +3110,29 @@ module Aws::BedrockAgentCore
|
|
|
3002
3110
|
# @!attribute [rw] view_port
|
|
3003
3111
|
# The dimensions of the browser viewport for this session. This
|
|
3004
3112
|
# determines the visible area of the web content and affects how web
|
|
3005
|
-
# pages are rendered. If not specified, Amazon Bedrock uses
|
|
3006
|
-
# viewport size.
|
|
3113
|
+
# pages are rendered. If not specified, Amazon Bedrock AgentCore uses
|
|
3114
|
+
# a default viewport size.
|
|
3007
3115
|
# @return [Types::ViewPort]
|
|
3008
3116
|
#
|
|
3009
3117
|
# @!attribute [rw] extensions
|
|
3010
3118
|
# A list of browser extensions to load into the browser session.
|
|
3011
3119
|
# @return [Array<Types::BrowserExtension>]
|
|
3012
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
|
+
#
|
|
3013
3130
|
# @!attribute [rw] client_token
|
|
3014
3131
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3015
3132
|
# completes no more than one time. If this token matches a previous
|
|
3016
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3017
|
-
# error. This parameter helps prevent the creation of
|
|
3018
|
-
# 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.
|
|
3019
3136
|
#
|
|
3020
3137
|
# **A suitable default value is auto-generated.** You should normally
|
|
3021
3138
|
# not need to pass this option.
|
|
@@ -3031,6 +3148,7 @@ module Aws::BedrockAgentCore
|
|
|
3031
3148
|
:session_timeout_seconds,
|
|
3032
3149
|
:view_port,
|
|
3033
3150
|
:extensions,
|
|
3151
|
+
:profile_configuration,
|
|
3034
3152
|
:client_token)
|
|
3035
3153
|
SENSITIVE = []
|
|
3036
3154
|
include Aws::Structure
|
|
@@ -3094,9 +3212,9 @@ module Aws::BedrockAgentCore
|
|
|
3094
3212
|
# @!attribute [rw] client_token
|
|
3095
3213
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3096
3214
|
# completes no more than one time. If this token matches a previous
|
|
3097
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3098
|
-
# error. This parameter helps prevent the creation of
|
|
3099
|
-
# 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.
|
|
3100
3218
|
#
|
|
3101
3219
|
# **A suitable default value is auto-generated.** You should normally
|
|
3102
3220
|
# not need to pass this option.
|
|
@@ -3195,8 +3313,8 @@ module Aws::BedrockAgentCore
|
|
|
3195
3313
|
# @!attribute [rw] client_token
|
|
3196
3314
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3197
3315
|
# completes no more than one time. If this token matches a previous
|
|
3198
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3199
|
-
# error.
|
|
3316
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3317
|
+
# return an error.
|
|
3200
3318
|
#
|
|
3201
3319
|
# **A suitable default value is auto-generated.** You should normally
|
|
3202
3320
|
# not need to pass this option.
|
|
@@ -3256,8 +3374,8 @@ module Aws::BedrockAgentCore
|
|
|
3256
3374
|
# @!attribute [rw] client_token
|
|
3257
3375
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
3258
3376
|
# completes no more than one time. If this token matches a previous
|
|
3259
|
-
# request, Amazon Bedrock ignores the request, but does not
|
|
3260
|
-
# error.
|
|
3377
|
+
# request, Amazon Bedrock AgentCore ignores the request, but does not
|
|
3378
|
+
# return an error.
|
|
3261
3379
|
#
|
|
3262
3380
|
# **A suitable default value is auto-generated.** You should normally
|
|
3263
3381
|
# not need to pass this option.
|
|
@@ -3434,9 +3552,10 @@ module Aws::BedrockAgentCore
|
|
|
3434
3552
|
end
|
|
3435
3553
|
|
|
3436
3554
|
# The collection of arguments that specify the operation to perform and
|
|
3437
|
-
# its parameters when invoking a tool in Amazon Bedrock.
|
|
3438
|
-
# require different arguments, and this structure
|
|
3439
|
-
# 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.
|
|
3440
3559
|
#
|
|
3441
3560
|
# @!attribute [rw] code
|
|
3442
3561
|
# The code to execute in a code interpreter session. This is the
|
|
@@ -3590,9 +3709,10 @@ module Aws::BedrockAgentCore
|
|
|
3590
3709
|
#
|
|
3591
3710
|
# @!attribute [rw] streams
|
|
3592
3711
|
# The collection of streams associated with a browser session in
|
|
3593
|
-
# Amazon Bedrock. These streams provide different ways to
|
|
3594
|
-
# with and observe the browser session, including
|
|
3595
|
-
# 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.
|
|
3596
3716
|
# @return [Types::BrowserSessionStream]
|
|
3597
3717
|
#
|
|
3598
3718
|
# @!attribute [rw] updated_at
|
data/sig/client.rbs
CHANGED
|
@@ -254,6 +254,7 @@ module Aws
|
|
|
254
254
|
def created_at: () -> ::Time
|
|
255
255
|
def view_port: () -> Types::ViewPort
|
|
256
256
|
def extensions: () -> ::Array[Types::BrowserExtension]
|
|
257
|
+
def profile_configuration: () -> Types::BrowserProfileConfiguration
|
|
257
258
|
def session_timeout_seconds: () -> ::Integer
|
|
258
259
|
def status: () -> ("READY" | "TERMINATED")
|
|
259
260
|
def streams: () -> Types::BrowserSessionStream
|
|
@@ -591,6 +592,24 @@ module Aws
|
|
|
591
592
|
) -> _RetrieveMemoryRecordsResponseSuccess
|
|
592
593
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetrieveMemoryRecordsResponseSuccess
|
|
593
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
|
+
|
|
594
613
|
interface _StartBrowserSessionResponseSuccess
|
|
595
614
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartBrowserSessionResponse]
|
|
596
615
|
def browser_identifier: () -> ::String
|
|
@@ -620,6 +639,9 @@ module Aws
|
|
|
620
639
|
}
|
|
621
640
|
},
|
|
622
641
|
],
|
|
642
|
+
?profile_configuration: {
|
|
643
|
+
profile_identifier: ::String
|
|
644
|
+
},
|
|
623
645
|
?client_token: ::String
|
|
624
646
|
) -> _StartBrowserSessionResponseSuccess
|
|
625
647
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBrowserSessionResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -84,6 +84,11 @@ module Aws::BedrockAgentCore
|
|
|
84
84
|
SENSITIVE: []
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
class BrowserProfileConfiguration
|
|
88
|
+
attr_accessor profile_identifier: ::String
|
|
89
|
+
SENSITIVE: []
|
|
90
|
+
end
|
|
91
|
+
|
|
87
92
|
class BrowserSessionStream
|
|
88
93
|
attr_accessor automation_stream: Types::AutomationStream
|
|
89
94
|
attr_accessor live_view_stream: Types::LiveViewStream
|
|
@@ -358,6 +363,7 @@ module Aws::BedrockAgentCore
|
|
|
358
363
|
attr_accessor created_at: ::Time
|
|
359
364
|
attr_accessor view_port: Types::ViewPort
|
|
360
365
|
attr_accessor extensions: ::Array[Types::BrowserExtension]
|
|
366
|
+
attr_accessor profile_configuration: Types::BrowserProfileConfiguration
|
|
361
367
|
attr_accessor session_timeout_seconds: ::Integer
|
|
362
368
|
attr_accessor status: ("READY" | "TERMINATED")
|
|
363
369
|
attr_accessor streams: Types::BrowserSessionStream
|
|
@@ -824,6 +830,24 @@ module Aws::BedrockAgentCore
|
|
|
824
830
|
SENSITIVE: []
|
|
825
831
|
end
|
|
826
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
|
+
|
|
827
851
|
class SearchCriteria
|
|
828
852
|
attr_accessor search_query: ::String
|
|
829
853
|
attr_accessor memory_strategy_id: ::String
|
|
@@ -865,6 +889,7 @@ module Aws::BedrockAgentCore
|
|
|
865
889
|
attr_accessor session_timeout_seconds: ::Integer
|
|
866
890
|
attr_accessor view_port: Types::ViewPort
|
|
867
891
|
attr_accessor extensions: ::Array[Types::BrowserExtension]
|
|
892
|
+
attr_accessor profile_configuration: Types::BrowserProfileConfiguration
|
|
868
893
|
attr_accessor client_token: ::String
|
|
869
894
|
SENSITIVE: []
|
|
870
895
|
end
|