@aws-sdk/client-bedrock-agentcore 3.987.0 → 3.989.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
  },
@@ -342,7 +342,7 @@ const _po = "port";
342
342
  const _pr = "proxies";
343
343
  const _pre = "prefix";
344
344
  const _q = "qualifier";
345
- const _r = "records";
345
+ const _r = "reason";
346
346
  const _rCPN = "resourceCredentialProviderName";
347
347
  const _rEI = "rootEventId";
348
348
  const _rI = "requestIdentifier";
@@ -350,13 +350,13 @@ const _rNFE = "resourceNotFoundException";
350
350
  const _rORU = "resourceOauth2ReturnUrl";
351
351
  const _rSI = "runtimeSessionId";
352
352
  const _rUI = "runtimeUserId";
353
- const _re = "resource";
354
- const _rea = "reason";
355
- const _res = "response";
353
+ const _re = "records";
354
+ const _res = "resource";
355
+ const _resp = "response";
356
356
  const _resu = "result";
357
357
  const _ri = "right";
358
358
  const _ro = "role";
359
- const _s = "sensitive";
359
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
360
360
  const _sA = "secretArn";
361
361
  const _sC = "structuredContent";
362
362
  const _sCe = "searchCriteria";
@@ -383,8 +383,8 @@ const _s_ = "s3";
383
383
  const _sc = "scopes";
384
384
  const _sco = "score";
385
385
  const _se = "server";
386
+ const _sen = "sensitive";
386
387
  const _si = "size";
387
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
388
388
  const _st = "streaming";
389
389
  const _sta = "status";
390
390
  const _std = "stdout";
@@ -424,6 +424,98 @@ const n0 = "com.amazonaws.bedrockagentcore";
424
424
  import { TypeRegistry } from "@smithy/core/schema";
425
425
  import { BedrockAgentCoreServiceException } from "../models/BedrockAgentCoreServiceException";
426
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
+ ];
427
519
  var AccessTokenType = [0, n0, _ATT, 8, 0];
428
520
  var ApiKeyType = [0, n0, _AKT, 8, 0];
429
521
  var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
@@ -431,17 +523,11 @@ var Body = [0, n0, _B, 8, 21];
431
523
  var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
432
524
  var Document = [0, n0, _D, 8, 15];
433
525
  var EvaluationExplanation = [0, n0, _EE, 8, 0];
434
- var ResponseStream = [0, n0, _RS, { [_s]: 1, [_st]: 1 }, 42];
526
+ var ResponseStream = [0, n0, _RS, { [_sen]: 1, [_st]: 1 }, 42];
435
527
  var SensitiveString = [0, n0, _SS, 8, 0];
436
528
  var State = [0, n0, _S, 8, 0];
437
529
  var UserTokenType = [0, n0, _UTT, 8, 0];
438
530
  var WorkloadIdentityTokenType = [0, n0, _WITT, 8, 0];
439
- export var AccessDeniedException$ = [-3, n0, _ADE,
440
- { [_e]: _c, [_hE]: 403 },
441
- [_m],
442
- [0]
443
- ];
444
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
445
531
  export var ActorSummary$ = [3, n0, _AS,
446
532
  0,
447
533
  [_aI],
@@ -464,7 +550,7 @@ export var BasicAuth$ = [3, n0, _BA,
464
550
  ];
465
551
  export var BatchCreateMemoryRecordsInput$ = [3, n0, _BCMRI,
466
552
  0,
467
- [_mI, _r, _cT],
553
+ [_mI, _re, _cT],
468
554
  [[0, 1], [() => MemoryRecordsCreateInputList, 0], [0, 4]], 2
469
555
  ];
470
556
  export var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
@@ -474,7 +560,7 @@ export var BatchCreateMemoryRecordsOutput$ = [3, n0, _BCMRO,
474
560
  ];
475
561
  export var BatchDeleteMemoryRecordsInput$ = [3, n0, _BDMRI,
476
562
  0,
477
- [_mI, _r],
563
+ [_mI, _re],
478
564
  [[0, 1], () => MemoryRecordsDeleteInputList], 2
479
565
  ];
480
566
  export var BatchDeleteMemoryRecordsOutput$ = [3, n0, _BDMRO,
@@ -484,7 +570,7 @@ export var BatchDeleteMemoryRecordsOutput$ = [3, n0, _BDMRO,
484
570
  ];
485
571
  export var BatchUpdateMemoryRecordsInput$ = [3, n0, _BUMRI,
486
572
  0,
487
- [_mI, _r],
573
+ [_mI, _re],
488
574
  [[0, 1], [() => MemoryRecordsUpdateInputList, 0]], 2
489
575
  ];
490
576
  export var BatchUpdateMemoryRecordsOutput$ = [3, n0, _BUMRO,
@@ -542,15 +628,9 @@ export var CompleteResourceTokenAuthResponse$ = [3, n0, _CRTARo,
542
628
  [],
543
629
  []
544
630
  ];
545
- export var ConflictException$ = [-3, n0, _CE,
546
- { [_e]: _c, [_hE]: 409 },
547
- [_m],
548
- [0]
549
- ];
550
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
551
631
  export var ContentBlock$ = [3, n0, _CB,
552
632
  0,
553
- [_t, _te, _d, _mT, _u, _n, _de, _si, _re],
633
+ [_t, _te, _d, _mT, _u, _n, _de, _si, _res],
554
634
  [0, 0, 21, 0, 0, 0, 0, 1, () => ResourceContent$], 1
555
635
  ];
556
636
  export var Conversational$ = [3, n0, _C,
@@ -588,12 +668,6 @@ export var DeleteMemoryRecordOutput$ = [3, n0, _DMRO,
588
668
  [_mRI],
589
669
  [0], 1
590
670
  ];
591
- export var DuplicateIdException$ = [-3, n0, _DIE,
592
- { [_e]: _c, [_hE]: 409 },
593
- [_m],
594
- [0]
595
- ];
596
- TypeRegistry.for(n0).registerError(DuplicateIdException$, DuplicateIdException);
597
671
  export var EvaluateRequest$ = [3, n0, _ER,
598
672
  0,
599
673
  [_eIv, _eIva, _eTv],
@@ -749,18 +823,6 @@ export var InputContentBlock$ = [3, n0, _ICB,
749
823
  [_pa, _te, _bl],
750
824
  [0, 0, [() => Body, 0]], 1
751
825
  ];
752
- export var InternalServerException$ = [-3, n0, _ISE,
753
- { [_e]: _se, [_hE]: 500 },
754
- [_m],
755
- [0]
756
- ];
757
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
758
- export var InvalidInputException$ = [-3, n0, _IIE,
759
- { [_e]: _c, [_hE]: 400 },
760
- [_m],
761
- [0], 1
762
- ];
763
- TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
764
826
  export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
765
827
  0,
766
828
  [_aRA, _p, _cTo, _a, _mSI, _rSI, _mPV, _rUI, _tI, _tP, _tS, _ba, _q, _aIc],
@@ -768,7 +830,7 @@ export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
768
830
  ];
769
831
  export var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
770
832
  0,
771
- [_cTo, _rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _res, _sCt],
833
+ [_cTo, _rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _resp, _sCt],
772
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
773
835
  ];
774
836
  export var InvokeCodeInterpreterRequest$ = [3, n0, _ICIR,
@@ -911,12 +973,6 @@ export var ResourceContent$ = [3, n0, _RC,
911
973
  [_t, _u, _mT, _te, _bl],
912
974
  [0, 0, 0, 0, 21], 1
913
975
  ];
914
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
915
- { [_e]: _c, [_hE]: 404 },
916
- [_m],
917
- [0]
918
- ];
919
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
920
976
  export var RetrieveMemoryRecordsInput$ = [3, n0, _RMRI,
921
977
  0,
922
978
  [_mI, _na, _sCe, _nT, _mRa],
@@ -927,18 +983,6 @@ export var RetrieveMemoryRecordsOutput$ = [3, n0, _RMRO,
927
983
  [_mRS, _nT],
928
984
  [[() => MemoryRecordSummaryList, 0], 0], 1
929
985
  ];
930
- export var RetryableConflictException$ = [-3, n0, _RCE,
931
- { [_e]: _c, [_hE]: 409 },
932
- [_m],
933
- [0], 1
934
- ];
935
- TypeRegistry.for(n0).registerError(RetryableConflictException$, RetryableConflictException);
936
- export var RuntimeClientError$ = [-3, n0, _RCEu,
937
- { [_e]: _c, [_hE]: 424 },
938
- [_m],
939
- [0]
940
- ];
941
- TypeRegistry.for(n0).registerError(RuntimeClientError$, RuntimeClientError);
942
986
  export var S3Location$ = [3, n0, _SL,
943
987
  0,
944
988
  [_bu, _pre, _vI],
@@ -959,18 +1003,6 @@ export var SearchCriteria$ = [3, n0, _SC,
959
1003
  [_sQ, _mSIe, _tK, _mF],
960
1004
  [[() => SensitiveString, 0], 0, 1, () => MemoryMetadataFilterList], 1
961
1005
  ];
962
- export var ServiceException$ = [-3, n0, _SE,
963
- { [_e]: _se, [_hE]: 500 },
964
- [_m],
965
- [0], 1
966
- ];
967
- TypeRegistry.for(n0).registerError(ServiceException$, ServiceException);
968
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
969
- { [_e]: _c, [_hE]: 402 },
970
- [_m],
971
- [0]
972
- ];
973
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
974
1006
  export var SessionSummary$ = [3, n0, _SSe,
975
1007
  0,
976
1008
  [_sI, _aI, _cA],
@@ -1041,18 +1073,6 @@ export var StopRuntimeSessionResponse$ = [3, n0, _SRSRt,
1041
1073
  [_rSI, _sCt],
1042
1074
  [[0, { [_hH]: _XABARSI }], [1, 32]]
1043
1075
  ];
1044
- export var ThrottledException$ = [-3, n0, _TE,
1045
- { [_e]: _c, [_hE]: 429 },
1046
- [_m],
1047
- [0], 1
1048
- ];
1049
- TypeRegistry.for(n0).registerError(ThrottledException$, ThrottledException);
1050
- export var ThrottlingException$ = [-3, n0, _TEh,
1051
- { [_e]: _c, [_hE]: 429 },
1052
- [_m],
1053
- [0]
1054
- ];
1055
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
1056
1076
  export var TokenUsage$ = [3, n0, _TU,
1057
1077
  0,
1058
1078
  [_iTn, _oT, _tT],
@@ -1068,12 +1088,6 @@ export var ToolResultStructuredContent$ = [3, n0, _TRSC,
1068
1088
  [_tIa, _tSa, _std, _stde, _eCx, _eTx],
1069
1089
  [0, 0, 0, 0, 1, 1]
1070
1090
  ];
1071
- export var UnauthorizedException$ = [-3, n0, _UE,
1072
- { [_e]: _c, [_hE]: 401 },
1073
- [_m],
1074
- [0]
1075
- ];
1076
- TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
1077
1091
  export var UpdateBrowserStreamRequest$ = [3, n0, _UBSR,
1078
1092
  0,
1079
1093
  [_bI, _sI, _sUt, _cT],
@@ -1084,12 +1098,6 @@ export var UpdateBrowserStreamResponse$ = [3, n0, _UBSRp,
1084
1098
  [_bI, _sI, _str, _uA],
1085
1099
  [0, 0, () => BrowserSessionStream$, 5], 4
1086
1100
  ];
1087
- export var ValidationException$ = [-3, n0, _VE,
1088
- { [_e]: _c, [_hE]: 400 },
1089
- [_m, _rea, _fL],
1090
- [0, 0, () => ValidationExceptionFieldList], 2
1091
- ];
1092
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
1093
1101
  export var ValidationExceptionField$ = [3, n0, _VEF,
1094
1102
  0,
1095
1103
  [_n, _m],
@@ -1100,8 +1108,6 @@ export var ViewPort$ = [3, n0, _VP,
1100
1108
  [_w, _h],
1101
1109
  [1, 1], 2
1102
1110
  ];
1103
- export var BedrockAgentCoreServiceException$ = [-3, _sm, "BedrockAgentCoreServiceException", 0, [], []];
1104
- TypeRegistry.for(_sm).registerError(BedrockAgentCoreServiceException$, BedrockAgentCoreServiceException);
1105
1111
  var ActorSummaryList = [1, n0, _ASL,
1106
1112
  0, () => ActorSummary$
1107
1113
  ];
@@ -1,5 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var BedrockAgentCoreServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var DuplicateIdException$: StaticErrorSchema;
7
+ export declare var InternalServerException$: StaticErrorSchema;
8
+ export declare var InvalidInputException$: StaticErrorSchema;
9
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
10
+ export declare var RetryableConflictException$: StaticErrorSchema;
11
+ export declare var RuntimeClientError$: StaticErrorSchema;
12
+ export declare var ServiceException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ThrottledException$: StaticErrorSchema;
15
+ export declare var ThrottlingException$: StaticErrorSchema;
16
+ export declare var UnauthorizedException$: StaticErrorSchema;
17
+ export declare var ValidationException$: StaticErrorSchema;
18
+ /**
19
+ * TypeRegistry instances containing modeled errors.
20
+ * @internal
21
+ *
22
+ */
23
+ export declare const errorTypeRegistries: TypeRegistry[];
3
24
  export declare var ActorSummary$: StaticStructureSchema;
4
25
  export declare var AutomationStream$: StaticStructureSchema;
5
26
  export declare var AutomationStreamUpdate$: StaticStructureSchema;
@@ -20,7 +41,6 @@ export declare var CodeInterpreterResult$: StaticStructureSchema;
20
41
  export declare var CodeInterpreterSessionSummary$: StaticStructureSchema;
21
42
  export declare var CompleteResourceTokenAuthRequest$: StaticStructureSchema;
22
43
  export declare var CompleteResourceTokenAuthResponse$: StaticStructureSchema;
23
- export declare var ConflictException$: StaticErrorSchema;
24
44
  export declare var ContentBlock$: StaticStructureSchema;
25
45
  export declare var Conversational$: StaticStructureSchema;
26
46
  export declare var CreateEventInput$: StaticStructureSchema;
@@ -29,7 +49,6 @@ export declare var DeleteEventInput$: StaticStructureSchema;
29
49
  export declare var DeleteEventOutput$: StaticStructureSchema;
30
50
  export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
31
51
  export declare var DeleteMemoryRecordOutput$: StaticStructureSchema;
32
- export declare var DuplicateIdException$: StaticErrorSchema;
33
52
  export declare var EvaluateRequest$: StaticStructureSchema;
34
53
  export declare var EvaluateResponse$: StaticStructureSchema;
35
54
  export declare var EvaluationResultContent$: StaticStructureSchema;
@@ -61,8 +80,6 @@ export declare var GetWorkloadAccessTokenForUserIdResponse$: StaticStructureSche
61
80
  export declare var GetWorkloadAccessTokenRequest$: StaticStructureSchema;
62
81
  export declare var GetWorkloadAccessTokenResponse$: StaticStructureSchema;
63
82
  export declare var InputContentBlock$: StaticStructureSchema;
64
- export declare var InternalServerException$: StaticErrorSchema;
65
- export declare var InvalidInputException$: StaticErrorSchema;
66
83
  export declare var InvokeAgentRuntimeRequest$: StaticStructureSchema;
67
84
  export declare var InvokeAgentRuntimeResponse$: StaticStructureSchema;
68
85
  export declare var InvokeCodeInterpreterRequest$: StaticStructureSchema;
@@ -93,17 +110,12 @@ export declare var MessageMetadata$: StaticStructureSchema;
93
110
  export declare var ProxyBypass$: StaticStructureSchema;
94
111
  export declare var ProxyConfiguration$: StaticStructureSchema;
95
112
  export declare var ResourceContent$: StaticStructureSchema;
96
- export declare var ResourceNotFoundException$: StaticErrorSchema;
97
113
  export declare var RetrieveMemoryRecordsInput$: StaticStructureSchema;
98
114
  export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
99
- export declare var RetryableConflictException$: StaticErrorSchema;
100
- export declare var RuntimeClientError$: StaticErrorSchema;
101
115
  export declare var S3Location$: StaticStructureSchema;
102
116
  export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
103
117
  export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
104
118
  export declare var SearchCriteria$: StaticStructureSchema;
105
- export declare var ServiceException$: StaticErrorSchema;
106
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
107
119
  export declare var SessionSummary$: StaticStructureSchema;
108
120
  export declare var SpanContext$: StaticStructureSchema;
109
121
  export declare var StartBrowserSessionRequest$: StaticStructureSchema;
@@ -118,18 +130,13 @@ export declare var StopCodeInterpreterSessionRequest$: StaticStructureSchema;
118
130
  export declare var StopCodeInterpreterSessionResponse$: StaticStructureSchema;
119
131
  export declare var StopRuntimeSessionRequest$: StaticStructureSchema;
120
132
  export declare var StopRuntimeSessionResponse$: StaticStructureSchema;
121
- export declare var ThrottledException$: StaticErrorSchema;
122
- export declare var ThrottlingException$: StaticErrorSchema;
123
133
  export declare var TokenUsage$: StaticStructureSchema;
124
134
  export declare var ToolArguments$: StaticStructureSchema;
125
135
  export declare var ToolResultStructuredContent$: StaticStructureSchema;
126
- export declare var UnauthorizedException$: StaticErrorSchema;
127
136
  export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
128
137
  export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
129
- export declare var ValidationException$: StaticErrorSchema;
130
138
  export declare var ValidationExceptionField$: StaticStructureSchema;
131
139
  export declare var ViewPort$: StaticStructureSchema;
132
- export declare var BedrockAgentCoreServiceException$: StaticErrorSchema;
133
140
  export declare var CodeInterpreterStreamOutput$: StaticUnionSchema;
134
141
  export declare var Content$: StaticUnionSchema;
135
142
  export declare var Context$: StaticUnionSchema;
@@ -1,10 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var BedrockAgentCoreServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var DuplicateIdException$: StaticErrorSchema;
12
+ export declare var InternalServerException$: StaticErrorSchema;
13
+ export declare var InvalidInputException$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var RetryableConflictException$: StaticErrorSchema;
16
+ export declare var RuntimeClientError$: StaticErrorSchema;
17
+ export declare var ServiceException$: StaticErrorSchema;
18
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
19
+ export declare var ThrottledException$: StaticErrorSchema;
20
+ export declare var ThrottlingException$: StaticErrorSchema;
21
+ export declare var UnauthorizedException$: StaticErrorSchema;
22
+ export declare var ValidationException$: StaticErrorSchema;
23
+ export declare const errorTypeRegistries: TypeRegistry[];
8
24
  export declare var ActorSummary$: StaticStructureSchema;
9
25
  export declare var AutomationStream$: StaticStructureSchema;
10
26
  export declare var AutomationStreamUpdate$: StaticStructureSchema;
@@ -25,7 +41,6 @@ export declare var CodeInterpreterResult$: StaticStructureSchema;
25
41
  export declare var CodeInterpreterSessionSummary$: StaticStructureSchema;
26
42
  export declare var CompleteResourceTokenAuthRequest$: StaticStructureSchema;
27
43
  export declare var CompleteResourceTokenAuthResponse$: StaticStructureSchema;
28
- export declare var ConflictException$: StaticErrorSchema;
29
44
  export declare var ContentBlock$: StaticStructureSchema;
30
45
  export declare var Conversational$: StaticStructureSchema;
31
46
  export declare var CreateEventInput$: StaticStructureSchema;
@@ -34,7 +49,6 @@ export declare var DeleteEventInput$: StaticStructureSchema;
34
49
  export declare var DeleteEventOutput$: StaticStructureSchema;
35
50
  export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
36
51
  export declare var DeleteMemoryRecordOutput$: StaticStructureSchema;
37
- export declare var DuplicateIdException$: StaticErrorSchema;
38
52
  export declare var EvaluateRequest$: StaticStructureSchema;
39
53
  export declare var EvaluateResponse$: StaticStructureSchema;
40
54
  export declare var EvaluationResultContent$: StaticStructureSchema;
@@ -66,8 +80,6 @@ export declare var GetWorkloadAccessTokenForUserIdResponse$: StaticStructureSche
66
80
  export declare var GetWorkloadAccessTokenRequest$: StaticStructureSchema;
67
81
  export declare var GetWorkloadAccessTokenResponse$: StaticStructureSchema;
68
82
  export declare var InputContentBlock$: StaticStructureSchema;
69
- export declare var InternalServerException$: StaticErrorSchema;
70
- export declare var InvalidInputException$: StaticErrorSchema;
71
83
  export declare var InvokeAgentRuntimeRequest$: StaticStructureSchema;
72
84
  export declare var InvokeAgentRuntimeResponse$: StaticStructureSchema;
73
85
  export declare var InvokeCodeInterpreterRequest$: StaticStructureSchema;
@@ -98,17 +110,12 @@ export declare var MessageMetadata$: StaticStructureSchema;
98
110
  export declare var ProxyBypass$: StaticStructureSchema;
99
111
  export declare var ProxyConfiguration$: StaticStructureSchema;
100
112
  export declare var ResourceContent$: StaticStructureSchema;
101
- export declare var ResourceNotFoundException$: StaticErrorSchema;
102
113
  export declare var RetrieveMemoryRecordsInput$: StaticStructureSchema;
103
114
  export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
104
- export declare var RetryableConflictException$: StaticErrorSchema;
105
- export declare var RuntimeClientError$: StaticErrorSchema;
106
115
  export declare var S3Location$: StaticStructureSchema;
107
116
  export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
108
117
  export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
109
118
  export declare var SearchCriteria$: StaticStructureSchema;
110
- export declare var ServiceException$: StaticErrorSchema;
111
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
112
119
  export declare var SessionSummary$: StaticStructureSchema;
113
120
  export declare var SpanContext$: StaticStructureSchema;
114
121
  export declare var StartBrowserSessionRequest$: StaticStructureSchema;
@@ -123,18 +130,13 @@ export declare var StopCodeInterpreterSessionRequest$: StaticStructureSchema;
123
130
  export declare var StopCodeInterpreterSessionResponse$: StaticStructureSchema;
124
131
  export declare var StopRuntimeSessionRequest$: StaticStructureSchema;
125
132
  export declare var StopRuntimeSessionResponse$: StaticStructureSchema;
126
- export declare var ThrottledException$: StaticErrorSchema;
127
- export declare var ThrottlingException$: StaticErrorSchema;
128
133
  export declare var TokenUsage$: StaticStructureSchema;
129
134
  export declare var ToolArguments$: StaticStructureSchema;
130
135
  export declare var ToolResultStructuredContent$: StaticStructureSchema;
131
- export declare var UnauthorizedException$: StaticErrorSchema;
132
136
  export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
133
137
  export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
134
- export declare var ValidationException$: StaticErrorSchema;
135
138
  export declare var ValidationExceptionField$: StaticStructureSchema;
136
139
  export declare var ViewPort$: StaticStructureSchema;
137
- export declare var BedrockAgentCoreServiceException$: StaticErrorSchema;
138
140
  export declare var CodeInterpreterStreamOutput$: StaticUnionSchema;
139
141
  export declare var Content$: StaticUnionSchema;
140
142
  export declare var Context$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/eventstream-serde-browser": "^4.2.8",
38
38
  "@smithy/eventstream-serde-config-resolver": "^4.3.8",
39
39
  "@smithy/eventstream-serde-node": "^4.2.8",
@@ -41,25 +41,25 @@
41
41
  "@smithy/hash-node": "^4.2.8",
42
42
  "@smithy/invalid-dependency": "^4.2.8",
43
43
  "@smithy/middleware-content-length": "^4.2.8",
44
- "@smithy/middleware-endpoint": "^4.4.13",
45
- "@smithy/middleware-retry": "^4.4.30",
44
+ "@smithy/middleware-endpoint": "^4.4.14",
45
+ "@smithy/middleware-retry": "^4.4.31",
46
46
  "@smithy/middleware-serde": "^4.2.9",
47
47
  "@smithy/middleware-stack": "^4.2.8",
48
48
  "@smithy/node-config-provider": "^4.3.8",
49
- "@smithy/node-http-handler": "^4.4.9",
49
+ "@smithy/node-http-handler": "^4.4.10",
50
50
  "@smithy/protocol-http": "^5.3.8",
51
- "@smithy/smithy-client": "^4.11.2",
51
+ "@smithy/smithy-client": "^4.11.3",
52
52
  "@smithy/types": "^4.12.0",
53
53
  "@smithy/url-parser": "^4.2.8",
54
54
  "@smithy/util-base64": "^4.3.0",
55
55
  "@smithy/util-body-length-browser": "^4.2.0",
56
56
  "@smithy/util-body-length-node": "^4.2.1",
57
- "@smithy/util-defaults-mode-browser": "^4.3.29",
58
- "@smithy/util-defaults-mode-node": "^4.2.32",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
58
+ "@smithy/util-defaults-mode-node": "^4.2.33",
59
59
  "@smithy/util-endpoints": "^3.2.8",
60
60
  "@smithy/util-middleware": "^4.2.8",
61
61
  "@smithy/util-retry": "^4.2.8",
62
- "@smithy/util-stream": "^4.5.11",
62
+ "@smithy/util-stream": "^4.5.12",
63
63
  "@smithy/util-utf8": "^4.2.0",
64
64
  "tslib": "^2.6.2"
65
65
  },