aws-sdk-bedrockagentcore 1.6.0 → 1.7.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 +46 -2
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +20 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +50 -0
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +10 -0
- data/sig/types.rbs +10 -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: 83c5ec56ae941fc1cd2bfed4a901b2e66b9aac7ab73f4997d179874635f339ba
|
4
|
+
data.tar.gz: 5af4ae4d3c69cf6d96f14dd45186f5dfa08ebb6e847c00129fcf8d4cd1789271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14ae88b3431febcf7802a8502c700af4319ac53f6f81f88293a5d38d58c036fb8d1969227c22a7b71605b66421aa74d3db947fb1258a074707898f3c4d4410d1
|
7
|
+
data.tar.gz: ef5e8434872c1ad9fefb7007e45b4736d43a7793aa04e0d3ec263ffb5180c1cf008929659b16b4a03fcab599f29a049800372fe6d95c7254c4947540bac9259a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -1333,7 +1333,11 @@ module Aws::BedrockAgentCore
|
|
1333
1333
|
# [Authenticate and authorize with Inbound Auth and Outbound Auth][2].
|
1334
1334
|
#
|
1335
1335
|
# To use this operation, you must have the
|
1336
|
-
# `bedrock-agentcore:InvokeAgentRuntime` permission.
|
1336
|
+
# `bedrock-agentcore:InvokeAgentRuntime` permission. If you are making a
|
1337
|
+
# call to `InvokeAgentRuntime` on behalf of a user ID with the
|
1338
|
+
# `X-Amzn-Bedrock-AgentCore-Runtime-User-Id` header, You require
|
1339
|
+
# permissions to both actions (`bedrock-agentcore:InvokeAgentRuntime`
|
1340
|
+
# and `bedrock-agentcore:InvokeAgentRuntimeForUser`).
|
1337
1341
|
#
|
1338
1342
|
#
|
1339
1343
|
#
|
@@ -1481,6 +1485,12 @@ module Aws::BedrockAgentCore
|
|
1481
1485
|
# must be an active session created with `StartCodeInterpreterSession`.
|
1482
1486
|
# If the session has expired or been stopped, the request will fail.
|
1483
1487
|
#
|
1488
|
+
# @option params [String] :trace_id
|
1489
|
+
# The trace identifier for request tracking.
|
1490
|
+
#
|
1491
|
+
# @option params [String] :trace_parent
|
1492
|
+
# The parent trace information for distributed tracing.
|
1493
|
+
#
|
1484
1494
|
# @option params [required, String] :name
|
1485
1495
|
# The name of the code interpreter to invoke.
|
1486
1496
|
#
|
@@ -1653,6 +1663,8 @@ module Aws::BedrockAgentCore
|
|
1653
1663
|
# resp = client.invoke_code_interpreter({
|
1654
1664
|
# code_interpreter_identifier: "String", # required
|
1655
1665
|
# session_id: "CodeInterpreterSessionId",
|
1666
|
+
# trace_id: "InvokeCodeInterpreterRequestTraceIdString",
|
1667
|
+
# trace_parent: "InvokeCodeInterpreterRequestTraceParentString",
|
1656
1668
|
# name: "executeCode", # required, accepts executeCode, executeCommand, readFiles, listFiles, removeFiles, writeFiles, startCommandExecution, getTask, stopTask
|
1657
1669
|
# arguments: {
|
1658
1670
|
# code: "MaxLenString",
|
@@ -2279,6 +2291,12 @@ module Aws::BedrockAgentCore
|
|
2279
2291
|
# [2]: https://docs.aws.amazon.com/API_UpdateBrowserStream.html
|
2280
2292
|
# [3]: https://docs.aws.amazon.com/API_StopBrowserSession.html
|
2281
2293
|
#
|
2294
|
+
# @option params [String] :trace_id
|
2295
|
+
# The trace identifier for request tracking.
|
2296
|
+
#
|
2297
|
+
# @option params [String] :trace_parent
|
2298
|
+
# The parent trace information for distributed tracing.
|
2299
|
+
#
|
2282
2300
|
# @option params [required, String] :browser_identifier
|
2283
2301
|
# The unique identifier of the browser to use for this session. This
|
2284
2302
|
# identifier specifies which browser environment to initialize for the
|
@@ -2320,6 +2338,8 @@ module Aws::BedrockAgentCore
|
|
2320
2338
|
# @example Request syntax with placeholder values
|
2321
2339
|
#
|
2322
2340
|
# resp = client.start_browser_session({
|
2341
|
+
# trace_id: "StartBrowserSessionRequestTraceIdString",
|
2342
|
+
# trace_parent: "StartBrowserSessionRequestTraceParentString",
|
2323
2343
|
# browser_identifier: "String", # required
|
2324
2344
|
# name: "Name",
|
2325
2345
|
# session_timeout_seconds: 1,
|
@@ -2371,6 +2391,12 @@ module Aws::BedrockAgentCore
|
|
2371
2391
|
# [2]: https://docs.aws.amazon.com/API_GetCodeInterpreterSession.html
|
2372
2392
|
# [3]: https://docs.aws.amazon.com/API_StopCodeInterpreterSession.html
|
2373
2393
|
#
|
2394
|
+
# @option params [String] :trace_id
|
2395
|
+
# The trace identifier for request tracking.
|
2396
|
+
#
|
2397
|
+
# @option params [String] :trace_parent
|
2398
|
+
# The parent trace information for distributed tracing.
|
2399
|
+
#
|
2374
2400
|
# @option params [required, String] :code_interpreter_identifier
|
2375
2401
|
# The unique identifier of the code interpreter to use for this session.
|
2376
2402
|
# This identifier specifies which code interpreter environment to
|
@@ -2405,6 +2431,8 @@ module Aws::BedrockAgentCore
|
|
2405
2431
|
# @example Request syntax with placeholder values
|
2406
2432
|
#
|
2407
2433
|
# resp = client.start_code_interpreter_session({
|
2434
|
+
# trace_id: "StartCodeInterpreterSessionRequestTraceIdString",
|
2435
|
+
# trace_parent: "StartCodeInterpreterSessionRequestTraceParentString",
|
2408
2436
|
# code_interpreter_identifier: "String", # required
|
2409
2437
|
# name: "Name",
|
2410
2438
|
# session_timeout_seconds: 1,
|
@@ -2445,6 +2473,12 @@ module Aws::BedrockAgentCore
|
|
2445
2473
|
# [1]: https://docs.aws.amazon.com/API_StartBrowserSession.html
|
2446
2474
|
# [2]: https://docs.aws.amazon.com/API_GetBrowserSession.html
|
2447
2475
|
#
|
2476
|
+
# @option params [String] :trace_id
|
2477
|
+
# The trace identifier for request tracking.
|
2478
|
+
#
|
2479
|
+
# @option params [String] :trace_parent
|
2480
|
+
# The parent trace information for distributed tracing.
|
2481
|
+
#
|
2448
2482
|
# @option params [required, String] :browser_identifier
|
2449
2483
|
# The unique identifier of the browser associated with the session.
|
2450
2484
|
#
|
@@ -2469,6 +2503,8 @@ module Aws::BedrockAgentCore
|
|
2469
2503
|
# @example Request syntax with placeholder values
|
2470
2504
|
#
|
2471
2505
|
# resp = client.stop_browser_session({
|
2506
|
+
# trace_id: "StopBrowserSessionRequestTraceIdString",
|
2507
|
+
# trace_parent: "StopBrowserSessionRequestTraceParentString",
|
2472
2508
|
# browser_identifier: "String", # required
|
2473
2509
|
# session_id: "BrowserSessionId", # required
|
2474
2510
|
# client_token: "ClientToken",
|
@@ -2509,6 +2545,12 @@ module Aws::BedrockAgentCore
|
|
2509
2545
|
# [1]: https://docs.aws.amazon.com/API_StartCodeInterpreterSession.html
|
2510
2546
|
# [2]: https://docs.aws.amazon.com/API_GetCodeInterpreterSession.html
|
2511
2547
|
#
|
2548
|
+
# @option params [String] :trace_id
|
2549
|
+
# The trace identifier for request tracking.
|
2550
|
+
#
|
2551
|
+
# @option params [String] :trace_parent
|
2552
|
+
# The parent trace information for distributed tracing.
|
2553
|
+
#
|
2512
2554
|
# @option params [required, String] :code_interpreter_identifier
|
2513
2555
|
# The unique identifier of the code interpreter associated with the
|
2514
2556
|
# session.
|
@@ -2534,6 +2576,8 @@ module Aws::BedrockAgentCore
|
|
2534
2576
|
# @example Request syntax with placeholder values
|
2535
2577
|
#
|
2536
2578
|
# resp = client.stop_code_interpreter_session({
|
2579
|
+
# trace_id: "StopCodeInterpreterSessionRequestTraceIdString",
|
2580
|
+
# trace_parent: "StopCodeInterpreterSessionRequestTraceParentString",
|
2537
2581
|
# code_interpreter_identifier: "String", # required
|
2538
2582
|
# session_id: "CodeInterpreterSessionId", # required
|
2539
2583
|
# client_token: "ClientToken",
|
@@ -2680,7 +2724,7 @@ module Aws::BedrockAgentCore
|
|
2680
2724
|
tracer: tracer
|
2681
2725
|
)
|
2682
2726
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
2683
|
-
context[:gem_version] = '1.
|
2727
|
+
context[:gem_version] = '1.7.0'
|
2684
2728
|
Seahorse::Client::Request.new(handlers, context)
|
2685
2729
|
end
|
2686
2730
|
|
@@ -110,6 +110,8 @@ module Aws::BedrockAgentCore
|
|
110
110
|
InvokeAgentRuntimeRequestTraceStateString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceStateString')
|
111
111
|
InvokeAgentRuntimeResponse = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeResponse')
|
112
112
|
InvokeCodeInterpreterRequest = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterRequest')
|
113
|
+
InvokeCodeInterpreterRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceIdString')
|
114
|
+
InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
|
113
115
|
InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
|
114
116
|
LeftExpression = Shapes::UnionShape.new(name: 'LeftExpression')
|
115
117
|
ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
|
@@ -184,12 +186,20 @@ module Aws::BedrockAgentCore
|
|
184
186
|
SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
|
185
187
|
SessionType = Shapes::StringShape.new(name: 'SessionType')
|
186
188
|
StartBrowserSessionRequest = Shapes::StructureShape.new(name: 'StartBrowserSessionRequest')
|
189
|
+
StartBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceIdString')
|
190
|
+
StartBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceParentString')
|
187
191
|
StartBrowserSessionResponse = Shapes::StructureShape.new(name: 'StartBrowserSessionResponse')
|
188
192
|
StartCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionRequest')
|
193
|
+
StartCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceIdString')
|
194
|
+
StartCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceParentString')
|
189
195
|
StartCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionResponse')
|
190
196
|
StopBrowserSessionRequest = Shapes::StructureShape.new(name: 'StopBrowserSessionRequest')
|
197
|
+
StopBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceIdString')
|
198
|
+
StopBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceParentString')
|
191
199
|
StopBrowserSessionResponse = Shapes::StructureShape.new(name: 'StopBrowserSessionResponse')
|
192
200
|
StopCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionRequest')
|
201
|
+
StopCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceIdString')
|
202
|
+
StopCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceParentString')
|
193
203
|
StopCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionResponse')
|
194
204
|
StopRuntimeSessionRequest = Shapes::StructureShape.new(name: 'StopRuntimeSessionRequest')
|
195
205
|
StopRuntimeSessionResponse = Shapes::StructureShape.new(name: 'StopRuntimeSessionResponse')
|
@@ -529,6 +539,8 @@ module Aws::BedrockAgentCore
|
|
529
539
|
|
530
540
|
InvokeCodeInterpreterRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
531
541
|
InvokeCodeInterpreterRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, location: "header", location_name: "x-amzn-code-interpreter-session-id"))
|
542
|
+
InvokeCodeInterpreterRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
543
|
+
InvokeCodeInterpreterRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceParentString, location: "header", location_name: "traceparent"))
|
532
544
|
InvokeCodeInterpreterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
|
533
545
|
InvokeCodeInterpreterRequest.add_member(:arguments, Shapes::ShapeRef.new(shape: ToolArguments, location_name: "arguments"))
|
534
546
|
InvokeCodeInterpreterRequest.struct_class = Types::InvokeCodeInterpreterRequest
|
@@ -737,6 +749,8 @@ module Aws::BedrockAgentCore
|
|
737
749
|
|
738
750
|
SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
739
751
|
|
752
|
+
StartBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
753
|
+
StartBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
740
754
|
StartBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
|
741
755
|
StartBrowserSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
742
756
|
StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
@@ -750,6 +764,8 @@ module Aws::BedrockAgentCore
|
|
750
764
|
StartBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
|
751
765
|
StartBrowserSessionResponse.struct_class = Types::StartBrowserSessionResponse
|
752
766
|
|
767
|
+
StartCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
768
|
+
StartCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
753
769
|
StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
754
770
|
StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
755
771
|
StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
@@ -761,6 +777,8 @@ module Aws::BedrockAgentCore
|
|
761
777
|
StartCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
762
778
|
StartCodeInterpreterSessionResponse.struct_class = Types::StartCodeInterpreterSessionResponse
|
763
779
|
|
780
|
+
StopBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
781
|
+
StopBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
764
782
|
StopBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
|
765
783
|
StopBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
|
766
784
|
StopBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
@@ -771,6 +789,8 @@ module Aws::BedrockAgentCore
|
|
771
789
|
StopBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
772
790
|
StopBrowserSessionResponse.struct_class = Types::StopBrowserSessionResponse
|
773
791
|
|
792
|
+
StopCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
793
|
+
StopCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
774
794
|
StopCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
775
795
|
StopCodeInterpreterSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location: "querystring", location_name: "sessionId"))
|
776
796
|
StopCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
@@ -1412,6 +1412,14 @@ module Aws::BedrockAgentCore
|
|
1412
1412
|
# stopped, the request will fail.
|
1413
1413
|
# @return [String]
|
1414
1414
|
#
|
1415
|
+
# @!attribute [rw] trace_id
|
1416
|
+
# The trace identifier for request tracking.
|
1417
|
+
# @return [String]
|
1418
|
+
#
|
1419
|
+
# @!attribute [rw] trace_parent
|
1420
|
+
# The parent trace information for distributed tracing.
|
1421
|
+
# @return [String]
|
1422
|
+
#
|
1415
1423
|
# @!attribute [rw] name
|
1416
1424
|
# The name of the code interpreter to invoke.
|
1417
1425
|
# @return [String]
|
@@ -1429,6 +1437,8 @@ module Aws::BedrockAgentCore
|
|
1429
1437
|
class InvokeCodeInterpreterRequest < Struct.new(
|
1430
1438
|
:code_interpreter_identifier,
|
1431
1439
|
:session_id,
|
1440
|
+
:trace_id,
|
1441
|
+
:trace_parent,
|
1432
1442
|
:name,
|
1433
1443
|
:arguments)
|
1434
1444
|
SENSITIVE = []
|
@@ -2328,6 +2338,14 @@ module Aws::BedrockAgentCore
|
|
2328
2338
|
include Aws::Structure
|
2329
2339
|
end
|
2330
2340
|
|
2341
|
+
# @!attribute [rw] trace_id
|
2342
|
+
# The trace identifier for request tracking.
|
2343
|
+
# @return [String]
|
2344
|
+
#
|
2345
|
+
# @!attribute [rw] trace_parent
|
2346
|
+
# The parent trace information for distributed tracing.
|
2347
|
+
# @return [String]
|
2348
|
+
#
|
2331
2349
|
# @!attribute [rw] browser_identifier
|
2332
2350
|
# The unique identifier of the browser to use for this session. This
|
2333
2351
|
# identifier specifies which browser environment to initialize for the
|
@@ -2367,6 +2385,8 @@ module Aws::BedrockAgentCore
|
|
2367
2385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBrowserSessionRequest AWS API Documentation
|
2368
2386
|
#
|
2369
2387
|
class StartBrowserSessionRequest < Struct.new(
|
2388
|
+
:trace_id,
|
2389
|
+
:trace_parent,
|
2370
2390
|
:browser_identifier,
|
2371
2391
|
:name,
|
2372
2392
|
:session_timeout_seconds,
|
@@ -2404,6 +2424,14 @@ module Aws::BedrockAgentCore
|
|
2404
2424
|
include Aws::Structure
|
2405
2425
|
end
|
2406
2426
|
|
2427
|
+
# @!attribute [rw] trace_id
|
2428
|
+
# The trace identifier for request tracking.
|
2429
|
+
# @return [String]
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] trace_parent
|
2432
|
+
# The parent trace information for distributed tracing.
|
2433
|
+
# @return [String]
|
2434
|
+
#
|
2407
2435
|
# @!attribute [rw] code_interpreter_identifier
|
2408
2436
|
# The unique identifier of the code interpreter to use for this
|
2409
2437
|
# session. This identifier specifies which code interpreter
|
@@ -2437,6 +2465,8 @@ module Aws::BedrockAgentCore
|
|
2437
2465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartCodeInterpreterSessionRequest AWS API Documentation
|
2438
2466
|
#
|
2439
2467
|
class StartCodeInterpreterSessionRequest < Struct.new(
|
2468
|
+
:trace_id,
|
2469
|
+
:trace_parent,
|
2440
2470
|
:code_interpreter_identifier,
|
2441
2471
|
:name,
|
2442
2472
|
:session_timeout_seconds,
|
@@ -2467,6 +2497,14 @@ module Aws::BedrockAgentCore
|
|
2467
2497
|
include Aws::Structure
|
2468
2498
|
end
|
2469
2499
|
|
2500
|
+
# @!attribute [rw] trace_id
|
2501
|
+
# The trace identifier for request tracking.
|
2502
|
+
# @return [String]
|
2503
|
+
#
|
2504
|
+
# @!attribute [rw] trace_parent
|
2505
|
+
# The parent trace information for distributed tracing.
|
2506
|
+
# @return [String]
|
2507
|
+
#
|
2470
2508
|
# @!attribute [rw] browser_identifier
|
2471
2509
|
# The unique identifier of the browser associated with the session.
|
2472
2510
|
# @return [String]
|
@@ -2488,6 +2526,8 @@ module Aws::BedrockAgentCore
|
|
2488
2526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopBrowserSessionRequest AWS API Documentation
|
2489
2527
|
#
|
2490
2528
|
class StopBrowserSessionRequest < Struct.new(
|
2529
|
+
:trace_id,
|
2530
|
+
:trace_parent,
|
2491
2531
|
:browser_identifier,
|
2492
2532
|
:session_id,
|
2493
2533
|
:client_token)
|
@@ -2517,6 +2557,14 @@ module Aws::BedrockAgentCore
|
|
2517
2557
|
include Aws::Structure
|
2518
2558
|
end
|
2519
2559
|
|
2560
|
+
# @!attribute [rw] trace_id
|
2561
|
+
# The trace identifier for request tracking.
|
2562
|
+
# @return [String]
|
2563
|
+
#
|
2564
|
+
# @!attribute [rw] trace_parent
|
2565
|
+
# The parent trace information for distributed tracing.
|
2566
|
+
# @return [String]
|
2567
|
+
#
|
2520
2568
|
# @!attribute [rw] code_interpreter_identifier
|
2521
2569
|
# The unique identifier of the code interpreter associated with the
|
2522
2570
|
# session.
|
@@ -2539,6 +2587,8 @@ module Aws::BedrockAgentCore
|
|
2539
2587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopCodeInterpreterSessionRequest AWS API Documentation
|
2540
2588
|
#
|
2541
2589
|
class StopCodeInterpreterSessionRequest < Struct.new(
|
2590
|
+
:trace_id,
|
2591
|
+
:trace_parent,
|
2542
2592
|
:code_interpreter_identifier,
|
2543
2593
|
:session_id,
|
2544
2594
|
:client_token)
|
data/sig/client.rbs
CHANGED
@@ -373,6 +373,8 @@ module Aws
|
|
373
373
|
def invoke_code_interpreter: (
|
374
374
|
code_interpreter_identifier: ::String,
|
375
375
|
?session_id: ::String,
|
376
|
+
?trace_id: ::String,
|
377
|
+
?trace_parent: ::String,
|
376
378
|
name: ("executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask"),
|
377
379
|
?arguments: {
|
378
380
|
code: ::String?,
|
@@ -527,6 +529,8 @@ module Aws
|
|
527
529
|
end
|
528
530
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_browser_session-instance_method
|
529
531
|
def start_browser_session: (
|
532
|
+
?trace_id: ::String,
|
533
|
+
?trace_parent: ::String,
|
530
534
|
browser_identifier: ::String,
|
531
535
|
?name: ::String,
|
532
536
|
?session_timeout_seconds: ::Integer,
|
@@ -546,6 +550,8 @@ module Aws
|
|
546
550
|
end
|
547
551
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_code_interpreter_session-instance_method
|
548
552
|
def start_code_interpreter_session: (
|
553
|
+
?trace_id: ::String,
|
554
|
+
?trace_parent: ::String,
|
549
555
|
code_interpreter_identifier: ::String,
|
550
556
|
?name: ::String,
|
551
557
|
?session_timeout_seconds: ::Integer,
|
@@ -561,6 +567,8 @@ module Aws
|
|
561
567
|
end
|
562
568
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#stop_browser_session-instance_method
|
563
569
|
def stop_browser_session: (
|
570
|
+
?trace_id: ::String,
|
571
|
+
?trace_parent: ::String,
|
564
572
|
browser_identifier: ::String,
|
565
573
|
session_id: ::String,
|
566
574
|
?client_token: ::String
|
@@ -575,6 +583,8 @@ module Aws
|
|
575
583
|
end
|
576
584
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#stop_code_interpreter_session-instance_method
|
577
585
|
def stop_code_interpreter_session: (
|
586
|
+
?trace_id: ::String,
|
587
|
+
?trace_parent: ::String,
|
578
588
|
code_interpreter_identifier: ::String,
|
579
589
|
session_id: ::String,
|
580
590
|
?client_token: ::String
|
data/sig/types.rbs
CHANGED
@@ -401,6 +401,8 @@ module Aws::BedrockAgentCore
|
|
401
401
|
class InvokeCodeInterpreterRequest
|
402
402
|
attr_accessor code_interpreter_identifier: ::String
|
403
403
|
attr_accessor session_id: ::String
|
404
|
+
attr_accessor trace_id: ::String
|
405
|
+
attr_accessor trace_parent: ::String
|
404
406
|
attr_accessor name: ("executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask")
|
405
407
|
attr_accessor arguments: Types::ToolArguments
|
406
408
|
SENSITIVE: []
|
@@ -674,6 +676,8 @@ module Aws::BedrockAgentCore
|
|
674
676
|
end
|
675
677
|
|
676
678
|
class StartBrowserSessionRequest
|
679
|
+
attr_accessor trace_id: ::String
|
680
|
+
attr_accessor trace_parent: ::String
|
677
681
|
attr_accessor browser_identifier: ::String
|
678
682
|
attr_accessor name: ::String
|
679
683
|
attr_accessor session_timeout_seconds: ::Integer
|
@@ -691,6 +695,8 @@ module Aws::BedrockAgentCore
|
|
691
695
|
end
|
692
696
|
|
693
697
|
class StartCodeInterpreterSessionRequest
|
698
|
+
attr_accessor trace_id: ::String
|
699
|
+
attr_accessor trace_parent: ::String
|
694
700
|
attr_accessor code_interpreter_identifier: ::String
|
695
701
|
attr_accessor name: ::String
|
696
702
|
attr_accessor session_timeout_seconds: ::Integer
|
@@ -706,6 +712,8 @@ module Aws::BedrockAgentCore
|
|
706
712
|
end
|
707
713
|
|
708
714
|
class StopBrowserSessionRequest
|
715
|
+
attr_accessor trace_id: ::String
|
716
|
+
attr_accessor trace_parent: ::String
|
709
717
|
attr_accessor browser_identifier: ::String
|
710
718
|
attr_accessor session_id: ::String
|
711
719
|
attr_accessor client_token: ::String
|
@@ -720,6 +728,8 @@ module Aws::BedrockAgentCore
|
|
720
728
|
end
|
721
729
|
|
722
730
|
class StopCodeInterpreterSessionRequest
|
731
|
+
attr_accessor trace_id: ::String
|
732
|
+
attr_accessor trace_parent: ::String
|
723
733
|
attr_accessor code_interpreter_identifier: ::String
|
724
734
|
attr_accessor session_id: ::String
|
725
735
|
attr_accessor client_token: ::String
|