@aws-sdk/client-bedrock 3.705.0 → 3.706.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.
Files changed (56) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +614 -27
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
  5. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
  6. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
  7. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
  8. package/dist-es/commands/GetPromptRouterCommand.js +23 -0
  9. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
  10. package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
  11. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
  12. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +96 -20
  15. package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
  16. package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +2 -0
  18. package/dist-es/protocols/Aws_restJson1.js +314 -1
  19. package/dist-types/Bedrock.d.ts +65 -0
  20. package/dist-types/BedrockClient.d.ts +11 -2
  21. package/dist-types/commands/CreateGuardrailCommand.d.ts +6 -0
  22. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
  23. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
  24. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
  25. package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
  26. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
  27. package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
  28. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
  29. package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
  30. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
  31. package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
  32. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
  33. package/dist-types/commands/index.d.ts +9 -0
  34. package/dist-types/models/models_0.d.ts +736 -97
  35. package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
  36. package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +2 -0
  38. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  39. package/dist-types/ts3.4/Bedrock.d.ts +161 -0
  40. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  41. package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
  46. package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +229 -41
  52. package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  56. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { BedrockServiceException as __BaseException } from "../models/BedrockServiceException";
6
- import { AccessDeniedException, ConflictException, EvaluationInferenceConfig, InternalServerException, KnowledgeBaseConfig, RAGConfig, ResourceNotFoundException, RetrievalFilter, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
6
+ import { AccessDeniedException, ConflictException, EvaluationInferenceConfig, InternalServerException, KnowledgeBaseConfig, RAGConfig, ResourceNotFoundException, RetrievalFilter, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
7
7
  export const se_BatchDeleteEvaluationJobCommand = async (input, context) => {
8
8
  const b = rb(input, context);
9
9
  const headers = {
@@ -95,6 +95,24 @@ export const se_CreateInferenceProfileCommand = async (input, context) => {
95
95
  b.m("POST").h(headers).b(body);
96
96
  return b.build();
97
97
  };
98
+ export const se_CreateMarketplaceModelEndpointCommand = async (input, context) => {
99
+ const b = rb(input, context);
100
+ const headers = {
101
+ "content-type": "application/json",
102
+ };
103
+ b.bp("/marketplace-model/endpoints");
104
+ let body;
105
+ body = JSON.stringify(take(input, {
106
+ acceptEula: [],
107
+ clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
108
+ endpointConfig: (_) => _json(_),
109
+ endpointName: [],
110
+ modelSourceIdentifier: [],
111
+ tags: (_) => _json(_),
112
+ }));
113
+ b.m("POST").h(headers).b(body);
114
+ return b.build();
115
+ };
98
116
  export const se_CreateModelCopyJobCommand = async (input, context) => {
99
117
  const b = rb(input, context);
100
118
  const headers = {
@@ -238,6 +256,15 @@ export const se_DeleteInferenceProfileCommand = async (input, context) => {
238
256
  b.m("DELETE").h(headers).b(body);
239
257
  return b.build();
240
258
  };
259
+ export const se_DeleteMarketplaceModelEndpointCommand = async (input, context) => {
260
+ const b = rb(input, context);
261
+ const headers = {};
262
+ b.bp("/marketplace-model/endpoints/{endpointArn}");
263
+ b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
264
+ let body;
265
+ b.m("DELETE").h(headers).b(body);
266
+ return b.build();
267
+ };
241
268
  export const se_DeleteModelInvocationLoggingConfigurationCommand = async (input, context) => {
242
269
  const b = rb(input, context);
243
270
  const headers = {};
@@ -255,6 +282,15 @@ export const se_DeleteProvisionedModelThroughputCommand = async (input, context)
255
282
  b.m("DELETE").h(headers).b(body);
256
283
  return b.build();
257
284
  };
285
+ export const se_DeregisterMarketplaceModelEndpointCommand = async (input, context) => {
286
+ const b = rb(input, context);
287
+ const headers = {};
288
+ b.bp("/marketplace-model/endpoints/{endpointArn}/registration");
289
+ b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
290
+ let body;
291
+ b.m("DELETE").h(headers).b(body);
292
+ return b.build();
293
+ };
258
294
  export const se_GetCustomModelCommand = async (input, context) => {
259
295
  const b = rb(input, context);
260
296
  const headers = {};
@@ -312,6 +348,15 @@ export const se_GetInferenceProfileCommand = async (input, context) => {
312
348
  b.m("GET").h(headers).b(body);
313
349
  return b.build();
314
350
  };
351
+ export const se_GetMarketplaceModelEndpointCommand = async (input, context) => {
352
+ const b = rb(input, context);
353
+ const headers = {};
354
+ b.bp("/marketplace-model/endpoints/{endpointArn}");
355
+ b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
356
+ let body;
357
+ b.m("GET").h(headers).b(body);
358
+ return b.build();
359
+ };
315
360
  export const se_GetModelCopyJobCommand = async (input, context) => {
316
361
  const b = rb(input, context);
317
362
  const headers = {};
@@ -356,6 +401,15 @@ export const se_GetModelInvocationLoggingConfigurationCommand = async (input, co
356
401
  b.m("GET").h(headers).b(body);
357
402
  return b.build();
358
403
  };
404
+ export const se_GetPromptRouterCommand = async (input, context) => {
405
+ const b = rb(input, context);
406
+ const headers = {};
407
+ b.bp("/prompt-routers/{promptRouterArn}");
408
+ b.p("promptRouterArn", () => input.promptRouterArn, "{promptRouterArn}", false);
409
+ let body;
410
+ b.m("GET").h(headers).b(body);
411
+ return b.build();
412
+ };
359
413
  export const se_GetProvisionedModelThroughputCommand = async (input, context) => {
360
414
  const b = rb(input, context);
361
415
  const headers = {};
@@ -461,6 +515,19 @@ export const se_ListInferenceProfilesCommand = async (input, context) => {
461
515
  b.m("GET").h(headers).q(query).b(body);
462
516
  return b.build();
463
517
  };
518
+ export const se_ListMarketplaceModelEndpointsCommand = async (input, context) => {
519
+ const b = rb(input, context);
520
+ const headers = {};
521
+ b.bp("/marketplace-model/endpoints");
522
+ const query = map({
523
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
524
+ [_nT]: [, input[_nT]],
525
+ [_mSI]: [, input[_mSE]],
526
+ });
527
+ let body;
528
+ b.m("GET").h(headers).q(query).b(body);
529
+ return b.build();
530
+ };
464
531
  export const se_ListModelCopyJobsCommand = async (input, context) => {
465
532
  const b = rb(input, context);
466
533
  const headers = {};
@@ -535,6 +602,18 @@ export const se_ListModelInvocationJobsCommand = async (input, context) => {
535
602
  b.m("GET").h(headers).q(query).b(body);
536
603
  return b.build();
537
604
  };
605
+ export const se_ListPromptRoutersCommand = async (input, context) => {
606
+ const b = rb(input, context);
607
+ const headers = {};
608
+ b.bp("/prompt-routers");
609
+ const query = map({
610
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
611
+ [_nT]: [, input[_nT]],
612
+ });
613
+ let body;
614
+ b.m("GET").h(headers).q(query).b(body);
615
+ return b.build();
616
+ };
538
617
  export const se_ListProvisionedModelThroughputsCommand = async (input, context) => {
539
618
  const b = rb(input, context);
540
619
  const headers = {};
@@ -580,6 +659,20 @@ export const se_PutModelInvocationLoggingConfigurationCommand = async (input, co
580
659
  b.m("PUT").h(headers).b(body);
581
660
  return b.build();
582
661
  };
662
+ export const se_RegisterMarketplaceModelEndpointCommand = async (input, context) => {
663
+ const b = rb(input, context);
664
+ const headers = {
665
+ "content-type": "application/json",
666
+ };
667
+ b.bp("/marketplace-model/endpoints/{endpointIdentifier}/registration");
668
+ b.p("endpointIdentifier", () => input.endpointIdentifier, "{endpointIdentifier}", false);
669
+ let body;
670
+ body = JSON.stringify(take(input, {
671
+ modelSourceIdentifier: [],
672
+ }));
673
+ b.m("POST").h(headers).b(body);
674
+ return b.build();
675
+ };
583
676
  export const se_StopEvaluationJobCommand = async (input, context) => {
584
677
  const b = rb(input, context);
585
678
  const headers = {};
@@ -658,6 +751,21 @@ export const se_UpdateGuardrailCommand = async (input, context) => {
658
751
  b.m("PUT").h(headers).b(body);
659
752
  return b.build();
660
753
  };
754
+ export const se_UpdateMarketplaceModelEndpointCommand = async (input, context) => {
755
+ const b = rb(input, context);
756
+ const headers = {
757
+ "content-type": "application/json",
758
+ };
759
+ b.bp("/marketplace-model/endpoints/{endpointArn}");
760
+ b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
761
+ let body;
762
+ body = JSON.stringify(take(input, {
763
+ clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
764
+ endpointConfig: (_) => _json(_),
765
+ }));
766
+ b.m("PATCH").h(headers).b(body);
767
+ return b.build();
768
+ };
661
769
  export const se_UpdateProvisionedModelThroughputCommand = async (input, context) => {
662
770
  const b = rb(input, context);
663
771
  const headers = {
@@ -749,6 +857,20 @@ export const de_CreateInferenceProfileCommand = async (output, context) => {
749
857
  Object.assign(contents, doc);
750
858
  return contents;
751
859
  };
860
+ export const de_CreateMarketplaceModelEndpointCommand = async (output, context) => {
861
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
862
+ return de_CommandError(output, context);
863
+ }
864
+ const contents = map({
865
+ $metadata: deserializeMetadata(output),
866
+ });
867
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
868
+ const doc = take(data, {
869
+ marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context),
870
+ });
871
+ Object.assign(contents, doc);
872
+ return contents;
873
+ };
752
874
  export const de_CreateModelCopyJobCommand = async (output, context) => {
753
875
  if (output.statusCode !== 201 && output.statusCode >= 300) {
754
876
  return de_CommandError(output, context);
@@ -859,6 +981,16 @@ export const de_DeleteInferenceProfileCommand = async (output, context) => {
859
981
  await collectBody(output.body, context);
860
982
  return contents;
861
983
  };
984
+ export const de_DeleteMarketplaceModelEndpointCommand = async (output, context) => {
985
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
986
+ return de_CommandError(output, context);
987
+ }
988
+ const contents = map({
989
+ $metadata: deserializeMetadata(output),
990
+ });
991
+ await collectBody(output.body, context);
992
+ return contents;
993
+ };
862
994
  export const de_DeleteModelInvocationLoggingConfigurationCommand = async (output, context) => {
863
995
  if (output.statusCode !== 200 && output.statusCode >= 300) {
864
996
  return de_CommandError(output, context);
@@ -879,6 +1011,16 @@ export const de_DeleteProvisionedModelThroughputCommand = async (output, context
879
1011
  await collectBody(output.body, context);
880
1012
  return contents;
881
1013
  };
1014
+ export const de_DeregisterMarketplaceModelEndpointCommand = async (output, context) => {
1015
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1016
+ return de_CommandError(output, context);
1017
+ }
1018
+ const contents = map({
1019
+ $metadata: deserializeMetadata(output),
1020
+ });
1021
+ await collectBody(output.body, context);
1022
+ return contents;
1023
+ };
882
1024
  export const de_GetCustomModelCommand = async (output, context) => {
883
1025
  if (output.statusCode !== 200 && output.statusCode >= 300) {
884
1026
  return de_CommandError(output, context);
@@ -1023,6 +1165,20 @@ export const de_GetInferenceProfileCommand = async (output, context) => {
1023
1165
  Object.assign(contents, doc);
1024
1166
  return contents;
1025
1167
  };
1168
+ export const de_GetMarketplaceModelEndpointCommand = async (output, context) => {
1169
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1170
+ return de_CommandError(output, context);
1171
+ }
1172
+ const contents = map({
1173
+ $metadata: deserializeMetadata(output),
1174
+ });
1175
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1176
+ const doc = take(data, {
1177
+ marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context),
1178
+ });
1179
+ Object.assign(contents, doc);
1180
+ return contents;
1181
+ };
1026
1182
  export const de_GetModelCopyJobCommand = async (output, context) => {
1027
1183
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1028
1184
  return de_CommandError(output, context);
@@ -1150,6 +1306,29 @@ export const de_GetModelInvocationLoggingConfigurationCommand = async (output, c
1150
1306
  Object.assign(contents, doc);
1151
1307
  return contents;
1152
1308
  };
1309
+ export const de_GetPromptRouterCommand = async (output, context) => {
1310
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1311
+ return de_CommandError(output, context);
1312
+ }
1313
+ const contents = map({
1314
+ $metadata: deserializeMetadata(output),
1315
+ });
1316
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1317
+ const doc = take(data, {
1318
+ createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1319
+ description: __expectString,
1320
+ fallbackModel: _json,
1321
+ models: _json,
1322
+ promptRouterArn: __expectString,
1323
+ promptRouterName: __expectString,
1324
+ routingCriteria: (_) => de_RoutingCriteria(_, context),
1325
+ status: __expectString,
1326
+ type: __expectString,
1327
+ updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1328
+ });
1329
+ Object.assign(contents, doc);
1330
+ return contents;
1331
+ };
1153
1332
  export const de_GetProvisionedModelThroughputCommand = async (output, context) => {
1154
1333
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1155
1334
  return de_CommandError(output, context);
@@ -1265,6 +1444,21 @@ export const de_ListInferenceProfilesCommand = async (output, context) => {
1265
1444
  Object.assign(contents, doc);
1266
1445
  return contents;
1267
1446
  };
1447
+ export const de_ListMarketplaceModelEndpointsCommand = async (output, context) => {
1448
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1449
+ return de_CommandError(output, context);
1450
+ }
1451
+ const contents = map({
1452
+ $metadata: deserializeMetadata(output),
1453
+ });
1454
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1455
+ const doc = take(data, {
1456
+ marketplaceModelEndpoints: (_) => de_MarketplaceModelEndpointSummaries(_, context),
1457
+ nextToken: __expectString,
1458
+ });
1459
+ Object.assign(contents, doc);
1460
+ return contents;
1461
+ };
1268
1462
  export const de_ListModelCopyJobsCommand = async (output, context) => {
1269
1463
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1270
1464
  return de_CommandError(output, context);
@@ -1325,6 +1519,21 @@ export const de_ListModelInvocationJobsCommand = async (output, context) => {
1325
1519
  Object.assign(contents, doc);
1326
1520
  return contents;
1327
1521
  };
1522
+ export const de_ListPromptRoutersCommand = async (output, context) => {
1523
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1524
+ return de_CommandError(output, context);
1525
+ }
1526
+ const contents = map({
1527
+ $metadata: deserializeMetadata(output),
1528
+ });
1529
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1530
+ const doc = take(data, {
1531
+ nextToken: __expectString,
1532
+ promptRouterSummaries: (_) => de_PromptRouterSummaries(_, context),
1533
+ });
1534
+ Object.assign(contents, doc);
1535
+ return contents;
1536
+ };
1328
1537
  export const de_ListProvisionedModelThroughputsCommand = async (output, context) => {
1329
1538
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1330
1539
  return de_CommandError(output, context);
@@ -1364,6 +1573,20 @@ export const de_PutModelInvocationLoggingConfigurationCommand = async (output, c
1364
1573
  await collectBody(output.body, context);
1365
1574
  return contents;
1366
1575
  };
1576
+ export const de_RegisterMarketplaceModelEndpointCommand = async (output, context) => {
1577
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1578
+ return de_CommandError(output, context);
1579
+ }
1580
+ const contents = map({
1581
+ $metadata: deserializeMetadata(output),
1582
+ });
1583
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1584
+ const doc = take(data, {
1585
+ marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context),
1586
+ });
1587
+ Object.assign(contents, doc);
1588
+ return contents;
1589
+ };
1367
1590
  export const de_StopEvaluationJobCommand = async (output, context) => {
1368
1591
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1369
1592
  return de_CommandError(output, context);
@@ -1431,6 +1654,20 @@ export const de_UpdateGuardrailCommand = async (output, context) => {
1431
1654
  Object.assign(contents, doc);
1432
1655
  return contents;
1433
1656
  };
1657
+ export const de_UpdateMarketplaceModelEndpointCommand = async (output, context) => {
1658
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1659
+ return de_CommandError(output, context);
1660
+ }
1661
+ const contents = map({
1662
+ $metadata: deserializeMetadata(output),
1663
+ });
1664
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1665
+ const doc = take(data, {
1666
+ marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context),
1667
+ });
1668
+ Object.assign(contents, doc);
1669
+ return contents;
1670
+ };
1434
1671
  export const de_UpdateProvisionedModelThroughputCommand = async (output, context) => {
1435
1672
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1436
1673
  return de_CommandError(output, context);
@@ -1472,6 +1709,9 @@ const de_CommandError = async (output, context) => {
1472
1709
  case "TooManyTagsException":
1473
1710
  case "com.amazonaws.bedrock#TooManyTagsException":
1474
1711
  throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1712
+ case "ServiceUnavailableException":
1713
+ case "com.amazonaws.bedrock#ServiceUnavailableException":
1714
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1475
1715
  default:
1476
1716
  const parsedBody = parsedOutput.body;
1477
1717
  return throwDefaultError({
@@ -1547,6 +1787,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1547
1787
  });
1548
1788
  return __decorateServiceException(exception, parsedOutput.body);
1549
1789
  };
1790
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1791
+ const contents = map({});
1792
+ const data = parsedOutput.body;
1793
+ const doc = take(data, {
1794
+ message: __expectString,
1795
+ });
1796
+ Object.assign(contents, doc);
1797
+ const exception = new ServiceUnavailableException({
1798
+ $metadata: deserializeMetadata(parsedOutput),
1799
+ ...contents,
1800
+ });
1801
+ return __decorateServiceException(exception, parsedOutput.body);
1802
+ };
1550
1803
  const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1551
1804
  const contents = map({});
1552
1805
  const data = parsedOutput.body;
@@ -2007,6 +2260,37 @@ const de_KnowledgeBaseVectorSearchConfiguration = (output, context) => {
2007
2260
  overrideSearchType: __expectString,
2008
2261
  });
2009
2262
  };
2263
+ const de_MarketplaceModelEndpoint = (output, context) => {
2264
+ return take(output, {
2265
+ createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2266
+ endpointArn: __expectString,
2267
+ endpointConfig: (_) => _json(__expectUnion(_)),
2268
+ endpointStatus: __expectString,
2269
+ endpointStatusMessage: __expectString,
2270
+ modelSourceIdentifier: __expectString,
2271
+ status: __expectString,
2272
+ statusMessage: __expectString,
2273
+ updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2274
+ });
2275
+ };
2276
+ const de_MarketplaceModelEndpointSummaries = (output, context) => {
2277
+ const retVal = (output || [])
2278
+ .filter((e) => e != null)
2279
+ .map((entry) => {
2280
+ return de_MarketplaceModelEndpointSummary(entry, context);
2281
+ });
2282
+ return retVal;
2283
+ };
2284
+ const de_MarketplaceModelEndpointSummary = (output, context) => {
2285
+ return take(output, {
2286
+ createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2287
+ endpointArn: __expectString,
2288
+ modelSourceIdentifier: __expectString,
2289
+ status: __expectString,
2290
+ statusMessage: __expectString,
2291
+ updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2292
+ });
2293
+ };
2010
2294
  const de_ModelCopyJobSummaries = (output, context) => {
2011
2295
  const retVal = (output || [])
2012
2296
  .filter((e) => e != null)
@@ -2099,6 +2383,28 @@ const de_ModelInvocationJobSummary = (output, context) => {
2099
2383
  vpcConfig: _json,
2100
2384
  });
2101
2385
  };
2386
+ const de_PromptRouterSummaries = (output, context) => {
2387
+ const retVal = (output || [])
2388
+ .filter((e) => e != null)
2389
+ .map((entry) => {
2390
+ return de_PromptRouterSummary(entry, context);
2391
+ });
2392
+ return retVal;
2393
+ };
2394
+ const de_PromptRouterSummary = (output, context) => {
2395
+ return take(output, {
2396
+ createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2397
+ description: __expectString,
2398
+ fallbackModel: _json,
2399
+ models: _json,
2400
+ promptRouterArn: __expectString,
2401
+ promptRouterName: __expectString,
2402
+ routingCriteria: (_) => de_RoutingCriteria(_, context),
2403
+ status: __expectString,
2404
+ type: __expectString,
2405
+ updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2406
+ });
2407
+ };
2102
2408
  const de_ProvisionedModelSummaries = (output, context) => {
2103
2409
  const retVal = (output || [])
2104
2410
  .filter((e) => e != null)
@@ -2228,6 +2534,11 @@ const de_RetrieveConfig = (output, context) => {
2228
2534
  knowledgeBaseRetrievalConfiguration: (_) => de_KnowledgeBaseRetrievalConfiguration(_, context),
2229
2535
  });
2230
2536
  };
2537
+ const de_RoutingCriteria = (output, context) => {
2538
+ return take(output, {
2539
+ responseQualityDifference: __limitedParseDouble,
2540
+ });
2541
+ };
2231
2542
  const de_TextInferenceConfig = (output, context) => {
2232
2543
  return take(output, {
2233
2544
  maxTokens: __expectInt32,
@@ -2275,6 +2586,8 @@ const _gV = "guardrailVersion";
2275
2586
  const _iO = "isOwned";
2276
2587
  const _mAE = "modelArnEquals";
2277
2588
  const _mR = "maxResults";
2589
+ const _mSE = "modelSourceEquals";
2590
+ const _mSI = "modelSourceIdentifier";
2278
2591
  const _nC = "nameContains";
2279
2592
  const _nT = "nextToken";
2280
2593
  const _oMNC = "outputModelNameContains";
@@ -5,6 +5,7 @@ import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } fro
5
5
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
6
6
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
7
7
  import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand";
8
+ import { CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput } from "./commands/CreateMarketplaceModelEndpointCommand";
8
9
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
9
10
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
10
11
  import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "./commands/CreateModelImportJobCommand";
@@ -14,19 +15,23 @@ import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from ".
14
15
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
15
16
  import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
16
17
  import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand";
18
+ import { DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput } from "./commands/DeleteMarketplaceModelEndpointCommand";
17
19
  import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
18
20
  import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
21
+ import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
19
22
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
20
23
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
21
24
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
22
25
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
23
26
  import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "./commands/GetImportedModelCommand";
24
27
  import { GetInferenceProfileCommandInput, GetInferenceProfileCommandOutput } from "./commands/GetInferenceProfileCommand";
28
+ import { GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput } from "./commands/GetMarketplaceModelEndpointCommand";
25
29
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
26
30
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
27
31
  import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand";
28
32
  import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
29
33
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
34
+ import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand";
30
35
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
31
36
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
32
37
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
@@ -34,19 +39,23 @@ import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } f
34
39
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
35
40
  import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand";
36
41
  import { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "./commands/ListInferenceProfilesCommand";
42
+ import { ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput } from "./commands/ListMarketplaceModelEndpointsCommand";
37
43
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
38
44
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
39
45
  import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand";
40
46
  import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
47
+ import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "./commands/ListPromptRoutersCommand";
41
48
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
42
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
43
50
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand";
51
+ import { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand";
44
52
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
45
53
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
46
54
  import { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
47
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
48
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
49
57
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
58
+ import { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
50
59
  import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
51
60
  export interface Bedrock {
52
61
  /**
@@ -79,6 +88,12 @@ export interface Bedrock {
79
88
  createInferenceProfile(args: CreateInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateInferenceProfileCommandOutput>;
80
89
  createInferenceProfile(args: CreateInferenceProfileCommandInput, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
81
90
  createInferenceProfile(args: CreateInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
91
+ /**
92
+ * @see {@link CreateMarketplaceModelEndpointCommand}
93
+ */
94
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateMarketplaceModelEndpointCommandOutput>;
95
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, cb: (err: any, data?: CreateMarketplaceModelEndpointCommandOutput) => void): void;
96
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMarketplaceModelEndpointCommandOutput) => void): void;
82
97
  /**
83
98
  * @see {@link CreateModelCopyJobCommand}
84
99
  */
@@ -133,6 +148,12 @@ export interface Bedrock {
133
148
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInferenceProfileCommandOutput>;
134
149
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
135
150
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
151
+ /**
152
+ * @see {@link DeleteMarketplaceModelEndpointCommand}
153
+ */
154
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMarketplaceModelEndpointCommandOutput>;
155
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, cb: (err: any, data?: DeleteMarketplaceModelEndpointCommandOutput) => void): void;
156
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMarketplaceModelEndpointCommandOutput) => void): void;
136
157
  /**
137
158
  * @see {@link DeleteModelInvocationLoggingConfigurationCommand}
138
159
  */
@@ -146,6 +167,12 @@ export interface Bedrock {
146
167
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedModelThroughputCommandOutput>;
147
168
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void): void;
148
169
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link DeregisterMarketplaceModelEndpointCommand}
172
+ */
173
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterMarketplaceModelEndpointCommandOutput>;
174
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, cb: (err: any, data?: DeregisterMarketplaceModelEndpointCommandOutput) => void): void;
175
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterMarketplaceModelEndpointCommandOutput) => void): void;
149
176
  /**
150
177
  * @see {@link GetCustomModelCommand}
151
178
  */
@@ -182,6 +209,12 @@ export interface Bedrock {
182
209
  getInferenceProfile(args: GetInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetInferenceProfileCommandOutput>;
183
210
  getInferenceProfile(args: GetInferenceProfileCommandInput, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
184
211
  getInferenceProfile(args: GetInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
212
+ /**
213
+ * @see {@link GetMarketplaceModelEndpointCommand}
214
+ */
215
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetMarketplaceModelEndpointCommandOutput>;
216
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, cb: (err: any, data?: GetMarketplaceModelEndpointCommandOutput) => void): void;
217
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMarketplaceModelEndpointCommandOutput) => void): void;
185
218
  /**
186
219
  * @see {@link GetModelCopyJobCommand}
187
220
  */
@@ -213,6 +246,12 @@ export interface Bedrock {
213
246
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
214
247
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, cb: (err: any, data?: GetModelInvocationLoggingConfigurationCommandOutput) => void): void;
215
248
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelInvocationLoggingConfigurationCommandOutput) => void): void;
249
+ /**
250
+ * @see {@link GetPromptRouterCommand}
251
+ */
252
+ getPromptRouter(args: GetPromptRouterCommandInput, options?: __HttpHandlerOptions): Promise<GetPromptRouterCommandOutput>;
253
+ getPromptRouter(args: GetPromptRouterCommandInput, cb: (err: any, data?: GetPromptRouterCommandOutput) => void): void;
254
+ getPromptRouter(args: GetPromptRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPromptRouterCommandOutput) => void): void;
216
255
  /**
217
256
  * @see {@link GetProvisionedModelThroughputCommand}
218
257
  */
@@ -261,6 +300,13 @@ export interface Bedrock {
261
300
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListInferenceProfilesCommandOutput>;
262
301
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
263
302
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
303
+ /**
304
+ * @see {@link ListMarketplaceModelEndpointsCommand}
305
+ */
306
+ listMarketplaceModelEndpoints(): Promise<ListMarketplaceModelEndpointsCommandOutput>;
307
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListMarketplaceModelEndpointsCommandOutput>;
308
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, cb: (err: any, data?: ListMarketplaceModelEndpointsCommandOutput) => void): void;
309
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMarketplaceModelEndpointsCommandOutput) => void): void;
264
310
  /**
265
311
  * @see {@link ListModelCopyJobsCommand}
266
312
  */
@@ -289,6 +335,13 @@ export interface Bedrock {
289
335
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelInvocationJobsCommandOutput>;
290
336
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
291
337
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
338
+ /**
339
+ * @see {@link ListPromptRoutersCommand}
340
+ */
341
+ listPromptRouters(): Promise<ListPromptRoutersCommandOutput>;
342
+ listPromptRouters(args: ListPromptRoutersCommandInput, options?: __HttpHandlerOptions): Promise<ListPromptRoutersCommandOutput>;
343
+ listPromptRouters(args: ListPromptRoutersCommandInput, cb: (err: any, data?: ListPromptRoutersCommandOutput) => void): void;
344
+ listPromptRouters(args: ListPromptRoutersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPromptRoutersCommandOutput) => void): void;
292
345
  /**
293
346
  * @see {@link ListProvisionedModelThroughputsCommand}
294
347
  */
@@ -308,6 +361,12 @@ export interface Bedrock {
308
361
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
309
362
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, cb: (err: any, data?: PutModelInvocationLoggingConfigurationCommandOutput) => void): void;
310
363
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutModelInvocationLoggingConfigurationCommandOutput) => void): void;
364
+ /**
365
+ * @see {@link RegisterMarketplaceModelEndpointCommand}
366
+ */
367
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<RegisterMarketplaceModelEndpointCommandOutput>;
368
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, cb: (err: any, data?: RegisterMarketplaceModelEndpointCommandOutput) => void): void;
369
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterMarketplaceModelEndpointCommandOutput) => void): void;
311
370
  /**
312
371
  * @see {@link StopEvaluationJobCommand}
313
372
  */
@@ -344,6 +403,12 @@ export interface Bedrock {
344
403
  updateGuardrail(args: UpdateGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGuardrailCommandOutput>;
345
404
  updateGuardrail(args: UpdateGuardrailCommandInput, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
346
405
  updateGuardrail(args: UpdateGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
406
+ /**
407
+ * @see {@link UpdateMarketplaceModelEndpointCommand}
408
+ */
409
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMarketplaceModelEndpointCommandOutput>;
410
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, cb: (err: any, data?: UpdateMarketplaceModelEndpointCommandOutput) => void): void;
411
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMarketplaceModelEndpointCommandOutput) => void): void;
347
412
  /**
348
413
  * @see {@link UpdateProvisionedModelThroughputCommand}
349
414
  */