aws-sdk-bedrockagentcore 1.31.0 → 1.32.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 +779 -2
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +545 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +1430 -39
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +246 -1
- data/sig/types.rbs +421 -1
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -247,6 +247,94 @@ module Aws
|
|
|
247
247
|
) -> _CreateEventResponseSuccess
|
|
248
248
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventResponseSuccess
|
|
249
249
|
|
|
250
|
+
interface _CreatePaymentInstrumentResponseSuccess
|
|
251
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePaymentInstrumentResponse]
|
|
252
|
+
def payment_instrument: () -> Types::PaymentInstrument
|
|
253
|
+
end
|
|
254
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#create_payment_instrument-instance_method
|
|
255
|
+
def create_payment_instrument: (
|
|
256
|
+
?user_id: ::String,
|
|
257
|
+
?agent_name: ::String,
|
|
258
|
+
payment_manager_arn: ::String,
|
|
259
|
+
payment_connector_id: ::String,
|
|
260
|
+
payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET"),
|
|
261
|
+
payment_instrument_details: {
|
|
262
|
+
embedded_crypto_wallet: {
|
|
263
|
+
network: ("ETHEREUM" | "SOLANA"),
|
|
264
|
+
linked_accounts: Array[
|
|
265
|
+
{
|
|
266
|
+
email: {
|
|
267
|
+
email_address: ::String
|
|
268
|
+
}?,
|
|
269
|
+
sms: {
|
|
270
|
+
phone_number: ::String
|
|
271
|
+
}?,
|
|
272
|
+
developer_jwt: {
|
|
273
|
+
kid: ::String,
|
|
274
|
+
sub: ::String
|
|
275
|
+
}?,
|
|
276
|
+
o_auth_2: {
|
|
277
|
+
google: {
|
|
278
|
+
sub: ::String,
|
|
279
|
+
email_address: ::String?,
|
|
280
|
+
name: ::String?,
|
|
281
|
+
username: ::String?
|
|
282
|
+
}?,
|
|
283
|
+
apple: {
|
|
284
|
+
sub: ::String,
|
|
285
|
+
email_address: ::String?,
|
|
286
|
+
name: ::String?,
|
|
287
|
+
username: ::String?
|
|
288
|
+
}?,
|
|
289
|
+
x: {
|
|
290
|
+
sub: ::String,
|
|
291
|
+
email_address: ::String?,
|
|
292
|
+
name: ::String?,
|
|
293
|
+
username: ::String?
|
|
294
|
+
}?,
|
|
295
|
+
telegram: {
|
|
296
|
+
sub: ::String,
|
|
297
|
+
email_address: ::String?,
|
|
298
|
+
name: ::String?,
|
|
299
|
+
username: ::String?
|
|
300
|
+
}?,
|
|
301
|
+
github: {
|
|
302
|
+
sub: ::String,
|
|
303
|
+
email_address: ::String?,
|
|
304
|
+
name: ::String?,
|
|
305
|
+
username: ::String?
|
|
306
|
+
}?
|
|
307
|
+
}?
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
wallet_address: ::String?,
|
|
311
|
+
redirect_url: ::String?
|
|
312
|
+
}?
|
|
313
|
+
},
|
|
314
|
+
?client_token: ::String
|
|
315
|
+
) -> _CreatePaymentInstrumentResponseSuccess
|
|
316
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePaymentInstrumentResponseSuccess
|
|
317
|
+
|
|
318
|
+
interface _CreatePaymentSessionResponseSuccess
|
|
319
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePaymentSessionResponse]
|
|
320
|
+
def payment_session: () -> Types::PaymentSession
|
|
321
|
+
end
|
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#create_payment_session-instance_method
|
|
323
|
+
def create_payment_session: (
|
|
324
|
+
?user_id: ::String,
|
|
325
|
+
?agent_name: ::String,
|
|
326
|
+
payment_manager_arn: ::String,
|
|
327
|
+
?limits: {
|
|
328
|
+
max_spend_amount: {
|
|
329
|
+
value: ::String,
|
|
330
|
+
currency: ("USD")
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
expiry_time_in_minutes: ::Integer,
|
|
334
|
+
?client_token: ::String
|
|
335
|
+
) -> _CreatePaymentSessionResponseSuccess
|
|
336
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePaymentSessionResponseSuccess
|
|
337
|
+
|
|
250
338
|
interface _DeleteABTestResponseSuccess
|
|
251
339
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteABTestResponse]
|
|
252
340
|
def ab_test_id: () -> ::String
|
|
@@ -295,6 +383,31 @@ module Aws
|
|
|
295
383
|
) -> _DeleteMemoryRecordResponseSuccess
|
|
296
384
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMemoryRecordResponseSuccess
|
|
297
385
|
|
|
386
|
+
interface _DeletePaymentInstrumentResponseSuccess
|
|
387
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePaymentInstrumentResponse]
|
|
388
|
+
def status: () -> ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
389
|
+
end
|
|
390
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_payment_instrument-instance_method
|
|
391
|
+
def delete_payment_instrument: (
|
|
392
|
+
?user_id: ::String,
|
|
393
|
+
payment_manager_arn: ::String,
|
|
394
|
+
payment_connector_id: ::String,
|
|
395
|
+
payment_instrument_id: ::String
|
|
396
|
+
) -> _DeletePaymentInstrumentResponseSuccess
|
|
397
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePaymentInstrumentResponseSuccess
|
|
398
|
+
|
|
399
|
+
interface _DeletePaymentSessionResponseSuccess
|
|
400
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePaymentSessionResponse]
|
|
401
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "DELETED")
|
|
402
|
+
end
|
|
403
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_payment_session-instance_method
|
|
404
|
+
def delete_payment_session: (
|
|
405
|
+
?user_id: ::String,
|
|
406
|
+
payment_manager_arn: ::String,
|
|
407
|
+
payment_session_id: ::String
|
|
408
|
+
) -> _DeletePaymentSessionResponseSuccess
|
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePaymentSessionResponseSuccess
|
|
410
|
+
|
|
298
411
|
interface _DeleteRecommendationResponseSuccess
|
|
299
412
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecommendationResponse]
|
|
300
413
|
def recommendation_id: () -> ::String
|
|
@@ -477,6 +590,50 @@ module Aws
|
|
|
477
590
|
) -> _GetMemoryRecordResponseSuccess
|
|
478
591
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemoryRecordResponseSuccess
|
|
479
592
|
|
|
593
|
+
interface _GetPaymentInstrumentResponseSuccess
|
|
594
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPaymentInstrumentResponse]
|
|
595
|
+
def payment_instrument: () -> Types::PaymentInstrument
|
|
596
|
+
end
|
|
597
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_payment_instrument-instance_method
|
|
598
|
+
def get_payment_instrument: (
|
|
599
|
+
?user_id: ::String,
|
|
600
|
+
?agent_name: ::String,
|
|
601
|
+
payment_manager_arn: ::String,
|
|
602
|
+
?payment_connector_id: ::String,
|
|
603
|
+
payment_instrument_id: ::String
|
|
604
|
+
) -> _GetPaymentInstrumentResponseSuccess
|
|
605
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPaymentInstrumentResponseSuccess
|
|
606
|
+
|
|
607
|
+
interface _GetPaymentInstrumentBalanceResponseSuccess
|
|
608
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPaymentInstrumentBalanceResponse]
|
|
609
|
+
def payment_instrument_id: () -> ::String
|
|
610
|
+
def token_balance: () -> Types::TokenBalance
|
|
611
|
+
end
|
|
612
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_payment_instrument_balance-instance_method
|
|
613
|
+
def get_payment_instrument_balance: (
|
|
614
|
+
?user_id: ::String,
|
|
615
|
+
?agent_name: ::String,
|
|
616
|
+
payment_manager_arn: ::String,
|
|
617
|
+
payment_connector_id: ::String,
|
|
618
|
+
payment_instrument_id: ::String,
|
|
619
|
+
chain: ("BASE" | "BASE_SEPOLIA" | "ETHEREUM" | "SOLANA" | "SOLANA_DEVNET"),
|
|
620
|
+
token: ("USDC")
|
|
621
|
+
) -> _GetPaymentInstrumentBalanceResponseSuccess
|
|
622
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPaymentInstrumentBalanceResponseSuccess
|
|
623
|
+
|
|
624
|
+
interface _GetPaymentSessionResponseSuccess
|
|
625
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPaymentSessionResponse]
|
|
626
|
+
def payment_session: () -> Types::PaymentSession
|
|
627
|
+
end
|
|
628
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_payment_session-instance_method
|
|
629
|
+
def get_payment_session: (
|
|
630
|
+
?user_id: ::String,
|
|
631
|
+
?agent_name: ::String,
|
|
632
|
+
payment_manager_arn: ::String,
|
|
633
|
+
payment_session_id: ::String
|
|
634
|
+
) -> _GetPaymentSessionResponseSuccess
|
|
635
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPaymentSessionResponseSuccess
|
|
636
|
+
|
|
480
637
|
interface _GetRecommendationResponseSuccess
|
|
481
638
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationResponse]
|
|
482
639
|
def recommendation_id: () -> ::String
|
|
@@ -530,6 +687,32 @@ module Aws
|
|
|
530
687
|
) -> _GetResourceOauth2TokenResponseSuccess
|
|
531
688
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceOauth2TokenResponseSuccess
|
|
532
689
|
|
|
690
|
+
interface _GetResourcePaymentTokenResponseSuccess
|
|
691
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePaymentTokenResponse]
|
|
692
|
+
def payment_token_response: () -> Types::PaymentTokenResponseOutput
|
|
693
|
+
end
|
|
694
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_resource_payment_token-instance_method
|
|
695
|
+
def get_resource_payment_token: (
|
|
696
|
+
workload_identity_token: ::String,
|
|
697
|
+
resource_credential_provider_name: ::String,
|
|
698
|
+
payment_token_request: {
|
|
699
|
+
coinbase_cdp_token_request: {
|
|
700
|
+
request_method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH"),
|
|
701
|
+
request_host: ::String?,
|
|
702
|
+
request_path: ::String,
|
|
703
|
+
include_wallet_auth_token: bool?,
|
|
704
|
+
request_body: ::String?
|
|
705
|
+
}?,
|
|
706
|
+
stripe_privy_token_request: {
|
|
707
|
+
request_host: ::String?,
|
|
708
|
+
request_path: ::String,
|
|
709
|
+
request_body: ::String,
|
|
710
|
+
include_authorization_signature: bool?
|
|
711
|
+
}?
|
|
712
|
+
}
|
|
713
|
+
) -> _GetResourcePaymentTokenResponseSuccess
|
|
714
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePaymentTokenResponseSuccess
|
|
715
|
+
|
|
533
716
|
interface _GetWorkloadAccessTokenResponseSuccess
|
|
534
717
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkloadAccessTokenResponse]
|
|
535
718
|
def workload_access_token: () -> ::String
|
|
@@ -803,7 +986,7 @@ module Aws
|
|
|
803
986
|
provider_arn: ::String,
|
|
804
987
|
scopes: Array[::String],
|
|
805
988
|
custom_parameters: Hash[::String, ::String]?,
|
|
806
|
-
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE")?,
|
|
989
|
+
grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE" | "TOKEN_EXCHANGE")?,
|
|
807
990
|
default_return_url: ::String?
|
|
808
991
|
}?
|
|
809
992
|
}?
|
|
@@ -983,6 +1166,37 @@ module Aws
|
|
|
983
1166
|
) -> _ListMemoryRecordsResponseSuccess
|
|
984
1167
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemoryRecordsResponseSuccess
|
|
985
1168
|
|
|
1169
|
+
interface _ListPaymentInstrumentsResponseSuccess
|
|
1170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPaymentInstrumentsResponse]
|
|
1171
|
+
def payment_instruments: () -> ::Array[Types::PaymentInstrumentSummary]
|
|
1172
|
+
def next_token: () -> ::String
|
|
1173
|
+
end
|
|
1174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#list_payment_instruments-instance_method
|
|
1175
|
+
def list_payment_instruments: (
|
|
1176
|
+
?user_id: ::String,
|
|
1177
|
+
?agent_name: ::String,
|
|
1178
|
+
payment_manager_arn: ::String,
|
|
1179
|
+
?payment_connector_id: ::String,
|
|
1180
|
+
?next_token: ::String,
|
|
1181
|
+
?max_results: ::Integer
|
|
1182
|
+
) -> _ListPaymentInstrumentsResponseSuccess
|
|
1183
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPaymentInstrumentsResponseSuccess
|
|
1184
|
+
|
|
1185
|
+
interface _ListPaymentSessionsResponseSuccess
|
|
1186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPaymentSessionsResponse]
|
|
1187
|
+
def payment_sessions: () -> ::Array[Types::PaymentSessionSummary]
|
|
1188
|
+
def next_token: () -> ::String
|
|
1189
|
+
end
|
|
1190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#list_payment_sessions-instance_method
|
|
1191
|
+
def list_payment_sessions: (
|
|
1192
|
+
?user_id: ::String,
|
|
1193
|
+
?agent_name: ::String,
|
|
1194
|
+
payment_manager_arn: ::String,
|
|
1195
|
+
?next_token: ::String,
|
|
1196
|
+
?max_results: ::Integer
|
|
1197
|
+
) -> _ListPaymentSessionsResponseSuccess
|
|
1198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPaymentSessionsResponseSuccess
|
|
1199
|
+
|
|
986
1200
|
interface _ListRecommendationsResponseSuccess
|
|
987
1201
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
|
|
988
1202
|
def recommendation_summaries: () -> ::Array[Types::RecommendationSummary]
|
|
@@ -1013,6 +1227,37 @@ module Aws
|
|
|
1013
1227
|
) -> _ListSessionsResponseSuccess
|
|
1014
1228
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
|
1015
1229
|
|
|
1230
|
+
interface _ProcessPaymentResponseSuccess
|
|
1231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ProcessPaymentResponse]
|
|
1232
|
+
def process_payment_id: () -> ::String
|
|
1233
|
+
def payment_manager_arn: () -> ::String
|
|
1234
|
+
def payment_session_id: () -> ::String
|
|
1235
|
+
def payment_instrument_id: () -> ::String
|
|
1236
|
+
def payment_type: () -> ("CRYPTO_X402")
|
|
1237
|
+
def status: () -> ("PROOF_GENERATED")
|
|
1238
|
+
def payment_output: () -> Types::PaymentOutput
|
|
1239
|
+
def created_at: () -> ::Time
|
|
1240
|
+
def updated_at: () -> ::Time
|
|
1241
|
+
end
|
|
1242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#process_payment-instance_method
|
|
1243
|
+
def process_payment: (
|
|
1244
|
+
?user_id: ::String,
|
|
1245
|
+
?agent_name: ::String,
|
|
1246
|
+
payment_manager_arn: ::String,
|
|
1247
|
+
payment_session_id: ::String,
|
|
1248
|
+
payment_instrument_id: ::String,
|
|
1249
|
+
payment_type: ("CRYPTO_X402"),
|
|
1250
|
+
payment_input: {
|
|
1251
|
+
crypto_x402: {
|
|
1252
|
+
version: ::String,
|
|
1253
|
+
payload: {
|
|
1254
|
+
}
|
|
1255
|
+
}?
|
|
1256
|
+
},
|
|
1257
|
+
?client_token: ::String
|
|
1258
|
+
) -> _ProcessPaymentResponseSuccess
|
|
1259
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ProcessPaymentResponseSuccess
|
|
1260
|
+
|
|
1016
1261
|
interface _RetrieveMemoryRecordsResponseSuccess
|
|
1017
1262
|
include ::Seahorse::Client::_ResponseSuccess[Types::RetrieveMemoryRecordsOutput]
|
|
1018
1263
|
def memory_record_summaries: () -> ::Array[Types::MemoryRecordSummary]
|