@aws-sdk/client-bedrock 3.632.0 → 3.635.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 (35) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +296 -1
  3. package/dist-es/Bedrock.js +8 -0
  4. package/dist-es/commands/CreateModelInvocationJobCommand.js +24 -0
  5. package/dist-es/commands/GetModelInvocationJobCommand.js +25 -0
  6. package/dist-es/commands/ListModelInvocationJobsCommand.js +25 -0
  7. package/dist-es/commands/StopModelInvocationJobCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +49 -0
  10. package/dist-es/pagination/ListModelInvocationJobsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +150 -0
  13. package/dist-types/Bedrock.d.ts +29 -0
  14. package/dist-types/BedrockClient.d.ts +6 -2
  15. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +104 -0
  16. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +99 -0
  17. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +107 -0
  18. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +76 -0
  19. package/dist-types/commands/index.d.ts +4 -0
  20. package/dist-types/models/models_0.d.ts +433 -0
  21. package/dist-types/pagination/ListModelInvocationJobsPaginator.d.ts +7 -0
  22. package/dist-types/pagination/index.d.ts +1 -0
  23. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  24. package/dist-types/ts3.4/Bedrock.d.ts +69 -0
  25. package/dist-types/ts3.4/BedrockClient.d.ts +24 -0
  26. package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +40 -0
  27. package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +40 -0
  28. package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +40 -0
  29. package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +40 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +143 -0
  32. package/dist-types/ts3.4/pagination/ListModelInvocationJobsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  35. package/package.json +10 -10
package/README.md CHANGED
@@ -242,6 +242,14 @@ CreateModelCustomizationJob
242
242
 
243
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateModelCustomizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateModelCustomizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateModelCustomizationJobCommandOutput/)
244
244
 
245
+ </details>
246
+ <details>
247
+ <summary>
248
+ CreateModelInvocationJob
249
+ </summary>
250
+
251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateModelInvocationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateModelInvocationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateModelInvocationJobCommandOutput/)
252
+
245
253
  </details>
246
254
  <details>
247
255
  <summary>
@@ -330,6 +338,14 @@ GetModelCustomizationJob
330
338
 
331
339
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetModelCustomizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelCustomizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelCustomizationJobCommandOutput/)
332
340
 
341
+ </details>
342
+ <details>
343
+ <summary>
344
+ GetModelInvocationJob
345
+ </summary>
346
+
347
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetModelInvocationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelInvocationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelInvocationJobCommandOutput/)
348
+
333
349
  </details>
334
350
  <details>
335
351
  <summary>
@@ -394,6 +410,14 @@ ListModelCustomizationJobs
394
410
 
395
411
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListModelCustomizationJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelCustomizationJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelCustomizationJobsCommandOutput/)
396
412
 
413
+ </details>
414
+ <details>
415
+ <summary>
416
+ ListModelInvocationJobs
417
+ </summary>
418
+
419
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListModelInvocationJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelInvocationJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelInvocationJobsCommandOutput/)
420
+
397
421
  </details>
398
422
  <details>
399
423
  <summary>
@@ -434,6 +458,14 @@ StopModelCustomizationJob
434
458
 
435
459
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/StopModelCustomizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopModelCustomizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopModelCustomizationJobCommandOutput/)
436
460
 
461
+ </details>
462
+ <details>
463
+ <summary>
464
+ StopModelInvocationJob
465
+ </summary>
466
+
467
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/StopModelInvocationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopModelInvocationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopModelInvocationJobCommandOutput/)
468
+
437
469
  </details>
438
470
  <details>
439
471
  <summary>
package/dist-cjs/index.js CHANGED
@@ -36,6 +36,7 @@ __export(src_exports, {
36
36
  CreateGuardrailVersionRequestFilterSensitiveLog: () => CreateGuardrailVersionRequestFilterSensitiveLog,
37
37
  CreateModelCopyJobCommand: () => CreateModelCopyJobCommand,
38
38
  CreateModelCustomizationJobCommand: () => CreateModelCustomizationJobCommand,
39
+ CreateModelInvocationJobCommand: () => CreateModelInvocationJobCommand,
39
40
  CreateProvisionedModelThroughputCommand: () => CreateProvisionedModelThroughputCommand,
40
41
  CustomizationType: () => CustomizationType,
41
42
  DeleteCustomModelCommand: () => DeleteCustomModelCommand,
@@ -66,6 +67,8 @@ __export(src_exports, {
66
67
  GetGuardrailResponseFilterSensitiveLog: () => GetGuardrailResponseFilterSensitiveLog,
67
68
  GetModelCopyJobCommand: () => GetModelCopyJobCommand,
68
69
  GetModelCustomizationJobCommand: () => GetModelCustomizationJobCommand,
70
+ GetModelInvocationJobCommand: () => GetModelInvocationJobCommand,
71
+ GetModelInvocationJobResponseFilterSensitiveLog: () => GetModelInvocationJobResponseFilterSensitiveLog,
69
72
  GetModelInvocationLoggingConfigurationCommand: () => GetModelInvocationLoggingConfigurationCommand,
70
73
  GetProvisionedModelThroughputCommand: () => GetProvisionedModelThroughputCommand,
71
74
  GuardrailContentFilterType: () => GuardrailContentFilterType,
@@ -93,15 +96,22 @@ __export(src_exports, {
93
96
  ListGuardrailsResponseFilterSensitiveLog: () => ListGuardrailsResponseFilterSensitiveLog,
94
97
  ListModelCopyJobsCommand: () => ListModelCopyJobsCommand,
95
98
  ListModelCustomizationJobsCommand: () => ListModelCustomizationJobsCommand,
99
+ ListModelInvocationJobsCommand: () => ListModelInvocationJobsCommand,
100
+ ListModelInvocationJobsResponseFilterSensitiveLog: () => ListModelInvocationJobsResponseFilterSensitiveLog,
96
101
  ListProvisionedModelThroughputsCommand: () => ListProvisionedModelThroughputsCommand,
97
102
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
98
103
  ModelCopyJobStatus: () => ModelCopyJobStatus,
99
104
  ModelCustomization: () => ModelCustomization,
100
105
  ModelCustomizationJobStatus: () => ModelCustomizationJobStatus,
106
+ ModelInvocationJobInputDataConfig: () => ModelInvocationJobInputDataConfig,
107
+ ModelInvocationJobOutputDataConfig: () => ModelInvocationJobOutputDataConfig,
108
+ ModelInvocationJobStatus: () => ModelInvocationJobStatus,
109
+ ModelInvocationJobSummaryFilterSensitiveLog: () => ModelInvocationJobSummaryFilterSensitiveLog,
101
110
  ModelModality: () => ModelModality,
102
111
  ProvisionedModelStatus: () => ProvisionedModelStatus,
103
112
  PutModelInvocationLoggingConfigurationCommand: () => PutModelInvocationLoggingConfigurationCommand,
104
113
  ResourceNotFoundException: () => ResourceNotFoundException,
114
+ S3InputFormat: () => S3InputFormat,
105
115
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
106
116
  SortByProvisionedModels: () => SortByProvisionedModels,
107
117
  SortJobsBy: () => SortJobsBy,
@@ -110,6 +120,7 @@ __export(src_exports, {
110
120
  StopEvaluationJobCommand: () => StopEvaluationJobCommand,
111
121
  StopEvaluationJobRequestFilterSensitiveLog: () => StopEvaluationJobRequestFilterSensitiveLog,
112
122
  StopModelCustomizationJobCommand: () => StopModelCustomizationJobCommand,
123
+ StopModelInvocationJobCommand: () => StopModelInvocationJobCommand,
113
124
  TagResourceCommand: () => TagResourceCommand,
114
125
  ThrottlingException: () => ThrottlingException,
115
126
  TooManyTagsException: () => TooManyTagsException,
@@ -124,6 +135,7 @@ __export(src_exports, {
124
135
  paginateListGuardrails: () => paginateListGuardrails,
125
136
  paginateListModelCopyJobs: () => paginateListModelCopyJobs,
126
137
  paginateListModelCustomizationJobs: () => paginateListModelCustomizationJobs,
138
+ paginateListModelInvocationJobs: () => paginateListModelInvocationJobs,
127
139
  paginateListProvisionedModelThroughputs: () => paginateListProvisionedModelThroughputs
128
140
  });
129
141
  module.exports = __toCommonJS(src_exports);
@@ -561,6 +573,37 @@ var ModelCopyJobStatus = {
561
573
  FAILED: "Failed",
562
574
  IN_PROGRESS: "InProgress"
563
575
  };
576
+ var S3InputFormat = {
577
+ JSONL: "JSONL"
578
+ };
579
+ var ModelInvocationJobInputDataConfig;
580
+ ((ModelInvocationJobInputDataConfig3) => {
581
+ ModelInvocationJobInputDataConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
582
+ if (value.s3InputDataConfig !== void 0)
583
+ return visitor.s3InputDataConfig(value.s3InputDataConfig);
584
+ return visitor._(value.$unknown[0], value.$unknown[1]);
585
+ }, "visit");
586
+ })(ModelInvocationJobInputDataConfig || (ModelInvocationJobInputDataConfig = {}));
587
+ var ModelInvocationJobOutputDataConfig;
588
+ ((ModelInvocationJobOutputDataConfig3) => {
589
+ ModelInvocationJobOutputDataConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
590
+ if (value.s3OutputDataConfig !== void 0)
591
+ return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
592
+ return visitor._(value.$unknown[0], value.$unknown[1]);
593
+ }, "visit");
594
+ })(ModelInvocationJobOutputDataConfig || (ModelInvocationJobOutputDataConfig = {}));
595
+ var ModelInvocationJobStatus = {
596
+ COMPLETED: "Completed",
597
+ EXPIRED: "Expired",
598
+ FAILED: "Failed",
599
+ IN_PROGRESS: "InProgress",
600
+ PARTIALLY_COMPLETED: "PartiallyCompleted",
601
+ SCHEDULED: "Scheduled",
602
+ STOPPED: "Stopped",
603
+ STOPPING: "Stopping",
604
+ SUBMITTED: "Submitted",
605
+ VALIDATING: "Validating"
606
+ };
564
607
  var CustomizationType = {
565
608
  CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
566
609
  FINE_TUNING: "FINE_TUNING"
@@ -758,6 +801,24 @@ var UpdateGuardrailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
758
801
  ...obj.blockedInputMessaging && { blockedInputMessaging: import_smithy_client.SENSITIVE_STRING },
759
802
  ...obj.blockedOutputsMessaging && { blockedOutputsMessaging: import_smithy_client.SENSITIVE_STRING }
760
803
  }), "UpdateGuardrailRequestFilterSensitiveLog");
804
+ var GetModelInvocationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
805
+ ...obj,
806
+ ...obj.message && { message: import_smithy_client.SENSITIVE_STRING },
807
+ ...obj.inputDataConfig && { inputDataConfig: obj.inputDataConfig },
808
+ ...obj.outputDataConfig && { outputDataConfig: obj.outputDataConfig }
809
+ }), "GetModelInvocationJobResponseFilterSensitiveLog");
810
+ var ModelInvocationJobSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
811
+ ...obj,
812
+ ...obj.message && { message: import_smithy_client.SENSITIVE_STRING },
813
+ ...obj.inputDataConfig && { inputDataConfig: obj.inputDataConfig },
814
+ ...obj.outputDataConfig && { outputDataConfig: obj.outputDataConfig }
815
+ }), "ModelInvocationJobSummaryFilterSensitiveLog");
816
+ var ListModelInvocationJobsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
817
+ ...obj,
818
+ ...obj.invocationJobSummaries && {
819
+ invocationJobSummaries: obj.invocationJobSummaries.map((item) => ModelInvocationJobSummaryFilterSensitiveLog(item))
820
+ }
821
+ }), "ListModelInvocationJobsResponseFilterSensitiveLog");
761
822
 
762
823
  // src/protocols/Aws_restJson1.ts
763
824
  var import_core2 = require("@aws-sdk/core");
@@ -877,6 +938,28 @@ var se_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input,
877
938
  b.m("POST").h(headers).b(body);
878
939
  return b.build();
879
940
  }, "se_CreateModelCustomizationJobCommand");
941
+ var se_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
942
+ const b = (0, import_core.requestBuilder)(input, context);
943
+ const headers = {
944
+ "content-type": "application/json"
945
+ };
946
+ b.bp("/model-invocation-job");
947
+ let body;
948
+ body = JSON.stringify(
949
+ (0, import_smithy_client.take)(input, {
950
+ clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
951
+ inputDataConfig: (_) => (0, import_smithy_client._json)(_),
952
+ jobName: [],
953
+ modelId: [],
954
+ outputDataConfig: (_) => (0, import_smithy_client._json)(_),
955
+ roleArn: [],
956
+ tags: (_) => (0, import_smithy_client._json)(_),
957
+ timeoutDurationInHours: []
958
+ })
959
+ );
960
+ b.m("POST").h(headers).b(body);
961
+ return b.build();
962
+ }, "se_CreateModelInvocationJobCommand");
880
963
  var se_CreateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (input, context) => {
881
964
  const b = (0, import_core.requestBuilder)(input, context);
882
965
  const headers = {
@@ -992,6 +1075,15 @@ var se_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input, co
992
1075
  b.m("GET").h(headers).b(body);
993
1076
  return b.build();
994
1077
  }, "se_GetModelCustomizationJobCommand");
1078
+ var se_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1079
+ const b = (0, import_core.requestBuilder)(input, context);
1080
+ const headers = {};
1081
+ b.bp("/model-invocation-job/{jobIdentifier}");
1082
+ b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
1083
+ let body;
1084
+ b.m("GET").h(headers).b(body);
1085
+ return b.build();
1086
+ }, "se_GetModelInvocationJobCommand");
995
1087
  var se_GetModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
996
1088
  const b = (0, import_core.requestBuilder)(input, context);
997
1089
  const headers = {};
@@ -1112,6 +1204,24 @@ var se_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (input,
1112
1204
  b.m("GET").h(headers).q(query).b(body);
1113
1205
  return b.build();
1114
1206
  }, "se_ListModelCustomizationJobsCommand");
1207
+ var se_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1208
+ const b = (0, import_core.requestBuilder)(input, context);
1209
+ const headers = {};
1210
+ b.bp("/model-invocation-jobs");
1211
+ const query = (0, import_smithy_client.map)({
1212
+ [_sTA]: [() => input.submitTimeAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sTA]).toString()],
1213
+ [_sTB]: [() => input.submitTimeBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sTB]).toString()],
1214
+ [_sE]: [, input[_sE]],
1215
+ [_nC]: [, input[_nC]],
1216
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1217
+ [_nT]: [, input[_nT]],
1218
+ [_sB]: [, input[_sB]],
1219
+ [_sO]: [, input[_sO]]
1220
+ });
1221
+ let body;
1222
+ b.m("GET").h(headers).q(query).b(body);
1223
+ return b.build();
1224
+ }, "se_ListModelInvocationJobsCommand");
1115
1225
  var se_ListProvisionedModelThroughputsCommand = /* @__PURE__ */ __name(async (input, context) => {
1116
1226
  const b = (0, import_core.requestBuilder)(input, context);
1117
1227
  const headers = {};
@@ -1179,6 +1289,15 @@ var se_StopModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input, c
1179
1289
  b.m("POST").h(headers).b(body);
1180
1290
  return b.build();
1181
1291
  }, "se_StopModelCustomizationJobCommand");
1292
+ var se_StopModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1293
+ const b = (0, import_core.requestBuilder)(input, context);
1294
+ const headers = {};
1295
+ b.bp("/model-invocation-job/{jobIdentifier}/stop");
1296
+ b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
1297
+ let body;
1298
+ b.m("POST").h(headers).b(body);
1299
+ return b.build();
1300
+ }, "se_StopModelInvocationJobCommand");
1182
1301
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1183
1302
  const b = (0, import_core.requestBuilder)(input, context);
1184
1303
  const headers = {
@@ -1327,6 +1446,20 @@ var de_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output
1327
1446
  Object.assign(contents, doc);
1328
1447
  return contents;
1329
1448
  }, "de_CreateModelCustomizationJobCommand");
1449
+ var de_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1450
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1451
+ return de_CommandError(output, context);
1452
+ }
1453
+ const contents = (0, import_smithy_client.map)({
1454
+ $metadata: deserializeMetadata(output)
1455
+ });
1456
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1457
+ const doc = (0, import_smithy_client.take)(data, {
1458
+ jobArn: import_smithy_client.expectString
1459
+ });
1460
+ Object.assign(contents, doc);
1461
+ return contents;
1462
+ }, "de_CreateModelInvocationJobCommand");
1330
1463
  var de_CreateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (output, context) => {
1331
1464
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1332
1465
  return de_CommandError(output, context);
@@ -1537,6 +1670,33 @@ var de_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output, c
1537
1670
  Object.assign(contents, doc);
1538
1671
  return contents;
1539
1672
  }, "de_GetModelCustomizationJobCommand");
1673
+ var de_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1674
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1675
+ return de_CommandError(output, context);
1676
+ }
1677
+ const contents = (0, import_smithy_client.map)({
1678
+ $metadata: deserializeMetadata(output)
1679
+ });
1680
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1681
+ const doc = (0, import_smithy_client.take)(data, {
1682
+ clientRequestToken: import_smithy_client.expectString,
1683
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1684
+ inputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1685
+ jobArn: import_smithy_client.expectString,
1686
+ jobExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1687
+ jobName: import_smithy_client.expectString,
1688
+ lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1689
+ message: import_smithy_client.expectString,
1690
+ modelId: import_smithy_client.expectString,
1691
+ outputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1692
+ roleArn: import_smithy_client.expectString,
1693
+ status: import_smithy_client.expectString,
1694
+ submitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1695
+ timeoutDurationInHours: import_smithy_client.expectInt32
1696
+ });
1697
+ Object.assign(contents, doc);
1698
+ return contents;
1699
+ }, "de_GetModelInvocationJobCommand");
1540
1700
  var de_GetModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1541
1701
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1542
1702
  return de_CommandError(output, context);
@@ -1666,6 +1826,21 @@ var de_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (output,
1666
1826
  Object.assign(contents, doc);
1667
1827
  return contents;
1668
1828
  }, "de_ListModelCustomizationJobsCommand");
1829
+ var de_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1830
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1831
+ return de_CommandError(output, context);
1832
+ }
1833
+ const contents = (0, import_smithy_client.map)({
1834
+ $metadata: deserializeMetadata(output)
1835
+ });
1836
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1837
+ const doc = (0, import_smithy_client.take)(data, {
1838
+ invocationJobSummaries: (_) => de_ModelInvocationJobSummaries(_, context),
1839
+ nextToken: import_smithy_client.expectString
1840
+ });
1841
+ Object.assign(contents, doc);
1842
+ return contents;
1843
+ }, "de_ListModelInvocationJobsCommand");
1669
1844
  var de_ListProvisionedModelThroughputsCommand = /* @__PURE__ */ __name(async (output, context) => {
1670
1845
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1671
1846
  return de_CommandError(output, context);
@@ -1725,6 +1900,16 @@ var de_StopModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output,
1725
1900
  await (0, import_smithy_client.collectBody)(output.body, context);
1726
1901
  return contents;
1727
1902
  }, "de_StopModelCustomizationJobCommand");
1903
+ var de_StopModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1904
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1905
+ return de_CommandError(output, context);
1906
+ }
1907
+ const contents = (0, import_smithy_client.map)({
1908
+ $metadata: deserializeMetadata(output)
1909
+ });
1910
+ await (0, import_smithy_client.collectBody)(output.body, context);
1911
+ return contents;
1912
+ }, "de_StopModelInvocationJobCommand");
1728
1913
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1729
1914
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1730
1915
  return de_CommandError(output, context);
@@ -2044,6 +2229,30 @@ var de_ModelCustomizationJobSummary = /* @__PURE__ */ __name((output, context) =
2044
2229
  status: import_smithy_client.expectString
2045
2230
  });
2046
2231
  }, "de_ModelCustomizationJobSummary");
2232
+ var de_ModelInvocationJobSummaries = /* @__PURE__ */ __name((output, context) => {
2233
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2234
+ return de_ModelInvocationJobSummary(entry, context);
2235
+ });
2236
+ return retVal;
2237
+ }, "de_ModelInvocationJobSummaries");
2238
+ var de_ModelInvocationJobSummary = /* @__PURE__ */ __name((output, context) => {
2239
+ return (0, import_smithy_client.take)(output, {
2240
+ clientRequestToken: import_smithy_client.expectString,
2241
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2242
+ inputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
2243
+ jobArn: import_smithy_client.expectString,
2244
+ jobExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2245
+ jobName: import_smithy_client.expectString,
2246
+ lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2247
+ message: import_smithy_client.expectString,
2248
+ modelId: import_smithy_client.expectString,
2249
+ outputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
2250
+ roleArn: import_smithy_client.expectString,
2251
+ status: import_smithy_client.expectString,
2252
+ submitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2253
+ timeoutDurationInHours: import_smithy_client.expectInt32
2254
+ });
2255
+ }, "de_ModelInvocationJobSummary");
2047
2256
  var de_ProvisionedModelSummaries = /* @__PURE__ */ __name((output, context) => {
2048
2257
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2049
2258
  return de_ProvisionedModelSummary(entry, context);
@@ -2109,6 +2318,8 @@ var _sB = "sortBy";
2109
2318
  var _sE = "statusEquals";
2110
2319
  var _sMAE = "sourceModelArnEquals";
2111
2320
  var _sO = "sortOrder";
2321
+ var _sTA = "submitTimeAfter";
2322
+ var _sTB = "submitTimeBefore";
2112
2323
  var _tMNC = "targetModelNameContains";
2113
2324
 
2114
2325
  // src/commands/CreateEvaluationJobCommand.ts
@@ -2188,6 +2399,22 @@ var _CreateModelCustomizationJobCommand = class _CreateModelCustomizationJobComm
2188
2399
  __name(_CreateModelCustomizationJobCommand, "CreateModelCustomizationJobCommand");
2189
2400
  var CreateModelCustomizationJobCommand = _CreateModelCustomizationJobCommand;
2190
2401
 
2402
+ // src/commands/CreateModelInvocationJobCommand.ts
2403
+
2404
+
2405
+
2406
+ var _CreateModelInvocationJobCommand = class _CreateModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2407
+ ...commonParams
2408
+ }).m(function(Command, cs, config, o) {
2409
+ return [
2410
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2411
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2412
+ ];
2413
+ }).s("AmazonBedrockControlPlaneService", "CreateModelInvocationJob", {}).n("BedrockClient", "CreateModelInvocationJobCommand").f(void 0, void 0).ser(se_CreateModelInvocationJobCommand).de(de_CreateModelInvocationJobCommand).build() {
2414
+ };
2415
+ __name(_CreateModelInvocationJobCommand, "CreateModelInvocationJobCommand");
2416
+ var CreateModelInvocationJobCommand = _CreateModelInvocationJobCommand;
2417
+
2191
2418
  // src/commands/CreateProvisionedModelThroughputCommand.ts
2192
2419
 
2193
2420
 
@@ -2364,6 +2591,22 @@ var _GetModelCustomizationJobCommand = class _GetModelCustomizationJobCommand ex
2364
2591
  __name(_GetModelCustomizationJobCommand, "GetModelCustomizationJobCommand");
2365
2592
  var GetModelCustomizationJobCommand = _GetModelCustomizationJobCommand;
2366
2593
 
2594
+ // src/commands/GetModelInvocationJobCommand.ts
2595
+
2596
+
2597
+
2598
+ var _GetModelInvocationJobCommand = class _GetModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2599
+ ...commonParams
2600
+ }).m(function(Command, cs, config, o) {
2601
+ return [
2602
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2603
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2604
+ ];
2605
+ }).s("AmazonBedrockControlPlaneService", "GetModelInvocationJob", {}).n("BedrockClient", "GetModelInvocationJobCommand").f(void 0, GetModelInvocationJobResponseFilterSensitiveLog).ser(se_GetModelInvocationJobCommand).de(de_GetModelInvocationJobCommand).build() {
2606
+ };
2607
+ __name(_GetModelInvocationJobCommand, "GetModelInvocationJobCommand");
2608
+ var GetModelInvocationJobCommand = _GetModelInvocationJobCommand;
2609
+
2367
2610
  // src/commands/GetModelInvocationLoggingConfigurationCommand.ts
2368
2611
 
2369
2612
 
@@ -2492,6 +2735,22 @@ var _ListModelCustomizationJobsCommand = class _ListModelCustomizationJobsComman
2492
2735
  __name(_ListModelCustomizationJobsCommand, "ListModelCustomizationJobsCommand");
2493
2736
  var ListModelCustomizationJobsCommand = _ListModelCustomizationJobsCommand;
2494
2737
 
2738
+ // src/commands/ListModelInvocationJobsCommand.ts
2739
+
2740
+
2741
+
2742
+ var _ListModelInvocationJobsCommand = class _ListModelInvocationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2743
+ ...commonParams
2744
+ }).m(function(Command, cs, config, o) {
2745
+ return [
2746
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2747
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2748
+ ];
2749
+ }).s("AmazonBedrockControlPlaneService", "ListModelInvocationJobs", {}).n("BedrockClient", "ListModelInvocationJobsCommand").f(void 0, ListModelInvocationJobsResponseFilterSensitiveLog).ser(se_ListModelInvocationJobsCommand).de(de_ListModelInvocationJobsCommand).build() {
2750
+ };
2751
+ __name(_ListModelInvocationJobsCommand, "ListModelInvocationJobsCommand");
2752
+ var ListModelInvocationJobsCommand = _ListModelInvocationJobsCommand;
2753
+
2495
2754
  // src/commands/ListProvisionedModelThroughputsCommand.ts
2496
2755
 
2497
2756
 
@@ -2572,6 +2831,22 @@ var _StopModelCustomizationJobCommand = class _StopModelCustomizationJobCommand
2572
2831
  __name(_StopModelCustomizationJobCommand, "StopModelCustomizationJobCommand");
2573
2832
  var StopModelCustomizationJobCommand = _StopModelCustomizationJobCommand;
2574
2833
 
2834
+ // src/commands/StopModelInvocationJobCommand.ts
2835
+
2836
+
2837
+
2838
+ var _StopModelInvocationJobCommand = class _StopModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2839
+ ...commonParams
2840
+ }).m(function(Command, cs, config, o) {
2841
+ return [
2842
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2843
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2844
+ ];
2845
+ }).s("AmazonBedrockControlPlaneService", "StopModelInvocationJob", {}).n("BedrockClient", "StopModelInvocationJobCommand").f(void 0, void 0).ser(se_StopModelInvocationJobCommand).de(de_StopModelInvocationJobCommand).build() {
2846
+ };
2847
+ __name(_StopModelInvocationJobCommand, "StopModelInvocationJobCommand");
2848
+ var StopModelInvocationJobCommand = _StopModelInvocationJobCommand;
2849
+
2575
2850
  // src/commands/TagResourceCommand.ts
2576
2851
 
2577
2852
 
@@ -2643,6 +2918,7 @@ var commands = {
2643
2918
  CreateGuardrailVersionCommand,
2644
2919
  CreateModelCopyJobCommand,
2645
2920
  CreateModelCustomizationJobCommand,
2921
+ CreateModelInvocationJobCommand,
2646
2922
  CreateProvisionedModelThroughputCommand,
2647
2923
  DeleteCustomModelCommand,
2648
2924
  DeleteGuardrailCommand,
@@ -2654,6 +2930,7 @@ var commands = {
2654
2930
  GetGuardrailCommand,
2655
2931
  GetModelCopyJobCommand,
2656
2932
  GetModelCustomizationJobCommand,
2933
+ GetModelInvocationJobCommand,
2657
2934
  GetModelInvocationLoggingConfigurationCommand,
2658
2935
  GetProvisionedModelThroughputCommand,
2659
2936
  ListCustomModelsCommand,
@@ -2662,11 +2939,13 @@ var commands = {
2662
2939
  ListGuardrailsCommand,
2663
2940
  ListModelCopyJobsCommand,
2664
2941
  ListModelCustomizationJobsCommand,
2942
+ ListModelInvocationJobsCommand,
2665
2943
  ListProvisionedModelThroughputsCommand,
2666
2944
  ListTagsForResourceCommand,
2667
2945
  PutModelInvocationLoggingConfigurationCommand,
2668
2946
  StopEvaluationJobCommand,
2669
2947
  StopModelCustomizationJobCommand,
2948
+ StopModelInvocationJobCommand,
2670
2949
  TagResourceCommand,
2671
2950
  UntagResourceCommand,
2672
2951
  UpdateGuardrailCommand,
@@ -2698,6 +2977,10 @@ var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient,
2698
2977
 
2699
2978
  var paginateListModelCustomizationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCustomizationJobsCommand, "nextToken", "nextToken", "maxResults");
2700
2979
 
2980
+ // src/pagination/ListModelInvocationJobsPaginator.ts
2981
+
2982
+ var paginateListModelInvocationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
2983
+
2701
2984
  // src/pagination/ListProvisionedModelThroughputsPaginator.ts
2702
2985
 
2703
2986
  var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
@@ -2714,6 +2997,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2714
2997
  CreateGuardrailVersionCommand,
2715
2998
  CreateModelCopyJobCommand,
2716
2999
  CreateModelCustomizationJobCommand,
3000
+ CreateModelInvocationJobCommand,
2717
3001
  CreateProvisionedModelThroughputCommand,
2718
3002
  DeleteCustomModelCommand,
2719
3003
  DeleteGuardrailCommand,
@@ -2725,6 +3009,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2725
3009
  GetGuardrailCommand,
2726
3010
  GetModelCopyJobCommand,
2727
3011
  GetModelCustomizationJobCommand,
3012
+ GetModelInvocationJobCommand,
2728
3013
  GetModelInvocationLoggingConfigurationCommand,
2729
3014
  GetProvisionedModelThroughputCommand,
2730
3015
  ListCustomModelsCommand,
@@ -2733,11 +3018,13 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2733
3018
  ListGuardrailsCommand,
2734
3019
  ListModelCopyJobsCommand,
2735
3020
  ListModelCustomizationJobsCommand,
3021
+ ListModelInvocationJobsCommand,
2736
3022
  ListProvisionedModelThroughputsCommand,
2737
3023
  ListTagsForResourceCommand,
2738
3024
  PutModelInvocationLoggingConfigurationCommand,
2739
3025
  StopEvaluationJobCommand,
2740
3026
  StopModelCustomizationJobCommand,
3027
+ StopModelInvocationJobCommand,
2741
3028
  TagResourceCommand,
2742
3029
  UntagResourceCommand,
2743
3030
  UpdateGuardrailCommand,
@@ -2747,6 +3034,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2747
3034
  paginateListGuardrails,
2748
3035
  paginateListModelCopyJobs,
2749
3036
  paginateListModelCustomizationJobs,
3037
+ paginateListModelInvocationJobs,
2750
3038
  paginateListProvisionedModelThroughputs,
2751
3039
  AccessDeniedException,
2752
3040
  ConflictException,
@@ -2774,6 +3062,10 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2774
3062
  TooManyTagsException,
2775
3063
  GuardrailStatus,
2776
3064
  ModelCopyJobStatus,
3065
+ S3InputFormat,
3066
+ ModelInvocationJobInputDataConfig,
3067
+ ModelInvocationJobOutputDataConfig,
3068
+ ModelInvocationJobStatus,
2777
3069
  CustomizationType,
2778
3070
  ModelCustomization,
2779
3071
  InferenceType,
@@ -2808,6 +3100,9 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2808
3100
  GetGuardrailResponseFilterSensitiveLog,
2809
3101
  GuardrailSummaryFilterSensitiveLog,
2810
3102
  ListGuardrailsResponseFilterSensitiveLog,
2811
- UpdateGuardrailRequestFilterSensitiveLog
3103
+ UpdateGuardrailRequestFilterSensitiveLog,
3104
+ GetModelInvocationJobResponseFilterSensitiveLog,
3105
+ ModelInvocationJobSummaryFilterSensitiveLog,
3106
+ ListModelInvocationJobsResponseFilterSensitiveLog
2812
3107
  });
2813
3108
 
@@ -5,6 +5,7 @@ import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
5
5
  import { CreateGuardrailVersionCommand, } from "./commands/CreateGuardrailVersionCommand";
6
6
  import { CreateModelCopyJobCommand, } from "./commands/CreateModelCopyJobCommand";
7
7
  import { CreateModelCustomizationJobCommand, } from "./commands/CreateModelCustomizationJobCommand";
8
+ import { CreateModelInvocationJobCommand, } from "./commands/CreateModelInvocationJobCommand";
8
9
  import { CreateProvisionedModelThroughputCommand, } from "./commands/CreateProvisionedModelThroughputCommand";
9
10
  import { DeleteCustomModelCommand, } from "./commands/DeleteCustomModelCommand";
10
11
  import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
@@ -16,6 +17,7 @@ import { GetFoundationModelCommand, } from "./commands/GetFoundationModelCommand
16
17
  import { GetGuardrailCommand, } from "./commands/GetGuardrailCommand";
17
18
  import { GetModelCopyJobCommand, } from "./commands/GetModelCopyJobCommand";
18
19
  import { GetModelCustomizationJobCommand, } from "./commands/GetModelCustomizationJobCommand";
20
+ import { GetModelInvocationJobCommand, } from "./commands/GetModelInvocationJobCommand";
19
21
  import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetModelInvocationLoggingConfigurationCommand";
20
22
  import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
21
23
  import { ListCustomModelsCommand, } from "./commands/ListCustomModelsCommand";
@@ -24,11 +26,13 @@ import { ListFoundationModelsCommand, } from "./commands/ListFoundationModelsCom
24
26
  import { ListGuardrailsCommand, } from "./commands/ListGuardrailsCommand";
25
27
  import { ListModelCopyJobsCommand, } from "./commands/ListModelCopyJobsCommand";
26
28
  import { ListModelCustomizationJobsCommand, } from "./commands/ListModelCustomizationJobsCommand";
29
+ import { ListModelInvocationJobsCommand, } from "./commands/ListModelInvocationJobsCommand";
27
30
  import { ListProvisionedModelThroughputsCommand, } from "./commands/ListProvisionedModelThroughputsCommand";
28
31
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
29
32
  import { PutModelInvocationLoggingConfigurationCommand, } from "./commands/PutModelInvocationLoggingConfigurationCommand";
30
33
  import { StopEvaluationJobCommand, } from "./commands/StopEvaluationJobCommand";
31
34
  import { StopModelCustomizationJobCommand, } from "./commands/StopModelCustomizationJobCommand";
35
+ import { StopModelInvocationJobCommand, } from "./commands/StopModelInvocationJobCommand";
32
36
  import { TagResourceCommand } from "./commands/TagResourceCommand";
33
37
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
34
38
  import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
@@ -39,6 +43,7 @@ const commands = {
39
43
  CreateGuardrailVersionCommand,
40
44
  CreateModelCopyJobCommand,
41
45
  CreateModelCustomizationJobCommand,
46
+ CreateModelInvocationJobCommand,
42
47
  CreateProvisionedModelThroughputCommand,
43
48
  DeleteCustomModelCommand,
44
49
  DeleteGuardrailCommand,
@@ -50,6 +55,7 @@ const commands = {
50
55
  GetGuardrailCommand,
51
56
  GetModelCopyJobCommand,
52
57
  GetModelCustomizationJobCommand,
58
+ GetModelInvocationJobCommand,
53
59
  GetModelInvocationLoggingConfigurationCommand,
54
60
  GetProvisionedModelThroughputCommand,
55
61
  ListCustomModelsCommand,
@@ -58,11 +64,13 @@ const commands = {
58
64
  ListGuardrailsCommand,
59
65
  ListModelCopyJobsCommand,
60
66
  ListModelCustomizationJobsCommand,
67
+ ListModelInvocationJobsCommand,
61
68
  ListProvisionedModelThroughputsCommand,
62
69
  ListTagsForResourceCommand,
63
70
  PutModelInvocationLoggingConfigurationCommand,
64
71
  StopEvaluationJobCommand,
65
72
  StopModelCustomizationJobCommand,
73
+ StopModelInvocationJobCommand,
66
74
  TagResourceCommand,
67
75
  UntagResourceCommand,
68
76
  UpdateGuardrailCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateModelInvocationJobCommand, se_CreateModelInvocationJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateModelInvocationJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "CreateModelInvocationJob", {})
19
+ .n("BedrockClient", "CreateModelInvocationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateModelInvocationJobCommand)
22
+ .de(de_CreateModelInvocationJobCommand)
23
+ .build() {
24
+ }