aws-sdk-bedrockagentcore 1.6.0 → 1.8.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 +104 -2
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +62 -1
- data/lib/aws-sdk-bedrockagentcore/types.rb +146 -4
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +29 -1
- data/sig/types.rbs +40 -2
- 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: d6ccfa5ad928167e4be77b34b09bef4a604983d41996813928b8921ebcb95264
|
|
4
|
+
data.tar.gz: 2fbefce2f227120bae4e11501b3c20a46e735ae7a0da89f5c0c5ed180228beb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac8b3510e6ae2886902b6e5e2870e69cd17702ebd5de6bd0e1b5d1848ba004586977643f8b090e9bb2aa28c7cd58490603a12aec05a7646b7abc371c6699eebd
|
|
7
|
+
data.tar.gz: e54c8869495942c4b331944dca6d5efad08a87365efb6a72c384ff320f1cd8ba4f416d59a02cec4afc86c5a0cbd2c1bb944ff0c2fd45496aeeea7ee27697f452
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.8.0 (2025-10-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated InvokeAgentRuntime API to accept account id optionally and added CompleteResourceTokenAuth API.
|
|
8
|
+
|
|
9
|
+
1.7.0 (2025-10-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Bedrock AgentCore release for Runtime, and Memory.
|
|
13
|
+
|
|
4
14
|
1.6.0 (2025-10-06)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.8.0
|
|
@@ -657,6 +657,41 @@ module Aws::BedrockAgentCore
|
|
|
657
657
|
req.send_request(options)
|
|
658
658
|
end
|
|
659
659
|
|
|
660
|
+
# Confirms the user authentication session for obtaining OAuth2.0 tokens
|
|
661
|
+
# for a resource.
|
|
662
|
+
#
|
|
663
|
+
# @option params [required, Types::UserIdentifier] :user_identifier
|
|
664
|
+
# The OAuth2.0 token or user ID that was used to generate the workload
|
|
665
|
+
# access token used for initiating the user authorization flow to
|
|
666
|
+
# retrieve OAuth2.0 tokens.
|
|
667
|
+
#
|
|
668
|
+
# @option params [required, String] :session_uri
|
|
669
|
+
# Unique identifier for the user's authentication session for
|
|
670
|
+
# retrieving OAuth2 tokens. This ID tracks the authorization flow state
|
|
671
|
+
# across multiple requests and responses during the OAuth2
|
|
672
|
+
# authentication process.
|
|
673
|
+
#
|
|
674
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
675
|
+
#
|
|
676
|
+
# @example Request syntax with placeholder values
|
|
677
|
+
#
|
|
678
|
+
# resp = client.complete_resource_token_auth({
|
|
679
|
+
# user_identifier: { # required
|
|
680
|
+
# user_token: "UserTokenType",
|
|
681
|
+
# user_id: "UserIdType",
|
|
682
|
+
# },
|
|
683
|
+
# session_uri: "RequestUri", # required
|
|
684
|
+
# })
|
|
685
|
+
#
|
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CompleteResourceTokenAuth AWS API Documentation
|
|
687
|
+
#
|
|
688
|
+
# @overload complete_resource_token_auth(params = {})
|
|
689
|
+
# @param [Hash] params ({})
|
|
690
|
+
def complete_resource_token_auth(params = {}, options = {})
|
|
691
|
+
req = build_request(:complete_resource_token_auth, params)
|
|
692
|
+
req.send_request(options)
|
|
693
|
+
end
|
|
694
|
+
|
|
660
695
|
# Creates an event in an AgentCore Memory resource. Events represent
|
|
661
696
|
# interactions or activities that occur within a session and are
|
|
662
697
|
# associated with specific actors.
|
|
@@ -1170,6 +1205,12 @@ module Aws::BedrockAgentCore
|
|
|
1170
1205
|
# @option params [required, String] :oauth2_flow
|
|
1171
1206
|
# The type of flow to be performed.
|
|
1172
1207
|
#
|
|
1208
|
+
# @option params [String] :session_uri
|
|
1209
|
+
# Unique identifier for the user's authentication session for
|
|
1210
|
+
# retrieving OAuth2 tokens. This ID tracks the authorization flow state
|
|
1211
|
+
# across multiple requests and responses during the OAuth2
|
|
1212
|
+
# authentication process.
|
|
1213
|
+
#
|
|
1173
1214
|
# @option params [String] :resource_oauth_2_return_url
|
|
1174
1215
|
# The callback URL to redirect to after the OAuth 2.0 token retrieval is
|
|
1175
1216
|
# complete. This URL must be one of the provided URLs configured for the
|
|
@@ -1184,10 +1225,18 @@ module Aws::BedrockAgentCore
|
|
|
1184
1225
|
# the resource credential provider. These parameters are in addition to
|
|
1185
1226
|
# the standard OAuth 2.0 flow parameters, and will not override them.
|
|
1186
1227
|
#
|
|
1228
|
+
# @option params [String] :custom_state
|
|
1229
|
+
# An opaque string that will be sent back to the callback URL provided
|
|
1230
|
+
# in resourceOauth2ReturnUrl. This state should be used to protect the
|
|
1231
|
+
# callback URL of your application against CSRF attacks by ensuring the
|
|
1232
|
+
# response corresponds to the original request.
|
|
1233
|
+
#
|
|
1187
1234
|
# @return [Types::GetResourceOauth2TokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1188
1235
|
#
|
|
1189
1236
|
# * {Types::GetResourceOauth2TokenResponse#authorization_url #authorization_url} => String
|
|
1190
1237
|
# * {Types::GetResourceOauth2TokenResponse#access_token #access_token} => String
|
|
1238
|
+
# * {Types::GetResourceOauth2TokenResponse#session_uri #session_uri} => String
|
|
1239
|
+
# * {Types::GetResourceOauth2TokenResponse#session_status #session_status} => String
|
|
1191
1240
|
#
|
|
1192
1241
|
# @example Request syntax with placeholder values
|
|
1193
1242
|
#
|
|
@@ -1196,17 +1245,21 @@ module Aws::BedrockAgentCore
|
|
|
1196
1245
|
# resource_credential_provider_name: "CredentialProviderName", # required
|
|
1197
1246
|
# scopes: ["ScopeType"], # required
|
|
1198
1247
|
# oauth2_flow: "USER_FEDERATION", # required, accepts USER_FEDERATION, M2M
|
|
1248
|
+
# session_uri: "RequestUri",
|
|
1199
1249
|
# resource_oauth_2_return_url: "ResourceOauth2ReturnUrlType",
|
|
1200
1250
|
# force_authentication: false,
|
|
1201
1251
|
# custom_parameters: {
|
|
1202
1252
|
# "CustomRequestKeyType" => "CustomRequestValueType",
|
|
1203
1253
|
# },
|
|
1254
|
+
# custom_state: "State",
|
|
1204
1255
|
# })
|
|
1205
1256
|
#
|
|
1206
1257
|
# @example Response structure
|
|
1207
1258
|
#
|
|
1208
1259
|
# resp.authorization_url #=> String
|
|
1209
1260
|
# resp.access_token #=> String
|
|
1261
|
+
# resp.session_uri #=> String
|
|
1262
|
+
# resp.session_status #=> String, one of "IN_PROGRESS", "FAILED"
|
|
1210
1263
|
#
|
|
1211
1264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2Token AWS API Documentation
|
|
1212
1265
|
#
|
|
@@ -1333,7 +1386,11 @@ module Aws::BedrockAgentCore
|
|
|
1333
1386
|
# [Authenticate and authorize with Inbound Auth and Outbound Auth][2].
|
|
1334
1387
|
#
|
|
1335
1388
|
# To use this operation, you must have the
|
|
1336
|
-
# `bedrock-agentcore:InvokeAgentRuntime` permission.
|
|
1389
|
+
# `bedrock-agentcore:InvokeAgentRuntime` permission. If you are making a
|
|
1390
|
+
# call to `InvokeAgentRuntime` on behalf of a user ID with the
|
|
1391
|
+
# `X-Amzn-Bedrock-AgentCore-Runtime-User-Id` header, You require
|
|
1392
|
+
# permissions to both actions (`bedrock-agentcore:InvokeAgentRuntime`
|
|
1393
|
+
# and `bedrock-agentcore:InvokeAgentRuntimeForUser`).
|
|
1337
1394
|
#
|
|
1338
1395
|
#
|
|
1339
1396
|
#
|
|
@@ -1388,6 +1445,10 @@ module Aws::BedrockAgentCore
|
|
|
1388
1445
|
# specified, Amazon Bedrock uses the default version of the agent
|
|
1389
1446
|
# runtime.
|
|
1390
1447
|
#
|
|
1448
|
+
# @option params [String] :account_id
|
|
1449
|
+
# The identifier of the Amazon Web Services account for the agent
|
|
1450
|
+
# runtime resource.
|
|
1451
|
+
#
|
|
1391
1452
|
# @option params [required, String, StringIO, File] :payload
|
|
1392
1453
|
# The input data to send to the agent runtime. The format of this data
|
|
1393
1454
|
# depends on the specific agent configuration and must match the
|
|
@@ -1422,6 +1483,7 @@ module Aws::BedrockAgentCore
|
|
|
1422
1483
|
# baggage: "InvokeAgentRuntimeRequestBaggageString",
|
|
1423
1484
|
# agent_runtime_arn: "String", # required
|
|
1424
1485
|
# qualifier: "String",
|
|
1486
|
+
# account_id: "InvokeAgentRuntimeRequestAccountIdString",
|
|
1425
1487
|
# payload: "data", # required
|
|
1426
1488
|
# })
|
|
1427
1489
|
#
|
|
@@ -1481,6 +1543,12 @@ module Aws::BedrockAgentCore
|
|
|
1481
1543
|
# must be an active session created with `StartCodeInterpreterSession`.
|
|
1482
1544
|
# If the session has expired or been stopped, the request will fail.
|
|
1483
1545
|
#
|
|
1546
|
+
# @option params [String] :trace_id
|
|
1547
|
+
# The trace identifier for request tracking.
|
|
1548
|
+
#
|
|
1549
|
+
# @option params [String] :trace_parent
|
|
1550
|
+
# The parent trace information for distributed tracing.
|
|
1551
|
+
#
|
|
1484
1552
|
# @option params [required, String] :name
|
|
1485
1553
|
# The name of the code interpreter to invoke.
|
|
1486
1554
|
#
|
|
@@ -1653,6 +1721,8 @@ module Aws::BedrockAgentCore
|
|
|
1653
1721
|
# resp = client.invoke_code_interpreter({
|
|
1654
1722
|
# code_interpreter_identifier: "String", # required
|
|
1655
1723
|
# session_id: "CodeInterpreterSessionId",
|
|
1724
|
+
# trace_id: "InvokeCodeInterpreterRequestTraceIdString",
|
|
1725
|
+
# trace_parent: "InvokeCodeInterpreterRequestTraceParentString",
|
|
1656
1726
|
# name: "executeCode", # required, accepts executeCode, executeCommand, readFiles, listFiles, removeFiles, writeFiles, startCommandExecution, getTask, stopTask
|
|
1657
1727
|
# arguments: {
|
|
1658
1728
|
# code: "MaxLenString",
|
|
@@ -2279,6 +2349,12 @@ module Aws::BedrockAgentCore
|
|
|
2279
2349
|
# [2]: https://docs.aws.amazon.com/API_UpdateBrowserStream.html
|
|
2280
2350
|
# [3]: https://docs.aws.amazon.com/API_StopBrowserSession.html
|
|
2281
2351
|
#
|
|
2352
|
+
# @option params [String] :trace_id
|
|
2353
|
+
# The trace identifier for request tracking.
|
|
2354
|
+
#
|
|
2355
|
+
# @option params [String] :trace_parent
|
|
2356
|
+
# The parent trace information for distributed tracing.
|
|
2357
|
+
#
|
|
2282
2358
|
# @option params [required, String] :browser_identifier
|
|
2283
2359
|
# The unique identifier of the browser to use for this session. This
|
|
2284
2360
|
# identifier specifies which browser environment to initialize for the
|
|
@@ -2320,6 +2396,8 @@ module Aws::BedrockAgentCore
|
|
|
2320
2396
|
# @example Request syntax with placeholder values
|
|
2321
2397
|
#
|
|
2322
2398
|
# resp = client.start_browser_session({
|
|
2399
|
+
# trace_id: "StartBrowserSessionRequestTraceIdString",
|
|
2400
|
+
# trace_parent: "StartBrowserSessionRequestTraceParentString",
|
|
2323
2401
|
# browser_identifier: "String", # required
|
|
2324
2402
|
# name: "Name",
|
|
2325
2403
|
# session_timeout_seconds: 1,
|
|
@@ -2371,6 +2449,12 @@ module Aws::BedrockAgentCore
|
|
|
2371
2449
|
# [2]: https://docs.aws.amazon.com/API_GetCodeInterpreterSession.html
|
|
2372
2450
|
# [3]: https://docs.aws.amazon.com/API_StopCodeInterpreterSession.html
|
|
2373
2451
|
#
|
|
2452
|
+
# @option params [String] :trace_id
|
|
2453
|
+
# The trace identifier for request tracking.
|
|
2454
|
+
#
|
|
2455
|
+
# @option params [String] :trace_parent
|
|
2456
|
+
# The parent trace information for distributed tracing.
|
|
2457
|
+
#
|
|
2374
2458
|
# @option params [required, String] :code_interpreter_identifier
|
|
2375
2459
|
# The unique identifier of the code interpreter to use for this session.
|
|
2376
2460
|
# This identifier specifies which code interpreter environment to
|
|
@@ -2405,6 +2489,8 @@ module Aws::BedrockAgentCore
|
|
|
2405
2489
|
# @example Request syntax with placeholder values
|
|
2406
2490
|
#
|
|
2407
2491
|
# resp = client.start_code_interpreter_session({
|
|
2492
|
+
# trace_id: "StartCodeInterpreterSessionRequestTraceIdString",
|
|
2493
|
+
# trace_parent: "StartCodeInterpreterSessionRequestTraceParentString",
|
|
2408
2494
|
# code_interpreter_identifier: "String", # required
|
|
2409
2495
|
# name: "Name",
|
|
2410
2496
|
# session_timeout_seconds: 1,
|
|
@@ -2445,6 +2531,12 @@ module Aws::BedrockAgentCore
|
|
|
2445
2531
|
# [1]: https://docs.aws.amazon.com/API_StartBrowserSession.html
|
|
2446
2532
|
# [2]: https://docs.aws.amazon.com/API_GetBrowserSession.html
|
|
2447
2533
|
#
|
|
2534
|
+
# @option params [String] :trace_id
|
|
2535
|
+
# The trace identifier for request tracking.
|
|
2536
|
+
#
|
|
2537
|
+
# @option params [String] :trace_parent
|
|
2538
|
+
# The parent trace information for distributed tracing.
|
|
2539
|
+
#
|
|
2448
2540
|
# @option params [required, String] :browser_identifier
|
|
2449
2541
|
# The unique identifier of the browser associated with the session.
|
|
2450
2542
|
#
|
|
@@ -2469,6 +2561,8 @@ module Aws::BedrockAgentCore
|
|
|
2469
2561
|
# @example Request syntax with placeholder values
|
|
2470
2562
|
#
|
|
2471
2563
|
# resp = client.stop_browser_session({
|
|
2564
|
+
# trace_id: "StopBrowserSessionRequestTraceIdString",
|
|
2565
|
+
# trace_parent: "StopBrowserSessionRequestTraceParentString",
|
|
2472
2566
|
# browser_identifier: "String", # required
|
|
2473
2567
|
# session_id: "BrowserSessionId", # required
|
|
2474
2568
|
# client_token: "ClientToken",
|
|
@@ -2509,6 +2603,12 @@ module Aws::BedrockAgentCore
|
|
|
2509
2603
|
# [1]: https://docs.aws.amazon.com/API_StartCodeInterpreterSession.html
|
|
2510
2604
|
# [2]: https://docs.aws.amazon.com/API_GetCodeInterpreterSession.html
|
|
2511
2605
|
#
|
|
2606
|
+
# @option params [String] :trace_id
|
|
2607
|
+
# The trace identifier for request tracking.
|
|
2608
|
+
#
|
|
2609
|
+
# @option params [String] :trace_parent
|
|
2610
|
+
# The parent trace information for distributed tracing.
|
|
2611
|
+
#
|
|
2512
2612
|
# @option params [required, String] :code_interpreter_identifier
|
|
2513
2613
|
# The unique identifier of the code interpreter associated with the
|
|
2514
2614
|
# session.
|
|
@@ -2534,6 +2634,8 @@ module Aws::BedrockAgentCore
|
|
|
2534
2634
|
# @example Request syntax with placeholder values
|
|
2535
2635
|
#
|
|
2536
2636
|
# resp = client.stop_code_interpreter_session({
|
|
2637
|
+
# trace_id: "StopCodeInterpreterSessionRequestTraceIdString",
|
|
2638
|
+
# trace_parent: "StopCodeInterpreterSessionRequestTraceParentString",
|
|
2537
2639
|
# code_interpreter_identifier: "String", # required
|
|
2538
2640
|
# session_id: "CodeInterpreterSessionId", # required
|
|
2539
2641
|
# client_token: "ClientToken",
|
|
@@ -2680,7 +2782,7 @@ module Aws::BedrockAgentCore
|
|
|
2680
2782
|
tracer: tracer
|
|
2681
2783
|
)
|
|
2682
2784
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
2683
|
-
context[:gem_version] = '1.
|
|
2785
|
+
context[:gem_version] = '1.8.0'
|
|
2684
2786
|
Seahorse::Client::Request.new(handlers, context)
|
|
2685
2787
|
end
|
|
2686
2788
|
|
|
@@ -21,6 +21,7 @@ module Aws::BedrockAgentCore
|
|
|
21
21
|
ActorSummaryList = Shapes::ListShape.new(name: 'ActorSummaryList')
|
|
22
22
|
AgentCard = Shapes::DocumentShape.new(name: 'AgentCard', document: true)
|
|
23
23
|
ApiKeyType = Shapes::StringShape.new(name: 'ApiKeyType')
|
|
24
|
+
AuthorizationUrlType = Shapes::StringShape.new(name: 'AuthorizationUrlType')
|
|
24
25
|
AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
|
|
25
26
|
AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
|
|
26
27
|
AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
|
|
@@ -51,6 +52,8 @@ module Aws::BedrockAgentCore
|
|
|
51
52
|
CodeInterpreterSessionSummary = Shapes::StructureShape.new(name: 'CodeInterpreterSessionSummary')
|
|
52
53
|
CodeInterpreterSessionTimeout = Shapes::IntegerShape.new(name: 'CodeInterpreterSessionTimeout')
|
|
53
54
|
CodeInterpreterStreamOutput = Shapes::StructureShape.new(name: 'CodeInterpreterStreamOutput')
|
|
55
|
+
CompleteResourceTokenAuthRequest = Shapes::StructureShape.new(name: 'CompleteResourceTokenAuthRequest')
|
|
56
|
+
CompleteResourceTokenAuthResponse = Shapes::StructureShape.new(name: 'CompleteResourceTokenAuthResponse')
|
|
54
57
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
55
58
|
Content = Shapes::UnionShape.new(name: 'Content')
|
|
56
59
|
ContentBlock = Shapes::StructureShape.new(name: 'ContentBlock')
|
|
@@ -104,12 +107,15 @@ module Aws::BedrockAgentCore
|
|
|
104
107
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
105
108
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
|
106
109
|
InvokeAgentRuntimeRequest = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeRequest')
|
|
110
|
+
InvokeAgentRuntimeRequestAccountIdString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestAccountIdString')
|
|
107
111
|
InvokeAgentRuntimeRequestBaggageString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestBaggageString')
|
|
108
112
|
InvokeAgentRuntimeRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceIdString')
|
|
109
113
|
InvokeAgentRuntimeRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceParentString')
|
|
110
114
|
InvokeAgentRuntimeRequestTraceStateString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceStateString')
|
|
111
115
|
InvokeAgentRuntimeResponse = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeResponse')
|
|
112
116
|
InvokeCodeInterpreterRequest = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterRequest')
|
|
117
|
+
InvokeCodeInterpreterRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceIdString')
|
|
118
|
+
InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
|
|
113
119
|
InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
|
|
114
120
|
LeftExpression = Shapes::UnionShape.new(name: 'LeftExpression')
|
|
115
121
|
ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
|
|
@@ -162,6 +168,7 @@ module Aws::BedrockAgentCore
|
|
|
162
168
|
PayloadTypeList = Shapes::ListShape.new(name: 'PayloadTypeList')
|
|
163
169
|
ProgrammingLanguage = Shapes::StringShape.new(name: 'ProgrammingLanguage')
|
|
164
170
|
RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
|
|
171
|
+
RequestUri = Shapes::StringShape.new(name: 'RequestUri')
|
|
165
172
|
ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
|
|
166
173
|
ResourceContentType = Shapes::StringShape.new(name: 'ResourceContentType')
|
|
167
174
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -180,16 +187,26 @@ module Aws::BedrockAgentCore
|
|
|
180
187
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
|
181
188
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
182
189
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
|
190
|
+
SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
|
|
183
191
|
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
|
184
192
|
SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
|
|
185
193
|
SessionType = Shapes::StringShape.new(name: 'SessionType')
|
|
186
194
|
StartBrowserSessionRequest = Shapes::StructureShape.new(name: 'StartBrowserSessionRequest')
|
|
195
|
+
StartBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceIdString')
|
|
196
|
+
StartBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceParentString')
|
|
187
197
|
StartBrowserSessionResponse = Shapes::StructureShape.new(name: 'StartBrowserSessionResponse')
|
|
188
198
|
StartCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionRequest')
|
|
199
|
+
StartCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceIdString')
|
|
200
|
+
StartCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceParentString')
|
|
189
201
|
StartCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionResponse')
|
|
202
|
+
State = Shapes::StringShape.new(name: 'State')
|
|
190
203
|
StopBrowserSessionRequest = Shapes::StructureShape.new(name: 'StopBrowserSessionRequest')
|
|
204
|
+
StopBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceIdString')
|
|
205
|
+
StopBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceParentString')
|
|
191
206
|
StopBrowserSessionResponse = Shapes::StructureShape.new(name: 'StopBrowserSessionResponse')
|
|
192
207
|
StopCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionRequest')
|
|
208
|
+
StopCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceIdString')
|
|
209
|
+
StopCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceParentString')
|
|
193
210
|
StopCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionResponse')
|
|
194
211
|
StopRuntimeSessionRequest = Shapes::StructureShape.new(name: 'StopRuntimeSessionRequest')
|
|
195
212
|
StopRuntimeSessionResponse = Shapes::StructureShape.new(name: 'StopRuntimeSessionResponse')
|
|
@@ -208,6 +225,7 @@ module Aws::BedrockAgentCore
|
|
|
208
225
|
UpdateBrowserStreamRequest = Shapes::StructureShape.new(name: 'UpdateBrowserStreamRequest')
|
|
209
226
|
UpdateBrowserStreamResponse = Shapes::StructureShape.new(name: 'UpdateBrowserStreamResponse')
|
|
210
227
|
UserIdType = Shapes::StringShape.new(name: 'UserIdType')
|
|
228
|
+
UserIdentifier = Shapes::UnionShape.new(name: 'UserIdentifier')
|
|
211
229
|
UserTokenType = Shapes::StringShape.new(name: 'UserTokenType')
|
|
212
230
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
213
231
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
|
@@ -306,6 +324,12 @@ module Aws::BedrockAgentCore
|
|
|
306
324
|
CodeInterpreterStreamOutput.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
|
|
307
325
|
CodeInterpreterStreamOutput.struct_class = Types::CodeInterpreterStreamOutput
|
|
308
326
|
|
|
327
|
+
CompleteResourceTokenAuthRequest.add_member(:user_identifier, Shapes::ShapeRef.new(shape: UserIdentifier, required: true, location_name: "userIdentifier"))
|
|
328
|
+
CompleteResourceTokenAuthRequest.add_member(:session_uri, Shapes::ShapeRef.new(shape: RequestUri, required: true, location_name: "sessionUri"))
|
|
329
|
+
CompleteResourceTokenAuthRequest.struct_class = Types::CompleteResourceTokenAuthRequest
|
|
330
|
+
|
|
331
|
+
CompleteResourceTokenAuthResponse.struct_class = Types::CompleteResourceTokenAuthResponse
|
|
332
|
+
|
|
309
333
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
310
334
|
ConflictException.struct_class = Types::ConflictException
|
|
311
335
|
|
|
@@ -454,13 +478,17 @@ module Aws::BedrockAgentCore
|
|
|
454
478
|
GetResourceOauth2TokenRequest.add_member(:resource_credential_provider_name, Shapes::ShapeRef.new(shape: CredentialProviderName, required: true, location_name: "resourceCredentialProviderName"))
|
|
455
479
|
GetResourceOauth2TokenRequest.add_member(:scopes, Shapes::ShapeRef.new(shape: ScopesListType, required: true, location_name: "scopes"))
|
|
456
480
|
GetResourceOauth2TokenRequest.add_member(:oauth2_flow, Shapes::ShapeRef.new(shape: Oauth2FlowType, required: true, location_name: "oauth2Flow"))
|
|
481
|
+
GetResourceOauth2TokenRequest.add_member(:session_uri, Shapes::ShapeRef.new(shape: RequestUri, location_name: "sessionUri"))
|
|
457
482
|
GetResourceOauth2TokenRequest.add_member(:resource_oauth_2_return_url, Shapes::ShapeRef.new(shape: ResourceOauth2ReturnUrlType, location_name: "resourceOauth2ReturnUrl"))
|
|
458
483
|
GetResourceOauth2TokenRequest.add_member(:force_authentication, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceAuthentication"))
|
|
459
484
|
GetResourceOauth2TokenRequest.add_member(:custom_parameters, Shapes::ShapeRef.new(shape: CustomRequestParametersType, location_name: "customParameters"))
|
|
485
|
+
GetResourceOauth2TokenRequest.add_member(:custom_state, Shapes::ShapeRef.new(shape: State, location_name: "customState"))
|
|
460
486
|
GetResourceOauth2TokenRequest.struct_class = Types::GetResourceOauth2TokenRequest
|
|
461
487
|
|
|
462
|
-
GetResourceOauth2TokenResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape:
|
|
488
|
+
GetResourceOauth2TokenResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape: AuthorizationUrlType, location_name: "authorizationUrl"))
|
|
463
489
|
GetResourceOauth2TokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessTokenType, location_name: "accessToken"))
|
|
490
|
+
GetResourceOauth2TokenResponse.add_member(:session_uri, Shapes::ShapeRef.new(shape: RequestUri, location_name: "sessionUri"))
|
|
491
|
+
GetResourceOauth2TokenResponse.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "sessionStatus"))
|
|
464
492
|
GetResourceOauth2TokenResponse.struct_class = Types::GetResourceOauth2TokenResponse
|
|
465
493
|
|
|
466
494
|
GetWorkloadAccessTokenForJWTRequest.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadIdentityNameType, required: true, location_name: "workloadName"))
|
|
@@ -508,6 +536,7 @@ module Aws::BedrockAgentCore
|
|
|
508
536
|
InvokeAgentRuntimeRequest.add_member(:baggage, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestBaggageString, location: "header", location_name: "baggage"))
|
|
509
537
|
InvokeAgentRuntimeRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
|
|
510
538
|
InvokeAgentRuntimeRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
|
|
539
|
+
InvokeAgentRuntimeRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestAccountIdString, location: "querystring", location_name: "accountId"))
|
|
511
540
|
InvokeAgentRuntimeRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "payload"))
|
|
512
541
|
InvokeAgentRuntimeRequest.struct_class = Types::InvokeAgentRuntimeRequest
|
|
513
542
|
InvokeAgentRuntimeRequest[:payload] = :payload
|
|
@@ -529,6 +558,8 @@ module Aws::BedrockAgentCore
|
|
|
529
558
|
|
|
530
559
|
InvokeCodeInterpreterRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
|
531
560
|
InvokeCodeInterpreterRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, location: "header", location_name: "x-amzn-code-interpreter-session-id"))
|
|
561
|
+
InvokeCodeInterpreterRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
562
|
+
InvokeCodeInterpreterRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
532
563
|
InvokeCodeInterpreterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
|
|
533
564
|
InvokeCodeInterpreterRequest.add_member(:arguments, Shapes::ShapeRef.new(shape: ToolArguments, location_name: "arguments"))
|
|
534
565
|
InvokeCodeInterpreterRequest.struct_class = Types::InvokeCodeInterpreterRequest
|
|
@@ -737,6 +768,8 @@ module Aws::BedrockAgentCore
|
|
|
737
768
|
|
|
738
769
|
SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
|
739
770
|
|
|
771
|
+
StartBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
772
|
+
StartBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
740
773
|
StartBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
|
|
741
774
|
StartBrowserSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
742
775
|
StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
@@ -750,6 +783,8 @@ module Aws::BedrockAgentCore
|
|
|
750
783
|
StartBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
|
|
751
784
|
StartBrowserSessionResponse.struct_class = Types::StartBrowserSessionResponse
|
|
752
785
|
|
|
786
|
+
StartCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
787
|
+
StartCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
753
788
|
StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
|
754
789
|
StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
755
790
|
StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
@@ -761,6 +796,8 @@ module Aws::BedrockAgentCore
|
|
|
761
796
|
StartCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
762
797
|
StartCodeInterpreterSessionResponse.struct_class = Types::StartCodeInterpreterSessionResponse
|
|
763
798
|
|
|
799
|
+
StopBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
800
|
+
StopBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
764
801
|
StopBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
|
|
765
802
|
StopBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
|
|
766
803
|
StopBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -771,6 +808,8 @@ module Aws::BedrockAgentCore
|
|
|
771
808
|
StopBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
|
772
809
|
StopBrowserSessionResponse.struct_class = Types::StopBrowserSessionResponse
|
|
773
810
|
|
|
811
|
+
StopCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
812
|
+
StopCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
774
813
|
StopCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
|
|
775
814
|
StopCodeInterpreterSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location: "querystring", location_name: "sessionId"))
|
|
776
815
|
StopCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -839,6 +878,14 @@ module Aws::BedrockAgentCore
|
|
|
839
878
|
UpdateBrowserStreamResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
840
879
|
UpdateBrowserStreamResponse.struct_class = Types::UpdateBrowserStreamResponse
|
|
841
880
|
|
|
881
|
+
UserIdentifier.add_member(:user_token, Shapes::ShapeRef.new(shape: UserTokenType, location_name: "userToken"))
|
|
882
|
+
UserIdentifier.add_member(:user_id, Shapes::ShapeRef.new(shape: UserIdType, location_name: "userId"))
|
|
883
|
+
UserIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
884
|
+
UserIdentifier.add_member_subclass(:user_token, Types::UserIdentifier::UserToken)
|
|
885
|
+
UserIdentifier.add_member_subclass(:user_id, Types::UserIdentifier::UserId)
|
|
886
|
+
UserIdentifier.add_member_subclass(:unknown, Types::UserIdentifier::Unknown)
|
|
887
|
+
UserIdentifier.struct_class = Types::UserIdentifier
|
|
888
|
+
|
|
842
889
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
843
890
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
|
844
891
|
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
|
@@ -915,6 +962,20 @@ module Aws::BedrockAgentCore
|
|
|
915
962
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
916
963
|
end)
|
|
917
964
|
|
|
965
|
+
api.add_operation(:complete_resource_token_auth, Seahorse::Model::Operation.new.tap do |o|
|
|
966
|
+
o.name = "CompleteResourceTokenAuth"
|
|
967
|
+
o.http_method = "POST"
|
|
968
|
+
o.http_request_uri = "/identities/CompleteResourceTokenAuth"
|
|
969
|
+
o.input = Shapes::ShapeRef.new(shape: CompleteResourceTokenAuthRequest)
|
|
970
|
+
o.output = Shapes::ShapeRef.new(shape: CompleteResourceTokenAuthResponse)
|
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
977
|
+
end)
|
|
978
|
+
|
|
918
979
|
api.add_operation(:create_event, Seahorse::Model::Operation.new.tap do |o|
|
|
919
980
|
o.name = "CreateEvent"
|
|
920
981
|
o.http_method = "POST"
|
|
@@ -404,6 +404,32 @@ module Aws::BedrockAgentCore
|
|
|
404
404
|
include Aws::Structure
|
|
405
405
|
end
|
|
406
406
|
|
|
407
|
+
# @!attribute [rw] user_identifier
|
|
408
|
+
# The OAuth2.0 token or user ID that was used to generate the workload
|
|
409
|
+
# access token used for initiating the user authorization flow to
|
|
410
|
+
# retrieve OAuth2.0 tokens.
|
|
411
|
+
# @return [Types::UserIdentifier]
|
|
412
|
+
#
|
|
413
|
+
# @!attribute [rw] session_uri
|
|
414
|
+
# Unique identifier for the user's authentication session for
|
|
415
|
+
# retrieving OAuth2 tokens. This ID tracks the authorization flow
|
|
416
|
+
# state across multiple requests and responses during the OAuth2
|
|
417
|
+
# authentication process.
|
|
418
|
+
# @return [String]
|
|
419
|
+
#
|
|
420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CompleteResourceTokenAuthRequest AWS API Documentation
|
|
421
|
+
#
|
|
422
|
+
class CompleteResourceTokenAuthRequest < Struct.new(
|
|
423
|
+
:user_identifier,
|
|
424
|
+
:session_uri)
|
|
425
|
+
SENSITIVE = []
|
|
426
|
+
include Aws::Structure
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CompleteResourceTokenAuthResponse AWS API Documentation
|
|
430
|
+
#
|
|
431
|
+
class CompleteResourceTokenAuthResponse < Aws::EmptyStructure; end
|
|
432
|
+
|
|
407
433
|
# The exception that occurs when the request conflicts with the current
|
|
408
434
|
# state of the resource. This can happen when trying to modify a
|
|
409
435
|
# resource that is currently being modified by another request, or when
|
|
@@ -1058,6 +1084,13 @@ module Aws::BedrockAgentCore
|
|
|
1058
1084
|
# The type of flow to be performed.
|
|
1059
1085
|
# @return [String]
|
|
1060
1086
|
#
|
|
1087
|
+
# @!attribute [rw] session_uri
|
|
1088
|
+
# Unique identifier for the user's authentication session for
|
|
1089
|
+
# retrieving OAuth2 tokens. This ID tracks the authorization flow
|
|
1090
|
+
# state across multiple requests and responses during the OAuth2
|
|
1091
|
+
# authentication process.
|
|
1092
|
+
# @return [String]
|
|
1093
|
+
#
|
|
1061
1094
|
# @!attribute [rw] resource_oauth_2_return_url
|
|
1062
1095
|
# The callback URL to redirect to after the OAuth 2.0 token retrieval
|
|
1063
1096
|
# is complete. This URL must be one of the provided URLs configured
|
|
@@ -1076,6 +1109,13 @@ module Aws::BedrockAgentCore
|
|
|
1076
1109
|
# override them.
|
|
1077
1110
|
# @return [Hash<String,String>]
|
|
1078
1111
|
#
|
|
1112
|
+
# @!attribute [rw] custom_state
|
|
1113
|
+
# An opaque string that will be sent back to the callback URL provided
|
|
1114
|
+
# in resourceOauth2ReturnUrl. This state should be used to protect the
|
|
1115
|
+
# callback URL of your application against CSRF attacks by ensuring
|
|
1116
|
+
# the response corresponds to the original request.
|
|
1117
|
+
# @return [String]
|
|
1118
|
+
#
|
|
1079
1119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2TokenRequest AWS API Documentation
|
|
1080
1120
|
#
|
|
1081
1121
|
class GetResourceOauth2TokenRequest < Struct.new(
|
|
@@ -1083,10 +1123,12 @@ module Aws::BedrockAgentCore
|
|
|
1083
1123
|
:resource_credential_provider_name,
|
|
1084
1124
|
:scopes,
|
|
1085
1125
|
:oauth2_flow,
|
|
1126
|
+
:session_uri,
|
|
1086
1127
|
:resource_oauth_2_return_url,
|
|
1087
1128
|
:force_authentication,
|
|
1088
|
-
:custom_parameters
|
|
1089
|
-
|
|
1129
|
+
:custom_parameters,
|
|
1130
|
+
:custom_state)
|
|
1131
|
+
SENSITIVE = [:workload_identity_token, :custom_parameters, :custom_state]
|
|
1090
1132
|
include Aws::Structure
|
|
1091
1133
|
end
|
|
1092
1134
|
|
|
@@ -1099,12 +1141,26 @@ module Aws::BedrockAgentCore
|
|
|
1099
1141
|
# The OAuth 2.0 access token to use.
|
|
1100
1142
|
# @return [String]
|
|
1101
1143
|
#
|
|
1144
|
+
# @!attribute [rw] session_uri
|
|
1145
|
+
# Unique identifier for the user's authorization session for
|
|
1146
|
+
# retrieving OAuth2 tokens. This matches the sessionId from the
|
|
1147
|
+
# request and can be used to track the session state.
|
|
1148
|
+
# @return [String]
|
|
1149
|
+
#
|
|
1150
|
+
# @!attribute [rw] session_status
|
|
1151
|
+
# Status indicating whether the user's authorization session is in
|
|
1152
|
+
# progress or has failed. This helps determine the next steps in the
|
|
1153
|
+
# OAuth2 authentication flow.
|
|
1154
|
+
# @return [String]
|
|
1155
|
+
#
|
|
1102
1156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2TokenResponse AWS API Documentation
|
|
1103
1157
|
#
|
|
1104
1158
|
class GetResourceOauth2TokenResponse < Struct.new(
|
|
1105
1159
|
:authorization_url,
|
|
1106
|
-
:access_token
|
|
1107
|
-
|
|
1160
|
+
:access_token,
|
|
1161
|
+
:session_uri,
|
|
1162
|
+
:session_status)
|
|
1163
|
+
SENSITIVE = [:authorization_url, :access_token]
|
|
1108
1164
|
include Aws::Structure
|
|
1109
1165
|
end
|
|
1110
1166
|
|
|
@@ -1308,6 +1364,11 @@ module Aws::BedrockAgentCore
|
|
|
1308
1364
|
# runtime.
|
|
1309
1365
|
# @return [String]
|
|
1310
1366
|
#
|
|
1367
|
+
# @!attribute [rw] account_id
|
|
1368
|
+
# The identifier of the Amazon Web Services account for the agent
|
|
1369
|
+
# runtime resource.
|
|
1370
|
+
# @return [String]
|
|
1371
|
+
#
|
|
1311
1372
|
# @!attribute [rw] payload
|
|
1312
1373
|
# The input data to send to the agent runtime. The format of this data
|
|
1313
1374
|
# depends on the specific agent configuration and must match the
|
|
@@ -1330,6 +1391,7 @@ module Aws::BedrockAgentCore
|
|
|
1330
1391
|
:baggage,
|
|
1331
1392
|
:agent_runtime_arn,
|
|
1332
1393
|
:qualifier,
|
|
1394
|
+
:account_id,
|
|
1333
1395
|
:payload)
|
|
1334
1396
|
SENSITIVE = [:payload]
|
|
1335
1397
|
include Aws::Structure
|
|
@@ -1412,6 +1474,14 @@ module Aws::BedrockAgentCore
|
|
|
1412
1474
|
# stopped, the request will fail.
|
|
1413
1475
|
# @return [String]
|
|
1414
1476
|
#
|
|
1477
|
+
# @!attribute [rw] trace_id
|
|
1478
|
+
# The trace identifier for request tracking.
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
#
|
|
1481
|
+
# @!attribute [rw] trace_parent
|
|
1482
|
+
# The parent trace information for distributed tracing.
|
|
1483
|
+
# @return [String]
|
|
1484
|
+
#
|
|
1415
1485
|
# @!attribute [rw] name
|
|
1416
1486
|
# The name of the code interpreter to invoke.
|
|
1417
1487
|
# @return [String]
|
|
@@ -1429,6 +1499,8 @@ module Aws::BedrockAgentCore
|
|
|
1429
1499
|
class InvokeCodeInterpreterRequest < Struct.new(
|
|
1430
1500
|
:code_interpreter_identifier,
|
|
1431
1501
|
:session_id,
|
|
1502
|
+
:trace_id,
|
|
1503
|
+
:trace_parent,
|
|
1432
1504
|
:name,
|
|
1433
1505
|
:arguments)
|
|
1434
1506
|
SENSITIVE = []
|
|
@@ -2328,6 +2400,14 @@ module Aws::BedrockAgentCore
|
|
|
2328
2400
|
include Aws::Structure
|
|
2329
2401
|
end
|
|
2330
2402
|
|
|
2403
|
+
# @!attribute [rw] trace_id
|
|
2404
|
+
# The trace identifier for request tracking.
|
|
2405
|
+
# @return [String]
|
|
2406
|
+
#
|
|
2407
|
+
# @!attribute [rw] trace_parent
|
|
2408
|
+
# The parent trace information for distributed tracing.
|
|
2409
|
+
# @return [String]
|
|
2410
|
+
#
|
|
2331
2411
|
# @!attribute [rw] browser_identifier
|
|
2332
2412
|
# The unique identifier of the browser to use for this session. This
|
|
2333
2413
|
# identifier specifies which browser environment to initialize for the
|
|
@@ -2367,6 +2447,8 @@ module Aws::BedrockAgentCore
|
|
|
2367
2447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBrowserSessionRequest AWS API Documentation
|
|
2368
2448
|
#
|
|
2369
2449
|
class StartBrowserSessionRequest < Struct.new(
|
|
2450
|
+
:trace_id,
|
|
2451
|
+
:trace_parent,
|
|
2370
2452
|
:browser_identifier,
|
|
2371
2453
|
:name,
|
|
2372
2454
|
:session_timeout_seconds,
|
|
@@ -2404,6 +2486,14 @@ module Aws::BedrockAgentCore
|
|
|
2404
2486
|
include Aws::Structure
|
|
2405
2487
|
end
|
|
2406
2488
|
|
|
2489
|
+
# @!attribute [rw] trace_id
|
|
2490
|
+
# The trace identifier for request tracking.
|
|
2491
|
+
# @return [String]
|
|
2492
|
+
#
|
|
2493
|
+
# @!attribute [rw] trace_parent
|
|
2494
|
+
# The parent trace information for distributed tracing.
|
|
2495
|
+
# @return [String]
|
|
2496
|
+
#
|
|
2407
2497
|
# @!attribute [rw] code_interpreter_identifier
|
|
2408
2498
|
# The unique identifier of the code interpreter to use for this
|
|
2409
2499
|
# session. This identifier specifies which code interpreter
|
|
@@ -2437,6 +2527,8 @@ module Aws::BedrockAgentCore
|
|
|
2437
2527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartCodeInterpreterSessionRequest AWS API Documentation
|
|
2438
2528
|
#
|
|
2439
2529
|
class StartCodeInterpreterSessionRequest < Struct.new(
|
|
2530
|
+
:trace_id,
|
|
2531
|
+
:trace_parent,
|
|
2440
2532
|
:code_interpreter_identifier,
|
|
2441
2533
|
:name,
|
|
2442
2534
|
:session_timeout_seconds,
|
|
@@ -2467,6 +2559,14 @@ module Aws::BedrockAgentCore
|
|
|
2467
2559
|
include Aws::Structure
|
|
2468
2560
|
end
|
|
2469
2561
|
|
|
2562
|
+
# @!attribute [rw] trace_id
|
|
2563
|
+
# The trace identifier for request tracking.
|
|
2564
|
+
# @return [String]
|
|
2565
|
+
#
|
|
2566
|
+
# @!attribute [rw] trace_parent
|
|
2567
|
+
# The parent trace information for distributed tracing.
|
|
2568
|
+
# @return [String]
|
|
2569
|
+
#
|
|
2470
2570
|
# @!attribute [rw] browser_identifier
|
|
2471
2571
|
# The unique identifier of the browser associated with the session.
|
|
2472
2572
|
# @return [String]
|
|
@@ -2488,6 +2588,8 @@ module Aws::BedrockAgentCore
|
|
|
2488
2588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopBrowserSessionRequest AWS API Documentation
|
|
2489
2589
|
#
|
|
2490
2590
|
class StopBrowserSessionRequest < Struct.new(
|
|
2591
|
+
:trace_id,
|
|
2592
|
+
:trace_parent,
|
|
2491
2593
|
:browser_identifier,
|
|
2492
2594
|
:session_id,
|
|
2493
2595
|
:client_token)
|
|
@@ -2517,6 +2619,14 @@ module Aws::BedrockAgentCore
|
|
|
2517
2619
|
include Aws::Structure
|
|
2518
2620
|
end
|
|
2519
2621
|
|
|
2622
|
+
# @!attribute [rw] trace_id
|
|
2623
|
+
# The trace identifier for request tracking.
|
|
2624
|
+
# @return [String]
|
|
2625
|
+
#
|
|
2626
|
+
# @!attribute [rw] trace_parent
|
|
2627
|
+
# The parent trace information for distributed tracing.
|
|
2628
|
+
# @return [String]
|
|
2629
|
+
#
|
|
2520
2630
|
# @!attribute [rw] code_interpreter_identifier
|
|
2521
2631
|
# The unique identifier of the code interpreter associated with the
|
|
2522
2632
|
# session.
|
|
@@ -2539,6 +2649,8 @@ module Aws::BedrockAgentCore
|
|
|
2539
2649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopCodeInterpreterSessionRequest AWS API Documentation
|
|
2540
2650
|
#
|
|
2541
2651
|
class StopCodeInterpreterSessionRequest < Struct.new(
|
|
2652
|
+
:trace_id,
|
|
2653
|
+
:trace_parent,
|
|
2542
2654
|
:code_interpreter_identifier,
|
|
2543
2655
|
:session_id,
|
|
2544
2656
|
:client_token)
|
|
@@ -2849,6 +2961,36 @@ module Aws::BedrockAgentCore
|
|
|
2849
2961
|
include Aws::Structure
|
|
2850
2962
|
end
|
|
2851
2963
|
|
|
2964
|
+
# The OAuth2.0 token or user ID that was used to generate the workload
|
|
2965
|
+
# access token used for initiating the user authorization flow to
|
|
2966
|
+
# retrieve OAuth2.0 tokens.
|
|
2967
|
+
#
|
|
2968
|
+
# @note UserIdentifier is a union - when making an API calls you must set exactly one of the members.
|
|
2969
|
+
#
|
|
2970
|
+
# @!attribute [rw] user_token
|
|
2971
|
+
# The OAuth2.0 token issued by the user’s identity provider
|
|
2972
|
+
# @return [String]
|
|
2973
|
+
#
|
|
2974
|
+
# @!attribute [rw] user_id
|
|
2975
|
+
# The ID of the user for whom you have retrieved a workload access
|
|
2976
|
+
# token for
|
|
2977
|
+
# @return [String]
|
|
2978
|
+
#
|
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/UserIdentifier AWS API Documentation
|
|
2980
|
+
#
|
|
2981
|
+
class UserIdentifier < Struct.new(
|
|
2982
|
+
:user_token,
|
|
2983
|
+
:user_id,
|
|
2984
|
+
:unknown)
|
|
2985
|
+
SENSITIVE = [:user_token]
|
|
2986
|
+
include Aws::Structure
|
|
2987
|
+
include Aws::Structure::Union
|
|
2988
|
+
|
|
2989
|
+
class UserToken < UserIdentifier; end
|
|
2990
|
+
class UserId < UserIdentifier; end
|
|
2991
|
+
class Unknown < UserIdentifier; end
|
|
2992
|
+
end
|
|
2993
|
+
|
|
2852
2994
|
# The exception that occurs when the input fails to satisfy the
|
|
2853
2995
|
# constraints specified by the service. Check the error message for
|
|
2854
2996
|
# details about which input parameter is invalid and correct your
|
data/sig/client.rbs
CHANGED
|
@@ -142,6 +142,19 @@ module Aws
|
|
|
142
142
|
) -> _BatchUpdateMemoryRecordsResponseSuccess
|
|
143
143
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateMemoryRecordsResponseSuccess
|
|
144
144
|
|
|
145
|
+
interface _CompleteResourceTokenAuthResponseSuccess
|
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CompleteResourceTokenAuthResponse]
|
|
147
|
+
end
|
|
148
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#complete_resource_token_auth-instance_method
|
|
149
|
+
def complete_resource_token_auth: (
|
|
150
|
+
user_identifier: {
|
|
151
|
+
user_token: ::String?,
|
|
152
|
+
user_id: ::String?
|
|
153
|
+
},
|
|
154
|
+
session_uri: ::String
|
|
155
|
+
) -> _CompleteResourceTokenAuthResponseSuccess
|
|
156
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteResourceTokenAuthResponseSuccess
|
|
157
|
+
|
|
145
158
|
interface _CreateEventResponseSuccess
|
|
146
159
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventOutput]
|
|
147
160
|
def event: () -> Types::Event
|
|
@@ -288,6 +301,8 @@ module Aws
|
|
|
288
301
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceOauth2TokenResponse]
|
|
289
302
|
def authorization_url: () -> ::String
|
|
290
303
|
def access_token: () -> ::String
|
|
304
|
+
def session_uri: () -> ::String
|
|
305
|
+
def session_status: () -> ("IN_PROGRESS" | "FAILED")
|
|
291
306
|
end
|
|
292
307
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_resource_oauth_2_token-instance_method
|
|
293
308
|
def get_resource_oauth_2_token: (
|
|
@@ -295,9 +310,11 @@ module Aws
|
|
|
295
310
|
resource_credential_provider_name: ::String,
|
|
296
311
|
scopes: Array[::String],
|
|
297
312
|
oauth2_flow: ("USER_FEDERATION" | "M2M"),
|
|
313
|
+
?session_uri: ::String,
|
|
298
314
|
?resource_oauth_2_return_url: ::String,
|
|
299
315
|
?force_authentication: bool,
|
|
300
|
-
?custom_parameters: Hash[::String, ::String]
|
|
316
|
+
?custom_parameters: Hash[::String, ::String],
|
|
317
|
+
?custom_state: ::String
|
|
301
318
|
) -> _GetResourceOauth2TokenResponseSuccess
|
|
302
319
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceOauth2TokenResponseSuccess
|
|
303
320
|
|
|
@@ -360,6 +377,7 @@ module Aws
|
|
|
360
377
|
?baggage: ::String,
|
|
361
378
|
agent_runtime_arn: ::String,
|
|
362
379
|
?qualifier: ::String,
|
|
380
|
+
?account_id: ::String,
|
|
363
381
|
payload: ::String
|
|
364
382
|
) ?{ (*untyped) -> void } -> _InvokeAgentRuntimeResponseSuccess
|
|
365
383
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeAgentRuntimeResponseSuccess
|
|
@@ -373,6 +391,8 @@ module Aws
|
|
|
373
391
|
def invoke_code_interpreter: (
|
|
374
392
|
code_interpreter_identifier: ::String,
|
|
375
393
|
?session_id: ::String,
|
|
394
|
+
?trace_id: ::String,
|
|
395
|
+
?trace_parent: ::String,
|
|
376
396
|
name: ("executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask"),
|
|
377
397
|
?arguments: {
|
|
378
398
|
code: ::String?,
|
|
@@ -527,6 +547,8 @@ module Aws
|
|
|
527
547
|
end
|
|
528
548
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_browser_session-instance_method
|
|
529
549
|
def start_browser_session: (
|
|
550
|
+
?trace_id: ::String,
|
|
551
|
+
?trace_parent: ::String,
|
|
530
552
|
browser_identifier: ::String,
|
|
531
553
|
?name: ::String,
|
|
532
554
|
?session_timeout_seconds: ::Integer,
|
|
@@ -546,6 +568,8 @@ module Aws
|
|
|
546
568
|
end
|
|
547
569
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_code_interpreter_session-instance_method
|
|
548
570
|
def start_code_interpreter_session: (
|
|
571
|
+
?trace_id: ::String,
|
|
572
|
+
?trace_parent: ::String,
|
|
549
573
|
code_interpreter_identifier: ::String,
|
|
550
574
|
?name: ::String,
|
|
551
575
|
?session_timeout_seconds: ::Integer,
|
|
@@ -561,6 +585,8 @@ module Aws
|
|
|
561
585
|
end
|
|
562
586
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#stop_browser_session-instance_method
|
|
563
587
|
def stop_browser_session: (
|
|
588
|
+
?trace_id: ::String,
|
|
589
|
+
?trace_parent: ::String,
|
|
564
590
|
browser_identifier: ::String,
|
|
565
591
|
session_id: ::String,
|
|
566
592
|
?client_token: ::String
|
|
@@ -575,6 +601,8 @@ module Aws
|
|
|
575
601
|
end
|
|
576
602
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#stop_code_interpreter_session-instance_method
|
|
577
603
|
def stop_code_interpreter_session: (
|
|
604
|
+
?trace_id: ::String,
|
|
605
|
+
?trace_parent: ::String,
|
|
578
606
|
code_interpreter_identifier: ::String,
|
|
579
607
|
session_id: ::String,
|
|
580
608
|
?client_token: ::String
|
data/sig/types.rbs
CHANGED
|
@@ -113,6 +113,15 @@ module Aws::BedrockAgentCore
|
|
|
113
113
|
SENSITIVE: []
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
class CompleteResourceTokenAuthRequest
|
|
117
|
+
attr_accessor user_identifier: Types::UserIdentifier
|
|
118
|
+
attr_accessor session_uri: ::String
|
|
119
|
+
SENSITIVE: []
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
class CompleteResourceTokenAuthResponse < Aws::EmptyStructure
|
|
123
|
+
end
|
|
124
|
+
|
|
116
125
|
class ConflictException
|
|
117
126
|
attr_accessor message: ::String
|
|
118
127
|
attr_accessor event_type: untyped
|
|
@@ -305,16 +314,20 @@ module Aws::BedrockAgentCore
|
|
|
305
314
|
attr_accessor resource_credential_provider_name: ::String
|
|
306
315
|
attr_accessor scopes: ::Array[::String]
|
|
307
316
|
attr_accessor oauth2_flow: ("USER_FEDERATION" | "M2M")
|
|
317
|
+
attr_accessor session_uri: ::String
|
|
308
318
|
attr_accessor resource_oauth_2_return_url: ::String
|
|
309
319
|
attr_accessor force_authentication: bool
|
|
310
320
|
attr_accessor custom_parameters: ::Hash[::String, ::String]
|
|
311
|
-
|
|
321
|
+
attr_accessor custom_state: ::String
|
|
322
|
+
SENSITIVE: [:workload_identity_token, :custom_state]
|
|
312
323
|
end
|
|
313
324
|
|
|
314
325
|
class GetResourceOauth2TokenResponse
|
|
315
326
|
attr_accessor authorization_url: ::String
|
|
316
327
|
attr_accessor access_token: ::String
|
|
317
|
-
|
|
328
|
+
attr_accessor session_uri: ::String
|
|
329
|
+
attr_accessor session_status: ("IN_PROGRESS" | "FAILED")
|
|
330
|
+
SENSITIVE: [:authorization_url, :access_token]
|
|
318
331
|
end
|
|
319
332
|
|
|
320
333
|
class GetWorkloadAccessTokenForJWTRequest
|
|
@@ -380,6 +393,7 @@ module Aws::BedrockAgentCore
|
|
|
380
393
|
attr_accessor baggage: ::String
|
|
381
394
|
attr_accessor agent_runtime_arn: ::String
|
|
382
395
|
attr_accessor qualifier: ::String
|
|
396
|
+
attr_accessor account_id: ::String
|
|
383
397
|
attr_accessor payload: ::String
|
|
384
398
|
SENSITIVE: [:payload]
|
|
385
399
|
end
|
|
@@ -401,6 +415,8 @@ module Aws::BedrockAgentCore
|
|
|
401
415
|
class InvokeCodeInterpreterRequest
|
|
402
416
|
attr_accessor code_interpreter_identifier: ::String
|
|
403
417
|
attr_accessor session_id: ::String
|
|
418
|
+
attr_accessor trace_id: ::String
|
|
419
|
+
attr_accessor trace_parent: ::String
|
|
404
420
|
attr_accessor name: ("executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask")
|
|
405
421
|
attr_accessor arguments: Types::ToolArguments
|
|
406
422
|
SENSITIVE: []
|
|
@@ -674,6 +690,8 @@ module Aws::BedrockAgentCore
|
|
|
674
690
|
end
|
|
675
691
|
|
|
676
692
|
class StartBrowserSessionRequest
|
|
693
|
+
attr_accessor trace_id: ::String
|
|
694
|
+
attr_accessor trace_parent: ::String
|
|
677
695
|
attr_accessor browser_identifier: ::String
|
|
678
696
|
attr_accessor name: ::String
|
|
679
697
|
attr_accessor session_timeout_seconds: ::Integer
|
|
@@ -691,6 +709,8 @@ module Aws::BedrockAgentCore
|
|
|
691
709
|
end
|
|
692
710
|
|
|
693
711
|
class StartCodeInterpreterSessionRequest
|
|
712
|
+
attr_accessor trace_id: ::String
|
|
713
|
+
attr_accessor trace_parent: ::String
|
|
694
714
|
attr_accessor code_interpreter_identifier: ::String
|
|
695
715
|
attr_accessor name: ::String
|
|
696
716
|
attr_accessor session_timeout_seconds: ::Integer
|
|
@@ -706,6 +726,8 @@ module Aws::BedrockAgentCore
|
|
|
706
726
|
end
|
|
707
727
|
|
|
708
728
|
class StopBrowserSessionRequest
|
|
729
|
+
attr_accessor trace_id: ::String
|
|
730
|
+
attr_accessor trace_parent: ::String
|
|
709
731
|
attr_accessor browser_identifier: ::String
|
|
710
732
|
attr_accessor session_id: ::String
|
|
711
733
|
attr_accessor client_token: ::String
|
|
@@ -720,6 +742,8 @@ module Aws::BedrockAgentCore
|
|
|
720
742
|
end
|
|
721
743
|
|
|
722
744
|
class StopCodeInterpreterSessionRequest
|
|
745
|
+
attr_accessor trace_id: ::String
|
|
746
|
+
attr_accessor trace_parent: ::String
|
|
723
747
|
attr_accessor code_interpreter_identifier: ::String
|
|
724
748
|
attr_accessor session_id: ::String
|
|
725
749
|
attr_accessor client_token: ::String
|
|
@@ -813,6 +837,20 @@ module Aws::BedrockAgentCore
|
|
|
813
837
|
SENSITIVE: []
|
|
814
838
|
end
|
|
815
839
|
|
|
840
|
+
class UserIdentifier
|
|
841
|
+
attr_accessor user_token: ::String
|
|
842
|
+
attr_accessor user_id: ::String
|
|
843
|
+
attr_accessor unknown: untyped
|
|
844
|
+
SENSITIVE: [:user_token]
|
|
845
|
+
|
|
846
|
+
class UserToken < UserIdentifier
|
|
847
|
+
end
|
|
848
|
+
class UserId < UserIdentifier
|
|
849
|
+
end
|
|
850
|
+
class Unknown < UserIdentifier
|
|
851
|
+
end
|
|
852
|
+
end
|
|
853
|
+
|
|
816
854
|
class ValidationException
|
|
817
855
|
attr_accessor message: ::String
|
|
818
856
|
attr_accessor reason: ("CannotParse" | "FieldValidationFailed" | "IdempotentParameterMismatchException" | "EventInOtherSession" | "ResourceConflict")
|