@aws-sdk/client-bedrock-agentcore 3.986.0 → 3.988.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.
@@ -7,6 +7,7 @@ import { sdkStreamMixin } from "@smithy/util-stream";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultBedrockAgentCoreHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2024-02-28",
@@ -27,6 +28,7 @@ export const getRuntimeConfig = (config) => {
27
28
  protocol: config?.protocol ?? AwsRestJsonProtocol,
28
29
  protocolSettings: config?.protocolSettings ?? {
29
30
  defaultNamespace: "com.amazonaws.bedrockagentcore",
31
+ errorTypeRegistries,
30
32
  version: "2024-02-28",
31
33
  serviceTarget: "AmazonBedrockAgentCore",
32
34
  },
@@ -8,6 +8,7 @@ const _ASu = "AutomationStream";
8
8
  const _ATT = "AccessTokenType";
9
9
  const _AUT = "AuthorizationUrlType";
10
10
  const _B = "Body";
11
+ const _BA = "BasicAuth";
11
12
  const _BCMR = "BatchCreateMemoryRecords";
12
13
  const _BCMRI = "BatchCreateMemoryRecordsInput";
13
14
  const _BCMRO = "BatchCreateMemoryRecordsOutput";
@@ -63,6 +64,7 @@ const _EJMx = "ExtractionJobMessages";
63
64
  const _EL = "EventList";
64
65
  const _EMFE = "EventMetadataFilterExpression";
65
66
  const _EMFL = "EventMetadataFilterList";
67
+ const _EP = "ExternalProxy";
66
68
  const _ER = "EvaluateRequest";
67
69
  const _ERC = "EvaluationResultContent";
68
70
  const _ERv = "EvaluateResponse";
@@ -153,8 +155,13 @@ const _MRUI = "MemoryRecordUpdateInput";
153
155
  const _MRUIL = "MemoryRecordsUpdateInputList";
154
156
  const _MSI = "Mcp-Session-Id";
155
157
  const _MV = "MetadataValue";
158
+ const _P = "Proxies";
159
+ const _PB = "ProxyBypass";
160
+ const _PC = "ProxyConfiguration";
161
+ const _PCr = "ProxyCredentials";
156
162
  const _PT = "PayloadType";
157
163
  const _PTL = "PayloadTypeList";
164
+ const _Pr = "Proxy";
158
165
  const _RC = "ResourceContent";
159
166
  const _RCE = "RetryableConflictException";
160
167
  const _RCEu = "RuntimeClientError";
@@ -230,10 +237,12 @@ const _aT = "accessToken";
230
237
  const _aU = "authorizationUrl";
231
238
  const _ar = "arguments";
232
239
  const _b = "branch";
240
+ const _bA = "basicAuth";
233
241
  const _bI = "browserIdentifier";
234
242
  const _ba = "baggage";
235
243
  const _bl = "blob";
236
244
  const _bu = "bucket";
245
+ const _by = "bypass";
237
246
  const _c = "client";
238
247
  const _cA = "createdAt";
239
248
  const _cC = "clearContext";
@@ -248,8 +257,10 @@ const _cod = "code";
248
257
  const _com = "command";
249
258
  const _con = "context";
250
259
  const _conv = "conversational";
260
+ const _cr = "credentials";
251
261
  const _d = "data";
252
- const _dP = "directoryPath";
262
+ const _dP = "domainPatterns";
263
+ const _dPi = "directoryPath";
253
264
  const _de = "description";
254
265
  const _e = "error";
255
266
  const _eA = "evaluatorArn";
@@ -262,6 +273,7 @@ const _eJ = "extractionJob";
262
273
  const _eM = "errorMessage";
263
274
  const _eMv = "eventMetadata";
264
275
  const _eN = "evaluatorName";
276
+ const _eP = "externalProxy";
265
277
  const _eR = "evaluationResults";
266
278
  const _eT = "eventTimestamp";
267
279
  const _eTv = "evaluationTarget";
@@ -322,12 +334,15 @@ const _oF = "oauth2Flow";
322
334
  const _oT = "outputTokens";
323
335
  const _p = "payload";
324
336
  const _pC = "profileConfiguration";
337
+ const _pCr = "proxyConfiguration";
325
338
  const _pI = "profileIdentifier";
326
339
  const _pa = "path";
327
340
  const _pat = "paths";
328
- const _pr = "prefix";
341
+ const _po = "port";
342
+ const _pr = "proxies";
343
+ const _pre = "prefix";
329
344
  const _q = "qualifier";
330
- const _r = "records";
345
+ const _r = "reason";
331
346
  const _rCPN = "resourceCredentialProviderName";
332
347
  const _rEI = "rootEventId";
333
348
  const _rI = "requestIdentifier";
@@ -335,13 +350,14 @@ const _rNFE = "resourceNotFoundException";
335
350
  const _rORU = "resourceOauth2ReturnUrl";
336
351
  const _rSI = "runtimeSessionId";
337
352
  const _rUI = "runtimeUserId";
338
- const _re = "resource";
339
- const _rea = "reason";
340
- const _res = "response";
353
+ const _re = "records";
354
+ const _res = "resource";
355
+ const _resp = "response";
341
356
  const _resu = "result";
342
357
  const _ri = "right";
343
358
  const _ro = "role";
344
- const _s = "sensitive";
359
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
360
+ const _sA = "secretArn";
345
361
  const _sC = "structuredContent";
346
362
  const _sCe = "searchCriteria";
347
363
  const _sCp = "spanContext";
@@ -367,8 +383,8 @@ const _s_ = "s3";
367
383
  const _sc = "scopes";
368
384
  const _sco = "score";
369
385
  const _se = "server";
386
+ const _sen = "sensitive";
370
387
  const _si = "size";
371
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
372
388
  const _st = "streaming";
373
389
  const _sta = "status";
374
390
  const _std = "stdout";
@@ -408,6 +424,98 @@ const n0 = "com.amazonaws.bedrockagentcore";
408
424
  import { TypeRegistry } from "@smithy/core/schema";
409
425
  import { BedrockAgentCoreServiceException } from "../models/BedrockAgentCoreServiceException";
410
426
  import { AccessDeniedException, ConflictException, DuplicateIdException, InternalServerException, InvalidInputException, ResourceNotFoundException, RetryableConflictException, RuntimeClientError, ServiceException, ServiceQuotaExceededException, ThrottledException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/errors";
427
+ const _s_registry = TypeRegistry.for(_s);
428
+ export var BedrockAgentCoreServiceException$ = [-3, _s, "BedrockAgentCoreServiceException", 0, [], []];
429
+ _s_registry.registerError(BedrockAgentCoreServiceException$, BedrockAgentCoreServiceException);
430
+ const n0_registry = TypeRegistry.for(n0);
431
+ export var AccessDeniedException$ = [-3, n0, _ADE,
432
+ { [_e]: _c, [_hE]: 403 },
433
+ [_m],
434
+ [0]
435
+ ];
436
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
437
+ export var ConflictException$ = [-3, n0, _CE,
438
+ { [_e]: _c, [_hE]: 409 },
439
+ [_m],
440
+ [0]
441
+ ];
442
+ n0_registry.registerError(ConflictException$, ConflictException);
443
+ export var DuplicateIdException$ = [-3, n0, _DIE,
444
+ { [_e]: _c, [_hE]: 409 },
445
+ [_m],
446
+ [0]
447
+ ];
448
+ n0_registry.registerError(DuplicateIdException$, DuplicateIdException);
449
+ export var InternalServerException$ = [-3, n0, _ISE,
450
+ { [_e]: _se, [_hE]: 500 },
451
+ [_m],
452
+ [0]
453
+ ];
454
+ n0_registry.registerError(InternalServerException$, InternalServerException);
455
+ export var InvalidInputException$ = [-3, n0, _IIE,
456
+ { [_e]: _c, [_hE]: 400 },
457
+ [_m],
458
+ [0], 1
459
+ ];
460
+ n0_registry.registerError(InvalidInputException$, InvalidInputException);
461
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
462
+ { [_e]: _c, [_hE]: 404 },
463
+ [_m],
464
+ [0]
465
+ ];
466
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
467
+ export var RetryableConflictException$ = [-3, n0, _RCE,
468
+ { [_e]: _c, [_hE]: 409 },
469
+ [_m],
470
+ [0], 1
471
+ ];
472
+ n0_registry.registerError(RetryableConflictException$, RetryableConflictException);
473
+ export var RuntimeClientError$ = [-3, n0, _RCEu,
474
+ { [_e]: _c, [_hE]: 424 },
475
+ [_m],
476
+ [0]
477
+ ];
478
+ n0_registry.registerError(RuntimeClientError$, RuntimeClientError);
479
+ export var ServiceException$ = [-3, n0, _SE,
480
+ { [_e]: _se, [_hE]: 500 },
481
+ [_m],
482
+ [0], 1
483
+ ];
484
+ n0_registry.registerError(ServiceException$, ServiceException);
485
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
486
+ { [_e]: _c, [_hE]: 402 },
487
+ [_m],
488
+ [0]
489
+ ];
490
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
491
+ export var ThrottledException$ = [-3, n0, _TE,
492
+ { [_e]: _c, [_hE]: 429 },
493
+ [_m],
494
+ [0], 1
495
+ ];
496
+ n0_registry.registerError(ThrottledException$, ThrottledException);
497
+ export var ThrottlingException$ = [-3, n0, _TEh,
498
+ { [_e]: _c, [_hE]: 429 },
499
+ [_m],
500
+ [0]
501
+ ];
502
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
503
+ export var UnauthorizedException$ = [-3, n0, _UE,
504
+ { [_e]: _c, [_hE]: 401 },
505
+ [_m],
506
+ [0]
507
+ ];
508
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
509
+ export var ValidationException$ = [-3, n0, _VE,
510
+ { [_e]: _c, [_hE]: 400 },
511
+ [_m, _r, _fL],
512
+ [0, 0, () => ValidationExceptionFieldList], 2
513
+ ];
514
+ n0_registry.registerError(ValidationException$, ValidationException);
515
+ export const errorTypeRegistries = [
516
+ _s_registry,
517
+ n0_registry,
518
+ ];
411
519
  var AccessTokenType = [0, n0, _ATT, 8, 0];
412
520
  var ApiKeyType = [0, n0, _AKT, 8, 0];
413
521
  var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
@@ -415,17 +523,11 @@ var Body = [0, n0, _B, 8, 21];
415
523
  var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
416
524
  var Document = [0, n0, _D, 8, 15];
417
525
  var EvaluationExplanation = [0, n0, _EE, 8, 0];
418
- var ResponseStream = [0, n0, _RS, { [_s]: 1, [_st]: 1 }, 42];
526
+ var ResponseStream = [0, n0, _RS, { [_sen]: 1, [_st]: 1 }, 42];
419
527
  var SensitiveString = [0, n0, _SS, 8, 0];
420
528
  var State = [0, n0, _S, 8, 0];
421
529
  var UserTokenType = [0, n0, _UTT, 8, 0];
422
530
  var WorkloadIdentityTokenType = [0, n0, _WITT, 8, 0];
423
- export var AccessDeniedException$ = [-3, n0, _ADE,
424
- { [_e]: _c, [_hE]: 403 },
425
- [_m],
426
- [0]
427
- ];
428
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
429
531
  export var ActorSummary$ = [3, n0, _AS,
430
532
  0,
431
533
  [_aI],
@@ -441,9 +543,14 @@ export var AutomationStreamUpdate$ = [3, n0, _ASU,
441
543
  [_sS],
442
544
  [0]
443
545
  ];
546
+ export var BasicAuth$ = [3, n0, _BA,
547
+ 0,
548
+ [_sA],
549
+ [0], 1
550
+ ];
444
551
  export var BatchCreateMemoryRecordsInput$ = [3, n0, _BCMRI,
445
552
  0,
446
- [_mI, _r, _cT],
553
+ [_mI, _re, _cT],
447
554
  [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4]], 2
448
555
  ];
449
556
  export var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
@@ -453,7 +560,7 @@ export var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
453
560
  ];
454
561
  export var BatchDeleteMemoryRecordsInput$ = [3, n0, _BDMRI,
455
562
  0,
456
- [_mI, _r],
563
+ [_mI, _re],
457
564
  [[0, 1], () => MemoryRecordsDeleteInputList], 2
458
565
  ];
459
566
  export var BatchDeleteMemoryRecordsOutput$ = [3, n0, _BDMRO,
@@ -463,7 +570,7 @@ export var BatchDeleteMemoryRecordsOutput$ = [3, n0, _BDMRO,
463
570
  ];
464
571
  export var BatchUpdateMemoryRecordsInput$ = [3, n0, _BUMRI,
465
572
  0,
466
- [_mI, _r],
573
+ [_mI, _re],
467
574
  [[0, 1], [() => MemoryRecordsUpdateInputList, 0]], 2
468
575
  ];
469
576
  export var BatchUpdateMemoryRecordsOutput$ = [3, n0, _BUMRO,
@@ -521,15 +628,9 @@ export var CompleteResourceTokenAuthResponse$ = [3, n0, _CRTARo,
521
628
  [],
522
629
  []
523
630
  ];
524
- export var ConflictException$ = [-3, n0, _CE,
525
- { [_e]: _c, [_hE]: 409 },
526
- [_m],
527
- [0]
528
- ];
529
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
530
631
  export var ContentBlock$ = [3, n0, _CB,
531
632
  0,
532
- [_t, _te, _d, _mT, _u, _n, _de, _si, _re],
633
+ [_t, _te, _d, _mT, _u, _n, _de, _si, _res],
533
634
  [0, 0, 21, 0, 0, 0, 0, 1, () => ResourceContent$], 1
534
635
  ];
535
636
  export var Conversational$ = [3, n0, _C,
@@ -567,12 +668,6 @@ export var DeleteMemoryRecordOutput$ = [3, n0, _DMRO,
567
668
  [_mRI],
568
669
  [0], 1
569
670
  ];
570
- export var DuplicateIdException$ = [-3, n0, _DIE,
571
- { [_e]: _c, [_hE]: 409 },
572
- [_m],
573
- [0]
574
- ];
575
- TypeRegistry.for(n0).registerError(DuplicateIdException$, DuplicateIdException);
576
671
  export var EvaluateRequest$ = [3, n0, _ER,
577
672
  0,
578
673
  [_eIv, _eIva, _eTv],
@@ -598,6 +693,11 @@ export var EventMetadataFilterExpression$ = [3, n0, _EMFE,
598
693
  [_le, _o, _ri],
599
694
  [() => LeftExpression$, 0, () => RightExpression$], 2
600
695
  ];
696
+ export var ExternalProxy$ = [3, n0, _EP,
697
+ 0,
698
+ [_se, _po, _dP, _cr],
699
+ [0, 1, 64 | 0, () => ProxyCredentials$], 2
700
+ ];
601
701
  export var ExtractionJob$ = [3, n0, _EJ,
602
702
  0,
603
703
  [_jI],
@@ -635,8 +735,8 @@ export var GetBrowserSessionRequest$ = [3, n0, _GBSR,
635
735
  ];
636
736
  export var GetBrowserSessionResponse$ = [3, n0, _GBSRe,
637
737
  0,
638
- [_bI, _sI, _cA, _n, _vP, _ext, _pC, _sTS, _sta, _str, _sRA, _lUA],
639
- [0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, 1, 0, () => BrowserSessionStream$, 0, 5], 3
738
+ [_bI, _sI, _cA, _n, _vP, _ext, _pC, _sTS, _sta, _str, _pCr, _sRA, _lUA],
739
+ [0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, 1, 0, () => BrowserSessionStream$, () => ProxyConfiguration$, 0, 5], 3
640
740
  ];
641
741
  export var GetCodeInterpreterSessionRequest$ = [3, n0, _GCISR,
642
742
  0,
@@ -723,18 +823,6 @@ export var InputContentBlock$ = [3, n0, _ICB,
723
823
  [_pa, _te, _bl],
724
824
  [0, 0, [() => Body, 0]], 1
725
825
  ];
726
- export var InternalServerException$ = [-3, n0, _ISE,
727
- { [_e]: _se, [_hE]: 500 },
728
- [_m],
729
- [0]
730
- ];
731
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
732
- export var InvalidInputException$ = [-3, n0, _IIE,
733
- { [_e]: _c, [_hE]: 400 },
734
- [_m],
735
- [0], 1
736
- ];
737
- TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
738
826
  export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
739
827
  0,
740
828
  [_aRA, _p, _cTo, _a, _mSI, _rSI, _mPV, _rUI, _tI, _tP, _tS, _ba, _q, _aIc],
@@ -742,7 +830,7 @@ export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
742
830
  ];
743
831
  export var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
744
832
  0,
745
- [_cTo, _rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _res, _sCt],
833
+ [_cTo, _rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _resp, _sCt],
746
834
  [[0, { [_hH]: _CT }], [0, { [_hH]: _XABARSI }], [0, { [_hH]: _MSI }], [0, { [_hH]: _MPV }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [() => ResponseStream, 16], [1, 32]], 1
747
835
  ];
748
836
  export var InvokeCodeInterpreterRequest$ = [3, n0, _ICIR,
@@ -870,17 +958,21 @@ export var MessageMetadata$ = [3, n0, _MM,
870
958
  [_eI, _mIe],
871
959
  [0, 1], 2
872
960
  ];
961
+ export var ProxyBypass$ = [3, n0, _PB,
962
+ 0,
963
+ [_dP],
964
+ [64 | 0]
965
+ ];
966
+ export var ProxyConfiguration$ = [3, n0, _PC,
967
+ 0,
968
+ [_pr, _by],
969
+ [() => Proxies, () => ProxyBypass$], 1
970
+ ];
873
971
  export var ResourceContent$ = [3, n0, _RC,
874
972
  0,
875
973
  [_t, _u, _mT, _te, _bl],
876
974
  [0, 0, 0, 0, 21], 1
877
975
  ];
878
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
879
- { [_e]: _c, [_hE]: 404 },
880
- [_m],
881
- [0]
882
- ];
883
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
884
976
  export var RetrieveMemoryRecordsInput$ = [3, n0, _RMRI,
885
977
  0,
886
978
  [_mI, _na, _sCe, _nT, _mRa],
@@ -891,21 +983,9 @@ export var RetrieveMemoryRecordsOutput$ = [3, n0, _RMRO,
891
983
  [_mRS, _nT],
892
984
  [[() => MemoryRecordSummaryList, 0], 0], 1
893
985
  ];
894
- export var RetryableConflictException$ = [-3, n0, _RCE,
895
- { [_e]: _c, [_hE]: 409 },
896
- [_m],
897
- [0], 1
898
- ];
899
- TypeRegistry.for(n0).registerError(RetryableConflictException$, RetryableConflictException);
900
- export var RuntimeClientError$ = [-3, n0, _RCEu,
901
- { [_e]: _c, [_hE]: 424 },
902
- [_m],
903
- [0]
904
- ];
905
- TypeRegistry.for(n0).registerError(RuntimeClientError$, RuntimeClientError);
906
986
  export var S3Location$ = [3, n0, _SL,
907
987
  0,
908
- [_bu, _pr, _vI],
988
+ [_bu, _pre, _vI],
909
989
  [0, 0, 0], 2
910
990
  ];
911
991
  export var SaveBrowserSessionProfileRequest$ = [3, n0, _SBSPR,
@@ -923,18 +1003,6 @@ export var SearchCriteria$ = [3, n0, _SC,
923
1003
  [_sQ, _mSIe, _tK, _mF],
924
1004
  [[() => SensitiveString, 0], 0, 1, () => MemoryMetadataFilterList], 1
925
1005
  ];
926
- export var ServiceException$ = [-3, n0, _SE,
927
- { [_e]: _se, [_hE]: 500 },
928
- [_m],
929
- [0], 1
930
- ];
931
- TypeRegistry.for(n0).registerError(ServiceException$, ServiceException);
932
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
933
- { [_e]: _c, [_hE]: 402 },
934
- [_m],
935
- [0]
936
- ];
937
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
938
1006
  export var SessionSummary$ = [3, n0, _SSe,
939
1007
  0,
940
1008
  [_sI, _aI, _cA],
@@ -947,8 +1015,8 @@ export var SpanContext$ = [3, n0, _SCp,
947
1015
  ];
948
1016
  export var StartBrowserSessionRequest$ = [3, n0, _SBSR,
949
1017
  0,
950
- [_bI, _tI, _tP, _n, _sTS, _vP, _ext, _pC, _cT],
951
- [[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, [0, 4]], 1
1018
+ [_bI, _tI, _tP, _n, _sTS, _vP, _ext, _pC, _pCr, _cT],
1019
+ [[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, () => ProxyConfiguration$, [0, 4]], 1
952
1020
  ];
953
1021
  export var StartBrowserSessionResponse$ = [3, n0, _SBSRt,
954
1022
  0,
@@ -1005,18 +1073,6 @@ export var StopRuntimeSessionResponse$ = [3, n0, _SRSRt,
1005
1073
  [_rSI, _sCt],
1006
1074
  [[0, { [_hH]: _XABARSI }], [1, 32]]
1007
1075
  ];
1008
- export var ThrottledException$ = [-3, n0, _TE,
1009
- { [_e]: _c, [_hE]: 429 },
1010
- [_m],
1011
- [0], 1
1012
- ];
1013
- TypeRegistry.for(n0).registerError(ThrottledException$, ThrottledException);
1014
- export var ThrottlingException$ = [-3, n0, _TEh,
1015
- { [_e]: _c, [_hE]: 429 },
1016
- [_m],
1017
- [0]
1018
- ];
1019
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
1020
1076
  export var TokenUsage$ = [3, n0, _TU,
1021
1077
  0,
1022
1078
  [_iTn, _oT, _tT],
@@ -1024,7 +1080,7 @@ export var TokenUsage$ = [3, n0, _TU,
1024
1080
  ];
1025
1081
  export var ToolArguments$ = [3, n0, _TA,
1026
1082
  0,
1027
- [_cod, _lan, _cC, _com, _pa, _pat, _co, _dP, _tIa],
1083
+ [_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa],
1028
1084
  [0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0]
1029
1085
  ];
1030
1086
  export var ToolResultStructuredContent$ = [3, n0, _TRSC,
@@ -1032,12 +1088,6 @@ export var ToolResultStructuredContent$ = [3, n0, _TRSC,
1032
1088
  [_tIa, _tSa, _std, _stde, _eCx, _eTx],
1033
1089
  [0, 0, 0, 0, 1, 1]
1034
1090
  ];
1035
- export var UnauthorizedException$ = [-3, n0, _UE,
1036
- { [_e]: _c, [_hE]: 401 },
1037
- [_m],
1038
- [0]
1039
- ];
1040
- TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
1041
1091
  export var UpdateBrowserStreamRequest$ = [3, n0, _UBSR,
1042
1092
  0,
1043
1093
  [_bI, _sI, _sUt, _cT],
@@ -1048,12 +1098,6 @@ export var UpdateBrowserStreamResponse$ = [3, n0, _UBSRp,
1048
1098
  [_bI, _sI, _str, _uA],
1049
1099
  [0, 0, () => BrowserSessionStream$, 5], 4
1050
1100
  ];
1051
- export var ValidationException$ = [-3, n0, _VE,
1052
- { [_e]: _c, [_hE]: 400 },
1053
- [_m, _rea, _fL],
1054
- [0, 0, () => ValidationExceptionFieldList], 2
1055
- ];
1056
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
1057
1101
  export var ValidationExceptionField$ = [3, n0, _VEF,
1058
1102
  0,
1059
1103
  [_n, _m],
@@ -1064,8 +1108,6 @@ export var ViewPort$ = [3, n0, _VP,
1064
1108
  [_w, _h],
1065
1109
  [1, 1], 2
1066
1110
  ];
1067
- export var BedrockAgentCoreServiceException$ = [-3, _sm, "BedrockAgentCoreServiceException", 0, [], []];
1068
- TypeRegistry.for(_sm).registerError(BedrockAgentCoreServiceException$, BedrockAgentCoreServiceException);
1069
1111
  var ActorSummaryList = [1, n0, _ASL,
1070
1112
  0, () => ActorSummary$
1071
1113
  ];
@@ -1081,6 +1123,7 @@ var CodeInterpreterSessionSummaries = [1, n0, _CISSo,
1081
1123
  var ContentBlockList = [1, n0, _CBL,
1082
1124
  0, () => ContentBlock$
1083
1125
  ];
1126
+ var DomainPatterns = 64 | 0;
1084
1127
  var EvaluationResults = [1, n0, _ERva,
1085
1128
  0, [() => EvaluationResultContent$,
1086
1129
  0]
@@ -1128,6 +1171,9 @@ var PayloadTypeList = [1, n0, _PTL,
1128
1171
  0, [() => PayloadType$,
1129
1172
  0]
1130
1173
  ];
1174
+ var Proxies = [1, n0, _P,
1175
+ 0, () => Proxy$
1176
+ ];
1131
1177
  var ScopesListType = 64 | 0;
1132
1178
  var SessionSummaryList = [1, n0, _SSL,
1133
1179
  0, () => SessionSummary$
@@ -1200,6 +1246,16 @@ export var PayloadType$ = [4, n0, _PT,
1200
1246
  [_conv, _bl],
1201
1247
  [[() => Conversational$, 0], [() => Document, 0]]
1202
1248
  ];
1249
+ export var Proxy$ = [4, n0, _Pr,
1250
+ 0,
1251
+ [_eP],
1252
+ [() => ExternalProxy$]
1253
+ ];
1254
+ export var ProxyCredentials$ = [4, n0, _PCr,
1255
+ 0,
1256
+ [_bA],
1257
+ [() => BasicAuth$]
1258
+ ];
1203
1259
  export var ResourceLocation$ = [4, n0, _RL,
1204
1260
  0,
1205
1261
  [_s_],
@@ -76,6 +76,29 @@ declare const GetBrowserSessionCommand_base: {
76
76
  * // streamEndpoint: "STRING_VALUE",
77
77
  * // },
78
78
  * // },
79
+ * // proxyConfiguration: { // ProxyConfiguration
80
+ * // proxies: [ // Proxies // required
81
+ * // { // Proxy Union: only one key present
82
+ * // externalProxy: { // ExternalProxy
83
+ * // server: "STRING_VALUE", // required
84
+ * // port: Number("int"), // required
85
+ * // domainPatterns: [ // DomainPatterns
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // credentials: { // ProxyCredentials Union: only one key present
89
+ * // basicAuth: { // BasicAuth
90
+ * // secretArn: "STRING_VALUE", // required
91
+ * // },
92
+ * // },
93
+ * // },
94
+ * // },
95
+ * // ],
96
+ * // bypass: { // ProxyBypass
97
+ * // domainPatterns: [
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // },
101
+ * // },
79
102
  * // sessionReplayArtifact: "STRING_VALUE",
80
103
  * // lastUpdatedAt: new Date("TIMESTAMP"),
81
104
  * // };
@@ -60,6 +60,29 @@ declare const StartBrowserSessionCommand_base: {
60
60
  * profileConfiguration: { // BrowserProfileConfiguration
61
61
  * profileIdentifier: "STRING_VALUE", // required
62
62
  * },
63
+ * proxyConfiguration: { // ProxyConfiguration
64
+ * proxies: [ // Proxies // required
65
+ * { // Proxy Union: only one key present
66
+ * externalProxy: { // ExternalProxy
67
+ * server: "STRING_VALUE", // required
68
+ * port: Number("int"), // required
69
+ * domainPatterns: [ // DomainPatterns
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * credentials: { // ProxyCredentials Union: only one key present
73
+ * basicAuth: { // BasicAuth
74
+ * secretArn: "STRING_VALUE", // required
75
+ * },
76
+ * },
77
+ * },
78
+ * },
79
+ * ],
80
+ * bypass: { // ProxyBypass
81
+ * domainPatterns: [
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * },
85
+ * },
63
86
  * clientToken: "STRING_VALUE",
64
87
  * };
65
88
  * const command = new StartBrowserSessionCommand(input);