aws-sdk-bedrockagentcore 1.33.0 → 1.34.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 +39 -76
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +2 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +144 -158
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +36 -134
- data/sig/params.rbs +78 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe6be583d055912228596fdf973a62d597180224b814dbd2a46231b58d7a1c71
|
|
4
|
+
data.tar.gz: 03361bfb4c5a5ec2224270bf516db542fa75d30c085e591ea4be890114aaba84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 267f416d41346e148ae4ac1bba659eccbbbcc376e2edd7b1d4f7737771f31abc19bfb69f0ce18534b16cd2d4397255e8a2a6c1ca0f954cae35f87dbc4010e67c
|
|
7
|
+
data.tar.gz: 66dfbce9e771c8da87bdc7d0a9a6fd90307b5d3da5298d697e46d54c17f2b0ae1f02df759eedf0415bfb0ce05ef32b4827482f51e9bf992815e90df5d963b98a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.34.0 (2026-05-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add RetryableConflictException (HTTP 409) to InvokeAgentRuntime and StopRuntimeSession to prevent orphaned VMs during concurrent session access. The SDK automatically retries this exception with backoff. Enforcement is not yet active and will be enabled in a future service update.
|
|
8
|
+
|
|
4
9
|
1.33.0 (2026-05-13)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.34.0
|
|
@@ -922,7 +922,7 @@ module Aws::BedrockAgentCore
|
|
|
922
922
|
req.send_request(options)
|
|
923
923
|
end
|
|
924
924
|
|
|
925
|
-
# Create a new payment instrument for a connector
|
|
925
|
+
# Create a new payment instrument for a connector.
|
|
926
926
|
#
|
|
927
927
|
# @option params [String] :user_id
|
|
928
928
|
# The user ID associated with this payment instrument.
|
|
@@ -943,7 +943,8 @@ module Aws::BedrockAgentCore
|
|
|
943
943
|
# The details of the payment instrument.
|
|
944
944
|
#
|
|
945
945
|
# @option params [String] :client_token
|
|
946
|
-
#
|
|
946
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
947
|
+
# idempotency of the request.
|
|
947
948
|
#
|
|
948
949
|
# **A suitable default value is auto-generated.** You should normally
|
|
949
950
|
# not need to pass this option.**
|
|
@@ -1064,7 +1065,7 @@ module Aws::BedrockAgentCore
|
|
|
1064
1065
|
req.send_request(options)
|
|
1065
1066
|
end
|
|
1066
1067
|
|
|
1067
|
-
# Create a new payment
|
|
1068
|
+
# Create a new payment session.
|
|
1068
1069
|
#
|
|
1069
1070
|
# @option params [String] :user_id
|
|
1070
1071
|
# The user ID associated with this payment session.
|
|
@@ -1083,7 +1084,8 @@ module Aws::BedrockAgentCore
|
|
|
1083
1084
|
# minutes.
|
|
1084
1085
|
#
|
|
1085
1086
|
# @option params [String] :client_token
|
|
1086
|
-
#
|
|
1087
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1088
|
+
# idempotency of the request.
|
|
1087
1089
|
#
|
|
1088
1090
|
# **A suitable default value is auto-generated.** You should normally
|
|
1089
1091
|
# not need to pass this option.**
|
|
@@ -1277,33 +1279,8 @@ module Aws::BedrockAgentCore
|
|
|
1277
1279
|
req.send_request(options)
|
|
1278
1280
|
end
|
|
1279
1281
|
|
|
1280
|
-
#
|
|
1281
|
-
#
|
|
1282
|
-
# Marks a payment instrument as deleted by updating its status to
|
|
1283
|
-
# DELETED. This is a soft delete operation that preserves the record in
|
|
1284
|
-
# the database for audit and compliance purposes. The record remains
|
|
1285
|
-
# queryable for audit purposes but is excluded from normal list and get
|
|
1286
|
-
# operations.
|
|
1287
|
-
#
|
|
1288
|
-
# Deleting an already-deleted or non-existent instrument returns
|
|
1289
|
-
# ResourceNotFoundException (404).
|
|
1290
|
-
#
|
|
1291
|
-
# Authorization: The caller must own the instrument (accountId, userId,
|
|
1292
|
-
# and paymentManagerId must match). If authorization fails, a 403
|
|
1293
|
-
# Forbidden error is returned.
|
|
1294
|
-
#
|
|
1295
|
-
# Timestamp Management: The updatedAt timestamp is set to the current
|
|
1296
|
-
# time, while createdAt is preserved. The version field is incremented
|
|
1297
|
-
# for optimistic locking.
|
|
1298
|
-
#
|
|
1299
|
-
# Errors:
|
|
1300
|
-
#
|
|
1301
|
-
# * ResourceNotFoundException: The instrument does not exist or is
|
|
1302
|
-
# already deleted
|
|
1303
|
-
# * AccessDeniedException: The caller is not authorized to delete this
|
|
1304
|
-
# instrument
|
|
1305
|
-
# * ValidationException: Required fields are missing or invalid
|
|
1306
|
-
# * InternalServerException: An unexpected server error occurred
|
|
1282
|
+
# Deletes a payment instrument. This is a soft delete operation that
|
|
1283
|
+
# preserves the record for audit and compliance purposes.
|
|
1307
1284
|
#
|
|
1308
1285
|
# @option params [String] :user_id
|
|
1309
1286
|
# The user ID making the delete request. Must match the instrument's
|
|
@@ -1346,26 +1323,8 @@ module Aws::BedrockAgentCore
|
|
|
1346
1323
|
req.send_request(options)
|
|
1347
1324
|
end
|
|
1348
1325
|
|
|
1349
|
-
#
|
|
1350
|
-
#
|
|
1351
|
-
# Permanently removes a payment session record from the database. This
|
|
1352
|
-
# is a hard delete operation that removes the session completely.
|
|
1353
|
-
#
|
|
1354
|
-
# Deleting a non-existent or already-deleted session returns
|
|
1355
|
-
# ResourceNotFoundException (404).
|
|
1356
|
-
#
|
|
1357
|
-
# Authorization: The caller must own the session (accountId, userId, and
|
|
1358
|
-
# paymentManagerId must match). If authorization fails, a 403 Forbidden
|
|
1359
|
-
# error is returned.
|
|
1360
|
-
#
|
|
1361
|
-
# Errors:
|
|
1362
|
-
#
|
|
1363
|
-
# * ResourceNotFoundException: The session does not exist or has already
|
|
1364
|
-
# been deleted
|
|
1365
|
-
# * AccessDeniedException: The caller is not authorized to delete this
|
|
1366
|
-
# session
|
|
1367
|
-
# * ValidationException: Required fields are missing or invalid
|
|
1368
|
-
# * InternalServerException: An unexpected server error occurred
|
|
1326
|
+
# Deletes a payment session. This permanently removes the payment
|
|
1327
|
+
# session record.
|
|
1369
1328
|
#
|
|
1370
1329
|
# @option params [String] :user_id
|
|
1371
1330
|
# The user ID making the delete request. Must match the session's
|
|
@@ -2005,7 +1964,7 @@ module Aws::BedrockAgentCore
|
|
|
2005
1964
|
req.send_request(options)
|
|
2006
1965
|
end
|
|
2007
1966
|
|
|
2008
|
-
# Get a payment instrument by ID
|
|
1967
|
+
# Get a payment instrument by ID.
|
|
2009
1968
|
#
|
|
2010
1969
|
# @option params [String] :user_id
|
|
2011
1970
|
# The user ID associated with this payment instrument.
|
|
@@ -2084,7 +2043,7 @@ module Aws::BedrockAgentCore
|
|
|
2084
2043
|
req.send_request(options)
|
|
2085
2044
|
end
|
|
2086
2045
|
|
|
2087
|
-
# Get the balance of a payment instrument
|
|
2046
|
+
# Get the balance of a payment instrument.
|
|
2088
2047
|
#
|
|
2089
2048
|
# @option params [String] :user_id
|
|
2090
2049
|
# The user ID associated with this payment instrument.
|
|
@@ -2103,12 +2062,11 @@ module Aws::BedrockAgentCore
|
|
|
2103
2062
|
#
|
|
2104
2063
|
# @option params [required, String] :chain
|
|
2105
2064
|
# The specific blockchain chain to query balance on. Required because
|
|
2106
|
-
# balances are chain-specific
|
|
2107
|
-
# different token balances on different chains.
|
|
2065
|
+
# balances are chain-specific.
|
|
2108
2066
|
#
|
|
2109
2067
|
# @option params [required, String] :token
|
|
2110
|
-
# The token to query balance for.
|
|
2111
|
-
#
|
|
2068
|
+
# The token to query balance for. Only tokens supported for X402
|
|
2069
|
+
# payments are returned.
|
|
2112
2070
|
#
|
|
2113
2071
|
# @return [Types::GetPaymentInstrumentBalanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2114
2072
|
#
|
|
@@ -2145,7 +2103,7 @@ module Aws::BedrockAgentCore
|
|
|
2145
2103
|
req.send_request(options)
|
|
2146
2104
|
end
|
|
2147
2105
|
|
|
2148
|
-
# Get a payment session
|
|
2106
|
+
# Get a payment session.
|
|
2149
2107
|
#
|
|
2150
2108
|
# @option params [String] :user_id
|
|
2151
2109
|
# The user ID associated with this payment session.
|
|
@@ -2421,15 +2379,14 @@ module Aws::BedrockAgentCore
|
|
|
2421
2379
|
# vendor-specific authentication mechanisms.
|
|
2422
2380
|
#
|
|
2423
2381
|
# @option params [required, String] :workload_identity_token
|
|
2424
|
-
# Workload access token for authorization.
|
|
2425
|
-
# for consistency with APIKey and OAuth2CredentialProvider.
|
|
2382
|
+
# Workload access token for authorization.
|
|
2426
2383
|
#
|
|
2427
2384
|
# @option params [required, String] :resource_credential_provider_name
|
|
2428
|
-
# Name of the payment credential provider to use
|
|
2385
|
+
# Name of the payment credential provider to use.
|
|
2429
2386
|
#
|
|
2430
2387
|
# @option params [required, Types::PaymentTokenRequestInput] :payment_token_request
|
|
2431
|
-
# Vendor-specific token request input Contains all request parameters
|
|
2432
|
-
# a type-safe, vendor-specific structure
|
|
2388
|
+
# Vendor-specific token request input. Contains all request parameters
|
|
2389
|
+
# in a type-safe, vendor-specific structure.
|
|
2433
2390
|
#
|
|
2434
2391
|
# @return [Types::GetResourcePaymentTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2435
2392
|
#
|
|
@@ -4385,11 +4342,13 @@ module Aws::BedrockAgentCore
|
|
|
4385
4342
|
#
|
|
4386
4343
|
# @option params [String] :namespace
|
|
4387
4344
|
# The namespace prefix to filter memory records by. Returns all memory
|
|
4388
|
-
# records in namespaces that start with the provided prefix.
|
|
4345
|
+
# records in namespaces that start with the provided prefix. Either
|
|
4346
|
+
# `namespace` or `namespacePath` is required.
|
|
4389
4347
|
#
|
|
4390
4348
|
# @option params [String] :namespace_path
|
|
4391
4349
|
# Use namespacePath for hierarchical retrievals. Return all memory
|
|
4392
|
-
# records where namespace falls under the same parent hierarchy.
|
|
4350
|
+
# records where namespace falls under the same parent hierarchy. Either
|
|
4351
|
+
# `namespace` or `namespacePath` is required.
|
|
4393
4352
|
#
|
|
4394
4353
|
# @option params [String] :memory_strategy_id
|
|
4395
4354
|
# The memory strategy identifier to filter memory records by. If
|
|
@@ -4469,7 +4428,7 @@ module Aws::BedrockAgentCore
|
|
|
4469
4428
|
req.send_request(options)
|
|
4470
4429
|
end
|
|
4471
4430
|
|
|
4472
|
-
# List payment instruments for a manager
|
|
4431
|
+
# List payment instruments for a manager.
|
|
4473
4432
|
#
|
|
4474
4433
|
# @option params [String] :user_id
|
|
4475
4434
|
# The user ID associated with the payment instruments.
|
|
@@ -4529,7 +4488,7 @@ module Aws::BedrockAgentCore
|
|
|
4529
4488
|
req.send_request(options)
|
|
4530
4489
|
end
|
|
4531
4490
|
|
|
4532
|
-
# List payment
|
|
4491
|
+
# List payment sessions.
|
|
4533
4492
|
#
|
|
4534
4493
|
# @option params [String] :user_id
|
|
4535
4494
|
# The user ID associated with the payment sessions.
|
|
@@ -4703,7 +4662,8 @@ module Aws::BedrockAgentCore
|
|
|
4703
4662
|
req.send_request(options)
|
|
4704
4663
|
end
|
|
4705
4664
|
|
|
4706
|
-
#
|
|
4665
|
+
# Processes a payment using a payment instrument within a payment
|
|
4666
|
+
# session.
|
|
4707
4667
|
#
|
|
4708
4668
|
# @option params [String] :user_id
|
|
4709
4669
|
# The user ID associated with this payment.
|
|
@@ -4712,22 +4672,23 @@ module Aws::BedrockAgentCore
|
|
|
4712
4672
|
# The agent name associated with this request, used for observability.
|
|
4713
4673
|
#
|
|
4714
4674
|
# @option params [required, String] :payment_manager_arn
|
|
4715
|
-
# The ARN of the payment manager
|
|
4675
|
+
# The ARN of the payment manager.
|
|
4716
4676
|
#
|
|
4717
4677
|
# @option params [required, String] :payment_session_id
|
|
4718
|
-
# The ID of the payment session
|
|
4678
|
+
# The ID of the payment session.
|
|
4719
4679
|
#
|
|
4720
4680
|
# @option params [required, String] :payment_instrument_id
|
|
4721
|
-
# The ID of the payment instrument to use
|
|
4681
|
+
# The ID of the payment instrument to use.
|
|
4722
4682
|
#
|
|
4723
4683
|
# @option params [required, String] :payment_type
|
|
4724
|
-
# The type of payment
|
|
4684
|
+
# The type of payment to process.
|
|
4725
4685
|
#
|
|
4726
4686
|
# @option params [required, Types::PaymentInput] :payment_input
|
|
4727
4687
|
# The payment input details specific to the payment type.
|
|
4728
4688
|
#
|
|
4729
4689
|
# @option params [String] :client_token
|
|
4730
|
-
#
|
|
4690
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
4691
|
+
# idempotency of the request.
|
|
4731
4692
|
#
|
|
4732
4693
|
# **A suitable default value is auto-generated.** You should normally
|
|
4733
4694
|
# not need to pass this option.**
|
|
@@ -4798,11 +4759,13 @@ module Aws::BedrockAgentCore
|
|
|
4798
4759
|
#
|
|
4799
4760
|
# @option params [String] :namespace
|
|
4800
4761
|
# The namespace prefix to filter memory records by. Searches for memory
|
|
4801
|
-
# records in namespaces that start with the provided prefix.
|
|
4762
|
+
# records in namespaces that start with the provided prefix. Either
|
|
4763
|
+
# `namespace` or `namespacePath` is required.
|
|
4802
4764
|
#
|
|
4803
4765
|
# @option params [String] :namespace_path
|
|
4804
4766
|
# Use namespacePath for hierarchical retrievals. Return all memory
|
|
4805
|
-
# records where namespace falls under the same parent hierarchy.
|
|
4767
|
+
# records where namespace falls under the same parent hierarchy. Either
|
|
4768
|
+
# `namespace` or `namespacePath` is required.
|
|
4806
4769
|
#
|
|
4807
4770
|
# @option params [required, Types::SearchCriteria] :search_criteria
|
|
4808
4771
|
# The search criteria to use for finding relevant memory records. This
|
|
@@ -6114,7 +6077,7 @@ module Aws::BedrockAgentCore
|
|
|
6114
6077
|
tracer: tracer
|
|
6115
6078
|
)
|
|
6116
6079
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6117
|
-
context[:gem_version] = '1.
|
|
6080
|
+
context[:gem_version] = '1.34.0'
|
|
6118
6081
|
Seahorse::Client::Request.new(handlers, context)
|
|
6119
6082
|
end
|
|
6120
6083
|
|
|
@@ -3540,6 +3540,7 @@ module Aws::BedrockAgentCore
|
|
|
3540
3540
|
o.input = Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequest)
|
|
3541
3541
|
o.output = Shapes::ShapeRef.new(shape: InvokeAgentRuntimeResponse)
|
|
3542
3542
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3543
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
|
3543
3544
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3544
3545
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3545
3546
|
o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
|
|
@@ -4016,6 +4017,7 @@ module Aws::BedrockAgentCore
|
|
|
4016
4017
|
o.output = Shapes::ShapeRef.new(shape: StopRuntimeSessionResponse)
|
|
4017
4018
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
4018
4019
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
4020
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
|
4019
4021
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4020
4022
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4021
4023
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|