@aws-sdk/client-bedrock 3.632.0 → 3.634.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 +1 -1
@@ -0,0 +1,25 @@
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 { GetModelInvocationJobResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetModelInvocationJobCommand, se_GetModelInvocationJobCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetModelInvocationJobCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockControlPlaneService", "GetModelInvocationJob", {})
20
+ .n("BedrockClient", "GetModelInvocationJobCommand")
21
+ .f(void 0, GetModelInvocationJobResponseFilterSensitiveLog)
22
+ .ser(se_GetModelInvocationJobCommand)
23
+ .de(de_GetModelInvocationJobCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
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 { ListModelInvocationJobsResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListModelInvocationJobsCommand, se_ListModelInvocationJobsCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListModelInvocationJobsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockControlPlaneService", "ListModelInvocationJobs", {})
20
+ .n("BedrockClient", "ListModelInvocationJobsCommand")
21
+ .f(void 0, ListModelInvocationJobsResponseFilterSensitiveLog)
22
+ .ser(se_ListModelInvocationJobsCommand)
23
+ .de(de_ListModelInvocationJobsCommand)
24
+ .build() {
25
+ }
@@ -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_StopModelInvocationJobCommand, se_StopModelInvocationJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopModelInvocationJobCommand 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", "StopModelInvocationJob", {})
19
+ .n("BedrockClient", "StopModelInvocationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopModelInvocationJobCommand)
22
+ .de(de_StopModelInvocationJobCommand)
23
+ .build() {
24
+ }
@@ -3,6 +3,7 @@ export * from "./CreateGuardrailCommand";
3
3
  export * from "./CreateGuardrailVersionCommand";
4
4
  export * from "./CreateModelCopyJobCommand";
5
5
  export * from "./CreateModelCustomizationJobCommand";
6
+ export * from "./CreateModelInvocationJobCommand";
6
7
  export * from "./CreateProvisionedModelThroughputCommand";
7
8
  export * from "./DeleteCustomModelCommand";
8
9
  export * from "./DeleteGuardrailCommand";
@@ -14,6 +15,7 @@ export * from "./GetFoundationModelCommand";
14
15
  export * from "./GetGuardrailCommand";
15
16
  export * from "./GetModelCopyJobCommand";
16
17
  export * from "./GetModelCustomizationJobCommand";
18
+ export * from "./GetModelInvocationJobCommand";
17
19
  export * from "./GetModelInvocationLoggingConfigurationCommand";
18
20
  export * from "./GetProvisionedModelThroughputCommand";
19
21
  export * from "./ListCustomModelsCommand";
@@ -22,11 +24,13 @@ export * from "./ListFoundationModelsCommand";
22
24
  export * from "./ListGuardrailsCommand";
23
25
  export * from "./ListModelCopyJobsCommand";
24
26
  export * from "./ListModelCustomizationJobsCommand";
27
+ export * from "./ListModelInvocationJobsCommand";
25
28
  export * from "./ListProvisionedModelThroughputsCommand";
26
29
  export * from "./ListTagsForResourceCommand";
27
30
  export * from "./PutModelInvocationLoggingConfigurationCommand";
28
31
  export * from "./StopEvaluationJobCommand";
29
32
  export * from "./StopModelCustomizationJobCommand";
33
+ export * from "./StopModelInvocationJobCommand";
30
34
  export * from "./TagResourceCommand";
31
35
  export * from "./UntagResourceCommand";
32
36
  export * from "./UpdateGuardrailCommand";
@@ -230,6 +230,37 @@ export const ModelCopyJobStatus = {
230
230
  FAILED: "Failed",
231
231
  IN_PROGRESS: "InProgress",
232
232
  };
233
+ export const S3InputFormat = {
234
+ JSONL: "JSONL",
235
+ };
236
+ export var ModelInvocationJobInputDataConfig;
237
+ (function (ModelInvocationJobInputDataConfig) {
238
+ ModelInvocationJobInputDataConfig.visit = (value, visitor) => {
239
+ if (value.s3InputDataConfig !== undefined)
240
+ return visitor.s3InputDataConfig(value.s3InputDataConfig);
241
+ return visitor._(value.$unknown[0], value.$unknown[1]);
242
+ };
243
+ })(ModelInvocationJobInputDataConfig || (ModelInvocationJobInputDataConfig = {}));
244
+ export var ModelInvocationJobOutputDataConfig;
245
+ (function (ModelInvocationJobOutputDataConfig) {
246
+ ModelInvocationJobOutputDataConfig.visit = (value, visitor) => {
247
+ if (value.s3OutputDataConfig !== undefined)
248
+ return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
249
+ return visitor._(value.$unknown[0], value.$unknown[1]);
250
+ };
251
+ })(ModelInvocationJobOutputDataConfig || (ModelInvocationJobOutputDataConfig = {}));
252
+ export const ModelInvocationJobStatus = {
253
+ COMPLETED: "Completed",
254
+ EXPIRED: "Expired",
255
+ FAILED: "Failed",
256
+ IN_PROGRESS: "InProgress",
257
+ PARTIALLY_COMPLETED: "PartiallyCompleted",
258
+ SCHEDULED: "Scheduled",
259
+ STOPPED: "Stopped",
260
+ STOPPING: "Stopping",
261
+ SUBMITTED: "Submitted",
262
+ VALIDATING: "Validating",
263
+ };
233
264
  export const CustomizationType = {
234
265
  CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
235
266
  FINE_TUNING: "FINE_TUNING",
@@ -427,3 +458,21 @@ export const UpdateGuardrailRequestFilterSensitiveLog = (obj) => ({
427
458
  ...(obj.blockedInputMessaging && { blockedInputMessaging: SENSITIVE_STRING }),
428
459
  ...(obj.blockedOutputsMessaging && { blockedOutputsMessaging: SENSITIVE_STRING }),
429
460
  });
461
+ export const GetModelInvocationJobResponseFilterSensitiveLog = (obj) => ({
462
+ ...obj,
463
+ ...(obj.message && { message: SENSITIVE_STRING }),
464
+ ...(obj.inputDataConfig && { inputDataConfig: obj.inputDataConfig }),
465
+ ...(obj.outputDataConfig && { outputDataConfig: obj.outputDataConfig }),
466
+ });
467
+ export const ModelInvocationJobSummaryFilterSensitiveLog = (obj) => ({
468
+ ...obj,
469
+ ...(obj.message && { message: SENSITIVE_STRING }),
470
+ ...(obj.inputDataConfig && { inputDataConfig: obj.inputDataConfig }),
471
+ ...(obj.outputDataConfig && { outputDataConfig: obj.outputDataConfig }),
472
+ });
473
+ export const ListModelInvocationJobsResponseFilterSensitiveLog = (obj) => ({
474
+ ...obj,
475
+ ...(obj.invocationJobSummaries && {
476
+ invocationJobSummaries: obj.invocationJobSummaries.map((item) => ModelInvocationJobSummaryFilterSensitiveLog(item)),
477
+ }),
478
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockClient } from "../BedrockClient";
3
+ import { ListModelInvocationJobsCommand, } from "../commands/ListModelInvocationJobsCommand";
4
+ export const paginateListModelInvocationJobs = createPaginator(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,5 @@ export * from "./ListEvaluationJobsPaginator";
4
4
  export * from "./ListGuardrailsPaginator";
5
5
  export * from "./ListModelCopyJobsPaginator";
6
6
  export * from "./ListModelCustomizationJobsPaginator";
7
+ export * from "./ListModelInvocationJobsPaginator";
7
8
  export * from "./ListProvisionedModelThroughputsPaginator";
@@ -107,6 +107,26 @@ export const se_CreateModelCustomizationJobCommand = async (input, context) => {
107
107
  b.m("POST").h(headers).b(body);
108
108
  return b.build();
109
109
  };
110
+ export const se_CreateModelInvocationJobCommand = async (input, context) => {
111
+ const b = rb(input, context);
112
+ const headers = {
113
+ "content-type": "application/json",
114
+ };
115
+ b.bp("/model-invocation-job");
116
+ let body;
117
+ body = JSON.stringify(take(input, {
118
+ clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
119
+ inputDataConfig: (_) => _json(_),
120
+ jobName: [],
121
+ modelId: [],
122
+ outputDataConfig: (_) => _json(_),
123
+ roleArn: [],
124
+ tags: (_) => _json(_),
125
+ timeoutDurationInHours: [],
126
+ }));
127
+ b.m("POST").h(headers).b(body);
128
+ return b.build();
129
+ };
110
130
  export const se_CreateProvisionedModelThroughputCommand = async (input, context) => {
111
131
  const b = rb(input, context);
112
132
  const headers = {
@@ -220,6 +240,15 @@ export const se_GetModelCustomizationJobCommand = async (input, context) => {
220
240
  b.m("GET").h(headers).b(body);
221
241
  return b.build();
222
242
  };
243
+ export const se_GetModelInvocationJobCommand = async (input, context) => {
244
+ const b = rb(input, context);
245
+ const headers = {};
246
+ b.bp("/model-invocation-job/{jobIdentifier}");
247
+ b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
248
+ let body;
249
+ b.m("GET").h(headers).b(body);
250
+ return b.build();
251
+ };
223
252
  export const se_GetModelInvocationLoggingConfigurationCommand = async (input, context) => {
224
253
  const b = rb(input, context);
225
254
  const headers = {};
@@ -340,6 +369,24 @@ export const se_ListModelCustomizationJobsCommand = async (input, context) => {
340
369
  b.m("GET").h(headers).q(query).b(body);
341
370
  return b.build();
342
371
  };
372
+ export const se_ListModelInvocationJobsCommand = async (input, context) => {
373
+ const b = rb(input, context);
374
+ const headers = {};
375
+ b.bp("/model-invocation-jobs");
376
+ const query = map({
377
+ [_sTA]: [() => input.submitTimeAfter !== void 0, () => __serializeDateTime(input[_sTA]).toString()],
378
+ [_sTB]: [() => input.submitTimeBefore !== void 0, () => __serializeDateTime(input[_sTB]).toString()],
379
+ [_sE]: [, input[_sE]],
380
+ [_nC]: [, input[_nC]],
381
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
382
+ [_nT]: [, input[_nT]],
383
+ [_sB]: [, input[_sB]],
384
+ [_sO]: [, input[_sO]],
385
+ });
386
+ let body;
387
+ b.m("GET").h(headers).q(query).b(body);
388
+ return b.build();
389
+ };
343
390
  export const se_ListProvisionedModelThroughputsCommand = async (input, context) => {
344
391
  const b = rb(input, context);
345
392
  const headers = {};
@@ -403,6 +450,15 @@ export const se_StopModelCustomizationJobCommand = async (input, context) => {
403
450
  b.m("POST").h(headers).b(body);
404
451
  return b.build();
405
452
  };
453
+ export const se_StopModelInvocationJobCommand = async (input, context) => {
454
+ const b = rb(input, context);
455
+ const headers = {};
456
+ b.bp("/model-invocation-job/{jobIdentifier}/stop");
457
+ b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
458
+ let body;
459
+ b.m("POST").h(headers).b(body);
460
+ return b.build();
461
+ };
406
462
  export const se_TagResourceCommand = async (input, context) => {
407
463
  const b = rb(input, context);
408
464
  const headers = {
@@ -543,6 +599,20 @@ export const de_CreateModelCustomizationJobCommand = async (output, context) =>
543
599
  Object.assign(contents, doc);
544
600
  return contents;
545
601
  };
602
+ export const de_CreateModelInvocationJobCommand = async (output, context) => {
603
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
604
+ return de_CommandError(output, context);
605
+ }
606
+ const contents = map({
607
+ $metadata: deserializeMetadata(output),
608
+ });
609
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
610
+ const doc = take(data, {
611
+ jobArn: __expectString,
612
+ });
613
+ Object.assign(contents, doc);
614
+ return contents;
615
+ };
546
616
  export const de_CreateProvisionedModelThroughputCommand = async (output, context) => {
547
617
  if (output.statusCode !== 201 && output.statusCode >= 300) {
548
618
  return de_CommandError(output, context);
@@ -753,6 +823,33 @@ export const de_GetModelCustomizationJobCommand = async (output, context) => {
753
823
  Object.assign(contents, doc);
754
824
  return contents;
755
825
  };
826
+ export const de_GetModelInvocationJobCommand = async (output, context) => {
827
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
828
+ return de_CommandError(output, context);
829
+ }
830
+ const contents = map({
831
+ $metadata: deserializeMetadata(output),
832
+ });
833
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
834
+ const doc = take(data, {
835
+ clientRequestToken: __expectString,
836
+ endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
837
+ inputDataConfig: (_) => _json(__expectUnion(_)),
838
+ jobArn: __expectString,
839
+ jobExpirationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
840
+ jobName: __expectString,
841
+ lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
842
+ message: __expectString,
843
+ modelId: __expectString,
844
+ outputDataConfig: (_) => _json(__expectUnion(_)),
845
+ roleArn: __expectString,
846
+ status: __expectString,
847
+ submitTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
848
+ timeoutDurationInHours: __expectInt32,
849
+ });
850
+ Object.assign(contents, doc);
851
+ return contents;
852
+ };
756
853
  export const de_GetModelInvocationLoggingConfigurationCommand = async (output, context) => {
757
854
  if (output.statusCode !== 200 && output.statusCode >= 300) {
758
855
  return de_CommandError(output, context);
@@ -882,6 +979,21 @@ export const de_ListModelCustomizationJobsCommand = async (output, context) => {
882
979
  Object.assign(contents, doc);
883
980
  return contents;
884
981
  };
982
+ export const de_ListModelInvocationJobsCommand = async (output, context) => {
983
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
984
+ return de_CommandError(output, context);
985
+ }
986
+ const contents = map({
987
+ $metadata: deserializeMetadata(output),
988
+ });
989
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
990
+ const doc = take(data, {
991
+ invocationJobSummaries: (_) => de_ModelInvocationJobSummaries(_, context),
992
+ nextToken: __expectString,
993
+ });
994
+ Object.assign(contents, doc);
995
+ return contents;
996
+ };
885
997
  export const de_ListProvisionedModelThroughputsCommand = async (output, context) => {
886
998
  if (output.statusCode !== 200 && output.statusCode >= 300) {
887
999
  return de_CommandError(output, context);
@@ -941,6 +1053,16 @@ export const de_StopModelCustomizationJobCommand = async (output, context) => {
941
1053
  await collectBody(output.body, context);
942
1054
  return contents;
943
1055
  };
1056
+ export const de_StopModelInvocationJobCommand = async (output, context) => {
1057
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1058
+ return de_CommandError(output, context);
1059
+ }
1060
+ const contents = map({
1061
+ $metadata: deserializeMetadata(output),
1062
+ });
1063
+ await collectBody(output.body, context);
1064
+ return contents;
1065
+ };
944
1066
  export const de_TagResourceCommand = async (output, context) => {
945
1067
  if (output.statusCode !== 200 && output.statusCode >= 300) {
946
1068
  return de_CommandError(output, context);
@@ -1274,6 +1396,32 @@ const de_ModelCustomizationJobSummary = (output, context) => {
1274
1396
  status: __expectString,
1275
1397
  });
1276
1398
  };
1399
+ const de_ModelInvocationJobSummaries = (output, context) => {
1400
+ const retVal = (output || [])
1401
+ .filter((e) => e != null)
1402
+ .map((entry) => {
1403
+ return de_ModelInvocationJobSummary(entry, context);
1404
+ });
1405
+ return retVal;
1406
+ };
1407
+ const de_ModelInvocationJobSummary = (output, context) => {
1408
+ return take(output, {
1409
+ clientRequestToken: __expectString,
1410
+ endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1411
+ inputDataConfig: (_) => _json(__expectUnion(_)),
1412
+ jobArn: __expectString,
1413
+ jobExpirationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1414
+ jobName: __expectString,
1415
+ lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1416
+ message: __expectString,
1417
+ modelId: __expectString,
1418
+ outputDataConfig: (_) => _json(__expectUnion(_)),
1419
+ roleArn: __expectString,
1420
+ status: __expectString,
1421
+ submitTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1422
+ timeoutDurationInHours: __expectInt32,
1423
+ });
1424
+ };
1277
1425
  const de_ProvisionedModelSummaries = (output, context) => {
1278
1426
  const retVal = (output || [])
1279
1427
  .filter((e) => e != null)
@@ -1349,4 +1497,6 @@ const _sB = "sortBy";
1349
1497
  const _sE = "statusEquals";
1350
1498
  const _sMAE = "sourceModelArnEquals";
1351
1499
  const _sO = "sortOrder";
1500
+ const _sTA = "submitTimeAfter";
1501
+ const _sTB = "submitTimeBefore";
1352
1502
  const _tMNC = "targetModelNameContains";
@@ -5,6 +5,7 @@ import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./com
5
5
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
6
6
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
7
7
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
8
+ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput } from "./commands/CreateModelInvocationJobCommand";
8
9
  import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand";
9
10
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand";
10
11
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
@@ -16,6 +17,7 @@ import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from
16
17
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
17
18
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
18
19
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
20
+ import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
19
21
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
20
22
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
21
23
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
@@ -24,11 +26,13 @@ import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } f
24
26
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
25
27
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
26
28
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
29
+ import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
27
30
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
28
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
29
32
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand";
30
33
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
31
34
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
35
+ import { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
32
36
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
37
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
38
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
@@ -64,6 +68,12 @@ export interface Bedrock {
64
68
  createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCustomizationJobCommandOutput>;
65
69
  createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
66
70
  createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
71
+ /**
72
+ * @see {@link CreateModelInvocationJobCommand}
73
+ */
74
+ createModelInvocationJob(args: CreateModelInvocationJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelInvocationJobCommandOutput>;
75
+ createModelInvocationJob(args: CreateModelInvocationJobCommandInput, cb: (err: any, data?: CreateModelInvocationJobCommandOutput) => void): void;
76
+ createModelInvocationJob(args: CreateModelInvocationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelInvocationJobCommandOutput) => void): void;
67
77
  /**
68
78
  * @see {@link CreateProvisionedModelThroughputCommand}
69
79
  */
@@ -131,6 +141,12 @@ export interface Bedrock {
131
141
  getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelCustomizationJobCommandOutput>;
132
142
  getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
133
143
  getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link GetModelInvocationJobCommand}
146
+ */
147
+ getModelInvocationJob(args: GetModelInvocationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelInvocationJobCommandOutput>;
148
+ getModelInvocationJob(args: GetModelInvocationJobCommandInput, cb: (err: any, data?: GetModelInvocationJobCommandOutput) => void): void;
149
+ getModelInvocationJob(args: GetModelInvocationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelInvocationJobCommandOutput) => void): void;
134
150
  /**
135
151
  * @see {@link GetModelInvocationLoggingConfigurationCommand}
136
152
  */
@@ -186,6 +202,13 @@ export interface Bedrock {
186
202
  listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelCustomizationJobsCommandOutput>;
187
203
  listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
188
204
  listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
205
+ /**
206
+ * @see {@link ListModelInvocationJobsCommand}
207
+ */
208
+ listModelInvocationJobs(): Promise<ListModelInvocationJobsCommandOutput>;
209
+ listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelInvocationJobsCommandOutput>;
210
+ listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
211
+ listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
189
212
  /**
190
213
  * @see {@link ListProvisionedModelThroughputsCommand}
191
214
  */
@@ -217,6 +240,12 @@ export interface Bedrock {
217
240
  stopModelCustomizationJob(args: StopModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopModelCustomizationJobCommandOutput>;
218
241
  stopModelCustomizationJob(args: StopModelCustomizationJobCommandInput, cb: (err: any, data?: StopModelCustomizationJobCommandOutput) => void): void;
219
242
  stopModelCustomizationJob(args: StopModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopModelCustomizationJobCommandOutput) => void): void;
243
+ /**
244
+ * @see {@link StopModelInvocationJobCommand}
245
+ */
246
+ stopModelInvocationJob(args: StopModelInvocationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopModelInvocationJobCommandOutput>;
247
+ stopModelInvocationJob(args: StopModelInvocationJobCommandInput, cb: (err: any, data?: StopModelInvocationJobCommandOutput) => void): void;
248
+ stopModelInvocationJob(args: StopModelInvocationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopModelInvocationJobCommandOutput) => void): void;
220
249
  /**
221
250
  * @see {@link TagResourceCommand}
222
251
  */
@@ -12,6 +12,7 @@ import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./com
12
12
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
13
13
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
14
14
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
15
+ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput } from "./commands/CreateModelInvocationJobCommand";
15
16
  import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand";
16
17
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand";
17
18
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
@@ -23,6 +24,7 @@ import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from
23
24
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
24
25
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
25
26
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
27
+ import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
26
28
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
27
29
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
28
30
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
@@ -31,11 +33,13 @@ import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } f
31
33
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
32
34
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
33
35
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
36
+ import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
34
37
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
35
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
36
39
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand";
37
40
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
38
41
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
42
+ import { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
39
43
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
40
44
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
45
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
@@ -46,11 +50,11 @@ export { __Client };
46
50
  /**
47
51
  * @public
48
52
  */
49
- export type ServiceInputTypes = CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
53
+ export type ServiceInputTypes = CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
50
54
  /**
51
55
  * @public
52
56
  */
53
- export type ServiceOutputTypes = CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
57
+ export type ServiceOutputTypes = CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
54
58
  /**
55
59
  * @public
56
60
  */
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { CreateModelInvocationJobRequest, CreateModelInvocationJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateModelInvocationJobCommand}.
14
+ */
15
+ export interface CreateModelInvocationJobCommandInput extends CreateModelInvocationJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateModelInvocationJobCommand}.
21
+ */
22
+ export interface CreateModelInvocationJobCommandOutput extends CreateModelInvocationJobResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateModelInvocationJobCommand_base: {
25
+ new (input: CreateModelInvocationJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateModelInvocationJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a job to invoke a model on multiple prompts (batch inference). Format your data according to <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-prerq.html#batch-inference-data">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-create.html">Create a batch inference job</a>.</p>
31
+ * <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job. You can check the status of the job by sending a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelCustomizationJob.html">GetModelCustomizationJob</a> request.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockClient, CreateModelInvocationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
36
+ * // const { BedrockClient, CreateModelInvocationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
37
+ * const client = new BedrockClient(config);
38
+ * const input = { // CreateModelInvocationJobRequest
39
+ * jobName: "STRING_VALUE", // required
40
+ * roleArn: "STRING_VALUE", // required
41
+ * clientRequestToken: "STRING_VALUE",
42
+ * modelId: "STRING_VALUE", // required
43
+ * inputDataConfig: { // ModelInvocationJobInputDataConfig Union: only one key present
44
+ * s3InputDataConfig: { // ModelInvocationJobS3InputDataConfig
45
+ * s3InputFormat: "JSONL",
46
+ * s3Uri: "STRING_VALUE", // required
47
+ * },
48
+ * },
49
+ * outputDataConfig: { // ModelInvocationJobOutputDataConfig Union: only one key present
50
+ * s3OutputDataConfig: { // ModelInvocationJobS3OutputDataConfig
51
+ * s3Uri: "STRING_VALUE", // required
52
+ * s3EncryptionKeyId: "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * timeoutDurationInHours: Number("int"),
56
+ * tags: [ // TagList
57
+ * { // Tag
58
+ * key: "STRING_VALUE", // required
59
+ * value: "STRING_VALUE", // required
60
+ * },
61
+ * ],
62
+ * };
63
+ * const command = new CreateModelInvocationJobCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // CreateModelInvocationJobResponse
66
+ * // jobArn: "STRING_VALUE", // required
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param CreateModelInvocationJobCommandInput - {@link CreateModelInvocationJobCommandInput}
72
+ * @returns {@link CreateModelInvocationJobCommandOutput}
73
+ * @see {@link CreateModelInvocationJobCommandInput} for command's `input` shape.
74
+ * @see {@link CreateModelInvocationJobCommandOutput} for command's `response` shape.
75
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>The request is denied because of missing access permissions.</p>
79
+ *
80
+ * @throws {@link ConflictException} (client fault)
81
+ * <p>Error occurred because of a conflict while performing an operation.</p>
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * <p>An internal server error occurred. Retry your request.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
97
+ *
98
+ * @throws {@link BedrockServiceException}
99
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class CreateModelInvocationJobCommand extends CreateModelInvocationJobCommand_base {
104
+ }