@aws-sdk/client-bedrock-agentcore 3.1110.0 → 3.1111.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.
- package/dist-cjs/index.js +64 -13
- package/dist-es/models/enums.js +2 -0
- package/dist-es/models/errors.js +16 -0
- package/dist-es/schemas/schemas_0.js +43 -13
- package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +7 -1
- package/dist-types/commands/CreatePaymentSessionCommand.d.ts +3 -0
- package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +1 -1
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +1 -1
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +1 -1
- package/dist-types/commands/ProcessPaymentCommand.d.ts +21 -2
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/models/errors.d.ts +22 -0
- package/dist-types/models/models_1.d.ts +73 -2
- package/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/dist-types/runtimeConfig.d.ts +37 -37
- package/dist-types/runtimeConfig.native.d.ts +39 -39
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +35 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1110.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -312,6 +312,22 @@ class InvalidInputException extends BedrockAgentCoreServiceException {
|
|
|
312
312
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
+
class SubscriptionRequiredException extends BedrockAgentCoreServiceException {
|
|
316
|
+
name = "SubscriptionRequiredException";
|
|
317
|
+
$fault = "client";
|
|
318
|
+
subscriptionUrl;
|
|
319
|
+
productName;
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "SubscriptionRequiredException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
Object.setPrototypeOf(this, SubscriptionRequiredException.prototype);
|
|
327
|
+
this.subscriptionUrl = opts.subscriptionUrl;
|
|
328
|
+
this.productName = opts.productName;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
315
331
|
|
|
316
332
|
const _A = "Amount";
|
|
317
333
|
const _ABTEC = "ABTestEvaluationConfig";
|
|
@@ -691,6 +707,9 @@ const _MMR = "MouseMoveResult";
|
|
|
691
707
|
const _MMe = "MessageMetadata";
|
|
692
708
|
const _MMet = "MetadataMap";
|
|
693
709
|
const _MN = "Mcp-Name";
|
|
710
|
+
const _MPC = "MppPaymentCredential";
|
|
711
|
+
const _MPI = "MppPaymentInput";
|
|
712
|
+
const _MPO = "MppPaymentOutput";
|
|
694
713
|
const _MPV = "Mcp-Protocol-Version";
|
|
695
714
|
const _MR = "MemoryRecord";
|
|
696
715
|
const _MRCI = "MemoryRecordCreateInput";
|
|
@@ -819,6 +838,7 @@ const _SPTRI = "StripePrivyTokenRequestInput";
|
|
|
819
838
|
const _SPTRO = "StripePrivyTokenResponseOutput";
|
|
820
839
|
const _SQEE = "ServiceQuotaExceededException";
|
|
821
840
|
const _SR = "ScreenshotResult";
|
|
841
|
+
const _SRE = "SubscriptionRequiredException";
|
|
822
842
|
const _SRR = "StartRecommendationRequest";
|
|
823
843
|
const _SRRR = "SearchRegistryRecordsRequest";
|
|
824
844
|
const _SRRRe = "SearchRegistryRecordsResponse";
|
|
@@ -943,6 +963,7 @@ const _bEN = "batchEvaluationName";
|
|
|
943
963
|
const _bEa = "batchEvaluation";
|
|
944
964
|
const _bI = "browserIdentifier";
|
|
945
965
|
const _bMC = "bedrockModelConfig";
|
|
966
|
+
const _bPGF = "buyerPaysGasFees";
|
|
946
967
|
const _bT = "bearerToken";
|
|
947
968
|
const _bV = "bundleVersion";
|
|
948
969
|
const _bVo = "booleanValue";
|
|
@@ -1169,6 +1190,7 @@ const _mes = "messages";
|
|
|
1169
1190
|
const _met = "metadata";
|
|
1170
1191
|
const _metr = "metrics";
|
|
1171
1192
|
const _mo = "model";
|
|
1193
|
+
const _mp = "mpp";
|
|
1172
1194
|
const _n = "name";
|
|
1173
1195
|
const _nOSC = "numberOfSessionsCompleted";
|
|
1174
1196
|
const _nOSF = "numberOfSessionsFailed";
|
|
@@ -1194,8 +1216,10 @@ const _oT = "outputTokens";
|
|
|
1194
1216
|
const _oa = "oauth";
|
|
1195
1217
|
const _p = "payload";
|
|
1196
1218
|
const _pA = "providerArn";
|
|
1219
|
+
const _pAL = "permit2AllowanceLimit";
|
|
1197
1220
|
const _pC = "profileConfiguration";
|
|
1198
1221
|
const _pCI = "paymentConnectorId";
|
|
1222
|
+
const _pCa = "paymentCredential";
|
|
1199
1223
|
const _pCe = "percentChange";
|
|
1200
1224
|
const _pCr = "proxyConfiguration";
|
|
1201
1225
|
const _pI = "profileIdentifier";
|
|
@@ -1206,7 +1230,8 @@ const _pIa = "paymentInstrument";
|
|
|
1206
1230
|
const _pIay = "paymentInstruments";
|
|
1207
1231
|
const _pIaym = "paymentInput";
|
|
1208
1232
|
const _pMA = "paymentManagerArn";
|
|
1209
|
-
const _pN = "
|
|
1233
|
+
const _pN = "productName";
|
|
1234
|
+
const _pNh = "phoneNumber";
|
|
1210
1235
|
const _pO = "paymentOutput";
|
|
1211
1236
|
const _pPI = "processPaymentId";
|
|
1212
1237
|
const _pS = "paymentSession";
|
|
@@ -1296,6 +1321,7 @@ const _sMes = "sessionMetadata";
|
|
|
1296
1321
|
const _sN = "serviceNames";
|
|
1297
1322
|
const _sNe = "serverName";
|
|
1298
1323
|
const _sP = "systemPrompt";
|
|
1324
|
+
const _sPI = "selectedPaymentId";
|
|
1299
1325
|
const _sPJP = "systemPromptJsonPath";
|
|
1300
1326
|
const _sPRC = "systemPromptRecommendationConfig";
|
|
1301
1327
|
const _sPRR = "systemPromptRecommendationResult";
|
|
@@ -1313,7 +1339,8 @@ const _sSes = "sessionSummaries";
|
|
|
1313
1339
|
const _sSess = "sessionSpans";
|
|
1314
1340
|
const _sT = "startTime";
|
|
1315
1341
|
const _sTS = "sessionTimeoutSeconds";
|
|
1316
|
-
const _sU = "
|
|
1342
|
+
const _sU = "subscriptionUrl";
|
|
1343
|
+
const _sUe = "sessionUri";
|
|
1317
1344
|
const _sUt = "streamUpdate";
|
|
1318
1345
|
const _sV = "schemaVersion";
|
|
1319
1346
|
const _sVt = "stringValue";
|
|
@@ -1405,6 +1432,7 @@ const _va = "variants";
|
|
|
1405
1432
|
const _ve = "version";
|
|
1406
1433
|
const _w = "weight";
|
|
1407
1434
|
const _wA = "walletAddress";
|
|
1435
|
+
const _wAH = "wwwAuthenticateHeaders";
|
|
1408
1436
|
const _wAT = "walletAuthToken";
|
|
1409
1437
|
const _wATo = "workloadAccessToken";
|
|
1410
1438
|
const _wIT = "workloadIdentityToken";
|
|
@@ -1479,6 +1507,12 @@ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
|
1479
1507
|
[0]
|
|
1480
1508
|
];
|
|
1481
1509
|
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
1510
|
+
var SubscriptionRequiredException$ = [-3, n0, _SRE,
|
|
1511
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
1512
|
+
[_m, _sU, _pN],
|
|
1513
|
+
[0, 0, 0], 1
|
|
1514
|
+
];
|
|
1515
|
+
n0_registry.registerError(SubscriptionRequiredException$, SubscriptionRequiredException);
|
|
1482
1516
|
var ThrottledException$ = [-3, n0, _TE,
|
|
1483
1517
|
{ [_e]: _c, [_hE]: 429 },
|
|
1484
1518
|
[_m],
|
|
@@ -1520,6 +1554,7 @@ var HarnessInlineFunctionDescription = [0, n0, _HIFD, 8, 0];
|
|
|
1520
1554
|
var HarnessLiteLlmApiBase = [0, n0, _HLLAB, 8, 0];
|
|
1521
1555
|
var HarnessRemoteMcpUrl = [0, n0, _HRMU, 8, 0];
|
|
1522
1556
|
var MemoryDocument = [0, n0, _MD, 8, 15];
|
|
1557
|
+
var MppPaymentCredential = [0, n0, _MPC, 8, 0];
|
|
1523
1558
|
var OAuthCustomParametersValue = [0, n0, _OACPV, 8, 0];
|
|
1524
1559
|
var PaymentDocument = [0, n0, _PD, 8, 15];
|
|
1525
1560
|
var PhoneNumber = [0, n0, _PN, 8, 0];
|
|
@@ -1727,7 +1762,7 @@ var CoinbaseCdpTokenResponseOutput$ = [3, n0, _CCTRO,
|
|
|
1727
1762
|
];
|
|
1728
1763
|
var CompleteResourceTokenAuthRequest$ = [3, n0, _CRTAR,
|
|
1729
1764
|
0,
|
|
1730
|
-
[_uI,
|
|
1765
|
+
[_uI, _sUe],
|
|
1731
1766
|
[[() => UserIdentifier$, 0], 0], 2
|
|
1732
1767
|
];
|
|
1733
1768
|
var CompleteResourceTokenAuthResponse$ = [3, n0, _CRTARo,
|
|
@@ -1822,8 +1857,8 @@ var CreatePaymentSessionResponse$ = [3, n0, _CPSRr,
|
|
|
1822
1857
|
];
|
|
1823
1858
|
var CryptoX402PaymentInput$ = [3, n0, _CXPI,
|
|
1824
1859
|
0,
|
|
1825
|
-
[_ve, _p],
|
|
1826
|
-
[0, [() => PaymentDocument, 0]], 2
|
|
1860
|
+
[_ve, _p, _pAL],
|
|
1861
|
+
[0, [() => PaymentDocument, 0], 0], 2
|
|
1827
1862
|
];
|
|
1828
1863
|
var CryptoX402PaymentOutput$ = [3, n0, _CXPO,
|
|
1829
1864
|
0,
|
|
@@ -2177,12 +2212,12 @@ var GetResourceApiKeyResponse$ = [3, n0, _GRAKRe,
|
|
|
2177
2212
|
];
|
|
2178
2213
|
var GetResourceOauth2TokenRequest$ = [3, n0, _GROTR,
|
|
2179
2214
|
0,
|
|
2180
|
-
[_wIT, _rCPN, _sc, _oF,
|
|
2215
|
+
[_wIT, _rCPN, _sc, _oF, _sUe, _rORU, _fA, _cP, _cSu, _reso, _au],
|
|
2181
2216
|
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0], 64 | 0, 64 | 0], 4
|
|
2182
2217
|
];
|
|
2183
2218
|
var GetResourceOauth2TokenResponse$ = [3, n0, _GROTRe,
|
|
2184
2219
|
0,
|
|
2185
|
-
[_aU, _aTc,
|
|
2220
|
+
[_aU, _aTc, _sUe, _sSe],
|
|
2186
2221
|
[[() => AuthorizationUrlType, 0], [() => AccessTokenType, 0], 0, 0]
|
|
2187
2222
|
];
|
|
2188
2223
|
var GetResourcePaymentTokenRequest$ = [3, n0, _GRPTR,
|
|
@@ -2497,7 +2532,7 @@ var LinkedAccountEmail$ = [3, n0, _LAE,
|
|
|
2497
2532
|
];
|
|
2498
2533
|
var LinkedAccountSms$ = [3, n0, _LAS,
|
|
2499
2534
|
8,
|
|
2500
|
-
[
|
|
2535
|
+
[_pNh],
|
|
2501
2536
|
[[() => PhoneNumber, 0]], 1
|
|
2502
2537
|
];
|
|
2503
2538
|
var ListABTestsRequest$ = [3, n0, _LABTR,
|
|
@@ -2710,6 +2745,16 @@ var MouseScrollResult$ = [3, n0, _MSR,
|
|
|
2710
2745
|
[_sta, _e],
|
|
2711
2746
|
[0, 0], 1
|
|
2712
2747
|
];
|
|
2748
|
+
var MppPaymentInput$ = [3, n0, _MPI,
|
|
2749
|
+
0,
|
|
2750
|
+
[_ve, _wAH, _bPGF],
|
|
2751
|
+
[0, 64 | 0, 2], 2
|
|
2752
|
+
];
|
|
2753
|
+
var MppPaymentOutput$ = [3, n0, _MPO,
|
|
2754
|
+
0,
|
|
2755
|
+
[_ve, _sPI, _pCa],
|
|
2756
|
+
[0, 0, [() => MppPaymentCredential, 0]], 3
|
|
2757
|
+
];
|
|
2713
2758
|
var OAuth2Authentication$ = [3, n0, _OAA,
|
|
2714
2759
|
8,
|
|
2715
2760
|
[_su, _eAm, _n, _use],
|
|
@@ -3596,8 +3641,8 @@ var PayloadType$ = [4, n0, _PT,
|
|
|
3596
3641
|
];
|
|
3597
3642
|
var PaymentInput$ = [4, n0, _PIa,
|
|
3598
3643
|
0,
|
|
3599
|
-
[_cX],
|
|
3600
|
-
[[() => CryptoX402PaymentInput$, 0]]
|
|
3644
|
+
[_cX, _mp],
|
|
3645
|
+
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput$]
|
|
3601
3646
|
];
|
|
3602
3647
|
var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
3603
3648
|
0,
|
|
@@ -3606,8 +3651,8 @@ var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
|
3606
3651
|
];
|
|
3607
3652
|
var PaymentOutput$ = [4, n0, _PO,
|
|
3608
3653
|
0,
|
|
3609
|
-
[_cX],
|
|
3610
|
-
[[() => CryptoX402PaymentOutput$, 0]]
|
|
3654
|
+
[_cX, _mp],
|
|
3655
|
+
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0]]
|
|
3611
3656
|
];
|
|
3612
3657
|
var PaymentTokenRequestInput$ = [4, n0, _PTRI,
|
|
3613
3658
|
0,
|
|
@@ -4615,6 +4660,7 @@ const PaymentInstrumentType = {
|
|
|
4615
4660
|
};
|
|
4616
4661
|
const PaymentInstrumentStatus = {
|
|
4617
4662
|
ACTIVE: "ACTIVE",
|
|
4663
|
+
BLOCKED: "BLOCKED",
|
|
4618
4664
|
DELETED: "DELETED",
|
|
4619
4665
|
FAILED: "FAILED",
|
|
4620
4666
|
INITIATED: "INITIATED",
|
|
@@ -4639,6 +4685,7 @@ const PaymentSessionStatus = {
|
|
|
4639
4685
|
};
|
|
4640
4686
|
const PaymentType = {
|
|
4641
4687
|
CRYPTO_X402: "CRYPTO_X402",
|
|
4688
|
+
MPP: "MPP",
|
|
4642
4689
|
};
|
|
4643
4690
|
const PaymentStatus = {
|
|
4644
4691
|
PROOF_GENERATED: "PROOF_GENERATED",
|
|
@@ -5079,6 +5126,8 @@ exports.MouseMoveArguments$ = MouseMoveArguments$;
|
|
|
5079
5126
|
exports.MouseMoveResult$ = MouseMoveResult$;
|
|
5080
5127
|
exports.MouseScrollArguments$ = MouseScrollArguments$;
|
|
5081
5128
|
exports.MouseScrollResult$ = MouseScrollResult$;
|
|
5129
|
+
exports.MppPaymentInput$ = MppPaymentInput$;
|
|
5130
|
+
exports.MppPaymentOutput$ = MppPaymentOutput$;
|
|
5082
5131
|
exports.OAuth2Authentication$ = OAuth2Authentication$;
|
|
5083
5132
|
exports.OAuthCredentialProvider$ = OAuthCredentialProvider$;
|
|
5084
5133
|
exports.OAuthGrantType = OAuthGrantType;
|
|
@@ -5208,6 +5257,8 @@ exports.StopRuntimeSessionResponse$ = StopRuntimeSessionResponse$;
|
|
|
5208
5257
|
exports.StreamUpdate$ = StreamUpdate$;
|
|
5209
5258
|
exports.StripePrivyTokenRequestInput$ = StripePrivyTokenRequestInput$;
|
|
5210
5259
|
exports.StripePrivyTokenResponseOutput$ = StripePrivyTokenResponseOutput$;
|
|
5260
|
+
exports.SubscriptionRequiredException = SubscriptionRequiredException;
|
|
5261
|
+
exports.SubscriptionRequiredException$ = SubscriptionRequiredException$;
|
|
5211
5262
|
exports.SystemPromptConfig$ = SystemPromptConfig$;
|
|
5212
5263
|
exports.SystemPromptConfigurationBundle$ = SystemPromptConfigurationBundle$;
|
|
5213
5264
|
exports.SystemPromptRecommendationConfig$ = SystemPromptRecommendationConfig$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -277,6 +277,7 @@ export const PaymentInstrumentType = {
|
|
|
277
277
|
};
|
|
278
278
|
export const PaymentInstrumentStatus = {
|
|
279
279
|
ACTIVE: "ACTIVE",
|
|
280
|
+
BLOCKED: "BLOCKED",
|
|
280
281
|
DELETED: "DELETED",
|
|
281
282
|
FAILED: "FAILED",
|
|
282
283
|
INITIATED: "INITIATED",
|
|
@@ -301,6 +302,7 @@ export const PaymentSessionStatus = {
|
|
|
301
302
|
};
|
|
302
303
|
export const PaymentType = {
|
|
303
304
|
CRYPTO_X402: "CRYPTO_X402",
|
|
305
|
+
MPP: "MPP",
|
|
304
306
|
};
|
|
305
307
|
export const PaymentStatus = {
|
|
306
308
|
PROOF_GENERATED: "PROOF_GENERATED",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -172,3 +172,19 @@ export class InvalidInputException extends __BaseException {
|
|
|
172
172
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
+
export class SubscriptionRequiredException extends __BaseException {
|
|
176
|
+
name = "SubscriptionRequiredException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
subscriptionUrl;
|
|
179
|
+
productName;
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "SubscriptionRequiredException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, SubscriptionRequiredException.prototype);
|
|
187
|
+
this.subscriptionUrl = opts.subscriptionUrl;
|
|
188
|
+
this.productName = opts.productName;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -376,6 +376,9 @@ const _MMR = "MouseMoveResult";
|
|
|
376
376
|
const _MMe = "MessageMetadata";
|
|
377
377
|
const _MMet = "MetadataMap";
|
|
378
378
|
const _MN = "Mcp-Name";
|
|
379
|
+
const _MPC = "MppPaymentCredential";
|
|
380
|
+
const _MPI = "MppPaymentInput";
|
|
381
|
+
const _MPO = "MppPaymentOutput";
|
|
379
382
|
const _MPV = "Mcp-Protocol-Version";
|
|
380
383
|
const _MR = "MemoryRecord";
|
|
381
384
|
const _MRCI = "MemoryRecordCreateInput";
|
|
@@ -504,6 +507,7 @@ const _SPTRI = "StripePrivyTokenRequestInput";
|
|
|
504
507
|
const _SPTRO = "StripePrivyTokenResponseOutput";
|
|
505
508
|
const _SQEE = "ServiceQuotaExceededException";
|
|
506
509
|
const _SR = "ScreenshotResult";
|
|
510
|
+
const _SRE = "SubscriptionRequiredException";
|
|
507
511
|
const _SRR = "StartRecommendationRequest";
|
|
508
512
|
const _SRRR = "SearchRegistryRecordsRequest";
|
|
509
513
|
const _SRRRe = "SearchRegistryRecordsResponse";
|
|
@@ -628,6 +632,7 @@ const _bEN = "batchEvaluationName";
|
|
|
628
632
|
const _bEa = "batchEvaluation";
|
|
629
633
|
const _bI = "browserIdentifier";
|
|
630
634
|
const _bMC = "bedrockModelConfig";
|
|
635
|
+
const _bPGF = "buyerPaysGasFees";
|
|
631
636
|
const _bT = "bearerToken";
|
|
632
637
|
const _bV = "bundleVersion";
|
|
633
638
|
const _bVo = "booleanValue";
|
|
@@ -854,6 +859,7 @@ const _mes = "messages";
|
|
|
854
859
|
const _met = "metadata";
|
|
855
860
|
const _metr = "metrics";
|
|
856
861
|
const _mo = "model";
|
|
862
|
+
const _mp = "mpp";
|
|
857
863
|
const _n = "name";
|
|
858
864
|
const _nOSC = "numberOfSessionsCompleted";
|
|
859
865
|
const _nOSF = "numberOfSessionsFailed";
|
|
@@ -879,8 +885,10 @@ const _oT = "outputTokens";
|
|
|
879
885
|
const _oa = "oauth";
|
|
880
886
|
const _p = "payload";
|
|
881
887
|
const _pA = "providerArn";
|
|
888
|
+
const _pAL = "permit2AllowanceLimit";
|
|
882
889
|
const _pC = "profileConfiguration";
|
|
883
890
|
const _pCI = "paymentConnectorId";
|
|
891
|
+
const _pCa = "paymentCredential";
|
|
884
892
|
const _pCe = "percentChange";
|
|
885
893
|
const _pCr = "proxyConfiguration";
|
|
886
894
|
const _pI = "profileIdentifier";
|
|
@@ -891,7 +899,8 @@ const _pIa = "paymentInstrument";
|
|
|
891
899
|
const _pIay = "paymentInstruments";
|
|
892
900
|
const _pIaym = "paymentInput";
|
|
893
901
|
const _pMA = "paymentManagerArn";
|
|
894
|
-
const _pN = "
|
|
902
|
+
const _pN = "productName";
|
|
903
|
+
const _pNh = "phoneNumber";
|
|
895
904
|
const _pO = "paymentOutput";
|
|
896
905
|
const _pPI = "processPaymentId";
|
|
897
906
|
const _pS = "paymentSession";
|
|
@@ -981,6 +990,7 @@ const _sMes = "sessionMetadata";
|
|
|
981
990
|
const _sN = "serviceNames";
|
|
982
991
|
const _sNe = "serverName";
|
|
983
992
|
const _sP = "systemPrompt";
|
|
993
|
+
const _sPI = "selectedPaymentId";
|
|
984
994
|
const _sPJP = "systemPromptJsonPath";
|
|
985
995
|
const _sPRC = "systemPromptRecommendationConfig";
|
|
986
996
|
const _sPRR = "systemPromptRecommendationResult";
|
|
@@ -998,7 +1008,8 @@ const _sSes = "sessionSummaries";
|
|
|
998
1008
|
const _sSess = "sessionSpans";
|
|
999
1009
|
const _sT = "startTime";
|
|
1000
1010
|
const _sTS = "sessionTimeoutSeconds";
|
|
1001
|
-
const _sU = "
|
|
1011
|
+
const _sU = "subscriptionUrl";
|
|
1012
|
+
const _sUe = "sessionUri";
|
|
1002
1013
|
const _sUt = "streamUpdate";
|
|
1003
1014
|
const _sV = "schemaVersion";
|
|
1004
1015
|
const _sVt = "stringValue";
|
|
@@ -1090,6 +1101,7 @@ const _va = "variants";
|
|
|
1090
1101
|
const _ve = "version";
|
|
1091
1102
|
const _w = "weight";
|
|
1092
1103
|
const _wA = "walletAddress";
|
|
1104
|
+
const _wAH = "wwwAuthenticateHeaders";
|
|
1093
1105
|
const _wAT = "walletAuthToken";
|
|
1094
1106
|
const _wATo = "workloadAccessToken";
|
|
1095
1107
|
const _wIT = "workloadIdentityToken";
|
|
@@ -1102,7 +1114,7 @@ const _y = "y";
|
|
|
1102
1114
|
const n0 = "com.amazonaws.bedrockagentcore";
|
|
1103
1115
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
1104
1116
|
import { BedrockAgentCoreServiceException } from "../models/BedrockAgentCoreServiceException";
|
|
1105
|
-
import { AccessDeniedException, ConflictException, DuplicateIdException, InternalServerException, InvalidInputException, ResourceNotFoundException, RetryableConflictException, RuntimeClientError, ServiceException, ServiceQuotaExceededException, ThrottledException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/errors";
|
|
1117
|
+
import { AccessDeniedException, ConflictException, DuplicateIdException, InternalServerException, InvalidInputException, ResourceNotFoundException, RetryableConflictException, RuntimeClientError, ServiceException, ServiceQuotaExceededException, SubscriptionRequiredException, ThrottledException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/errors";
|
|
1106
1118
|
const _s_registry = TypeRegistry.for(_s);
|
|
1107
1119
|
export var BedrockAgentCoreServiceException$ = [-3, _s, "BedrockAgentCoreServiceException", 0, [], []];
|
|
1108
1120
|
_s_registry.registerError(BedrockAgentCoreServiceException$, BedrockAgentCoreServiceException);
|
|
@@ -1167,6 +1179,12 @@ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
|
1167
1179
|
[0]
|
|
1168
1180
|
];
|
|
1169
1181
|
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
1182
|
+
export var SubscriptionRequiredException$ = [-3, n0, _SRE,
|
|
1183
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
1184
|
+
[_m, _sU, _pN],
|
|
1185
|
+
[0, 0, 0], 1
|
|
1186
|
+
];
|
|
1187
|
+
n0_registry.registerError(SubscriptionRequiredException$, SubscriptionRequiredException);
|
|
1170
1188
|
export var ThrottledException$ = [-3, n0, _TE,
|
|
1171
1189
|
{ [_e]: _c, [_hE]: 429 },
|
|
1172
1190
|
[_m],
|
|
@@ -1208,6 +1226,7 @@ var HarnessInlineFunctionDescription = [0, n0, _HIFD, 8, 0];
|
|
|
1208
1226
|
var HarnessLiteLlmApiBase = [0, n0, _HLLAB, 8, 0];
|
|
1209
1227
|
var HarnessRemoteMcpUrl = [0, n0, _HRMU, 8, 0];
|
|
1210
1228
|
var MemoryDocument = [0, n0, _MD, 8, 15];
|
|
1229
|
+
var MppPaymentCredential = [0, n0, _MPC, 8, 0];
|
|
1211
1230
|
var OAuthCustomParametersValue = [0, n0, _OACPV, 8, 0];
|
|
1212
1231
|
var PaymentDocument = [0, n0, _PD, 8, 15];
|
|
1213
1232
|
var PhoneNumber = [0, n0, _PN, 8, 0];
|
|
@@ -1415,7 +1434,7 @@ export var CoinbaseCdpTokenResponseOutput$ = [3, n0, _CCTRO,
|
|
|
1415
1434
|
];
|
|
1416
1435
|
export var CompleteResourceTokenAuthRequest$ = [3, n0, _CRTAR,
|
|
1417
1436
|
0,
|
|
1418
|
-
[_uI,
|
|
1437
|
+
[_uI, _sUe],
|
|
1419
1438
|
[[() => UserIdentifier$, 0], 0], 2
|
|
1420
1439
|
];
|
|
1421
1440
|
export var CompleteResourceTokenAuthResponse$ = [3, n0, _CRTARo,
|
|
@@ -1510,8 +1529,8 @@ export var CreatePaymentSessionResponse$ = [3, n0, _CPSRr,
|
|
|
1510
1529
|
];
|
|
1511
1530
|
export var CryptoX402PaymentInput$ = [3, n0, _CXPI,
|
|
1512
1531
|
0,
|
|
1513
|
-
[_ve, _p],
|
|
1514
|
-
[0, [() => PaymentDocument, 0]], 2
|
|
1532
|
+
[_ve, _p, _pAL],
|
|
1533
|
+
[0, [() => PaymentDocument, 0], 0], 2
|
|
1515
1534
|
];
|
|
1516
1535
|
export var CryptoX402PaymentOutput$ = [3, n0, _CXPO,
|
|
1517
1536
|
0,
|
|
@@ -1865,12 +1884,12 @@ export var GetResourceApiKeyResponse$ = [3, n0, _GRAKRe,
|
|
|
1865
1884
|
];
|
|
1866
1885
|
export var GetResourceOauth2TokenRequest$ = [3, n0, _GROTR,
|
|
1867
1886
|
0,
|
|
1868
|
-
[_wIT, _rCPN, _sc, _oF,
|
|
1887
|
+
[_wIT, _rCPN, _sc, _oF, _sUe, _rORU, _fA, _cP, _cSu, _reso, _au],
|
|
1869
1888
|
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0], 64 | 0, 64 | 0], 4
|
|
1870
1889
|
];
|
|
1871
1890
|
export var GetResourceOauth2TokenResponse$ = [3, n0, _GROTRe,
|
|
1872
1891
|
0,
|
|
1873
|
-
[_aU, _aTc,
|
|
1892
|
+
[_aU, _aTc, _sUe, _sSe],
|
|
1874
1893
|
[[() => AuthorizationUrlType, 0], [() => AccessTokenType, 0], 0, 0]
|
|
1875
1894
|
];
|
|
1876
1895
|
export var GetResourcePaymentTokenRequest$ = [3, n0, _GRPTR,
|
|
@@ -2185,7 +2204,7 @@ export var LinkedAccountEmail$ = [3, n0, _LAE,
|
|
|
2185
2204
|
];
|
|
2186
2205
|
export var LinkedAccountSms$ = [3, n0, _LAS,
|
|
2187
2206
|
8,
|
|
2188
|
-
[
|
|
2207
|
+
[_pNh],
|
|
2189
2208
|
[[() => PhoneNumber, 0]], 1
|
|
2190
2209
|
];
|
|
2191
2210
|
export var ListABTestsRequest$ = [3, n0, _LABTR,
|
|
@@ -2398,6 +2417,16 @@ export var MouseScrollResult$ = [3, n0, _MSR,
|
|
|
2398
2417
|
[_sta, _e],
|
|
2399
2418
|
[0, 0], 1
|
|
2400
2419
|
];
|
|
2420
|
+
export var MppPaymentInput$ = [3, n0, _MPI,
|
|
2421
|
+
0,
|
|
2422
|
+
[_ve, _wAH, _bPGF],
|
|
2423
|
+
[0, 64 | 0, 2], 2
|
|
2424
|
+
];
|
|
2425
|
+
export var MppPaymentOutput$ = [3, n0, _MPO,
|
|
2426
|
+
0,
|
|
2427
|
+
[_ve, _sPI, _pCa],
|
|
2428
|
+
[0, 0, [() => MppPaymentCredential, 0]], 3
|
|
2429
|
+
];
|
|
2401
2430
|
export var OAuth2Authentication$ = [3, n0, _OAA,
|
|
2402
2431
|
8,
|
|
2403
2432
|
[_su, _eAm, _n, _use],
|
|
@@ -3078,6 +3107,7 @@ var VariantList = [1, n0, _VL,
|
|
|
3078
3107
|
var VariantResultList = [1, n0, _VRL,
|
|
3079
3108
|
0, () => VariantResult$
|
|
3080
3109
|
];
|
|
3110
|
+
var WwwAuthenticateHeaderList = 64 | 0;
|
|
3081
3111
|
var CustomRequestParametersType = [2, n0, _CRPT,
|
|
3082
3112
|
0, [0,
|
|
3083
3113
|
0],
|
|
@@ -3308,8 +3338,8 @@ export var PayloadType$ = [4, n0, _PT,
|
|
|
3308
3338
|
];
|
|
3309
3339
|
export var PaymentInput$ = [4, n0, _PIa,
|
|
3310
3340
|
0,
|
|
3311
|
-
[_cX],
|
|
3312
|
-
[[() => CryptoX402PaymentInput$, 0]]
|
|
3341
|
+
[_cX, _mp],
|
|
3342
|
+
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput$]
|
|
3313
3343
|
];
|
|
3314
3344
|
export var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
3315
3345
|
0,
|
|
@@ -3318,8 +3348,8 @@ export var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
|
3318
3348
|
];
|
|
3319
3349
|
export var PaymentOutput$ = [4, n0, _PO,
|
|
3320
3350
|
0,
|
|
3321
|
-
[_cX],
|
|
3322
|
-
[[() => CryptoX402PaymentOutput$, 0]]
|
|
3351
|
+
[_cX, _mp],
|
|
3352
|
+
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0]]
|
|
3323
3353
|
];
|
|
3324
3354
|
export var PaymentTokenRequestInput$ = [4, n0, _PTRI,
|
|
3325
3355
|
0,
|
|
@@ -157,7 +157,7 @@ declare const CreatePaymentInstrumentCommand_base: {
|
|
|
157
157
|
* // },
|
|
158
158
|
* // },
|
|
159
159
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
160
|
-
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
|
|
160
|
+
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED" || "BLOCKED", // required
|
|
161
161
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
162
162
|
* // },
|
|
163
163
|
* // };
|
|
@@ -179,9 +179,15 @@ declare const CreatePaymentInstrumentCommand_base: {
|
|
|
179
179
|
* @throws {@link InternalServerException} (server fault)
|
|
180
180
|
* <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
181
181
|
*
|
|
182
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
183
|
+
* <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
|
|
184
|
+
*
|
|
182
185
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
183
186
|
* <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
|
|
184
187
|
*
|
|
188
|
+
* @throws {@link SubscriptionRequiredException} (client fault)
|
|
189
|
+
* <p>Returned when you attempt a wallet operation against a Coinbase Marketplace connector whose account does not hold an active Marketplace subscription and is not within the legacy exception period. Subscribe to the Marketplace listing before you retry the operation.</p>
|
|
190
|
+
*
|
|
185
191
|
* @throws {@link ThrottlingException} (client fault)
|
|
186
192
|
* <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
|
|
187
193
|
*
|
|
@@ -92,6 +92,9 @@ declare const CreatePaymentSessionCommand_base: {
|
|
|
92
92
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
93
|
* <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
|
|
94
94
|
*
|
|
95
|
+
* @throws {@link SubscriptionRequiredException} (client fault)
|
|
96
|
+
* <p>Returned when you attempt a wallet operation against a Coinbase Marketplace connector whose account does not hold an active Marketplace subscription and is not within the legacy exception period. Subscribe to the Marketplace listing before you retry the operation.</p>
|
|
97
|
+
*
|
|
95
98
|
* @throws {@link ThrottlingException} (client fault)
|
|
96
99
|
* <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
|
|
97
100
|
*
|
|
@@ -42,7 +42,7 @@ declare const DeletePaymentInstrumentCommand_base: {
|
|
|
42
42
|
* const command = new DeletePaymentInstrumentCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // DeletePaymentInstrumentResponse
|
|
45
|
-
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
|
|
45
|
+
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED" || "BLOCKED", // required
|
|
46
46
|
* // };
|
|
47
47
|
*
|
|
48
48
|
* ```
|
|
@@ -103,7 +103,7 @@ declare const GetPaymentInstrumentCommand_base: {
|
|
|
103
103
|
* // },
|
|
104
104
|
* // },
|
|
105
105
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
106
|
-
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
|
|
106
|
+
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED" || "BLOCKED", // required
|
|
107
107
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
108
108
|
* // },
|
|
109
109
|
* // };
|
|
@@ -51,7 +51,7 @@ declare const ListPaymentInstrumentsCommand_base: {
|
|
|
51
51
|
* // paymentConnectorId: "STRING_VALUE", // required
|
|
52
52
|
* // userId: "STRING_VALUE", // required
|
|
53
53
|
* // paymentInstrumentType: "EMBEDDED_CRYPTO_WALLET", // required
|
|
54
|
-
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
|
|
54
|
+
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED" || "BLOCKED", // required
|
|
55
55
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
56
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
57
57
|
* // },
|
|
@@ -39,11 +39,19 @@ declare const ProcessPaymentCommand_base: {
|
|
|
39
39
|
* paymentManagerArn: "STRING_VALUE", // required
|
|
40
40
|
* paymentSessionId: "STRING_VALUE", // required
|
|
41
41
|
* paymentInstrumentId: "STRING_VALUE", // required
|
|
42
|
-
* paymentType: "CRYPTO_X402", // required
|
|
42
|
+
* paymentType: "CRYPTO_X402" || "MPP", // required
|
|
43
43
|
* paymentInput: { // PaymentInput Union: only one key present
|
|
44
44
|
* cryptoX402: { // CryptoX402PaymentInput
|
|
45
45
|
* version: "STRING_VALUE", // required
|
|
46
46
|
* payload: "DOCUMENT_VALUE", // required
|
|
47
|
+
* permit2AllowanceLimit: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* mpp: { // MppPaymentInput
|
|
50
|
+
* version: "STRING_VALUE", // required
|
|
51
|
+
* wwwAuthenticateHeaders: [ // WwwAuthenticateHeaderList // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* buyerPaysGasFees: true || false,
|
|
47
55
|
* },
|
|
48
56
|
* },
|
|
49
57
|
* clientToken: "STRING_VALUE",
|
|
@@ -55,13 +63,18 @@ declare const ProcessPaymentCommand_base: {
|
|
|
55
63
|
* // paymentManagerArn: "STRING_VALUE", // required
|
|
56
64
|
* // paymentSessionId: "STRING_VALUE", // required
|
|
57
65
|
* // paymentInstrumentId: "STRING_VALUE", // required
|
|
58
|
-
* // paymentType: "CRYPTO_X402", // required
|
|
66
|
+
* // paymentType: "CRYPTO_X402" || "MPP", // required
|
|
59
67
|
* // status: "PROOF_GENERATED", // required
|
|
60
68
|
* // paymentOutput: { // PaymentOutput Union: only one key present
|
|
61
69
|
* // cryptoX402: { // CryptoX402PaymentOutput
|
|
62
70
|
* // version: "STRING_VALUE", // required
|
|
63
71
|
* // payload: "DOCUMENT_VALUE", // required
|
|
64
72
|
* // },
|
|
73
|
+
* // mpp: { // MppPaymentOutput
|
|
74
|
+
* // version: "STRING_VALUE", // required
|
|
75
|
+
* // selectedPaymentId: "STRING_VALUE", // required
|
|
76
|
+
* // paymentCredential: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
65
78
|
* // },
|
|
66
79
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
67
80
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -84,9 +97,15 @@ declare const ProcessPaymentCommand_base: {
|
|
|
84
97
|
* @throws {@link InternalServerException} (server fault)
|
|
85
98
|
* <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
86
99
|
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
|
|
102
|
+
*
|
|
87
103
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
104
|
* <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
|
|
89
105
|
*
|
|
106
|
+
* @throws {@link SubscriptionRequiredException} (client fault)
|
|
107
|
+
* <p>Returned when you attempt a wallet operation against a Coinbase Marketplace connector whose account does not hold an active Marketplace subscription and is not within the legacy exception period. Subscribe to the Marketplace listing before you retry the operation.</p>
|
|
108
|
+
*
|
|
90
109
|
* @throws {@link ThrottlingException} (client fault)
|
|
91
110
|
* <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
|
|
92
111
|
*
|
|
@@ -640,6 +640,7 @@ export type PaymentInstrumentType = (typeof PaymentInstrumentType)[keyof typeof
|
|
|
640
640
|
*/
|
|
641
641
|
export declare const PaymentInstrumentStatus: {
|
|
642
642
|
readonly ACTIVE: "ACTIVE";
|
|
643
|
+
readonly BLOCKED: "BLOCKED";
|
|
643
644
|
readonly DELETED: "DELETED";
|
|
644
645
|
readonly FAILED: "FAILED";
|
|
645
646
|
readonly INITIATED: "INITIATED";
|
|
@@ -719,6 +720,7 @@ export type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof Pa
|
|
|
719
720
|
*/
|
|
720
721
|
export declare const PaymentType: {
|
|
721
722
|
readonly CRYPTO_X402: "CRYPTO_X402";
|
|
723
|
+
readonly MPP: "MPP";
|
|
722
724
|
};
|
|
723
725
|
/**
|
|
724
726
|
* @public
|
|
@@ -173,3 +173,25 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
173
173
|
*/
|
|
174
174
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
175
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* <p>Returned when you attempt a wallet operation against a Coinbase Marketplace connector whose account does not hold an active Marketplace subscription and is not within the legacy exception period. Subscribe to the Marketplace listing before you retry the operation.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export declare class SubscriptionRequiredException extends __BaseException {
|
|
181
|
+
readonly name: "SubscriptionRequiredException";
|
|
182
|
+
readonly $fault: "client";
|
|
183
|
+
/**
|
|
184
|
+
* <p>The URL to the Marketplace listing where you can subscribe.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
subscriptionUrl?: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* <p>The name of the product that requires a Marketplace subscription.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
productName?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
constructor(opts: __ExceptionOptionType<SubscriptionRequiredException, __BaseException>);
|
|
197
|
+
}
|