@aws-sdk/client-bedrock-agentcore 3.1172.0 → 3.1174.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 +65 -18
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +49 -17
- package/dist-types/commands/ProcessPaymentCommand.d.ts +18 -2
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_1.d.ts +107 -5
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/models_1.d.ts +42 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
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.1173.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -362,10 +362,14 @@ class SubscriptionRequiredException extends BedrockAgentCoreServiceException {
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
const _A = "Amount";
|
|
365
|
+
const _ABPO = "AwsBillingPaymentOptions";
|
|
366
|
+
const _ABPT = "AwsBillingPaymentToken";
|
|
365
367
|
const _ABTEC = "ABTestEvaluationConfig";
|
|
366
368
|
const _ABTR = "ABTestResults";
|
|
367
369
|
const _ABTS = "ABTestSummary";
|
|
368
370
|
const _ABTSL = "ABTestSummaryList";
|
|
371
|
+
const _ABXPI = "AwsBillingX402PaymentInput";
|
|
372
|
+
const _ABXPO = "AwsBillingX402PaymentOutput";
|
|
369
373
|
const _ACD = "AgentCardDefinition";
|
|
370
374
|
const _ACRI = "AgentCoreRuntimeInvocation";
|
|
371
375
|
const _ACRID = "AgentCoreRuntimeInvocationDetails";
|
|
@@ -494,6 +498,7 @@ const _DF = "DomainFilter";
|
|
|
494
498
|
const _DGS = "DatasetGenerationSummary";
|
|
495
499
|
const _DGSL = "DatasetGenerationSummaryList";
|
|
496
500
|
const _DIE = "DuplicateIdException";
|
|
501
|
+
const _DJ = "DpopJwk";
|
|
497
502
|
const _DMR = "DeleteMemoryRecord";
|
|
498
503
|
const _DMRI = "DeleteMemoryRecordInput";
|
|
499
504
|
const _DMRO = "DeleteMemoryRecordOutput";
|
|
@@ -1040,6 +1045,7 @@ const _XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id";
|
|
|
1040
1045
|
const _XATI = "X-Amzn-Trace-Id";
|
|
1041
1046
|
const _a = "a2a";
|
|
1042
1047
|
const _aB = "apiBase";
|
|
1048
|
+
const _aBX = "awsBillingX402";
|
|
1043
1049
|
const _aC = "agentCard";
|
|
1044
1050
|
const _aCB = "agentCoreBrowser";
|
|
1045
1051
|
const _aCCI = "agentCoreCodeInterpreter";
|
|
@@ -1167,7 +1173,8 @@ const _conf = "config";
|
|
|
1167
1173
|
const _confi = "confidence";
|
|
1168
1174
|
const _conv = "conversational";
|
|
1169
1175
|
const _cou = "count";
|
|
1170
|
-
const _cr = "
|
|
1176
|
+
const _cr = "crv";
|
|
1177
|
+
const _cre = "credentials";
|
|
1171
1178
|
const _cu = "currency";
|
|
1172
1179
|
const _cus = "custom";
|
|
1173
1180
|
const _d = "description";
|
|
@@ -1176,7 +1183,8 @@ const _dED = "datasetExecutionDetails";
|
|
|
1176
1183
|
const _dF = "domainFilter";
|
|
1177
1184
|
const _dG = "datasetGenerations";
|
|
1178
1185
|
const _dI = "datasetId";
|
|
1179
|
-
const _dJ = "
|
|
1186
|
+
const _dJ = "dpopJwk";
|
|
1187
|
+
const _dJe = "developerJwt";
|
|
1180
1188
|
const _dP = "domainPatterns";
|
|
1181
1189
|
const _dPi = "directoryPath";
|
|
1182
1190
|
const _dRU = "defaultReturnUrl";
|
|
@@ -1314,6 +1322,7 @@ const _kS = "keyShortcut";
|
|
|
1314
1322
|
const _kT = "keyType";
|
|
1315
1323
|
const _ke = "keys";
|
|
1316
1324
|
const _ki = "kid";
|
|
1325
|
+
const _kt = "kty";
|
|
1317
1326
|
const _l = "location";
|
|
1318
1327
|
const _lA = "linkedAccounts";
|
|
1319
1328
|
const _lGA = "logGroupArns";
|
|
@@ -1384,7 +1393,7 @@ const _na = "namespace";
|
|
|
1384
1393
|
const _nam = "namespaces";
|
|
1385
1394
|
const _ne = "network";
|
|
1386
1395
|
const _no = "none";
|
|
1387
|
-
const _o = "
|
|
1396
|
+
const _o = "options";
|
|
1388
1397
|
const _oA = "outboundAuth";
|
|
1389
1398
|
const _oAMC = "openAiModelConfig";
|
|
1390
1399
|
const _oAu = "oAuth2";
|
|
@@ -1395,6 +1404,7 @@ const _oECS = "onlineEvaluationConfigSource";
|
|
|
1395
1404
|
const _oF = "oauth2Flow";
|
|
1396
1405
|
const _oT = "outputTokens";
|
|
1397
1406
|
const _oa = "oauth";
|
|
1407
|
+
const _op = "operator";
|
|
1398
1408
|
const _p = "payload";
|
|
1399
1409
|
const _pA = "providerArn";
|
|
1400
1410
|
const _pAL = "permit2AllowanceLimit";
|
|
@@ -1422,9 +1432,10 @@ const _pPI = "processPaymentId";
|
|
|
1422
1432
|
const _pS = "paymentSession";
|
|
1423
1433
|
const _pSI = "paymentSessionId";
|
|
1424
1434
|
const _pSa = "paymentSessions";
|
|
1425
|
-
const _pT = "
|
|
1435
|
+
const _pT = "paymentToken";
|
|
1426
1436
|
const _pTR = "paymentTokenRequest";
|
|
1427
1437
|
const _pTRa = "paymentTokenResponse";
|
|
1438
|
+
const _pTa = "paymentType";
|
|
1428
1439
|
const _pV = "protocolVersion";
|
|
1429
1440
|
const _pVOEC = "perVariantOnlineEvaluationConfig";
|
|
1430
1441
|
const _pVa = "pValue";
|
|
@@ -1771,6 +1782,7 @@ const errorTypeRegistries = [
|
|
|
1771
1782
|
var AccessTokenType = [0, n0, _ATT, 8, 0];
|
|
1772
1783
|
var ApiKeyType = [0, n0, _AKT, 8, 0];
|
|
1773
1784
|
var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
|
|
1785
|
+
var AwsBillingPaymentToken = [0, n0, _ABPT, 8, 0];
|
|
1774
1786
|
var Body = [0, n0, _B, 8, 21];
|
|
1775
1787
|
var CoinbaseCdpPaymentJwtTokenType = [0, n0, _CCPJTT, 8, 0];
|
|
1776
1788
|
var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
|
|
@@ -1875,6 +1887,21 @@ var AvailableLimits$ = [3, n0, _AL,
|
|
|
1875
1887
|
[_aSA, _uA],
|
|
1876
1888
|
[() => Amount$, 5]
|
|
1877
1889
|
];
|
|
1890
|
+
var AwsBillingPaymentOptions$ = [3, n0, _ABPO,
|
|
1891
|
+
0,
|
|
1892
|
+
[_dJ],
|
|
1893
|
+
[() => DpopJwk$]
|
|
1894
|
+
];
|
|
1895
|
+
var AwsBillingX402PaymentInput$ = [3, n0, _ABXPI,
|
|
1896
|
+
0,
|
|
1897
|
+
[_ve, _p, _o],
|
|
1898
|
+
[0, [() => PaymentDocument, 0], () => AwsBillingPaymentOptions$], 2
|
|
1899
|
+
];
|
|
1900
|
+
var AwsBillingX402PaymentOutput$ = [3, n0, _ABXPO,
|
|
1901
|
+
0,
|
|
1902
|
+
[_ve, _pT],
|
|
1903
|
+
[0, [() => AwsBillingPaymentToken, 0]], 2
|
|
1904
|
+
];
|
|
1878
1905
|
var BasicAuth$ = [3, n0, _BA,
|
|
1879
1906
|
0,
|
|
1880
1907
|
[_sA],
|
|
@@ -1972,7 +1999,7 @@ var CloudWatchFilterConfig$ = [3, n0, _CWFC,
|
|
|
1972
1999
|
];
|
|
1973
2000
|
var CloudWatchLogsFilter$ = [3, n0, _CWLF,
|
|
1974
2001
|
0,
|
|
1975
|
-
[_k,
|
|
2002
|
+
[_k, _op, _v],
|
|
1976
2003
|
[0, 0, () => FilterValue$], 3
|
|
1977
2004
|
];
|
|
1978
2005
|
var CloudWatchLogsRule$ = [3, n0, _CWLR,
|
|
@@ -2260,6 +2287,11 @@ var DomainFilter$ = [3, n0, _DF,
|
|
|
2260
2287
|
[_in, _exc],
|
|
2261
2288
|
[64 | 0, 64 | 0]
|
|
2262
2289
|
];
|
|
2290
|
+
var DpopJwk$ = [3, n0, _DJ,
|
|
2291
|
+
0,
|
|
2292
|
+
[_kt, _cr, _x, _y],
|
|
2293
|
+
[0, 0, 0, 0], 4
|
|
2294
|
+
];
|
|
2263
2295
|
var EfsConfiguration$ = [3, n0, _EC,
|
|
2264
2296
|
0,
|
|
2265
2297
|
[_aPA, _mP, _fSA],
|
|
@@ -2307,7 +2339,7 @@ var Evaluator$ = [3, n0, _Ev,
|
|
|
2307
2339
|
];
|
|
2308
2340
|
var EvaluatorFilter$ = [3, n0, _EF,
|
|
2309
2341
|
0,
|
|
2310
|
-
[_eIv,
|
|
2342
|
+
[_eIv, _op, _v, _eDN, _ag],
|
|
2311
2343
|
[0, 0, () => GenerationFilterValue$, 0, 0], 3
|
|
2312
2344
|
];
|
|
2313
2345
|
var EvaluatorMetric$ = [3, n0, _EM,
|
|
@@ -2332,7 +2364,7 @@ var Event$ = [3, n0, _Eve,
|
|
|
2332
2364
|
];
|
|
2333
2365
|
var EventMetadataFilterExpression$ = [3, n0, _EMFE,
|
|
2334
2366
|
0,
|
|
2335
|
-
[_le,
|
|
2367
|
+
[_le, _op, _ri],
|
|
2336
2368
|
[() => LeftExpression$, 0, () => RightExpression$], 2
|
|
2337
2369
|
];
|
|
2338
2370
|
var ExecutionSummaryAffectedSession$ = [3, n0, _ESAS,
|
|
@@ -2352,7 +2384,7 @@ var ExecutionSummaryClusteringResultContent$ = [3, n0, _ESCRC,
|
|
|
2352
2384
|
];
|
|
2353
2385
|
var ExternalProxy$ = [3, n0, _EP,
|
|
2354
2386
|
0,
|
|
2355
|
-
[_se, _po, _dP,
|
|
2387
|
+
[_se, _po, _dP, _cre],
|
|
2356
2388
|
[0, 1, 64 | 0, () => ProxyCredentials$], 2
|
|
2357
2389
|
];
|
|
2358
2390
|
var ExtractionConfig$ = [3, n0, _ECx,
|
|
@@ -2407,7 +2439,7 @@ var GatewayFilter$ = [3, n0, _GF,
|
|
|
2407
2439
|
];
|
|
2408
2440
|
var GenerationAttributeFilter$ = [3, n0, _GAF,
|
|
2409
2441
|
0,
|
|
2410
|
-
[_k,
|
|
2442
|
+
[_k, _op, _v],
|
|
2411
2443
|
[0, 0, () => GenerationFilterValue$], 3
|
|
2412
2444
|
];
|
|
2413
2445
|
var GenerationErrorDetail$ = [3, n0, _GED,
|
|
@@ -3112,7 +3144,7 @@ var MemoryJsonData$ = [3, n0, _MJD,
|
|
|
3112
3144
|
];
|
|
3113
3145
|
var MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
|
|
3114
3146
|
0,
|
|
3115
|
-
[_le,
|
|
3147
|
+
[_le, _op, _ri],
|
|
3116
3148
|
[() => MemoryRecordLeftExpression$, 0, () => MemoryRecordRightExpression$], 2
|
|
3117
3149
|
];
|
|
3118
3150
|
var MemoryRecord$ = [3, n0, _MR,
|
|
@@ -3252,12 +3284,12 @@ var PerVariantOnlineEvaluationConfig$ = [3, n0, _PVOEC,
|
|
|
3252
3284
|
];
|
|
3253
3285
|
var ProcessPaymentRequest$ = [3, n0, _PPR,
|
|
3254
3286
|
0,
|
|
3255
|
-
[_pMA, _pSI, _pII,
|
|
3287
|
+
[_pMA, _pSI, _pII, _pTa, _pIaym, _uIs, _aNg, _cT],
|
|
3256
3288
|
[0, 0, 0, 0, [() => PaymentInput$, 0], [0, { [_hH]: _XABAPUI }], [0, { [_hH]: _XABAPAN }], [0, 4]], 5
|
|
3257
3289
|
];
|
|
3258
3290
|
var ProcessPaymentResponse$ = [3, n0, _PPRr,
|
|
3259
3291
|
0,
|
|
3260
|
-
[_pPI, _pMA, _pSI, _pII,
|
|
3292
|
+
[_pPI, _pMA, _pSI, _pII, _pTa, _sta, _pO, _cA, _uA],
|
|
3261
3293
|
[0, 0, 0, 0, 0, 0, [() => PaymentOutput$, 0], 5, 5], 9
|
|
3262
3294
|
];
|
|
3263
3295
|
var ProxyBypass$ = [3, n0, _PB,
|
|
@@ -4216,7 +4248,7 @@ var LeftExpression$ = [4, n0, _LE,
|
|
|
4216
4248
|
];
|
|
4217
4249
|
var LinkedAccount$ = [4, n0, _LA,
|
|
4218
4250
|
8,
|
|
4219
|
-
[_em, _sm,
|
|
4251
|
+
[_em, _sm, _dJe, _oAu],
|
|
4220
4252
|
[[() => LinkedAccountEmail$, 0], [() => LinkedAccountSms$, 0], () => LinkedAccountDeveloperJwt$, [() => LinkedAccountOAuth2$, 0]]
|
|
4221
4253
|
];
|
|
4222
4254
|
var LinkedAccountOAuth2$ = [4, n0, _LAOA,
|
|
@@ -4261,8 +4293,8 @@ var PayloadType$ = [4, n0, _PT,
|
|
|
4261
4293
|
];
|
|
4262
4294
|
var PaymentInput$ = [4, n0, _PIa,
|
|
4263
4295
|
0,
|
|
4264
|
-
[_cX, _mp],
|
|
4265
|
-
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput
|
|
4296
|
+
[_cX, _mp, _aBX],
|
|
4297
|
+
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput$, [() => AwsBillingX402PaymentInput$, 0]]
|
|
4266
4298
|
];
|
|
4267
4299
|
var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
4268
4300
|
0,
|
|
@@ -4271,8 +4303,8 @@ var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
|
4271
4303
|
];
|
|
4272
4304
|
var PaymentOutput$ = [4, n0, _PO,
|
|
4273
4305
|
0,
|
|
4274
|
-
[_cX, _mp],
|
|
4275
|
-
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0]]
|
|
4306
|
+
[_cX, _mp, _aBX],
|
|
4307
|
+
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0], [() => AwsBillingX402PaymentOutput$, 0]]
|
|
4276
4308
|
];
|
|
4277
4309
|
var PaymentTokenRequestInput$ = [4, n0, _PTRI,
|
|
4278
4310
|
0,
|
|
@@ -5552,7 +5584,16 @@ const PaymentSessionStatus = {
|
|
|
5552
5584
|
DELETED: "DELETED",
|
|
5553
5585
|
EXPIRED: "EXPIRED",
|
|
5554
5586
|
};
|
|
5587
|
+
const JwkEllipticCurve = {
|
|
5588
|
+
P256: "P-256",
|
|
5589
|
+
P384: "P-384",
|
|
5590
|
+
P521: "P-521",
|
|
5591
|
+
};
|
|
5592
|
+
const JwkKeyType = {
|
|
5593
|
+
EC: "EC",
|
|
5594
|
+
};
|
|
5555
5595
|
const PaymentType = {
|
|
5596
|
+
AWS_BILLING_X402: "AWS_BILLING_X402",
|
|
5556
5597
|
CRYPTO_X402: "CRYPTO_X402",
|
|
5557
5598
|
MPP: "MPP",
|
|
5558
5599
|
};
|
|
@@ -5598,6 +5639,9 @@ exports.AutomationStream$ = AutomationStream$;
|
|
|
5598
5639
|
exports.AutomationStreamStatus = AutomationStreamStatus;
|
|
5599
5640
|
exports.AutomationStreamUpdate$ = AutomationStreamUpdate$;
|
|
5600
5641
|
exports.AvailableLimits$ = AvailableLimits$;
|
|
5642
|
+
exports.AwsBillingPaymentOptions$ = AwsBillingPaymentOptions$;
|
|
5643
|
+
exports.AwsBillingX402PaymentInput$ = AwsBillingX402PaymentInput$;
|
|
5644
|
+
exports.AwsBillingX402PaymentOutput$ = AwsBillingX402PaymentOutput$;
|
|
5601
5645
|
exports.BasicAuth$ = BasicAuth$;
|
|
5602
5646
|
exports.BatchCreateMemoryRecords$ = BatchCreateMemoryRecords$;
|
|
5603
5647
|
exports.BatchCreateMemoryRecordsCommand = BatchCreateMemoryRecordsCommand;
|
|
@@ -5737,6 +5781,7 @@ exports.DeleteRecommendationResponse$ = DeleteRecommendationResponse$;
|
|
|
5737
5781
|
exports.DescriptorType = DescriptorType;
|
|
5738
5782
|
exports.Descriptors$ = Descriptors$;
|
|
5739
5783
|
exports.DomainFilter$ = DomainFilter$;
|
|
5784
|
+
exports.DpopJwk$ = DpopJwk$;
|
|
5740
5785
|
exports.DuplicateIdException = DuplicateIdException;
|
|
5741
5786
|
exports.DuplicateIdException$ = DuplicateIdException$;
|
|
5742
5787
|
exports.EfsConfiguration$ = EfsConfiguration$;
|
|
@@ -5974,6 +6019,8 @@ exports.InvokeWebSearch$ = InvokeWebSearch$;
|
|
|
5974
6019
|
exports.InvokeWebSearchCommand = InvokeWebSearchCommand;
|
|
5975
6020
|
exports.InvokeWebSearchInput$ = InvokeWebSearchInput$;
|
|
5976
6021
|
exports.InvokeWebSearchOutput$ = InvokeWebSearchOutput$;
|
|
6022
|
+
exports.JwkEllipticCurve = JwkEllipticCurve;
|
|
6023
|
+
exports.JwkKeyType = JwkKeyType;
|
|
5977
6024
|
exports.KeyPressArguments$ = KeyPressArguments$;
|
|
5978
6025
|
exports.KeyPressResult$ = KeyPressResult$;
|
|
5979
6026
|
exports.KeyShortcutArguments$ = KeyShortcutArguments$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -469,7 +469,16 @@ export const PaymentSessionStatus = {
|
|
|
469
469
|
DELETED: "DELETED",
|
|
470
470
|
EXPIRED: "EXPIRED",
|
|
471
471
|
};
|
|
472
|
+
export const JwkEllipticCurve = {
|
|
473
|
+
P256: "P-256",
|
|
474
|
+
P384: "P-384",
|
|
475
|
+
P521: "P-521",
|
|
476
|
+
};
|
|
477
|
+
export const JwkKeyType = {
|
|
478
|
+
EC: "EC",
|
|
479
|
+
};
|
|
472
480
|
export const PaymentType = {
|
|
481
|
+
AWS_BILLING_X402: "AWS_BILLING_X402",
|
|
473
482
|
CRYPTO_X402: "CRYPTO_X402",
|
|
474
483
|
MPP: "MPP",
|
|
475
484
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
const _A = "Amount";
|
|
2
|
+
const _ABPO = "AwsBillingPaymentOptions";
|
|
3
|
+
const _ABPT = "AwsBillingPaymentToken";
|
|
2
4
|
const _ABTEC = "ABTestEvaluationConfig";
|
|
3
5
|
const _ABTR = "ABTestResults";
|
|
4
6
|
const _ABTS = "ABTestSummary";
|
|
5
7
|
const _ABTSL = "ABTestSummaryList";
|
|
8
|
+
const _ABXPI = "AwsBillingX402PaymentInput";
|
|
9
|
+
const _ABXPO = "AwsBillingX402PaymentOutput";
|
|
6
10
|
const _ACD = "AgentCardDefinition";
|
|
7
11
|
const _ACRI = "AgentCoreRuntimeInvocation";
|
|
8
12
|
const _ACRID = "AgentCoreRuntimeInvocationDetails";
|
|
@@ -131,6 +135,7 @@ const _DF = "DomainFilter";
|
|
|
131
135
|
const _DGS = "DatasetGenerationSummary";
|
|
132
136
|
const _DGSL = "DatasetGenerationSummaryList";
|
|
133
137
|
const _DIE = "DuplicateIdException";
|
|
138
|
+
const _DJ = "DpopJwk";
|
|
134
139
|
const _DMR = "DeleteMemoryRecord";
|
|
135
140
|
const _DMRI = "DeleteMemoryRecordInput";
|
|
136
141
|
const _DMRO = "DeleteMemoryRecordOutput";
|
|
@@ -677,6 +682,7 @@ const _XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id";
|
|
|
677
682
|
const _XATI = "X-Amzn-Trace-Id";
|
|
678
683
|
const _a = "a2a";
|
|
679
684
|
const _aB = "apiBase";
|
|
685
|
+
const _aBX = "awsBillingX402";
|
|
680
686
|
const _aC = "agentCard";
|
|
681
687
|
const _aCB = "agentCoreBrowser";
|
|
682
688
|
const _aCCI = "agentCoreCodeInterpreter";
|
|
@@ -804,7 +810,8 @@ const _conf = "config";
|
|
|
804
810
|
const _confi = "confidence";
|
|
805
811
|
const _conv = "conversational";
|
|
806
812
|
const _cou = "count";
|
|
807
|
-
const _cr = "
|
|
813
|
+
const _cr = "crv";
|
|
814
|
+
const _cre = "credentials";
|
|
808
815
|
const _cu = "currency";
|
|
809
816
|
const _cus = "custom";
|
|
810
817
|
const _d = "description";
|
|
@@ -813,7 +820,8 @@ const _dED = "datasetExecutionDetails";
|
|
|
813
820
|
const _dF = "domainFilter";
|
|
814
821
|
const _dG = "datasetGenerations";
|
|
815
822
|
const _dI = "datasetId";
|
|
816
|
-
const _dJ = "
|
|
823
|
+
const _dJ = "dpopJwk";
|
|
824
|
+
const _dJe = "developerJwt";
|
|
817
825
|
const _dP = "domainPatterns";
|
|
818
826
|
const _dPi = "directoryPath";
|
|
819
827
|
const _dRU = "defaultReturnUrl";
|
|
@@ -951,6 +959,7 @@ const _kS = "keyShortcut";
|
|
|
951
959
|
const _kT = "keyType";
|
|
952
960
|
const _ke = "keys";
|
|
953
961
|
const _ki = "kid";
|
|
962
|
+
const _kt = "kty";
|
|
954
963
|
const _l = "location";
|
|
955
964
|
const _lA = "linkedAccounts";
|
|
956
965
|
const _lGA = "logGroupArns";
|
|
@@ -1021,7 +1030,7 @@ const _na = "namespace";
|
|
|
1021
1030
|
const _nam = "namespaces";
|
|
1022
1031
|
const _ne = "network";
|
|
1023
1032
|
const _no = "none";
|
|
1024
|
-
const _o = "
|
|
1033
|
+
const _o = "options";
|
|
1025
1034
|
const _oA = "outboundAuth";
|
|
1026
1035
|
const _oAMC = "openAiModelConfig";
|
|
1027
1036
|
const _oAu = "oAuth2";
|
|
@@ -1032,6 +1041,7 @@ const _oECS = "onlineEvaluationConfigSource";
|
|
|
1032
1041
|
const _oF = "oauth2Flow";
|
|
1033
1042
|
const _oT = "outputTokens";
|
|
1034
1043
|
const _oa = "oauth";
|
|
1044
|
+
const _op = "operator";
|
|
1035
1045
|
const _p = "payload";
|
|
1036
1046
|
const _pA = "providerArn";
|
|
1037
1047
|
const _pAL = "permit2AllowanceLimit";
|
|
@@ -1059,9 +1069,10 @@ const _pPI = "processPaymentId";
|
|
|
1059
1069
|
const _pS = "paymentSession";
|
|
1060
1070
|
const _pSI = "paymentSessionId";
|
|
1061
1071
|
const _pSa = "paymentSessions";
|
|
1062
|
-
const _pT = "
|
|
1072
|
+
const _pT = "paymentToken";
|
|
1063
1073
|
const _pTR = "paymentTokenRequest";
|
|
1064
1074
|
const _pTRa = "paymentTokenResponse";
|
|
1075
|
+
const _pTa = "paymentType";
|
|
1065
1076
|
const _pV = "protocolVersion";
|
|
1066
1077
|
const _pVOEC = "perVariantOnlineEvaluationConfig";
|
|
1067
1078
|
const _pVa = "pValue";
|
|
@@ -1411,6 +1422,7 @@ export const errorTypeRegistries = [
|
|
|
1411
1422
|
var AccessTokenType = [0, n0, _ATT, 8, 0];
|
|
1412
1423
|
var ApiKeyType = [0, n0, _AKT, 8, 0];
|
|
1413
1424
|
var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
|
|
1425
|
+
var AwsBillingPaymentToken = [0, n0, _ABPT, 8, 0];
|
|
1414
1426
|
var Body = [0, n0, _B, 8, 21];
|
|
1415
1427
|
var CoinbaseCdpPaymentJwtTokenType = [0, n0, _CCPJTT, 8, 0];
|
|
1416
1428
|
var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
|
|
@@ -1515,6 +1527,21 @@ export var AvailableLimits$ = [3, n0, _AL,
|
|
|
1515
1527
|
[_aSA, _uA],
|
|
1516
1528
|
[() => Amount$, 5]
|
|
1517
1529
|
];
|
|
1530
|
+
export var AwsBillingPaymentOptions$ = [3, n0, _ABPO,
|
|
1531
|
+
0,
|
|
1532
|
+
[_dJ],
|
|
1533
|
+
[() => DpopJwk$]
|
|
1534
|
+
];
|
|
1535
|
+
export var AwsBillingX402PaymentInput$ = [3, n0, _ABXPI,
|
|
1536
|
+
0,
|
|
1537
|
+
[_ve, _p, _o],
|
|
1538
|
+
[0, [() => PaymentDocument, 0], () => AwsBillingPaymentOptions$], 2
|
|
1539
|
+
];
|
|
1540
|
+
export var AwsBillingX402PaymentOutput$ = [3, n0, _ABXPO,
|
|
1541
|
+
0,
|
|
1542
|
+
[_ve, _pT],
|
|
1543
|
+
[0, [() => AwsBillingPaymentToken, 0]], 2
|
|
1544
|
+
];
|
|
1518
1545
|
export var BasicAuth$ = [3, n0, _BA,
|
|
1519
1546
|
0,
|
|
1520
1547
|
[_sA],
|
|
@@ -1612,7 +1639,7 @@ export var CloudWatchFilterConfig$ = [3, n0, _CWFC,
|
|
|
1612
1639
|
];
|
|
1613
1640
|
export var CloudWatchLogsFilter$ = [3, n0, _CWLF,
|
|
1614
1641
|
0,
|
|
1615
|
-
[_k,
|
|
1642
|
+
[_k, _op, _v],
|
|
1616
1643
|
[0, 0, () => FilterValue$], 3
|
|
1617
1644
|
];
|
|
1618
1645
|
export var CloudWatchLogsRule$ = [3, n0, _CWLR,
|
|
@@ -1900,6 +1927,11 @@ export var DomainFilter$ = [3, n0, _DF,
|
|
|
1900
1927
|
[_in, _exc],
|
|
1901
1928
|
[64 | 0, 64 | 0]
|
|
1902
1929
|
];
|
|
1930
|
+
export var DpopJwk$ = [3, n0, _DJ,
|
|
1931
|
+
0,
|
|
1932
|
+
[_kt, _cr, _x, _y],
|
|
1933
|
+
[0, 0, 0, 0], 4
|
|
1934
|
+
];
|
|
1903
1935
|
export var EfsConfiguration$ = [3, n0, _EC,
|
|
1904
1936
|
0,
|
|
1905
1937
|
[_aPA, _mP, _fSA],
|
|
@@ -1947,7 +1979,7 @@ export var Evaluator$ = [3, n0, _Ev,
|
|
|
1947
1979
|
];
|
|
1948
1980
|
export var EvaluatorFilter$ = [3, n0, _EF,
|
|
1949
1981
|
0,
|
|
1950
|
-
[_eIv,
|
|
1982
|
+
[_eIv, _op, _v, _eDN, _ag],
|
|
1951
1983
|
[0, 0, () => GenerationFilterValue$, 0, 0], 3
|
|
1952
1984
|
];
|
|
1953
1985
|
export var EvaluatorMetric$ = [3, n0, _EM,
|
|
@@ -1972,7 +2004,7 @@ export var Event$ = [3, n0, _Eve,
|
|
|
1972
2004
|
];
|
|
1973
2005
|
export var EventMetadataFilterExpression$ = [3, n0, _EMFE,
|
|
1974
2006
|
0,
|
|
1975
|
-
[_le,
|
|
2007
|
+
[_le, _op, _ri],
|
|
1976
2008
|
[() => LeftExpression$, 0, () => RightExpression$], 2
|
|
1977
2009
|
];
|
|
1978
2010
|
export var ExecutionSummaryAffectedSession$ = [3, n0, _ESAS,
|
|
@@ -1992,7 +2024,7 @@ export var ExecutionSummaryClusteringResultContent$ = [3, n0, _ESCRC,
|
|
|
1992
2024
|
];
|
|
1993
2025
|
export var ExternalProxy$ = [3, n0, _EP,
|
|
1994
2026
|
0,
|
|
1995
|
-
[_se, _po, _dP,
|
|
2027
|
+
[_se, _po, _dP, _cre],
|
|
1996
2028
|
[0, 1, 64 | 0, () => ProxyCredentials$], 2
|
|
1997
2029
|
];
|
|
1998
2030
|
export var ExtractionConfig$ = [3, n0, _ECx,
|
|
@@ -2047,7 +2079,7 @@ export var GatewayFilter$ = [3, n0, _GF,
|
|
|
2047
2079
|
];
|
|
2048
2080
|
export var GenerationAttributeFilter$ = [3, n0, _GAF,
|
|
2049
2081
|
0,
|
|
2050
|
-
[_k,
|
|
2082
|
+
[_k, _op, _v],
|
|
2051
2083
|
[0, 0, () => GenerationFilterValue$], 3
|
|
2052
2084
|
];
|
|
2053
2085
|
export var GenerationErrorDetail$ = [3, n0, _GED,
|
|
@@ -2752,7 +2784,7 @@ export var MemoryJsonData$ = [3, n0, _MJD,
|
|
|
2752
2784
|
];
|
|
2753
2785
|
export var MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
|
|
2754
2786
|
0,
|
|
2755
|
-
[_le,
|
|
2787
|
+
[_le, _op, _ri],
|
|
2756
2788
|
[() => MemoryRecordLeftExpression$, 0, () => MemoryRecordRightExpression$], 2
|
|
2757
2789
|
];
|
|
2758
2790
|
export var MemoryRecord$ = [3, n0, _MR,
|
|
@@ -2892,12 +2924,12 @@ export var PerVariantOnlineEvaluationConfig$ = [3, n0, _PVOEC,
|
|
|
2892
2924
|
];
|
|
2893
2925
|
export var ProcessPaymentRequest$ = [3, n0, _PPR,
|
|
2894
2926
|
0,
|
|
2895
|
-
[_pMA, _pSI, _pII,
|
|
2927
|
+
[_pMA, _pSI, _pII, _pTa, _pIaym, _uIs, _aNg, _cT],
|
|
2896
2928
|
[0, 0, 0, 0, [() => PaymentInput$, 0], [0, { [_hH]: _XABAPUI }], [0, { [_hH]: _XABAPAN }], [0, 4]], 5
|
|
2897
2929
|
];
|
|
2898
2930
|
export var ProcessPaymentResponse$ = [3, n0, _PPRr,
|
|
2899
2931
|
0,
|
|
2900
|
-
[_pPI, _pMA, _pSI, _pII,
|
|
2932
|
+
[_pPI, _pMA, _pSI, _pII, _pTa, _sta, _pO, _cA, _uA],
|
|
2901
2933
|
[0, 0, 0, 0, 0, 0, [() => PaymentOutput$, 0], 5, 5], 9
|
|
2902
2934
|
];
|
|
2903
2935
|
export var ProxyBypass$ = [3, n0, _PB,
|
|
@@ -3894,7 +3926,7 @@ export var LeftExpression$ = [4, n0, _LE,
|
|
|
3894
3926
|
];
|
|
3895
3927
|
export var LinkedAccount$ = [4, n0, _LA,
|
|
3896
3928
|
8,
|
|
3897
|
-
[_em, _sm,
|
|
3929
|
+
[_em, _sm, _dJe, _oAu],
|
|
3898
3930
|
[[() => LinkedAccountEmail$, 0], [() => LinkedAccountSms$, 0], () => LinkedAccountDeveloperJwt$, [() => LinkedAccountOAuth2$, 0]]
|
|
3899
3931
|
];
|
|
3900
3932
|
export var LinkedAccountOAuth2$ = [4, n0, _LAOA,
|
|
@@ -3939,8 +3971,8 @@ export var PayloadType$ = [4, n0, _PT,
|
|
|
3939
3971
|
];
|
|
3940
3972
|
export var PaymentInput$ = [4, n0, _PIa,
|
|
3941
3973
|
0,
|
|
3942
|
-
[_cX, _mp],
|
|
3943
|
-
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput
|
|
3974
|
+
[_cX, _mp, _aBX],
|
|
3975
|
+
[[() => CryptoX402PaymentInput$, 0], () => MppPaymentInput$, [() => AwsBillingX402PaymentInput$, 0]]
|
|
3944
3976
|
];
|
|
3945
3977
|
export var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
3946
3978
|
0,
|
|
@@ -3949,8 +3981,8 @@ export var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
|
3949
3981
|
];
|
|
3950
3982
|
export var PaymentOutput$ = [4, n0, _PO,
|
|
3951
3983
|
0,
|
|
3952
|
-
[_cX, _mp],
|
|
3953
|
-
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0]]
|
|
3984
|
+
[_cX, _mp, _aBX],
|
|
3985
|
+
[[() => CryptoX402PaymentOutput$, 0], [() => MppPaymentOutput$, 0], [() => AwsBillingX402PaymentOutput$, 0]]
|
|
3954
3986
|
];
|
|
3955
3987
|
export var PaymentTokenRequestInput$ = [4, n0, _PTRI,
|
|
3956
3988
|
0,
|
|
@@ -39,7 +39,7 @@ 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" || "MPP", // required
|
|
42
|
+
* paymentType: "CRYPTO_X402" || "MPP" || "AWS_BILLING_X402", // required
|
|
43
43
|
* paymentInput: { // PaymentInput Union: only one key present
|
|
44
44
|
* cryptoX402: { // CryptoX402PaymentInput
|
|
45
45
|
* version: "STRING_VALUE", // required
|
|
@@ -53,6 +53,18 @@ declare const ProcessPaymentCommand_base: {
|
|
|
53
53
|
* ],
|
|
54
54
|
* buyerPaysGasFees: true || false,
|
|
55
55
|
* },
|
|
56
|
+
* awsBillingX402: { // AwsBillingX402PaymentInput
|
|
57
|
+
* version: "STRING_VALUE", // required
|
|
58
|
+
* payload: "DOCUMENT_VALUE", // required
|
|
59
|
+
* options: { // AwsBillingPaymentOptions
|
|
60
|
+
* dpopJwk: { // DpopJwk
|
|
61
|
+
* kty: "EC", // required
|
|
62
|
+
* crv: "P-256" || "P-384" || "P-521", // required
|
|
63
|
+
* x: "STRING_VALUE", // required
|
|
64
|
+
* y: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
56
68
|
* },
|
|
57
69
|
* clientToken: "STRING_VALUE",
|
|
58
70
|
* };
|
|
@@ -63,7 +75,7 @@ declare const ProcessPaymentCommand_base: {
|
|
|
63
75
|
* // paymentManagerArn: "STRING_VALUE", // required
|
|
64
76
|
* // paymentSessionId: "STRING_VALUE", // required
|
|
65
77
|
* // paymentInstrumentId: "STRING_VALUE", // required
|
|
66
|
-
* // paymentType: "CRYPTO_X402" || "MPP", // required
|
|
78
|
+
* // paymentType: "CRYPTO_X402" || "MPP" || "AWS_BILLING_X402", // required
|
|
67
79
|
* // status: "PROOF_GENERATED", // required
|
|
68
80
|
* // paymentOutput: { // PaymentOutput Union: only one key present
|
|
69
81
|
* // cryptoX402: { // CryptoX402PaymentOutput
|
|
@@ -75,6 +87,10 @@ declare const ProcessPaymentCommand_base: {
|
|
|
75
87
|
* // selectedPaymentId: "STRING_VALUE", // required
|
|
76
88
|
* // paymentCredential: "STRING_VALUE", // required
|
|
77
89
|
* // },
|
|
90
|
+
* // awsBillingX402: { // AwsBillingX402PaymentOutput
|
|
91
|
+
* // version: "STRING_VALUE", // required
|
|
92
|
+
* // paymentToken: "STRING_VALUE", // required
|
|
93
|
+
* // },
|
|
78
94
|
* // },
|
|
79
95
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
80
96
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -1037,11 +1037,36 @@ export declare const PaymentSessionStatus: {
|
|
|
1037
1037
|
* @public
|
|
1038
1038
|
*/
|
|
1039
1039
|
export type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
|
|
1040
|
+
/**
|
|
1041
|
+
* @public
|
|
1042
|
+
* @enum
|
|
1043
|
+
*/
|
|
1044
|
+
export declare const JwkEllipticCurve: {
|
|
1045
|
+
readonly P256: "P-256";
|
|
1046
|
+
readonly P384: "P-384";
|
|
1047
|
+
readonly P521: "P-521";
|
|
1048
|
+
};
|
|
1049
|
+
/**
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
export type JwkEllipticCurve = (typeof JwkEllipticCurve)[keyof typeof JwkEllipticCurve];
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* @enum
|
|
1056
|
+
*/
|
|
1057
|
+
export declare const JwkKeyType: {
|
|
1058
|
+
readonly EC: "EC";
|
|
1059
|
+
};
|
|
1060
|
+
/**
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
export type JwkKeyType = (typeof JwkKeyType)[keyof typeof JwkKeyType];
|
|
1040
1064
|
/**
|
|
1041
1065
|
* @public
|
|
1042
1066
|
* @enum
|
|
1043
1067
|
*/
|
|
1044
1068
|
export declare const PaymentType: {
|
|
1069
|
+
readonly AWS_BILLING_X402: "AWS_BILLING_X402";
|
|
1045
1070
|
readonly CRYPTO_X402: "CRYPTO_X402";
|
|
1046
1071
|
readonly MPP: "MPP";
|
|
1047
1072
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, ExtractionMode, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InstrumentBalanceToken, MemoryRecordOperatorType, MemoryRecordStatus, OAuthGrantType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RecordExpiryAction, RegistryRecordStatus, Role } from "./enums";
|
|
2
|
+
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, ExtractionMode, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InstrumentBalanceToken, JwkEllipticCurve, JwkKeyType, MemoryRecordOperatorType, MemoryRecordStatus, OAuthGrantType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RecordExpiryAction, RegistryRecordStatus, Role } from "./enums";
|
|
3
3
|
import type { InternalServerException, RuntimeClientError, ValidationException } from "./errors";
|
|
4
4
|
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, HarnessAgentCoreBrowserConfig, HarnessMessage, HarnessModelConfiguration, HarnessSkill, HarnessSystemContentBlock, Unit } from "./models_0";
|
|
5
5
|
/**
|
|
@@ -3906,6 +3906,64 @@ export interface ListPaymentSessionsResponse {
|
|
|
3906
3906
|
*/
|
|
3907
3907
|
nextToken?: string | undefined;
|
|
3908
3908
|
}
|
|
3909
|
+
/**
|
|
3910
|
+
* <p>An elliptic curve public key in JSON Web Key (JWK) format, as described in RFC 7518 section 6.2, used to bind a payment token to the agent.</p>
|
|
3911
|
+
* @public
|
|
3912
|
+
*/
|
|
3913
|
+
export interface DpopJwk {
|
|
3914
|
+
/**
|
|
3915
|
+
* <p>The key type. The only valid value is <code>EC</code>.</p>
|
|
3916
|
+
* @public
|
|
3917
|
+
*/
|
|
3918
|
+
kty: JwkKeyType | undefined;
|
|
3919
|
+
/**
|
|
3920
|
+
* <p>The elliptic curve of the key.</p>
|
|
3921
|
+
* @public
|
|
3922
|
+
*/
|
|
3923
|
+
crv: JwkEllipticCurve | undefined;
|
|
3924
|
+
/**
|
|
3925
|
+
* <p>The x-coordinate of the elliptic curve point, base64url-encoded.</p>
|
|
3926
|
+
* @public
|
|
3927
|
+
*/
|
|
3928
|
+
x: string | undefined;
|
|
3929
|
+
/**
|
|
3930
|
+
* <p>The y-coordinate of the elliptic curve point, base64url-encoded.</p>
|
|
3931
|
+
* @public
|
|
3932
|
+
*/
|
|
3933
|
+
y: string | undefined;
|
|
3934
|
+
}
|
|
3935
|
+
/**
|
|
3936
|
+
* <p>Optional settings for an AWS Billing payment.</p>
|
|
3937
|
+
* @public
|
|
3938
|
+
*/
|
|
3939
|
+
export interface AwsBillingPaymentOptions {
|
|
3940
|
+
/**
|
|
3941
|
+
* <p>The agent's public key for Demonstrating Proof of Possession (DPoP), as described in RFC 9449. If you specify a key, the payment token is bound to it, and the seller can verify that the token is presented by the holder of the matching private key. If you don't specify a key, the payment token isn't bound to a key.</p>
|
|
3942
|
+
* @public
|
|
3943
|
+
*/
|
|
3944
|
+
dpopJwk?: DpopJwk | undefined;
|
|
3945
|
+
}
|
|
3946
|
+
/**
|
|
3947
|
+
* <p>The input for an AWS Billing x402 payment. The payment pays an AWS Marketplace seller's x402 (HTTP 402) payment requirement and is billed to the AWS account that owns the payment manager, through the payment manager's AWS Billing payment connector.</p>
|
|
3948
|
+
* @public
|
|
3949
|
+
*/
|
|
3950
|
+
export interface AwsBillingX402PaymentInput {
|
|
3951
|
+
/**
|
|
3952
|
+
* <p>The x402 protocol version of the seller's HTTP 402 response, from its <code>x402Version</code> field. For example, <code>2</code>.</p>
|
|
3953
|
+
* @public
|
|
3954
|
+
*/
|
|
3955
|
+
version: string | undefined;
|
|
3956
|
+
/**
|
|
3957
|
+
* <p>The seller's x402 payment requirement for AWS Billing, passed unchanged as a JSON object. The service reads the seller-signed quote token from <code>extra.quoteToken</code> and returns a <code>ValidationException</code> if it is missing or invalid. Any change to the quote token invalidates its signature.</p>
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
payload: __DocumentType | undefined;
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>Optional settings for the AWS Billing payment.</p>
|
|
3963
|
+
* @public
|
|
3964
|
+
*/
|
|
3965
|
+
options?: AwsBillingPaymentOptions | undefined;
|
|
3966
|
+
}
|
|
3909
3967
|
/**
|
|
3910
3968
|
* <p>The input for a crypto X402 payment.</p>
|
|
3911
3969
|
* @public
|
|
@@ -3952,7 +4010,7 @@ export interface MppPaymentInput {
|
|
|
3952
4010
|
* <p>The payment input details, which vary by payment type.</p>
|
|
3953
4011
|
* @public
|
|
3954
4012
|
*/
|
|
3955
|
-
export type PaymentInput = PaymentInput.CryptoX402Member | PaymentInput.MppMember | PaymentInput.$UnknownMember;
|
|
4013
|
+
export type PaymentInput = PaymentInput.AwsBillingX402Member | PaymentInput.CryptoX402Member | PaymentInput.MppMember | PaymentInput.$UnknownMember;
|
|
3956
4014
|
/**
|
|
3957
4015
|
* @public
|
|
3958
4016
|
*/
|
|
@@ -3964,6 +4022,7 @@ export declare namespace PaymentInput {
|
|
|
3964
4022
|
interface CryptoX402Member {
|
|
3965
4023
|
cryptoX402: CryptoX402PaymentInput;
|
|
3966
4024
|
mpp?: never;
|
|
4025
|
+
awsBillingX402?: never;
|
|
3967
4026
|
$unknown?: never;
|
|
3968
4027
|
}
|
|
3969
4028
|
/**
|
|
@@ -3973,6 +4032,17 @@ export declare namespace PaymentInput {
|
|
|
3973
4032
|
interface MppMember {
|
|
3974
4033
|
cryptoX402?: never;
|
|
3975
4034
|
mpp: MppPaymentInput;
|
|
4035
|
+
awsBillingX402?: never;
|
|
4036
|
+
$unknown?: never;
|
|
4037
|
+
}
|
|
4038
|
+
/**
|
|
4039
|
+
* <p>Input for an AWS Billing x402 payment, which pays an AWS Marketplace seller's quote and charges it to the AWS account that owns the payment manager.</p>
|
|
4040
|
+
* @public
|
|
4041
|
+
*/
|
|
4042
|
+
interface AwsBillingX402Member {
|
|
4043
|
+
cryptoX402?: never;
|
|
4044
|
+
mpp?: never;
|
|
4045
|
+
awsBillingX402: AwsBillingX402PaymentInput;
|
|
3976
4046
|
$unknown?: never;
|
|
3977
4047
|
}
|
|
3978
4048
|
/**
|
|
@@ -3981,6 +4051,7 @@ export declare namespace PaymentInput {
|
|
|
3981
4051
|
interface $UnknownMember {
|
|
3982
4052
|
cryptoX402?: never;
|
|
3983
4053
|
mpp?: never;
|
|
4054
|
+
awsBillingX402?: never;
|
|
3984
4055
|
$unknown: [string, any];
|
|
3985
4056
|
}
|
|
3986
4057
|
/**
|
|
@@ -3990,6 +4061,7 @@ export declare namespace PaymentInput {
|
|
|
3990
4061
|
interface Visitor<T> {
|
|
3991
4062
|
cryptoX402: (value: CryptoX402PaymentInput) => T;
|
|
3992
4063
|
mpp: (value: MppPaymentInput) => T;
|
|
4064
|
+
awsBillingX402: (value: AwsBillingX402PaymentInput) => T;
|
|
3993
4065
|
_: (name: string, value: any) => T;
|
|
3994
4066
|
}
|
|
3995
4067
|
}
|
|
@@ -4019,7 +4091,7 @@ export interface ProcessPaymentRequest {
|
|
|
4019
4091
|
*/
|
|
4020
4092
|
paymentSessionId: string | undefined;
|
|
4021
4093
|
/**
|
|
4022
|
-
* <p>The ID of the payment instrument to use.</p>
|
|
4094
|
+
* <p>The ID of the payment instrument to use. For the <code>CRYPTO_X402</code> and <code>MPP</code> payment types, specify the ID of a payment instrument that you created. For the <code>AWS_BILLING_X402</code> payment type, specify the service-managed instrument ID <code>aws.agentcorepayments.awsbilling.v1</code>. You don't create this instrument; it's available for any payment manager that has an AWS Billing payment connector.</p>
|
|
4023
4095
|
* @public
|
|
4024
4096
|
*/
|
|
4025
4097
|
paymentInstrumentId: string | undefined;
|
|
@@ -4039,6 +4111,22 @@ export interface ProcessPaymentRequest {
|
|
|
4039
4111
|
*/
|
|
4040
4112
|
clientToken?: string | undefined;
|
|
4041
4113
|
}
|
|
4114
|
+
/**
|
|
4115
|
+
* <p>The output of an AWS Billing x402 payment.</p>
|
|
4116
|
+
* @public
|
|
4117
|
+
*/
|
|
4118
|
+
export interface AwsBillingX402PaymentOutput {
|
|
4119
|
+
/**
|
|
4120
|
+
* <p>The x402 protocol version. This is the same value as the <code>version</code> in the request.</p>
|
|
4121
|
+
* @public
|
|
4122
|
+
*/
|
|
4123
|
+
version: string | undefined;
|
|
4124
|
+
/**
|
|
4125
|
+
* <p>The payment token, a signed JSON Web Token (JWT). Include it when you retry your request to the seller. Treat the payment token as a credential: don't log or share it.</p>
|
|
4126
|
+
* @public
|
|
4127
|
+
*/
|
|
4128
|
+
paymentToken: string | undefined;
|
|
4129
|
+
}
|
|
4042
4130
|
/**
|
|
4043
4131
|
* <p>The output from a crypto X402 payment.</p>
|
|
4044
4132
|
* @public
|
|
@@ -4080,7 +4168,7 @@ export interface MppPaymentOutput {
|
|
|
4080
4168
|
* <p>The payment output details, which vary by payment type.</p>
|
|
4081
4169
|
* @public
|
|
4082
4170
|
*/
|
|
4083
|
-
export type PaymentOutput = PaymentOutput.CryptoX402Member | PaymentOutput.MppMember | PaymentOutput.$UnknownMember;
|
|
4171
|
+
export type PaymentOutput = PaymentOutput.AwsBillingX402Member | PaymentOutput.CryptoX402Member | PaymentOutput.MppMember | PaymentOutput.$UnknownMember;
|
|
4084
4172
|
/**
|
|
4085
4173
|
* @public
|
|
4086
4174
|
*/
|
|
@@ -4092,6 +4180,7 @@ export declare namespace PaymentOutput {
|
|
|
4092
4180
|
interface CryptoX402Member {
|
|
4093
4181
|
cryptoX402: CryptoX402PaymentOutput;
|
|
4094
4182
|
mpp?: never;
|
|
4183
|
+
awsBillingX402?: never;
|
|
4095
4184
|
$unknown?: never;
|
|
4096
4185
|
}
|
|
4097
4186
|
/**
|
|
@@ -4101,6 +4190,17 @@ export declare namespace PaymentOutput {
|
|
|
4101
4190
|
interface MppMember {
|
|
4102
4191
|
cryptoX402?: never;
|
|
4103
4192
|
mpp: MppPaymentOutput;
|
|
4193
|
+
awsBillingX402?: never;
|
|
4194
|
+
$unknown?: never;
|
|
4195
|
+
}
|
|
4196
|
+
/**
|
|
4197
|
+
* <p>Output from an AWS Billing x402 payment.</p>
|
|
4198
|
+
* @public
|
|
4199
|
+
*/
|
|
4200
|
+
interface AwsBillingX402Member {
|
|
4201
|
+
cryptoX402?: never;
|
|
4202
|
+
mpp?: never;
|
|
4203
|
+
awsBillingX402: AwsBillingX402PaymentOutput;
|
|
4104
4204
|
$unknown?: never;
|
|
4105
4205
|
}
|
|
4106
4206
|
/**
|
|
@@ -4109,6 +4209,7 @@ export declare namespace PaymentOutput {
|
|
|
4109
4209
|
interface $UnknownMember {
|
|
4110
4210
|
cryptoX402?: never;
|
|
4111
4211
|
mpp?: never;
|
|
4212
|
+
awsBillingX402?: never;
|
|
4112
4213
|
$unknown: [string, any];
|
|
4113
4214
|
}
|
|
4114
4215
|
/**
|
|
@@ -4118,6 +4219,7 @@ export declare namespace PaymentOutput {
|
|
|
4118
4219
|
interface Visitor<T> {
|
|
4119
4220
|
cryptoX402: (value: CryptoX402PaymentOutput) => T;
|
|
4120
4221
|
mpp: (value: MppPaymentOutput) => T;
|
|
4222
|
+
awsBillingX402: (value: AwsBillingX402PaymentOutput) => T;
|
|
4121
4223
|
_: (name: string, value: any) => T;
|
|
4122
4224
|
}
|
|
4123
4225
|
}
|
|
@@ -4142,7 +4244,7 @@ export interface ProcessPaymentResponse {
|
|
|
4142
4244
|
*/
|
|
4143
4245
|
paymentSessionId: string | undefined;
|
|
4144
4246
|
/**
|
|
4145
|
-
* <p>The ID of the payment instrument used
|
|
4247
|
+
* <p>The ID of the payment instrument used. For the <code>AWS_BILLING_X402</code> payment type, this is the service-managed instrument ID <code>aws.agentcorepayments.awsbilling.v1</code>.</p>
|
|
4146
4248
|
* @public
|
|
4147
4249
|
*/
|
|
4148
4250
|
paymentInstrumentId: string | undefined;
|
|
@@ -37,6 +37,9 @@ export declare var Amount$: StaticStructureSchema;
|
|
|
37
37
|
export declare var AutomationStream$: StaticStructureSchema;
|
|
38
38
|
export declare var AutomationStreamUpdate$: StaticStructureSchema;
|
|
39
39
|
export declare var AvailableLimits$: StaticStructureSchema;
|
|
40
|
+
export declare var AwsBillingPaymentOptions$: StaticStructureSchema;
|
|
41
|
+
export declare var AwsBillingX402PaymentInput$: StaticStructureSchema;
|
|
42
|
+
export declare var AwsBillingX402PaymentOutput$: StaticStructureSchema;
|
|
40
43
|
export declare var BasicAuth$: StaticStructureSchema;
|
|
41
44
|
export declare var BatchCreateMemoryRecordsInput$: StaticStructureSchema;
|
|
42
45
|
export declare var BatchCreateMemoryRecordsOutput$: StaticStructureSchema;
|
|
@@ -114,6 +117,7 @@ export declare var DeleteRecommendationRequest$: StaticStructureSchema;
|
|
|
114
117
|
export declare var DeleteRecommendationResponse$: StaticStructureSchema;
|
|
115
118
|
export declare var Descriptors$: StaticStructureSchema;
|
|
116
119
|
export declare var DomainFilter$: StaticStructureSchema;
|
|
120
|
+
export declare var DpopJwk$: StaticStructureSchema;
|
|
117
121
|
export declare var EfsConfiguration$: StaticStructureSchema;
|
|
118
122
|
export declare var EmbeddedCryptoWallet$: StaticStructureSchema;
|
|
119
123
|
export declare var EvaluateRequest$: StaticStructureSchema;
|
|
@@ -553,7 +553,18 @@ export declare const PaymentSessionStatus: {
|
|
|
553
553
|
readonly EXPIRED: "EXPIRED";
|
|
554
554
|
};
|
|
555
555
|
export type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
|
|
556
|
+
export declare const JwkEllipticCurve: {
|
|
557
|
+
readonly P256: "P-256";
|
|
558
|
+
readonly P384: "P-384";
|
|
559
|
+
readonly P521: "P-521";
|
|
560
|
+
};
|
|
561
|
+
export type JwkEllipticCurve = (typeof JwkEllipticCurve)[keyof typeof JwkEllipticCurve];
|
|
562
|
+
export declare const JwkKeyType: {
|
|
563
|
+
readonly EC: "EC";
|
|
564
|
+
};
|
|
565
|
+
export type JwkKeyType = (typeof JwkKeyType)[keyof typeof JwkKeyType];
|
|
556
566
|
export declare const PaymentType: {
|
|
567
|
+
readonly AWS_BILLING_X402: "AWS_BILLING_X402";
|
|
557
568
|
readonly CRYPTO_X402: "CRYPTO_X402";
|
|
558
569
|
readonly MPP: "MPP";
|
|
559
570
|
};
|
|
@@ -15,6 +15,8 @@ import {
|
|
|
15
15
|
HarnessToolUseStatus,
|
|
16
16
|
HarnessToolUseType,
|
|
17
17
|
InstrumentBalanceToken,
|
|
18
|
+
JwkEllipticCurve,
|
|
19
|
+
JwkKeyType,
|
|
18
20
|
MemoryRecordOperatorType,
|
|
19
21
|
MemoryRecordStatus,
|
|
20
22
|
OAuthGrantType,
|
|
@@ -1508,6 +1510,20 @@ export interface ListPaymentSessionsResponse {
|
|
|
1508
1510
|
paymentSessions: PaymentSessionSummary[] | undefined;
|
|
1509
1511
|
nextToken?: string | undefined;
|
|
1510
1512
|
}
|
|
1513
|
+
export interface DpopJwk {
|
|
1514
|
+
kty: JwkKeyType | undefined;
|
|
1515
|
+
crv: JwkEllipticCurve | undefined;
|
|
1516
|
+
x: string | undefined;
|
|
1517
|
+
y: string | undefined;
|
|
1518
|
+
}
|
|
1519
|
+
export interface AwsBillingPaymentOptions {
|
|
1520
|
+
dpopJwk?: DpopJwk | undefined;
|
|
1521
|
+
}
|
|
1522
|
+
export interface AwsBillingX402PaymentInput {
|
|
1523
|
+
version: string | undefined;
|
|
1524
|
+
payload: __DocumentType | undefined;
|
|
1525
|
+
options?: AwsBillingPaymentOptions | undefined;
|
|
1526
|
+
}
|
|
1511
1527
|
export interface CryptoX402PaymentInput {
|
|
1512
1528
|
version: string | undefined;
|
|
1513
1529
|
payload: __DocumentType | undefined;
|
|
@@ -1519,6 +1535,7 @@ export interface MppPaymentInput {
|
|
|
1519
1535
|
buyerPaysGasFees?: boolean | undefined;
|
|
1520
1536
|
}
|
|
1521
1537
|
export type PaymentInput =
|
|
1538
|
+
| PaymentInput.AwsBillingX402Member
|
|
1522
1539
|
| PaymentInput.CryptoX402Member
|
|
1523
1540
|
| PaymentInput.MppMember
|
|
1524
1541
|
| PaymentInput.$UnknownMember;
|
|
@@ -1526,21 +1543,31 @@ export declare namespace PaymentInput {
|
|
|
1526
1543
|
interface CryptoX402Member {
|
|
1527
1544
|
cryptoX402: CryptoX402PaymentInput;
|
|
1528
1545
|
mpp?: never;
|
|
1546
|
+
awsBillingX402?: never;
|
|
1529
1547
|
$unknown?: never;
|
|
1530
1548
|
}
|
|
1531
1549
|
interface MppMember {
|
|
1532
1550
|
cryptoX402?: never;
|
|
1533
1551
|
mpp: MppPaymentInput;
|
|
1552
|
+
awsBillingX402?: never;
|
|
1553
|
+
$unknown?: never;
|
|
1554
|
+
}
|
|
1555
|
+
interface AwsBillingX402Member {
|
|
1556
|
+
cryptoX402?: never;
|
|
1557
|
+
mpp?: never;
|
|
1558
|
+
awsBillingX402: AwsBillingX402PaymentInput;
|
|
1534
1559
|
$unknown?: never;
|
|
1535
1560
|
}
|
|
1536
1561
|
interface $UnknownMember {
|
|
1537
1562
|
cryptoX402?: never;
|
|
1538
1563
|
mpp?: never;
|
|
1564
|
+
awsBillingX402?: never;
|
|
1539
1565
|
$unknown: [string, any];
|
|
1540
1566
|
}
|
|
1541
1567
|
interface Visitor<T> {
|
|
1542
1568
|
cryptoX402: (value: CryptoX402PaymentInput) => T;
|
|
1543
1569
|
mpp: (value: MppPaymentInput) => T;
|
|
1570
|
+
awsBillingX402: (value: AwsBillingX402PaymentInput) => T;
|
|
1544
1571
|
_: (name: string, value: any) => T;
|
|
1545
1572
|
}
|
|
1546
1573
|
}
|
|
@@ -1554,6 +1581,10 @@ export interface ProcessPaymentRequest {
|
|
|
1554
1581
|
paymentInput: PaymentInput | undefined;
|
|
1555
1582
|
clientToken?: string | undefined;
|
|
1556
1583
|
}
|
|
1584
|
+
export interface AwsBillingX402PaymentOutput {
|
|
1585
|
+
version: string | undefined;
|
|
1586
|
+
paymentToken: string | undefined;
|
|
1587
|
+
}
|
|
1557
1588
|
export interface CryptoX402PaymentOutput {
|
|
1558
1589
|
version: string | undefined;
|
|
1559
1590
|
payload: __DocumentType | undefined;
|
|
@@ -1564,6 +1595,7 @@ export interface MppPaymentOutput {
|
|
|
1564
1595
|
paymentCredential: string | undefined;
|
|
1565
1596
|
}
|
|
1566
1597
|
export type PaymentOutput =
|
|
1598
|
+
| PaymentOutput.AwsBillingX402Member
|
|
1567
1599
|
| PaymentOutput.CryptoX402Member
|
|
1568
1600
|
| PaymentOutput.MppMember
|
|
1569
1601
|
| PaymentOutput.$UnknownMember;
|
|
@@ -1571,21 +1603,31 @@ export declare namespace PaymentOutput {
|
|
|
1571
1603
|
interface CryptoX402Member {
|
|
1572
1604
|
cryptoX402: CryptoX402PaymentOutput;
|
|
1573
1605
|
mpp?: never;
|
|
1606
|
+
awsBillingX402?: never;
|
|
1574
1607
|
$unknown?: never;
|
|
1575
1608
|
}
|
|
1576
1609
|
interface MppMember {
|
|
1577
1610
|
cryptoX402?: never;
|
|
1578
1611
|
mpp: MppPaymentOutput;
|
|
1612
|
+
awsBillingX402?: never;
|
|
1613
|
+
$unknown?: never;
|
|
1614
|
+
}
|
|
1615
|
+
interface AwsBillingX402Member {
|
|
1616
|
+
cryptoX402?: never;
|
|
1617
|
+
mpp?: never;
|
|
1618
|
+
awsBillingX402: AwsBillingX402PaymentOutput;
|
|
1579
1619
|
$unknown?: never;
|
|
1580
1620
|
}
|
|
1581
1621
|
interface $UnknownMember {
|
|
1582
1622
|
cryptoX402?: never;
|
|
1583
1623
|
mpp?: never;
|
|
1624
|
+
awsBillingX402?: never;
|
|
1584
1625
|
$unknown: [string, any];
|
|
1585
1626
|
}
|
|
1586
1627
|
interface Visitor<T> {
|
|
1587
1628
|
cryptoX402: (value: CryptoX402PaymentOutput) => T;
|
|
1588
1629
|
mpp: (value: MppPaymentOutput) => T;
|
|
1630
|
+
awsBillingX402: (value: AwsBillingX402PaymentOutput) => T;
|
|
1589
1631
|
_: (name: string, value: any) => T;
|
|
1590
1632
|
}
|
|
1591
1633
|
}
|
|
@@ -37,6 +37,9 @@ export declare var Amount$: StaticStructureSchema;
|
|
|
37
37
|
export declare var AutomationStream$: StaticStructureSchema;
|
|
38
38
|
export declare var AutomationStreamUpdate$: StaticStructureSchema;
|
|
39
39
|
export declare var AvailableLimits$: StaticStructureSchema;
|
|
40
|
+
export declare var AwsBillingPaymentOptions$: StaticStructureSchema;
|
|
41
|
+
export declare var AwsBillingX402PaymentInput$: StaticStructureSchema;
|
|
42
|
+
export declare var AwsBillingX402PaymentOutput$: StaticStructureSchema;
|
|
40
43
|
export declare var BasicAuth$: StaticStructureSchema;
|
|
41
44
|
export declare var BatchCreateMemoryRecordsInput$: StaticStructureSchema;
|
|
42
45
|
export declare var BatchCreateMemoryRecordsOutput$: StaticStructureSchema;
|
|
@@ -114,6 +117,7 @@ export declare var DeleteRecommendationRequest$: StaticStructureSchema;
|
|
|
114
117
|
export declare var DeleteRecommendationResponse$: StaticStructureSchema;
|
|
115
118
|
export declare var Descriptors$: StaticStructureSchema;
|
|
116
119
|
export declare var DomainFilter$: StaticStructureSchema;
|
|
120
|
+
export declare var DpopJwk$: StaticStructureSchema;
|
|
117
121
|
export declare var EfsConfiguration$: StaticStructureSchema;
|
|
118
122
|
export declare var EmbeddedCryptoWallet$: StaticStructureSchema;
|
|
119
123
|
export declare var EvaluateRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1174.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
|
|
6
6
|
"license": "Apache-2.0",
|