@aws-sdk/client-bedrock-agentcore-control 3.936.0 → 3.938.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 CHANGED
@@ -424,6 +424,8 @@ const _GGRe = "GetGatewayResponse";
424
424
  const _GGT = "GetGatewayTarget";
425
425
  const _GGTR = "GetGatewayTargetRequest";
426
426
  const _GGTRe = "GetGatewayTargetResponse";
427
+ const _GIC = "GatewayInterceptorConfiguration";
428
+ const _GICa = "GatewayInterceptorConfigurations";
427
429
  const _GM = "GetMemory";
428
430
  const _GMI = "GetMemoryInput";
429
431
  const _GMO = "GetMemoryOutput";
@@ -448,6 +450,8 @@ const _GWIR = "GetWorkloadIdentityRequest";
448
450
  const _GWIRe = "GetWorkloadIdentityResponse";
449
451
  const _IC = "InvocationConfiguration";
450
452
  const _ICI = "InvocationConfigurationInput";
453
+ const _ICn = "InterceptorConfiguration";
454
+ const _IIC = "InterceptorInputConfiguration";
451
455
  const _IOPCI = "IncludedOauth2ProviderConfigInput";
452
456
  const _IOPCO = "IncludedOauth2ProviderConfigOutput";
453
457
  const _IP = "InlinePayload";
@@ -478,6 +482,7 @@ const _LGRi = "ListGatewaysResponse";
478
482
  const _LGT = "ListGatewayTargets";
479
483
  const _LGTR = "ListGatewayTargetsRequest";
480
484
  const _LGTRi = "ListGatewayTargetsResponse";
485
+ const _LIC = "LambdaInterceptorConfiguration";
481
486
  const _LM = "ListMemories";
482
487
  const _LMI = "ListMemoriesInput";
483
488
  const _LMO = "ListMemoriesOutput";
@@ -709,14 +714,18 @@ const _hCWS = "historicalContextWindowSize";
709
714
  const _hE = "httpError";
710
715
  const _hQ = "httpQuery";
711
716
  const _i = "id";
712
- const _iC = "invocationConfiguration";
717
+ const _iC = "interceptorConfigurations";
718
+ const _iCn = "inputConfiguration";
719
+ const _iCnv = "invocationConfiguration";
713
720
  const _iOPC = "includedOauth2ProviderConfig";
714
- const _iP = "inlinePayload";
721
+ const _iP = "interceptionPoints";
722
+ const _iPn = "inlinePayload";
715
723
  const _iRST = "idleRuntimeSessionTimeout";
716
724
  const _iS = "inputSchema";
717
725
  const _iST = "idleSessionTimeout";
718
726
  const _iT = "idempotencyToken";
719
- const _in = "instructions";
727
+ const _in = "interceptor";
728
+ const _ins = "instructions";
720
729
  const _is = "issuer";
721
730
  const _it = "items";
722
731
  const _kC = "kmsConfiguration";
@@ -763,6 +772,7 @@ const _p = "prefix";
763
772
  const _pA = "providerArn";
764
773
  const _pC = "protocolConfiguration";
765
774
  const _pDBN = "payloadDeliveryBucketName";
775
+ const _pRH = "passRequestHeaders";
766
776
  const _pT = "protocolType";
767
777
  const _pr = "properties";
768
778
  const _r = "runtime";
@@ -1048,7 +1058,7 @@ var CreateGatewayRequest = [
1048
1058
  n0,
1049
1059
  _CGR,
1050
1060
  0,
1051
- [_n, _d, _cTl, _rA, _pT, _pC, _aT, _aC, _kKA, _eL, _t],
1061
+ [_n, _d, _cTl, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _eL, _t],
1052
1062
  [
1053
1063
  [() => GatewayName, 0],
1054
1064
  [() => GatewayDescription, 0],
@@ -1059,6 +1069,7 @@ var CreateGatewayRequest = [
1059
1069
  0,
1060
1070
  () => AuthorizerConfiguration,
1061
1071
  0,
1072
+ () => GatewayInterceptorConfigurations,
1062
1073
  0,
1063
1074
  128 | 0,
1064
1075
  ],
@@ -1068,7 +1079,7 @@ var CreateGatewayResponse = [
1068
1079
  n0,
1069
1080
  _CGRr,
1070
1081
  0,
1071
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
1082
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
1072
1083
  [
1073
1084
  0,
1074
1085
  0,
@@ -1085,6 +1096,7 @@ var CreateGatewayResponse = [
1085
1096
  0,
1086
1097
  () => AuthorizerConfiguration,
1087
1098
  0,
1099
+ () => GatewayInterceptorConfigurations,
1088
1100
  () => WorkloadIdentityDetails,
1089
1101
  0,
1090
1102
  ],
@@ -1363,6 +1375,14 @@ var GatewayApiKeyCredentialProvider = [
1363
1375
  [_pA, _cPN, _cPr, _cL],
1364
1376
  [0, 0, 0, 0],
1365
1377
  ];
1378
+ var GatewayInterceptorConfiguration = [
1379
+ 3,
1380
+ n0,
1381
+ _GIC,
1382
+ 0,
1383
+ [_in, _iP, _iCn],
1384
+ [() => InterceptorConfiguration, 64 | 0, () => InterceptorInputConfiguration],
1385
+ ];
1366
1386
  var GatewaySummary = [
1367
1387
  3,
1368
1388
  n0,
@@ -1498,7 +1518,7 @@ var GetGatewayResponse = [
1498
1518
  n0,
1499
1519
  _GGRe,
1500
1520
  0,
1501
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
1521
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
1502
1522
  [
1503
1523
  0,
1504
1524
  0,
@@ -1515,6 +1535,7 @@ var GetGatewayResponse = [
1515
1535
  0,
1516
1536
  () => AuthorizerConfiguration,
1517
1537
  0,
1538
+ () => GatewayInterceptorConfigurations,
1518
1539
  () => WorkloadIdentityDetails,
1519
1540
  0,
1520
1541
  ],
@@ -1627,6 +1648,7 @@ var IncludedOauth2ProviderConfigOutput = [
1627
1648
  [_oD, _cI],
1628
1649
  [() => Oauth2Discovery, 0],
1629
1650
  ];
1651
+ var InterceptorInputConfiguration = [3, n0, _IIC, 0, [_pRH], [2]];
1630
1652
  var InternalServerException = [
1631
1653
  -3,
1632
1654
  n0,
@@ -1642,6 +1664,7 @@ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServe
1642
1664
  var InvocationConfiguration = [3, n0, _IC, 0, [_tA, _pDBN], [0, 0]];
1643
1665
  var InvocationConfigurationInput = [3, n0, _ICI, 0, [_tA, _pDBN], [0, 0]];
1644
1666
  var KmsConfiguration = [3, n0, _KC, 0, [_kT, _kKA], [0, 0]];
1667
+ var LambdaInterceptorConfiguration = [3, n0, _LIC, 0, [_a], [0]];
1645
1668
  var LifecycleConfiguration = [3, n0, _LC, 0, [_iRST, _mL], [1, 1]];
1646
1669
  var LinkedinOauth2ProviderConfigInput = [
1647
1670
  3,
@@ -1908,7 +1931,7 @@ var ListWorkloadIdentitiesResponse = [
1908
1931
  [_wI, _nT],
1909
1932
  [() => WorkloadIdentityList, 0],
1910
1933
  ];
1911
- var MCPGatewayConfiguration = [3, n0, _MCPGC, 0, [_sV, _in, _sT], [64 | 0, 0, 0]];
1934
+ var MCPGatewayConfiguration = [3, n0, _MCPGC, 0, [_sV, _ins, _sT], [64 | 0, 0, 0]];
1912
1935
  var McpLambdaTargetConfiguration = [3, n0, _MLTC, 0, [_lA, _tS], [0, () => ToolSchema]];
1913
1936
  var McpServerTargetConfiguration = [3, n0, _MSTC, 0, [_end], [0]];
1914
1937
  var Memory = [
@@ -1968,7 +1991,7 @@ var ModifySelfManagedConfiguration = [
1968
1991
  n0,
1969
1992
  _MSMC,
1970
1993
  0,
1971
- [_tCr, _iC, _hCWS],
1994
+ [_tCr, _iCnv, _hCWS],
1972
1995
  [() => TriggerConditionInputList, () => ModifyInvocationConfigurationInput, 1],
1973
1996
  ];
1974
1997
  var ModifyStrategyConfiguration = [
@@ -2066,7 +2089,7 @@ var SelfManagedConfiguration = [
2066
2089
  n0,
2067
2090
  _SMC,
2068
2091
  0,
2069
- [_tCr, _iC, _hCWS],
2092
+ [_tCr, _iCnv, _hCWS],
2070
2093
  [() => TriggerConditionsList, () => InvocationConfiguration, 1],
2071
2094
  ];
2072
2095
  var SelfManagedConfigurationInput = [
@@ -2074,7 +2097,7 @@ var SelfManagedConfigurationInput = [
2074
2097
  n0,
2075
2098
  _SMCI,
2076
2099
  0,
2077
- [_tCr, _iC, _hCWS],
2100
+ [_tCr, _iCnv, _hCWS],
2078
2101
  [() => TriggerConditionInputList, () => InvocationConfigurationInput, 1],
2079
2102
  ];
2080
2103
  var SemanticConsolidationOverride = [
@@ -2366,7 +2389,7 @@ var UpdateGatewayRequest = [
2366
2389
  n0,
2367
2390
  _UGR,
2368
2391
  0,
2369
- [_gIa, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _eL],
2392
+ [_gIa, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _eL],
2370
2393
  [
2371
2394
  [0, 1],
2372
2395
  [() => GatewayName, 0],
@@ -2377,6 +2400,7 @@ var UpdateGatewayRequest = [
2377
2400
  0,
2378
2401
  () => AuthorizerConfiguration,
2379
2402
  0,
2403
+ () => GatewayInterceptorConfigurations,
2380
2404
  0,
2381
2405
  ],
2382
2406
  ];
@@ -2385,7 +2409,7 @@ var UpdateGatewayResponse = [
2385
2409
  n0,
2386
2410
  _UGRp,
2387
2411
  0,
2388
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
2412
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
2389
2413
  [
2390
2414
  0,
2391
2415
  0,
@@ -2402,6 +2426,7 @@ var UpdateGatewayResponse = [
2402
2426
  0,
2403
2427
  () => AuthorizerConfiguration,
2404
2428
  0,
2429
+ () => GatewayInterceptorConfigurations,
2405
2430
  () => WorkloadIdentityDetails,
2406
2431
  0,
2407
2432
  ],
@@ -2564,6 +2589,13 @@ var CredentialProviderConfigurations = [
2564
2589
  [() => CredentialProviderConfiguration, 0],
2565
2590
  ];
2566
2591
  var DeleteMemoryStrategiesList = [1, n0, _DMSL, 0, () => DeleteMemoryStrategyInput];
2592
+ var GatewayInterceptorConfigurations = [
2593
+ 1,
2594
+ n0,
2595
+ _GICa,
2596
+ 0,
2597
+ () => GatewayInterceptorConfiguration,
2598
+ ];
2567
2599
  var GatewaySummaries = [1, n0, _GSa, 0, [() => GatewaySummary, 0]];
2568
2600
  var GatewayTargetList = [1, n0, _GTL, 0, [() => GatewayTarget, 0]];
2569
2601
  var MemoryStrategyInputList = [1, n0, _MSIL, 0, [() => MemoryStrategyInput, 0]];
@@ -2593,7 +2625,7 @@ var ApiSchemaConfiguration = [
2593
2625
  n0,
2594
2626
  _ASC,
2595
2627
  0,
2596
- [_s_, _iP],
2628
+ [_s_, _iPn],
2597
2629
  [() => S3Configuration, [() => InlinePayload, 0]],
2598
2630
  ];
2599
2631
  var AuthorizerConfiguration = [
@@ -2696,6 +2728,14 @@ var GatewayProtocolConfiguration = [
2696
2728
  [_mc],
2697
2729
  [() => MCPGatewayConfiguration],
2698
2730
  ];
2731
+ var InterceptorConfiguration = [
2732
+ 3,
2733
+ n0,
2734
+ _ICn,
2735
+ 0,
2736
+ [_l],
2737
+ [() => LambdaInterceptorConfiguration],
2738
+ ];
2699
2739
  var McpTargetConfiguration = [
2700
2740
  3,
2701
2741
  n0,
@@ -2789,7 +2829,7 @@ var ToolSchema = [
2789
2829
  n0,
2790
2830
  _TSo,
2791
2831
  0,
2792
- [_s_, _iP],
2832
+ [_s_, _iPn],
2793
2833
  [() => S3Configuration, () => ToolDefinitions],
2794
2834
  ];
2795
2835
  var TriggerCondition = [
@@ -4220,10 +4260,15 @@ const CodeInterpreterStatus = {
4220
4260
  const AuthorizerType = {
4221
4261
  AWS_IAM: "AWS_IAM",
4222
4262
  CUSTOM_JWT: "CUSTOM_JWT",
4263
+ NONE: "NONE",
4223
4264
  };
4224
4265
  const ExceptionLevel = {
4225
4266
  DEBUG: "DEBUG",
4226
4267
  };
4268
+ const GatewayInterceptionPoint = {
4269
+ REQUEST: "REQUEST",
4270
+ RESPONSE: "RESPONSE",
4271
+ };
4227
4272
  const SearchType = {
4228
4273
  SEMANTIC: "SEMANTIC",
4229
4274
  };
@@ -4369,6 +4414,7 @@ exports.DeleteOauth2CredentialProviderCommand = DeleteOauth2CredentialProviderCo
4369
4414
  exports.DeleteWorkloadIdentityCommand = DeleteWorkloadIdentityCommand;
4370
4415
  exports.EncryptionFailure = EncryptionFailure$1;
4371
4416
  exports.ExceptionLevel = ExceptionLevel;
4417
+ exports.GatewayInterceptionPoint = GatewayInterceptionPoint;
4372
4418
  exports.GatewayProtocolType = GatewayProtocolType;
4373
4419
  exports.GatewayStatus = GatewayStatus;
4374
4420
  exports.GetAgentRuntimeCommand = GetAgentRuntimeCommand;
@@ -68,10 +68,15 @@ export const CodeInterpreterStatus = {
68
68
  export const AuthorizerType = {
69
69
  AWS_IAM: "AWS_IAM",
70
70
  CUSTOM_JWT: "CUSTOM_JWT",
71
+ NONE: "NONE",
71
72
  };
72
73
  export const ExceptionLevel = {
73
74
  DEBUG: "DEBUG",
74
75
  };
76
+ export const GatewayInterceptionPoint = {
77
+ REQUEST: "REQUEST",
78
+ RESPONSE: "RESPONSE",
79
+ };
75
80
  export const SearchType = {
76
81
  SEMANTIC: "SEMANTIC",
77
82
  };
@@ -129,6 +129,8 @@ const _GGRe = "GetGatewayResponse";
129
129
  const _GGT = "GetGatewayTarget";
130
130
  const _GGTR = "GetGatewayTargetRequest";
131
131
  const _GGTRe = "GetGatewayTargetResponse";
132
+ const _GIC = "GatewayInterceptorConfiguration";
133
+ const _GICa = "GatewayInterceptorConfigurations";
132
134
  const _GM = "GetMemory";
133
135
  const _GMI = "GetMemoryInput";
134
136
  const _GMO = "GetMemoryOutput";
@@ -153,6 +155,8 @@ const _GWIR = "GetWorkloadIdentityRequest";
153
155
  const _GWIRe = "GetWorkloadIdentityResponse";
154
156
  const _IC = "InvocationConfiguration";
155
157
  const _ICI = "InvocationConfigurationInput";
158
+ const _ICn = "InterceptorConfiguration";
159
+ const _IIC = "InterceptorInputConfiguration";
156
160
  const _IOPCI = "IncludedOauth2ProviderConfigInput";
157
161
  const _IOPCO = "IncludedOauth2ProviderConfigOutput";
158
162
  const _IP = "InlinePayload";
@@ -183,6 +187,7 @@ const _LGRi = "ListGatewaysResponse";
183
187
  const _LGT = "ListGatewayTargets";
184
188
  const _LGTR = "ListGatewayTargetsRequest";
185
189
  const _LGTRi = "ListGatewayTargetsResponse";
190
+ const _LIC = "LambdaInterceptorConfiguration";
186
191
  const _LM = "ListMemories";
187
192
  const _LMI = "ListMemoriesInput";
188
193
  const _LMO = "ListMemoriesOutput";
@@ -414,14 +419,18 @@ const _hCWS = "historicalContextWindowSize";
414
419
  const _hE = "httpError";
415
420
  const _hQ = "httpQuery";
416
421
  const _i = "id";
417
- const _iC = "invocationConfiguration";
422
+ const _iC = "interceptorConfigurations";
423
+ const _iCn = "inputConfiguration";
424
+ const _iCnv = "invocationConfiguration";
418
425
  const _iOPC = "includedOauth2ProviderConfig";
419
- const _iP = "inlinePayload";
426
+ const _iP = "interceptionPoints";
427
+ const _iPn = "inlinePayload";
420
428
  const _iRST = "idleRuntimeSessionTimeout";
421
429
  const _iS = "inputSchema";
422
430
  const _iST = "idleSessionTimeout";
423
431
  const _iT = "idempotencyToken";
424
- const _in = "instructions";
432
+ const _in = "interceptor";
433
+ const _ins = "instructions";
425
434
  const _is = "issuer";
426
435
  const _it = "items";
427
436
  const _kC = "kmsConfiguration";
@@ -468,6 +477,7 @@ const _p = "prefix";
468
477
  const _pA = "providerArn";
469
478
  const _pC = "protocolConfiguration";
470
479
  const _pDBN = "payloadDeliveryBucketName";
480
+ const _pRH = "passRequestHeaders";
471
481
  const _pT = "protocolType";
472
482
  const _pr = "properties";
473
483
  const _r = "runtime";
@@ -756,7 +766,7 @@ export var CreateGatewayRequest = [
756
766
  n0,
757
767
  _CGR,
758
768
  0,
759
- [_n, _d, _cTl, _rA, _pT, _pC, _aT, _aC, _kKA, _eL, _t],
769
+ [_n, _d, _cTl, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _eL, _t],
760
770
  [
761
771
  [() => GatewayName, 0],
762
772
  [() => GatewayDescription, 0],
@@ -767,6 +777,7 @@ export var CreateGatewayRequest = [
767
777
  0,
768
778
  () => AuthorizerConfiguration,
769
779
  0,
780
+ () => GatewayInterceptorConfigurations,
770
781
  0,
771
782
  128 | 0,
772
783
  ],
@@ -776,7 +787,7 @@ export var CreateGatewayResponse = [
776
787
  n0,
777
788
  _CGRr,
778
789
  0,
779
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
790
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
780
791
  [
781
792
  0,
782
793
  0,
@@ -793,6 +804,7 @@ export var CreateGatewayResponse = [
793
804
  0,
794
805
  () => AuthorizerConfiguration,
795
806
  0,
807
+ () => GatewayInterceptorConfigurations,
796
808
  () => WorkloadIdentityDetails,
797
809
  0,
798
810
  ],
@@ -1071,6 +1083,14 @@ export var GatewayApiKeyCredentialProvider = [
1071
1083
  [_pA, _cPN, _cPr, _cL],
1072
1084
  [0, 0, 0, 0],
1073
1085
  ];
1086
+ export var GatewayInterceptorConfiguration = [
1087
+ 3,
1088
+ n0,
1089
+ _GIC,
1090
+ 0,
1091
+ [_in, _iP, _iCn],
1092
+ [() => InterceptorConfiguration, 64 | 0, () => InterceptorInputConfiguration],
1093
+ ];
1074
1094
  export var GatewaySummary = [
1075
1095
  3,
1076
1096
  n0,
@@ -1206,7 +1226,7 @@ export var GetGatewayResponse = [
1206
1226
  n0,
1207
1227
  _GGRe,
1208
1228
  0,
1209
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
1229
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
1210
1230
  [
1211
1231
  0,
1212
1232
  0,
@@ -1223,6 +1243,7 @@ export var GetGatewayResponse = [
1223
1243
  0,
1224
1244
  () => AuthorizerConfiguration,
1225
1245
  0,
1246
+ () => GatewayInterceptorConfigurations,
1226
1247
  () => WorkloadIdentityDetails,
1227
1248
  0,
1228
1249
  ],
@@ -1335,6 +1356,7 @@ export var IncludedOauth2ProviderConfigOutput = [
1335
1356
  [_oD, _cI],
1336
1357
  [() => Oauth2Discovery, 0],
1337
1358
  ];
1359
+ export var InterceptorInputConfiguration = [3, n0, _IIC, 0, [_pRH], [2]];
1338
1360
  export var InternalServerException = [
1339
1361
  -3,
1340
1362
  n0,
@@ -1350,6 +1372,7 @@ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerExce
1350
1372
  export var InvocationConfiguration = [3, n0, _IC, 0, [_tA, _pDBN], [0, 0]];
1351
1373
  export var InvocationConfigurationInput = [3, n0, _ICI, 0, [_tA, _pDBN], [0, 0]];
1352
1374
  export var KmsConfiguration = [3, n0, _KC, 0, [_kT, _kKA], [0, 0]];
1375
+ export var LambdaInterceptorConfiguration = [3, n0, _LIC, 0, [_a], [0]];
1353
1376
  export var LifecycleConfiguration = [3, n0, _LC, 0, [_iRST, _mL], [1, 1]];
1354
1377
  export var LinkedinOauth2ProviderConfigInput = [
1355
1378
  3,
@@ -1616,7 +1639,7 @@ export var ListWorkloadIdentitiesResponse = [
1616
1639
  [_wI, _nT],
1617
1640
  [() => WorkloadIdentityList, 0],
1618
1641
  ];
1619
- export var MCPGatewayConfiguration = [3, n0, _MCPGC, 0, [_sV, _in, _sT], [64 | 0, 0, 0]];
1642
+ export var MCPGatewayConfiguration = [3, n0, _MCPGC, 0, [_sV, _ins, _sT], [64 | 0, 0, 0]];
1620
1643
  export var McpLambdaTargetConfiguration = [3, n0, _MLTC, 0, [_lA, _tS], [0, () => ToolSchema]];
1621
1644
  export var McpServerTargetConfiguration = [3, n0, _MSTC, 0, [_end], [0]];
1622
1645
  export var Memory = [
@@ -1676,7 +1699,7 @@ export var ModifySelfManagedConfiguration = [
1676
1699
  n0,
1677
1700
  _MSMC,
1678
1701
  0,
1679
- [_tCr, _iC, _hCWS],
1702
+ [_tCr, _iCnv, _hCWS],
1680
1703
  [() => TriggerConditionInputList, () => ModifyInvocationConfigurationInput, 1],
1681
1704
  ];
1682
1705
  export var ModifyStrategyConfiguration = [
@@ -1774,7 +1797,7 @@ export var SelfManagedConfiguration = [
1774
1797
  n0,
1775
1798
  _SMC,
1776
1799
  0,
1777
- [_tCr, _iC, _hCWS],
1800
+ [_tCr, _iCnv, _hCWS],
1778
1801
  [() => TriggerConditionsList, () => InvocationConfiguration, 1],
1779
1802
  ];
1780
1803
  export var SelfManagedConfigurationInput = [
@@ -1782,7 +1805,7 @@ export var SelfManagedConfigurationInput = [
1782
1805
  n0,
1783
1806
  _SMCI,
1784
1807
  0,
1785
- [_tCr, _iC, _hCWS],
1808
+ [_tCr, _iCnv, _hCWS],
1786
1809
  [() => TriggerConditionInputList, () => InvocationConfigurationInput, 1],
1787
1810
  ];
1788
1811
  export var SemanticConsolidationOverride = [
@@ -2074,7 +2097,7 @@ export var UpdateGatewayRequest = [
2074
2097
  n0,
2075
2098
  _UGR,
2076
2099
  0,
2077
- [_gIa, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _eL],
2100
+ [_gIa, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _eL],
2078
2101
  [
2079
2102
  [0, 1],
2080
2103
  [() => GatewayName, 0],
@@ -2085,6 +2108,7 @@ export var UpdateGatewayRequest = [
2085
2108
  0,
2086
2109
  () => AuthorizerConfiguration,
2087
2110
  0,
2111
+ () => GatewayInterceptorConfigurations,
2088
2112
  0,
2089
2113
  ],
2090
2114
  ];
@@ -2093,7 +2117,7 @@ export var UpdateGatewayResponse = [
2093
2117
  n0,
2094
2118
  _UGRp,
2095
2119
  0,
2096
- [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _wID, _eL],
2120
+ [_gA, _gI, _gU, _cA, _uA, _s, _sR, _n, _d, _rA, _pT, _pC, _aT, _aC, _kKA, _iC, _wID, _eL],
2097
2121
  [
2098
2122
  0,
2099
2123
  0,
@@ -2110,6 +2134,7 @@ export var UpdateGatewayResponse = [
2110
2134
  0,
2111
2135
  () => AuthorizerConfiguration,
2112
2136
  0,
2137
+ () => GatewayInterceptorConfigurations,
2113
2138
  () => WorkloadIdentityDetails,
2114
2139
  0,
2115
2140
  ],
@@ -2276,6 +2301,14 @@ export var CredentialProviderConfigurations = [
2276
2301
  ];
2277
2302
  export var DeleteMemoryStrategiesList = [1, n0, _DMSL, 0, () => DeleteMemoryStrategyInput];
2278
2303
  export var EntryPoints = 64 | 0;
2304
+ export var GatewayInterceptionPoints = 64 | 0;
2305
+ export var GatewayInterceptorConfigurations = [
2306
+ 1,
2307
+ n0,
2308
+ _GICa,
2309
+ 0,
2310
+ () => GatewayInterceptorConfiguration,
2311
+ ];
2279
2312
  export var GatewaySummaries = [1, n0, _GSa, 0, [() => GatewaySummary, 0]];
2280
2313
  export var GatewayTargetList = [1, n0, _GTL, 0, [() => GatewayTarget, 0]];
2281
2314
  export var McpSupportedVersions = 64 | 0;
@@ -2319,7 +2352,7 @@ export var ApiSchemaConfiguration = [
2319
2352
  n0,
2320
2353
  _ASC,
2321
2354
  0,
2322
- [_s_, _iP],
2355
+ [_s_, _iPn],
2323
2356
  [() => S3Configuration, [() => InlinePayload, 0]],
2324
2357
  ];
2325
2358
  export var AuthorizerConfiguration = [
@@ -2422,6 +2455,14 @@ export var GatewayProtocolConfiguration = [
2422
2455
  [_mc],
2423
2456
  [() => MCPGatewayConfiguration],
2424
2457
  ];
2458
+ export var InterceptorConfiguration = [
2459
+ 3,
2460
+ n0,
2461
+ _ICn,
2462
+ 0,
2463
+ [_l],
2464
+ [() => LambdaInterceptorConfiguration],
2465
+ ];
2425
2466
  export var McpTargetConfiguration = [
2426
2467
  3,
2427
2468
  n0,
@@ -2515,7 +2556,7 @@ export var ToolSchema = [
2515
2556
  n0,
2516
2557
  _TSo,
2517
2558
  0,
2518
- [_s_, _iP],
2559
+ [_s_, _iPn],
2519
2560
  [() => S3Configuration, () => ToolDefinitions],
2520
2561
  ];
2521
2562
  export var TriggerCondition = [
@@ -51,7 +51,7 @@ declare const CreateGatewayCommand_base: {
51
51
  * searchType: "SEMANTIC",
52
52
  * },
53
53
  * },
54
- * authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
54
+ * authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
55
55
  * authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
56
56
  * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
57
57
  * discoveryUrl: "STRING_VALUE", // required
@@ -64,6 +64,21 @@ declare const CreateGatewayCommand_base: {
64
64
  * },
65
65
  * },
66
66
  * kmsKeyArn: "STRING_VALUE",
67
+ * interceptorConfigurations: [ // GatewayInterceptorConfigurations
68
+ * { // GatewayInterceptorConfiguration
69
+ * interceptor: { // InterceptorConfiguration Union: only one key present
70
+ * lambda: { // LambdaInterceptorConfiguration
71
+ * arn: "STRING_VALUE", // required
72
+ * },
73
+ * },
74
+ * interceptionPoints: [ // GatewayInterceptionPoints // required
75
+ * "REQUEST" || "RESPONSE",
76
+ * ],
77
+ * inputConfiguration: { // InterceptorInputConfiguration
78
+ * passRequestHeaders: true || false, // required
79
+ * },
80
+ * },
81
+ * ],
67
82
  * exceptionLevel: "DEBUG",
68
83
  * tags: { // TagsMap
69
84
  * "<keys>": "STRING_VALUE",
@@ -94,7 +109,7 @@ declare const CreateGatewayCommand_base: {
94
109
  * // searchType: "SEMANTIC",
95
110
  * // },
96
111
  * // },
97
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
112
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
98
113
  * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
99
114
  * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
100
115
  * // discoveryUrl: "STRING_VALUE", // required
@@ -107,6 +122,21 @@ declare const CreateGatewayCommand_base: {
107
122
  * // },
108
123
  * // },
109
124
  * // kmsKeyArn: "STRING_VALUE",
125
+ * // interceptorConfigurations: [ // GatewayInterceptorConfigurations
126
+ * // { // GatewayInterceptorConfiguration
127
+ * // interceptor: { // InterceptorConfiguration Union: only one key present
128
+ * // lambda: { // LambdaInterceptorConfiguration
129
+ * // arn: "STRING_VALUE", // required
130
+ * // },
131
+ * // },
132
+ * // interceptionPoints: [ // GatewayInterceptionPoints // required
133
+ * // "REQUEST" || "RESPONSE",
134
+ * // ],
135
+ * // inputConfiguration: { // InterceptorInputConfiguration
136
+ * // passRequestHeaders: true || false, // required
137
+ * // },
138
+ * // },
139
+ * // ],
110
140
  * // workloadIdentityDetails: { // WorkloadIdentityDetails
111
141
  * // workloadIdentityArn: "STRING_VALUE", // required
112
142
  * // },
@@ -64,7 +64,7 @@ declare const GetGatewayCommand_base: {
64
64
  * // searchType: "SEMANTIC",
65
65
  * // },
66
66
  * // },
67
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
67
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
68
68
  * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
69
69
  * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
70
70
  * // discoveryUrl: "STRING_VALUE", // required
@@ -77,6 +77,21 @@ declare const GetGatewayCommand_base: {
77
77
  * // },
78
78
  * // },
79
79
  * // kmsKeyArn: "STRING_VALUE",
80
+ * // interceptorConfigurations: [ // GatewayInterceptorConfigurations
81
+ * // { // GatewayInterceptorConfiguration
82
+ * // interceptor: { // InterceptorConfiguration Union: only one key present
83
+ * // lambda: { // LambdaInterceptorConfiguration
84
+ * // arn: "STRING_VALUE", // required
85
+ * // },
86
+ * // },
87
+ * // interceptionPoints: [ // GatewayInterceptionPoints // required
88
+ * // "REQUEST" || "RESPONSE",
89
+ * // ],
90
+ * // inputConfiguration: { // InterceptorInputConfiguration
91
+ * // passRequestHeaders: true || false, // required
92
+ * // },
93
+ * // },
94
+ * // ],
80
95
  * // workloadIdentityDetails: { // WorkloadIdentityDetails
81
96
  * // workloadIdentityArn: "STRING_VALUE", // required
82
97
  * // },
@@ -51,7 +51,7 @@ declare const ListGatewaysCommand_base: {
51
51
  * // description: "STRING_VALUE",
52
52
  * // createdAt: new Date("TIMESTAMP"), // required
53
53
  * // updatedAt: new Date("TIMESTAMP"), // required
54
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
54
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
55
55
  * // protocolType: "MCP", // required
56
56
  * // },
57
57
  * // ],
@@ -51,7 +51,7 @@ declare const UpdateGatewayCommand_base: {
51
51
  * searchType: "SEMANTIC",
52
52
  * },
53
53
  * },
54
- * authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
54
+ * authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
55
55
  * authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
56
56
  * customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
57
57
  * discoveryUrl: "STRING_VALUE", // required
@@ -64,6 +64,21 @@ declare const UpdateGatewayCommand_base: {
64
64
  * },
65
65
  * },
66
66
  * kmsKeyArn: "STRING_VALUE",
67
+ * interceptorConfigurations: [ // GatewayInterceptorConfigurations
68
+ * { // GatewayInterceptorConfiguration
69
+ * interceptor: { // InterceptorConfiguration Union: only one key present
70
+ * lambda: { // LambdaInterceptorConfiguration
71
+ * arn: "STRING_VALUE", // required
72
+ * },
73
+ * },
74
+ * interceptionPoints: [ // GatewayInterceptionPoints // required
75
+ * "REQUEST" || "RESPONSE",
76
+ * ],
77
+ * inputConfiguration: { // InterceptorInputConfiguration
78
+ * passRequestHeaders: true || false, // required
79
+ * },
80
+ * },
81
+ * ],
67
82
  * exceptionLevel: "DEBUG",
68
83
  * };
69
84
  * const command = new UpdateGatewayCommand(input);
@@ -91,7 +106,7 @@ declare const UpdateGatewayCommand_base: {
91
106
  * // searchType: "SEMANTIC",
92
107
  * // },
93
108
  * // },
94
- * // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
109
+ * // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
95
110
  * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
96
111
  * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
97
112
  * // discoveryUrl: "STRING_VALUE", // required
@@ -104,6 +119,21 @@ declare const UpdateGatewayCommand_base: {
104
119
  * // },
105
120
  * // },
106
121
  * // kmsKeyArn: "STRING_VALUE",
122
+ * // interceptorConfigurations: [ // GatewayInterceptorConfigurations
123
+ * // { // GatewayInterceptorConfiguration
124
+ * // interceptor: { // InterceptorConfiguration Union: only one key present
125
+ * // lambda: { // LambdaInterceptorConfiguration
126
+ * // arn: "STRING_VALUE", // required
127
+ * // },
128
+ * // },
129
+ * // interceptionPoints: [ // GatewayInterceptionPoints // required
130
+ * // "REQUEST" || "RESPONSE",
131
+ * // ],
132
+ * // inputConfiguration: { // InterceptorInputConfiguration
133
+ * // passRequestHeaders: true || false, // required
134
+ * // },
135
+ * // },
136
+ * // ],
107
137
  * // workloadIdentityDetails: { // WorkloadIdentityDetails
108
138
  * // workloadIdentityArn: "STRING_VALUE", // required
109
139
  * // },
@@ -160,6 +160,7 @@ export type CodeInterpreterStatus = (typeof CodeInterpreterStatus)[keyof typeof
160
160
  export declare const AuthorizerType: {
161
161
  readonly AWS_IAM: "AWS_IAM";
162
162
  readonly CUSTOM_JWT: "CUSTOM_JWT";
163
+ readonly NONE: "NONE";
163
164
  };
164
165
  /**
165
166
  * @public
@@ -176,6 +177,18 @@ export declare const ExceptionLevel: {
176
177
  * @public
177
178
  */
178
179
  export type ExceptionLevel = (typeof ExceptionLevel)[keyof typeof ExceptionLevel];
180
+ /**
181
+ * @public
182
+ * @enum
183
+ */
184
+ export declare const GatewayInterceptionPoint: {
185
+ readonly REQUEST: "REQUEST";
186
+ readonly RESPONSE: "RESPONSE";
187
+ };
188
+ /**
189
+ * @public
190
+ */
191
+ export type GatewayInterceptionPoint = (typeof GatewayInterceptionPoint)[keyof typeof GatewayInterceptionPoint];
179
192
  /**
180
193
  * @public
181
194
  * @enum
@@ -1,4 +1,4 @@
1
- import { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserNetworkMode, BrowserStatus, CodeInterpreterNetworkMode, CodeInterpreterStatus, CredentialProviderType, CredentialProviderVendorType, ExceptionLevel, GatewayProtocolType, GatewayStatus, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, NetworkMode, OverrideType, ResourceType, SchemaType, SearchType, ServerProtocol, TargetStatus } from "./enums";
1
+ import { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserNetworkMode, BrowserStatus, CodeInterpreterNetworkMode, CodeInterpreterStatus, CredentialProviderType, CredentialProviderVendorType, ExceptionLevel, GatewayInterceptionPoint, GatewayProtocolType, GatewayStatus, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, NetworkMode, OverrideType, ResourceType, SchemaType, SearchType, ServerProtocol, TargetStatus } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1864,6 +1864,82 @@ export interface ListCodeInterpretersResponse {
1864
1864
  */
1865
1865
  nextToken?: string | undefined;
1866
1866
  }
1867
+ /**
1868
+ * <p>The input configuration of the interceptor.</p>
1869
+ * @public
1870
+ */
1871
+ export interface InterceptorInputConfiguration {
1872
+ /**
1873
+ * <p>Indicates whether to pass request headers as input into the interceptor. When set to true, request headers will be passed.</p>
1874
+ * @public
1875
+ */
1876
+ passRequestHeaders: boolean | undefined;
1877
+ }
1878
+ /**
1879
+ * <p>The lambda configuration for the interceptor</p>
1880
+ * @public
1881
+ */
1882
+ export interface LambdaInterceptorConfiguration {
1883
+ /**
1884
+ * <p>The arn of the lambda function to be invoked for the interceptor.</p>
1885
+ * @public
1886
+ */
1887
+ arn: string | undefined;
1888
+ }
1889
+ /**
1890
+ * <p>The interceptor configuration.</p>
1891
+ * @public
1892
+ */
1893
+ export type InterceptorConfiguration = InterceptorConfiguration.LambdaMember | InterceptorConfiguration.$UnknownMember;
1894
+ /**
1895
+ * @public
1896
+ */
1897
+ export declare namespace InterceptorConfiguration {
1898
+ /**
1899
+ * <p>The details of the lambda function used for the interceptor.</p>
1900
+ * @public
1901
+ */
1902
+ interface LambdaMember {
1903
+ lambda: LambdaInterceptorConfiguration;
1904
+ $unknown?: never;
1905
+ }
1906
+ /**
1907
+ * @public
1908
+ */
1909
+ interface $UnknownMember {
1910
+ lambda?: never;
1911
+ $unknown: [string, any];
1912
+ }
1913
+ /**
1914
+ * @deprecated unused in schema-serde mode.
1915
+ *
1916
+ */
1917
+ interface Visitor<T> {
1918
+ lambda: (value: LambdaInterceptorConfiguration) => T;
1919
+ _: (name: string, value: any) => T;
1920
+ }
1921
+ }
1922
+ /**
1923
+ * <p>The configuration for an interceptor on a gateway. This structure defines settings for an interceptor that will be invoked during the invocation of the gateway.</p>
1924
+ * @public
1925
+ */
1926
+ export interface GatewayInterceptorConfiguration {
1927
+ /**
1928
+ * <p>The infrastructure settings of an interceptor configuration. This structure defines how the interceptor can be invoked.</p>
1929
+ * @public
1930
+ */
1931
+ interceptor: InterceptorConfiguration | undefined;
1932
+ /**
1933
+ * <p>The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor</p>
1934
+ * @public
1935
+ */
1936
+ interceptionPoints: GatewayInterceptionPoint[] | undefined;
1937
+ /**
1938
+ * <p>The configuration for the input of the interceptor. This field specifies how the input to the interceptor is constructed</p>
1939
+ * @public
1940
+ */
1941
+ inputConfiguration?: InterceptorInputConfiguration | undefined;
1942
+ }
1867
1943
  /**
1868
1944
  * <p>The configuration for a Model Context Protocol (MCP) gateway. This structure defines how the gateway implements the MCP protocol.</p>
1869
1945
  * @public
@@ -1953,7 +2029,7 @@ export interface CreateGatewayRequest {
1953
2029
  */
1954
2030
  protocolConfiguration?: GatewayProtocolConfiguration | undefined;
1955
2031
  /**
1956
- * <p>The type of authorizer to use for the gateway.</p> <ul> <li> <p> <code>CUSTOM_JWT</code> - Authorize with a bearer token.</p> </li> <li> <p> <code>AWS_IAM</code> - Authorize with your Amazon Web Services IAM credentials.</p> </li> </ul>
2032
+ * <p>The type of authorizer to use for the gateway.</p> <ul> <li> <p> <code>CUSTOM_JWT</code> - Authorize with a bearer token.</p> </li> <li> <p> <code>AWS_IAM</code> - Authorize with your Amazon Web Services IAM credentials.</p> </li> <li> <p> <code>NONE</code> - No authorization</p> </li> </ul>
1957
2033
  * @public
1958
2034
  */
1959
2035
  authorizerType: AuthorizerType | undefined;
@@ -1967,6 +2043,11 @@ export interface CreateGatewayRequest {
1967
2043
  * @public
1968
2044
  */
1969
2045
  kmsKeyArn?: string | undefined;
2046
+ /**
2047
+ * <p>A list of configuration settings for a gateway interceptor. Gateway interceptors allow custom code to be invoked during gateway invocations.</p>
2048
+ * @public
2049
+ */
2050
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
1970
2051
  /**
1971
2052
  * <p>The level of detail in error messages returned when invoking the gateway.</p> <ul> <li> <p>If the value is <code>DEBUG</code>, granular exception messages are returned to help a user debug the gateway.</p> </li> <li> <p>If the value is omitted, a generic error message is returned to the end user.</p> </li> </ul>
1972
2053
  * @public
@@ -2057,6 +2138,11 @@ export interface CreateGatewayResponse {
2057
2138
  * @public
2058
2139
  */
2059
2140
  kmsKeyArn?: string | undefined;
2141
+ /**
2142
+ * <p>The list of interceptor configurations for the created gateway.</p>
2143
+ * @public
2144
+ */
2145
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
2060
2146
  /**
2061
2147
  * <p>The workload identity details for the created gateway.</p>
2062
2148
  * @public
@@ -2187,6 +2273,11 @@ export interface GetGatewayResponse {
2187
2273
  * @public
2188
2274
  */
2189
2275
  kmsKeyArn?: string | undefined;
2276
+ /**
2277
+ * <p>The interceptors configured on the gateway.</p>
2278
+ * @public
2279
+ */
2280
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
2190
2281
  /**
2191
2282
  * <p>The workload identity details for the gateway.</p>
2192
2283
  * @public
@@ -2323,6 +2414,11 @@ export interface UpdateGatewayRequest {
2323
2414
  * @public
2324
2415
  */
2325
2416
  kmsKeyArn?: string | undefined;
2417
+ /**
2418
+ * <p>The updated interceptor configurations for the gateway.</p>
2419
+ * @public
2420
+ */
2421
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
2326
2422
  /**
2327
2423
  * <p>The level of detail in error messages returned when invoking the gateway.</p> <ul> <li> <p>If the value is <code>DEBUG</code>, granular exception messages are returned to help a user debug the gateway.</p> </li> <li> <p>If the value is omitted, a generic error message is returned to the end user.</p> </li> </ul>
2328
2424
  * @public
@@ -2408,6 +2504,11 @@ export interface UpdateGatewayResponse {
2408
2504
  * @public
2409
2505
  */
2410
2506
  kmsKeyArn?: string | undefined;
2507
+ /**
2508
+ * <p>The updated interceptor configurations for the gateway.</p>
2509
+ * @public
2510
+ */
2511
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
2411
2512
  /**
2412
2513
  * <p>The workload identity details for the updated gateway.</p>
2413
2514
  * @public
@@ -75,6 +75,7 @@ export declare var DeleteWorkloadIdentityRequest: StaticStructureSchema;
75
75
  export declare var DeleteWorkloadIdentityResponse: StaticStructureSchema;
76
76
  export declare var EncryptionFailure: StaticErrorSchema;
77
77
  export declare var GatewayApiKeyCredentialProvider: StaticStructureSchema;
78
+ export declare var GatewayInterceptorConfiguration: StaticStructureSchema;
78
79
  export declare var GatewaySummary: StaticStructureSchema;
79
80
  export declare var GatewayTarget: StaticStructureSchema;
80
81
  export declare var GetAgentRuntimeEndpointRequest: StaticStructureSchema;
@@ -105,10 +106,12 @@ export declare var GoogleOauth2ProviderConfigInput: StaticStructureSchema;
105
106
  export declare var GoogleOauth2ProviderConfigOutput: StaticStructureSchema;
106
107
  export declare var IncludedOauth2ProviderConfigInput: StaticStructureSchema;
107
108
  export declare var IncludedOauth2ProviderConfigOutput: StaticStructureSchema;
109
+ export declare var InterceptorInputConfiguration: StaticStructureSchema;
108
110
  export declare var InternalServerException: StaticErrorSchema;
109
111
  export declare var InvocationConfiguration: StaticStructureSchema;
110
112
  export declare var InvocationConfigurationInput: StaticStructureSchema;
111
113
  export declare var KmsConfiguration: StaticStructureSchema;
114
+ export declare var LambdaInterceptorConfiguration: StaticStructureSchema;
112
115
  export declare var LifecycleConfiguration: StaticStructureSchema;
113
116
  export declare var LinkedinOauth2ProviderConfigInput: StaticStructureSchema;
114
117
  export declare var LinkedinOauth2ProviderConfigOutput: StaticStructureSchema;
@@ -238,6 +241,8 @@ export declare var CodeInterpreterSummaries: StaticListSchema;
238
241
  export declare var CredentialProviderConfigurations: StaticListSchema;
239
242
  export declare var DeleteMemoryStrategiesList: StaticListSchema;
240
243
  export declare var EntryPoints: number;
244
+ export declare var GatewayInterceptionPoints: number;
245
+ export declare var GatewayInterceptorConfigurations: StaticListSchema;
241
246
  export declare var GatewaySummaries: StaticListSchema;
242
247
  export declare var GatewayTargetList: StaticListSchema;
243
248
  export declare var McpSupportedVersions: number;
@@ -281,6 +286,7 @@ export declare var CustomExtractionConfiguration: StaticStructureSchema;
281
286
  export declare var CustomExtractionConfigurationInput: StaticStructureSchema;
282
287
  export declare var ExtractionConfiguration: StaticStructureSchema;
283
288
  export declare var GatewayProtocolConfiguration: StaticStructureSchema;
289
+ export declare var InterceptorConfiguration: StaticStructureSchema;
284
290
  export declare var McpTargetConfiguration: StaticStructureSchema;
285
291
  export declare var MemoryStrategyInput: StaticStructureSchema;
286
292
  export declare var ModifyConsolidationConfiguration: StaticStructureSchema;
@@ -87,6 +87,7 @@ export type CodeInterpreterStatus =
87
87
  export declare const AuthorizerType: {
88
88
  readonly AWS_IAM: "AWS_IAM";
89
89
  readonly CUSTOM_JWT: "CUSTOM_JWT";
90
+ readonly NONE: "NONE";
90
91
  };
91
92
  export type AuthorizerType =
92
93
  (typeof AuthorizerType)[keyof typeof AuthorizerType];
@@ -95,6 +96,12 @@ export declare const ExceptionLevel: {
95
96
  };
96
97
  export type ExceptionLevel =
97
98
  (typeof ExceptionLevel)[keyof typeof ExceptionLevel];
99
+ export declare const GatewayInterceptionPoint: {
100
+ readonly REQUEST: "REQUEST";
101
+ readonly RESPONSE: "RESPONSE";
102
+ };
103
+ export type GatewayInterceptionPoint =
104
+ (typeof GatewayInterceptionPoint)[keyof typeof GatewayInterceptionPoint];
98
105
  export declare const SearchType: {
99
106
  readonly SEMANTIC: "SEMANTIC";
100
107
  };
@@ -11,6 +11,7 @@ import {
11
11
  CredentialProviderType,
12
12
  CredentialProviderVendorType,
13
13
  ExceptionLevel,
14
+ GatewayInterceptionPoint,
14
15
  GatewayProtocolType,
15
16
  GatewayStatus,
16
17
  KeyType,
@@ -508,6 +509,34 @@ export interface ListCodeInterpretersResponse {
508
509
  codeInterpreterSummaries: CodeInterpreterSummary[] | undefined;
509
510
  nextToken?: string | undefined;
510
511
  }
512
+ export interface InterceptorInputConfiguration {
513
+ passRequestHeaders: boolean | undefined;
514
+ }
515
+ export interface LambdaInterceptorConfiguration {
516
+ arn: string | undefined;
517
+ }
518
+ export type InterceptorConfiguration =
519
+ | InterceptorConfiguration.LambdaMember
520
+ | InterceptorConfiguration.$UnknownMember;
521
+ export declare namespace InterceptorConfiguration {
522
+ interface LambdaMember {
523
+ lambda: LambdaInterceptorConfiguration;
524
+ $unknown?: never;
525
+ }
526
+ interface $UnknownMember {
527
+ lambda?: never;
528
+ $unknown: [string, any];
529
+ }
530
+ interface Visitor<T> {
531
+ lambda: (value: LambdaInterceptorConfiguration) => T;
532
+ _: (name: string, value: any) => T;
533
+ }
534
+ }
535
+ export interface GatewayInterceptorConfiguration {
536
+ interceptor: InterceptorConfiguration | undefined;
537
+ interceptionPoints: GatewayInterceptionPoint[] | undefined;
538
+ inputConfiguration?: InterceptorInputConfiguration | undefined;
539
+ }
511
540
  export interface MCPGatewayConfiguration {
512
541
  supportedVersions?: string[] | undefined;
513
542
  instructions?: string | undefined;
@@ -540,6 +569,7 @@ export interface CreateGatewayRequest {
540
569
  authorizerType: AuthorizerType | undefined;
541
570
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
542
571
  kmsKeyArn?: string | undefined;
572
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
543
573
  exceptionLevel?: ExceptionLevel | undefined;
544
574
  tags?: Record<string, string> | undefined;
545
575
  }
@@ -559,6 +589,7 @@ export interface CreateGatewayResponse {
559
589
  authorizerType: AuthorizerType | undefined;
560
590
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
561
591
  kmsKeyArn?: string | undefined;
592
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
562
593
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
563
594
  exceptionLevel?: ExceptionLevel | undefined;
564
595
  }
@@ -589,6 +620,7 @@ export interface GetGatewayResponse {
589
620
  authorizerType: AuthorizerType | undefined;
590
621
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
591
622
  kmsKeyArn?: string | undefined;
623
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
592
624
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
593
625
  exceptionLevel?: ExceptionLevel | undefined;
594
626
  }
@@ -620,6 +652,7 @@ export interface UpdateGatewayRequest {
620
652
  authorizerType: AuthorizerType | undefined;
621
653
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
622
654
  kmsKeyArn?: string | undefined;
655
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
623
656
  exceptionLevel?: ExceptionLevel | undefined;
624
657
  }
625
658
  export interface UpdateGatewayResponse {
@@ -638,6 +671,7 @@ export interface UpdateGatewayResponse {
638
671
  authorizerType: AuthorizerType | undefined;
639
672
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
640
673
  kmsKeyArn?: string | undefined;
674
+ interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
641
675
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
642
676
  exceptionLevel?: ExceptionLevel | undefined;
643
677
  }
@@ -82,6 +82,7 @@ export declare var DeleteWorkloadIdentityRequest: StaticStructureSchema;
82
82
  export declare var DeleteWorkloadIdentityResponse: StaticStructureSchema;
83
83
  export declare var EncryptionFailure: StaticErrorSchema;
84
84
  export declare var GatewayApiKeyCredentialProvider: StaticStructureSchema;
85
+ export declare var GatewayInterceptorConfiguration: StaticStructureSchema;
85
86
  export declare var GatewaySummary: StaticStructureSchema;
86
87
  export declare var GatewayTarget: StaticStructureSchema;
87
88
  export declare var GetAgentRuntimeEndpointRequest: StaticStructureSchema;
@@ -112,10 +113,12 @@ export declare var GoogleOauth2ProviderConfigInput: StaticStructureSchema;
112
113
  export declare var GoogleOauth2ProviderConfigOutput: StaticStructureSchema;
113
114
  export declare var IncludedOauth2ProviderConfigInput: StaticStructureSchema;
114
115
  export declare var IncludedOauth2ProviderConfigOutput: StaticStructureSchema;
116
+ export declare var InterceptorInputConfiguration: StaticStructureSchema;
115
117
  export declare var InternalServerException: StaticErrorSchema;
116
118
  export declare var InvocationConfiguration: StaticStructureSchema;
117
119
  export declare var InvocationConfigurationInput: StaticStructureSchema;
118
120
  export declare var KmsConfiguration: StaticStructureSchema;
121
+ export declare var LambdaInterceptorConfiguration: StaticStructureSchema;
119
122
  export declare var LifecycleConfiguration: StaticStructureSchema;
120
123
  export declare var LinkedinOauth2ProviderConfigInput: StaticStructureSchema;
121
124
  export declare var LinkedinOauth2ProviderConfigOutput: StaticStructureSchema;
@@ -245,6 +248,8 @@ export declare var CodeInterpreterSummaries: StaticListSchema;
245
248
  export declare var CredentialProviderConfigurations: StaticListSchema;
246
249
  export declare var DeleteMemoryStrategiesList: StaticListSchema;
247
250
  export declare var EntryPoints: number;
251
+ export declare var GatewayInterceptionPoints: number;
252
+ export declare var GatewayInterceptorConfigurations: StaticListSchema;
248
253
  export declare var GatewaySummaries: StaticListSchema;
249
254
  export declare var GatewayTargetList: StaticListSchema;
250
255
  export declare var McpSupportedVersions: number;
@@ -288,6 +293,7 @@ export declare var CustomExtractionConfiguration: StaticStructureSchema;
288
293
  export declare var CustomExtractionConfigurationInput: StaticStructureSchema;
289
294
  export declare var ExtractionConfiguration: StaticStructureSchema;
290
295
  export declare var GatewayProtocolConfiguration: StaticStructureSchema;
296
+ export declare var InterceptorConfiguration: StaticStructureSchema;
291
297
  export declare var McpTargetConfiguration: StaticStructureSchema;
292
298
  export declare var MemoryStrategyInput: StaticStructureSchema;
293
299
  export declare var ModifyConsolidationConfiguration: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore-control",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.938.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",