@aws-sdk/client-bedrock-agent-runtime 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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultBedrockAgentRuntimeHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2023-07-26",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.bedrockagentruntime",
30
+ errorTypeRegistries,
29
31
  version: "2023-07-26",
30
32
  serviceTarget: "AmazonBedrockAgentRunTimeService",
31
33
  },
@@ -40,8 +40,8 @@ const _CBon = "ContentBlock";
40
40
  const _CC = "CollaboratorConfiguration";
41
41
  const _CCa = "CallerChain";
42
42
  const _CCo = "CollaboratorConfigurations";
43
- const _CE = "CitationEvent";
44
- const _CEo = "ConflictException";
43
+ const _CE = "ConflictException";
44
+ const _CEi = "CitationEvent";
45
45
  const _CH = "ConversationHistory";
46
46
  const _CI = "CollaborationInstruction";
47
47
  const _CIII = "CodeInterpreterInvocationInput";
@@ -719,7 +719,7 @@ const _q = "queries";
719
719
  const _qGI = "queryGenerationInput";
720
720
  const _qTC = "queryTransformationConfiguration";
721
721
  const _qu = "query";
722
- const _r = "regex";
722
+ const _r = "reason";
723
723
  const _rA = "resourceArn";
724
724
  const _rAGC = "retrieveAndGenerateConfiguration";
725
725
  const _rB = "requestBody";
@@ -748,13 +748,13 @@ const _rSe = "responseStream";
748
748
  const _rSel = "relevanceScore";
749
749
  const _rT = "reasoningText";
750
750
  const _ra = "rationale";
751
- const _re = "regexes";
752
- const _rea = "reason";
751
+ const _re = "regex";
752
+ const _reg = "regexes";
753
753
  const _req = "required";
754
754
  const _res = "results";
755
755
  const _ro = "role";
756
756
  const _row = "row";
757
- const _s = "server";
757
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentruntime";
758
758
  const _sA = "sessionArn";
759
759
  const _sAe = "sessionAttributes";
760
760
  const _sAo = "sourceArn";
@@ -792,8 +792,8 @@ const _sU = "s3Uri";
792
792
  const _sW = "startsWith";
793
793
  const _s_ = "s3";
794
794
  const _sc = "score";
795
+ const _se = "server";
795
796
  const _si = "signature";
796
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentruntime";
797
797
  const _so = "sources";
798
798
  const _sou = "source";
799
799
  const _sp = "span";
@@ -849,6 +849,74 @@ const n0 = "com.amazonaws.bedrockagentruntime";
849
849
  import { TypeRegistry } from "@smithy/core/schema";
850
850
  import { BedrockAgentRuntimeServiceException } from "../models/BedrockAgentRuntimeServiceException";
851
851
  import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
852
+ const _s_registry = TypeRegistry.for(_s);
853
+ export var BedrockAgentRuntimeServiceException$ = [-3, _s, "BedrockAgentRuntimeServiceException", 0, [], []];
854
+ _s_registry.registerError(BedrockAgentRuntimeServiceException$, BedrockAgentRuntimeServiceException);
855
+ const n0_registry = TypeRegistry.for(n0);
856
+ export var AccessDeniedException$ = [-3, n0, _ADE,
857
+ { [_e]: _c, [_hE]: 403 },
858
+ [_m],
859
+ [0]
860
+ ];
861
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
862
+ export var BadGatewayException$ = [-3, n0, _BGE,
863
+ { [_e]: _se, [_hE]: 502 },
864
+ [_m, _rN],
865
+ [0, 0]
866
+ ];
867
+ n0_registry.registerError(BadGatewayException$, BadGatewayException);
868
+ export var ConflictException$ = [-3, n0, _CE,
869
+ { [_e]: _c, [_hE]: 409 },
870
+ [_m],
871
+ [0]
872
+ ];
873
+ n0_registry.registerError(ConflictException$, ConflictException);
874
+ export var DependencyFailedException$ = [-3, n0, _DFE,
875
+ { [_e]: _c, [_hE]: 424 },
876
+ [_m, _rN],
877
+ [0, 0]
878
+ ];
879
+ n0_registry.registerError(DependencyFailedException$, DependencyFailedException);
880
+ export var InternalServerException$ = [-3, n0, _ISE,
881
+ { [_e]: _se, [_hE]: 500 },
882
+ [_m, _r],
883
+ [0, 0]
884
+ ];
885
+ n0_registry.registerError(InternalServerException$, InternalServerException);
886
+ export var ModelNotReadyException$ = [-3, n0, _MNRE,
887
+ { [_e]: _c, [_hE]: 424 },
888
+ [_m],
889
+ [0]
890
+ ];
891
+ n0_registry.registerError(ModelNotReadyException$, ModelNotReadyException);
892
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
893
+ { [_e]: _c, [_hE]: 404 },
894
+ [_m],
895
+ [0]
896
+ ];
897
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
898
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
899
+ { [_e]: _c, [_hE]: 400 },
900
+ [_m],
901
+ [0]
902
+ ];
903
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
904
+ export var ThrottlingException$ = [-3, n0, _TE,
905
+ { [_e]: _c, [_hE]: 429 },
906
+ [_m],
907
+ [0]
908
+ ];
909
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
910
+ export var ValidationException$ = [-3, n0, _VE,
911
+ { [_e]: _c, [_hE]: 400 },
912
+ [_m],
913
+ [0]
914
+ ];
915
+ n0_registry.registerError(ValidationException$, ValidationException);
916
+ export const errorTypeRegistries = [
917
+ _s_registry,
918
+ n0_registry,
919
+ ];
852
920
  var ActionGroupName = [0, n0, _AGN, 8, 0];
853
921
  var ActionGroupOutputString = [0, n0, _AGOS, 8, 0];
854
922
  var AgentCollaboratorPayloadString = [0, n0, _ACPS, 8, 0];
@@ -877,12 +945,6 @@ var Source = [0, n0, _S, 8, 0];
877
945
  var TextPromptTemplate = [0, n0, _TPT, 8, 0];
878
946
  var TraceKnowledgeBaseId = [0, n0, _TKBI, 8, 0];
879
947
  var Verb = [0, n0, _V, 8, 0];
880
- export var AccessDeniedException$ = [-3, n0, _ADE,
881
- { [_e]: _c, [_hE]: 403 },
882
- [_m],
883
- [0]
884
- ];
885
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
886
948
  export var ActionGroupInvocationInput$ = [3, n0, _AGII,
887
949
  0,
888
950
  [_aGN, _v, _aP, _p, _rB, _f, _eT, _iI],
@@ -953,12 +1015,6 @@ export var AudioSegment$ = [3, n0, _AS,
953
1015
  [_sU, _tr],
954
1016
  [0, 0], 1
955
1017
  ];
956
- export var BadGatewayException$ = [-3, n0, _BGE,
957
- { [_e]: _s, [_hE]: 502 },
958
- [_m, _rN],
959
- [0, 0]
960
- ];
961
- TypeRegistry.for(n0).registerError(BadGatewayException$, BadGatewayException);
962
1018
  export var BedrockModelConfigurations$ = [3, n0, _BMC,
963
1019
  0,
964
1020
  [_pC],
@@ -989,7 +1045,7 @@ export var Citation$ = [3, n0, _C,
989
1045
  [_gRP, _rR],
990
1046
  [[() => GeneratedResponsePart$, 0], [() => RetrievedReferences, 0]]
991
1047
  ];
992
- export var CitationEvent$ = [3, n0, _CE,
1048
+ export var CitationEvent$ = [3, n0, _CEi,
993
1049
  0,
994
1050
  [_cit, _gRP, _rR],
995
1051
  [[() => Citation$, 0], [() => GeneratedResponsePart$, 0], [() => RetrievedReferences, 0]]
@@ -1019,12 +1075,6 @@ export var ConditionResultEvent$ = [3, n0, _CRE,
1019
1075
  [_nN, _ti, _sC],
1020
1076
  [0, 5, [() => SatisfiedConditions, 0]], 3
1021
1077
  ];
1022
- export var ConflictException$ = [-3, n0, _CEo,
1023
- { [_e]: _c, [_hE]: 409 },
1024
- [_m],
1025
- [0]
1026
- ];
1027
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
1028
1078
  export var ContentBody$ = [3, n0, _CB,
1029
1079
  0,
1030
1080
  [_b, _im],
@@ -1090,12 +1140,6 @@ export var DeleteSessionResponse$ = [3, n0, _DSRe,
1090
1140
  [],
1091
1141
  []
1092
1142
  ];
1093
- export var DependencyFailedException$ = [-3, n0, _DFE,
1094
- { [_e]: _c, [_hE]: 424 },
1095
- [_m, _rN],
1096
- [0, 0]
1097
- ];
1098
- TypeRegistry.for(n0).registerError(DependencyFailedException$, DependencyFailedException);
1099
1143
  export var EndSessionRequest$ = [3, n0, _ESR,
1100
1144
  0,
1101
1145
  [_sI],
@@ -1408,12 +1452,12 @@ export var GuardrailPiiEntityFilter$ = [3, n0, _GPEF,
1408
1452
  ];
1409
1453
  export var GuardrailRegexFilter$ = [3, n0, _GRF,
1410
1454
  8,
1411
- [_n, _r, _ma, _a],
1455
+ [_n, _re, _ma, _a],
1412
1456
  [0, 0, 0, 0]
1413
1457
  ];
1414
1458
  export var GuardrailSensitiveInformationPolicyAssessment$ = [3, n0, _GSIPA,
1415
1459
  8,
1416
- [_pE, _re],
1460
+ [_pE, _reg],
1417
1461
  [[() => GuardrailPiiEntityFilterList, 0], [() => GuardrailRegexFilterList, 0]]
1418
1462
  ];
1419
1463
  export var GuardrailTopic$ = [3, n0, _GT,
@@ -1501,12 +1545,6 @@ export var InputImage$ = [3, n0, _IIn,
1501
1545
  [_fo, _iCn],
1502
1546
  [0, [() => ByteContentBlob, 0]], 2
1503
1547
  ];
1504
- export var InternalServerException$ = [-3, n0, _ISE,
1505
- { [_e]: _s, [_hE]: 500 },
1506
- [_m, _rea],
1507
- [0, 0]
1508
- ];
1509
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
1510
1548
  export var InvocationInput$ = [3, n0, _IInv,
1511
1549
  8,
1512
1550
  [_tI, _iT, _aGII, _kBLI, _cIII, _aCII],
@@ -1692,12 +1730,6 @@ export var ModelInvocationInput$ = [3, n0, _MII,
1692
1730
  [_tI, _t, _ty, _oL, _pCM, _iCnf, _pM, _fM],
1693
1731
  [0, [() => PromptText, 0], 0, 0, 0, () => InferenceConfiguration$, 0, 0]
1694
1732
  ];
1695
- export var ModelNotReadyException$ = [-3, n0, _MNRE,
1696
- { [_e]: _c, [_hE]: 424 },
1697
- [_m],
1698
- [0]
1699
- ];
1700
- TypeRegistry.for(n0).registerError(ModelNotReadyException$, ModelNotReadyException);
1701
1733
  export var ModelPerformanceConfiguration$ = [3, n0, _MPC,
1702
1734
  0,
1703
1735
  [_pC],
@@ -1938,12 +1970,6 @@ export var RerankTextDocument$ = [3, n0, _RTD,
1938
1970
  [_t],
1939
1971
  [0]
1940
1972
  ];
1941
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1942
- { [_e]: _c, [_hE]: 404 },
1943
- [_m],
1944
- [0]
1945
- ];
1946
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1947
1973
  export var RetrievalResultConfluenceLocation$ = [3, n0, _RRCL,
1948
1974
  0,
1949
1975
  [_ur],
@@ -2099,12 +2125,6 @@ export var SatisfiedCondition$ = [3, n0, _SC,
2099
2125
  [_cNo],
2100
2126
  [0], 1
2101
2127
  ];
2102
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
2103
- { [_e]: _c, [_hE]: 400 },
2104
- [_m],
2105
- [0]
2106
- ];
2107
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
2108
2128
  export var SessionState$ = [3, n0, _SS,
2109
2129
  0,
2110
2130
  [_sAe, _pSA, _rCIR, _iI, _fi, _kBCn, _cH],
@@ -2180,12 +2200,6 @@ export var TextToSqlKnowledgeBaseConfiguration$ = [3, n0, _TTSKBC,
2180
2200
  [_kBA],
2181
2201
  [0], 1
2182
2202
  ];
2183
- export var ThrottlingException$ = [-3, n0, _TE,
2184
- { [_e]: _c, [_hE]: 429 },
2185
- [_m],
2186
- [0]
2187
- ];
2188
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
2189
2203
  export var TracePart$ = [3, n0, _TPr,
2190
2204
  8,
2191
2205
  [_sIe, _tra, _cCa, _eTv, _cN, _aI, _aAI, _aV],
@@ -2221,12 +2235,6 @@ export var Usage$ = [3, n0, _U,
2221
2235
  [_iTnp, _oTu],
2222
2236
  [1, 1]
2223
2237
  ];
2224
- export var ValidationException$ = [-3, n0, _VE,
2225
- { [_e]: _c, [_hE]: 400 },
2226
- [_m],
2227
- [0]
2228
- ];
2229
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
2230
2238
  export var VectorSearchBedrockRerankingConfiguration$ = [3, n0, _VSBRC,
2231
2239
  0,
2232
2240
  [_mC, _nORR, _mCet],
@@ -2247,8 +2255,6 @@ export var VideoSegment$ = [3, n0, _VS,
2247
2255
  [_sU, _su],
2248
2256
  [0, 0], 1
2249
2257
  ];
2250
- export var BedrockAgentRuntimeServiceException$ = [-3, _sm, "BedrockAgentRuntimeServiceException", 0, [], []];
2251
- TypeRegistry.for(_sm).registerError(BedrockAgentRuntimeServiceException$, BedrockAgentRuntimeServiceException);
2252
2258
  var AgentActionGroups = [1, n0, _AAGg,
2253
2259
  0, [() => AgentActionGroup$,
2254
2260
  0]
@@ -1,5 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var BedrockAgentRuntimeServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var BadGatewayException$: StaticErrorSchema;
6
+ export declare var ConflictException$: StaticErrorSchema;
7
+ export declare var DependencyFailedException$: StaticErrorSchema;
8
+ export declare var InternalServerException$: StaticErrorSchema;
9
+ export declare var ModelNotReadyException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ /**
15
+ * TypeRegistry instances containing modeled errors.
16
+ * @internal
17
+ *
18
+ */
19
+ export declare const errorTypeRegistries: TypeRegistry[];
3
20
  export declare var ActionGroupInvocationInput$: StaticStructureSchema;
4
21
  export declare var ActionGroupInvocationOutput$: StaticStructureSchema;
5
22
  export declare var AgentActionGroup$: StaticStructureSchema;
@@ -14,7 +31,6 @@ export declare var ApiRequestBody$: StaticStructureSchema;
14
31
  export declare var ApiResult$: StaticStructureSchema;
15
32
  export declare var Attribution$: StaticStructureSchema;
16
33
  export declare var AudioSegment$: StaticStructureSchema;
17
- export declare var BadGatewayException$: StaticErrorSchema;
18
34
  export declare var BedrockModelConfigurations$: StaticStructureSchema;
19
35
  export declare var BedrockRerankingConfiguration$: StaticStructureSchema;
20
36
  export declare var BedrockRerankingModelConfiguration$: StaticStructureSchema;
@@ -27,7 +43,6 @@ export declare var CodeInterpreterInvocationOutput$: StaticStructureSchema;
27
43
  export declare var Collaborator$: StaticStructureSchema;
28
44
  export declare var CollaboratorConfiguration$: StaticStructureSchema;
29
45
  export declare var ConditionResultEvent$: StaticStructureSchema;
30
- export declare var ConflictException$: StaticErrorSchema;
31
46
  export declare var ContentBody$: StaticStructureSchema;
32
47
  export declare var ConversationHistory$: StaticStructureSchema;
33
48
  export declare var CreateInvocationRequest$: StaticStructureSchema;
@@ -41,7 +56,6 @@ export declare var DeleteAgentMemoryRequest$: StaticStructureSchema;
41
56
  export declare var DeleteAgentMemoryResponse$: StaticStructureSchema;
42
57
  export declare var DeleteSessionRequest$: StaticStructureSchema;
43
58
  export declare var DeleteSessionResponse$: StaticStructureSchema;
44
- export declare var DependencyFailedException$: StaticErrorSchema;
45
59
  export declare var EndSessionRequest$: StaticStructureSchema;
46
60
  export declare var EndSessionResponse$: StaticStructureSchema;
47
61
  export declare var ExternalSource$: StaticStructureSchema;
@@ -123,7 +137,6 @@ export declare var InlineBedrockModelConfigurations$: StaticStructureSchema;
123
137
  export declare var InlineSessionState$: StaticStructureSchema;
124
138
  export declare var InputFile$: StaticStructureSchema;
125
139
  export declare var InputImage$: StaticStructureSchema;
126
- export declare var InternalServerException$: StaticErrorSchema;
127
140
  export declare var InvocationInput$: StaticStructureSchema;
128
141
  export declare var InvocationStep$: StaticStructureSchema;
129
142
  export declare var InvocationStepSummary$: StaticStructureSchema;
@@ -161,7 +174,6 @@ export declare var Metadata$: StaticStructureSchema;
161
174
  export declare var MetadataAttributeSchema$: StaticStructureSchema;
162
175
  export declare var MetadataConfigurationForReranking$: StaticStructureSchema;
163
176
  export declare var ModelInvocationInput$: StaticStructureSchema;
164
- export declare var ModelNotReadyException$: StaticErrorSchema;
165
177
  export declare var ModelPerformanceConfiguration$: StaticStructureSchema;
166
178
  export declare var NodeActionEvent$: StaticStructureSchema;
167
179
  export declare var NodeDependencyEvent$: StaticStructureSchema;
@@ -210,7 +222,6 @@ export declare var RerankResponse$: StaticStructureSchema;
210
222
  export declare var RerankResult$: StaticStructureSchema;
211
223
  export declare var RerankSource$: StaticStructureSchema;
212
224
  export declare var RerankTextDocument$: StaticStructureSchema;
213
- export declare var ResourceNotFoundException$: StaticErrorSchema;
214
225
  export declare var RetrievalResultConfluenceLocation$: StaticStructureSchema;
215
226
  export declare var RetrievalResultContent$: StaticStructureSchema;
216
227
  export declare var RetrievalResultContentColumn$: StaticStructureSchema;
@@ -242,7 +253,6 @@ export declare var S3Location$: StaticStructureSchema;
242
253
  export declare var S3ObjectDoc$: StaticStructureSchema;
243
254
  export declare var S3ObjectFile$: StaticStructureSchema;
244
255
  export declare var SatisfiedCondition$: StaticStructureSchema;
245
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
246
256
  export declare var SessionState$: StaticStructureSchema;
247
257
  export declare var SessionSummary$: StaticStructureSchema;
248
258
  export declare var Span$: StaticStructureSchema;
@@ -258,7 +268,6 @@ export declare var TextPrompt$: StaticStructureSchema;
258
268
  export declare var TextResponsePart$: StaticStructureSchema;
259
269
  export declare var TextToSqlConfiguration$: StaticStructureSchema;
260
270
  export declare var TextToSqlKnowledgeBaseConfiguration$: StaticStructureSchema;
261
- export declare var ThrottlingException$: StaticErrorSchema;
262
271
  export declare var TracePart$: StaticStructureSchema;
263
272
  export declare var TransformationConfiguration$: StaticStructureSchema;
264
273
  export declare var UntagResourceRequest$: StaticStructureSchema;
@@ -266,12 +275,10 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
266
275
  export declare var UpdateSessionRequest$: StaticStructureSchema;
267
276
  export declare var UpdateSessionResponse$: StaticStructureSchema;
268
277
  export declare var Usage$: StaticStructureSchema;
269
- export declare var ValidationException$: StaticErrorSchema;
270
278
  export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSchema;
271
279
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
272
280
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
273
281
  export declare var VideoSegment$: StaticStructureSchema;
274
- export declare var BedrockAgentRuntimeServiceException$: StaticErrorSchema;
275
282
  export declare var ActionGroupExecutor$: StaticUnionSchema;
276
283
  export declare var APISchema$: StaticUnionSchema;
277
284
  export declare var BedrockSessionContentBlock$: StaticUnionSchema;
@@ -1,10 +1,22 @@
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 BedrockAgentRuntimeServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var BadGatewayException$: StaticErrorSchema;
11
+ export declare var ConflictException$: StaticErrorSchema;
12
+ export declare var DependencyFailedException$: StaticErrorSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var ModelNotReadyException$: StaticErrorSchema;
15
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
16
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
17
+ export declare var ThrottlingException$: StaticErrorSchema;
18
+ export declare var ValidationException$: StaticErrorSchema;
19
+ export declare const errorTypeRegistries: TypeRegistry[];
8
20
  export declare var ActionGroupInvocationInput$: StaticStructureSchema;
9
21
  export declare var ActionGroupInvocationOutput$: StaticStructureSchema;
10
22
  export declare var AgentActionGroup$: StaticStructureSchema;
@@ -19,7 +31,6 @@ export declare var ApiRequestBody$: StaticStructureSchema;
19
31
  export declare var ApiResult$: StaticStructureSchema;
20
32
  export declare var Attribution$: StaticStructureSchema;
21
33
  export declare var AudioSegment$: StaticStructureSchema;
22
- export declare var BadGatewayException$: StaticErrorSchema;
23
34
  export declare var BedrockModelConfigurations$: StaticStructureSchema;
24
35
  export declare var BedrockRerankingConfiguration$: StaticStructureSchema;
25
36
  export declare var BedrockRerankingModelConfiguration$: StaticStructureSchema;
@@ -32,7 +43,6 @@ export declare var CodeInterpreterInvocationOutput$: StaticStructureSchema;
32
43
  export declare var Collaborator$: StaticStructureSchema;
33
44
  export declare var CollaboratorConfiguration$: StaticStructureSchema;
34
45
  export declare var ConditionResultEvent$: StaticStructureSchema;
35
- export declare var ConflictException$: StaticErrorSchema;
36
46
  export declare var ContentBody$: StaticStructureSchema;
37
47
  export declare var ConversationHistory$: StaticStructureSchema;
38
48
  export declare var CreateInvocationRequest$: StaticStructureSchema;
@@ -46,7 +56,6 @@ export declare var DeleteAgentMemoryRequest$: StaticStructureSchema;
46
56
  export declare var DeleteAgentMemoryResponse$: StaticStructureSchema;
47
57
  export declare var DeleteSessionRequest$: StaticStructureSchema;
48
58
  export declare var DeleteSessionResponse$: StaticStructureSchema;
49
- export declare var DependencyFailedException$: StaticErrorSchema;
50
59
  export declare var EndSessionRequest$: StaticStructureSchema;
51
60
  export declare var EndSessionResponse$: StaticStructureSchema;
52
61
  export declare var ExternalSource$: StaticStructureSchema;
@@ -128,7 +137,6 @@ export declare var InlineBedrockModelConfigurations$: StaticStructureSchema;
128
137
  export declare var InlineSessionState$: StaticStructureSchema;
129
138
  export declare var InputFile$: StaticStructureSchema;
130
139
  export declare var InputImage$: StaticStructureSchema;
131
- export declare var InternalServerException$: StaticErrorSchema;
132
140
  export declare var InvocationInput$: StaticStructureSchema;
133
141
  export declare var InvocationStep$: StaticStructureSchema;
134
142
  export declare var InvocationStepSummary$: StaticStructureSchema;
@@ -166,7 +174,6 @@ export declare var Metadata$: StaticStructureSchema;
166
174
  export declare var MetadataAttributeSchema$: StaticStructureSchema;
167
175
  export declare var MetadataConfigurationForReranking$: StaticStructureSchema;
168
176
  export declare var ModelInvocationInput$: StaticStructureSchema;
169
- export declare var ModelNotReadyException$: StaticErrorSchema;
170
177
  export declare var ModelPerformanceConfiguration$: StaticStructureSchema;
171
178
  export declare var NodeActionEvent$: StaticStructureSchema;
172
179
  export declare var NodeDependencyEvent$: StaticStructureSchema;
@@ -215,7 +222,6 @@ export declare var RerankResponse$: StaticStructureSchema;
215
222
  export declare var RerankResult$: StaticStructureSchema;
216
223
  export declare var RerankSource$: StaticStructureSchema;
217
224
  export declare var RerankTextDocument$: StaticStructureSchema;
218
- export declare var ResourceNotFoundException$: StaticErrorSchema;
219
225
  export declare var RetrievalResultConfluenceLocation$: StaticStructureSchema;
220
226
  export declare var RetrievalResultContent$: StaticStructureSchema;
221
227
  export declare var RetrievalResultContentColumn$: StaticStructureSchema;
@@ -247,7 +253,6 @@ export declare var S3Location$: StaticStructureSchema;
247
253
  export declare var S3ObjectDoc$: StaticStructureSchema;
248
254
  export declare var S3ObjectFile$: StaticStructureSchema;
249
255
  export declare var SatisfiedCondition$: StaticStructureSchema;
250
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
251
256
  export declare var SessionState$: StaticStructureSchema;
252
257
  export declare var SessionSummary$: StaticStructureSchema;
253
258
  export declare var Span$: StaticStructureSchema;
@@ -263,7 +268,6 @@ export declare var TextPrompt$: StaticStructureSchema;
263
268
  export declare var TextResponsePart$: StaticStructureSchema;
264
269
  export declare var TextToSqlConfiguration$: StaticStructureSchema;
265
270
  export declare var TextToSqlKnowledgeBaseConfiguration$: StaticStructureSchema;
266
- export declare var ThrottlingException$: StaticErrorSchema;
267
271
  export declare var TracePart$: StaticStructureSchema;
268
272
  export declare var TransformationConfiguration$: StaticStructureSchema;
269
273
  export declare var UntagResourceRequest$: StaticStructureSchema;
@@ -271,12 +275,10 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
271
275
  export declare var UpdateSessionRequest$: StaticStructureSchema;
272
276
  export declare var UpdateSessionResponse$: StaticStructureSchema;
273
277
  export declare var Usage$: StaticStructureSchema;
274
- export declare var ValidationException$: StaticErrorSchema;
275
278
  export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSchema;
276
279
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
277
280
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
278
281
  export declare var VideoSegment$: StaticStructureSchema;
279
- export declare var BedrockAgentRuntimeServiceException$: StaticErrorSchema;
280
282
  export declare var ActionGroupExecutor$: StaticUnionSchema;
281
283
  export declare var APISchema$: StaticUnionSchema;
282
284
  export declare var BedrockSessionContentBlock$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime 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-agent-runtime",
@@ -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,21 +41,21 @@
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",