@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
@@ -20,6 +20,10 @@ import {
20
20
  CreateModelCustomizationJobCommandInput,
21
21
  CreateModelCustomizationJobCommandOutput,
22
22
  } from "./commands/CreateModelCustomizationJobCommand";
23
+ import {
24
+ CreateModelInvocationJobCommandInput,
25
+ CreateModelInvocationJobCommandOutput,
26
+ } from "./commands/CreateModelInvocationJobCommand";
23
27
  import {
24
28
  CreateProvisionedModelThroughputCommandInput,
25
29
  CreateProvisionedModelThroughputCommandOutput,
@@ -64,6 +68,10 @@ import {
64
68
  GetModelCustomizationJobCommandInput,
65
69
  GetModelCustomizationJobCommandOutput,
66
70
  } from "./commands/GetModelCustomizationJobCommand";
71
+ import {
72
+ GetModelInvocationJobCommandInput,
73
+ GetModelInvocationJobCommandOutput,
74
+ } from "./commands/GetModelInvocationJobCommand";
67
75
  import {
68
76
  GetModelInvocationLoggingConfigurationCommandInput,
69
77
  GetModelInvocationLoggingConfigurationCommandOutput,
@@ -96,6 +104,10 @@ import {
96
104
  ListModelCustomizationJobsCommandInput,
97
105
  ListModelCustomizationJobsCommandOutput,
98
106
  } from "./commands/ListModelCustomizationJobsCommand";
107
+ import {
108
+ ListModelInvocationJobsCommandInput,
109
+ ListModelInvocationJobsCommandOutput,
110
+ } from "./commands/ListModelInvocationJobsCommand";
99
111
  import {
100
112
  ListProvisionedModelThroughputsCommandInput,
101
113
  ListProvisionedModelThroughputsCommandOutput,
@@ -116,6 +128,10 @@ import {
116
128
  StopModelCustomizationJobCommandInput,
117
129
  StopModelCustomizationJobCommandOutput,
118
130
  } from "./commands/StopModelCustomizationJobCommand";
131
+ import {
132
+ StopModelInvocationJobCommandInput,
133
+ StopModelInvocationJobCommandOutput,
134
+ } from "./commands/StopModelInvocationJobCommand";
119
135
  import {
120
136
  TagResourceCommandInput,
121
137
  TagResourceCommandOutput,
@@ -198,6 +214,19 @@ export interface Bedrock {
198
214
  options: __HttpHandlerOptions,
199
215
  cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void
200
216
  ): void;
217
+ createModelInvocationJob(
218
+ args: CreateModelInvocationJobCommandInput,
219
+ options?: __HttpHandlerOptions
220
+ ): Promise<CreateModelInvocationJobCommandOutput>;
221
+ createModelInvocationJob(
222
+ args: CreateModelInvocationJobCommandInput,
223
+ cb: (err: any, data?: CreateModelInvocationJobCommandOutput) => void
224
+ ): void;
225
+ createModelInvocationJob(
226
+ args: CreateModelInvocationJobCommandInput,
227
+ options: __HttpHandlerOptions,
228
+ cb: (err: any, data?: CreateModelInvocationJobCommandOutput) => void
229
+ ): void;
201
230
  createProvisionedModelThroughput(
202
231
  args: CreateProvisionedModelThroughputCommandInput,
203
232
  options?: __HttpHandlerOptions
@@ -348,6 +377,19 @@ export interface Bedrock {
348
377
  options: __HttpHandlerOptions,
349
378
  cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void
350
379
  ): void;
380
+ getModelInvocationJob(
381
+ args: GetModelInvocationJobCommandInput,
382
+ options?: __HttpHandlerOptions
383
+ ): Promise<GetModelInvocationJobCommandOutput>;
384
+ getModelInvocationJob(
385
+ args: GetModelInvocationJobCommandInput,
386
+ cb: (err: any, data?: GetModelInvocationJobCommandOutput) => void
387
+ ): void;
388
+ getModelInvocationJob(
389
+ args: GetModelInvocationJobCommandInput,
390
+ options: __HttpHandlerOptions,
391
+ cb: (err: any, data?: GetModelInvocationJobCommandOutput) => void
392
+ ): void;
351
393
  getModelInvocationLoggingConfiguration(): Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
352
394
  getModelInvocationLoggingConfiguration(
353
395
  args: GetModelInvocationLoggingConfigurationCommandInput,
@@ -465,6 +507,20 @@ export interface Bedrock {
465
507
  options: __HttpHandlerOptions,
466
508
  cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void
467
509
  ): void;
510
+ listModelInvocationJobs(): Promise<ListModelInvocationJobsCommandOutput>;
511
+ listModelInvocationJobs(
512
+ args: ListModelInvocationJobsCommandInput,
513
+ options?: __HttpHandlerOptions
514
+ ): Promise<ListModelInvocationJobsCommandOutput>;
515
+ listModelInvocationJobs(
516
+ args: ListModelInvocationJobsCommandInput,
517
+ cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void
518
+ ): void;
519
+ listModelInvocationJobs(
520
+ args: ListModelInvocationJobsCommandInput,
521
+ options: __HttpHandlerOptions,
522
+ cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void
523
+ ): void;
468
524
  listProvisionedModelThroughputs(): Promise<ListProvisionedModelThroughputsCommandOutput>;
469
525
  listProvisionedModelThroughputs(
470
526
  args: ListProvisionedModelThroughputsCommandInput,
@@ -537,6 +593,19 @@ export interface Bedrock {
537
593
  options: __HttpHandlerOptions,
538
594
  cb: (err: any, data?: StopModelCustomizationJobCommandOutput) => void
539
595
  ): void;
596
+ stopModelInvocationJob(
597
+ args: StopModelInvocationJobCommandInput,
598
+ options?: __HttpHandlerOptions
599
+ ): Promise<StopModelInvocationJobCommandOutput>;
600
+ stopModelInvocationJob(
601
+ args: StopModelInvocationJobCommandInput,
602
+ cb: (err: any, data?: StopModelInvocationJobCommandOutput) => void
603
+ ): void;
604
+ stopModelInvocationJob(
605
+ args: StopModelInvocationJobCommandInput,
606
+ options: __HttpHandlerOptions,
607
+ cb: (err: any, data?: StopModelInvocationJobCommandOutput) => void
608
+ ): void;
540
609
  tagResource(
541
610
  args: TagResourceCommandInput,
542
611
  options?: __HttpHandlerOptions
@@ -65,6 +65,10 @@ import {
65
65
  CreateModelCustomizationJobCommandInput,
66
66
  CreateModelCustomizationJobCommandOutput,
67
67
  } from "./commands/CreateModelCustomizationJobCommand";
68
+ import {
69
+ CreateModelInvocationJobCommandInput,
70
+ CreateModelInvocationJobCommandOutput,
71
+ } from "./commands/CreateModelInvocationJobCommand";
68
72
  import {
69
73
  CreateProvisionedModelThroughputCommandInput,
70
74
  CreateProvisionedModelThroughputCommandOutput,
@@ -109,6 +113,10 @@ import {
109
113
  GetModelCustomizationJobCommandInput,
110
114
  GetModelCustomizationJobCommandOutput,
111
115
  } from "./commands/GetModelCustomizationJobCommand";
116
+ import {
117
+ GetModelInvocationJobCommandInput,
118
+ GetModelInvocationJobCommandOutput,
119
+ } from "./commands/GetModelInvocationJobCommand";
112
120
  import {
113
121
  GetModelInvocationLoggingConfigurationCommandInput,
114
122
  GetModelInvocationLoggingConfigurationCommandOutput,
@@ -141,6 +149,10 @@ import {
141
149
  ListModelCustomizationJobsCommandInput,
142
150
  ListModelCustomizationJobsCommandOutput,
143
151
  } from "./commands/ListModelCustomizationJobsCommand";
152
+ import {
153
+ ListModelInvocationJobsCommandInput,
154
+ ListModelInvocationJobsCommandOutput,
155
+ } from "./commands/ListModelInvocationJobsCommand";
144
156
  import {
145
157
  ListProvisionedModelThroughputsCommandInput,
146
158
  ListProvisionedModelThroughputsCommandOutput,
@@ -161,6 +173,10 @@ import {
161
173
  StopModelCustomizationJobCommandInput,
162
174
  StopModelCustomizationJobCommandOutput,
163
175
  } from "./commands/StopModelCustomizationJobCommand";
176
+ import {
177
+ StopModelInvocationJobCommandInput,
178
+ StopModelInvocationJobCommandOutput,
179
+ } from "./commands/StopModelInvocationJobCommand";
164
180
  import {
165
181
  TagResourceCommandInput,
166
182
  TagResourceCommandOutput,
@@ -190,6 +206,7 @@ export type ServiceInputTypes =
190
206
  | CreateGuardrailVersionCommandInput
191
207
  | CreateModelCopyJobCommandInput
192
208
  | CreateModelCustomizationJobCommandInput
209
+ | CreateModelInvocationJobCommandInput
193
210
  | CreateProvisionedModelThroughputCommandInput
194
211
  | DeleteCustomModelCommandInput
195
212
  | DeleteGuardrailCommandInput
@@ -201,6 +218,7 @@ export type ServiceInputTypes =
201
218
  | GetGuardrailCommandInput
202
219
  | GetModelCopyJobCommandInput
203
220
  | GetModelCustomizationJobCommandInput
221
+ | GetModelInvocationJobCommandInput
204
222
  | GetModelInvocationLoggingConfigurationCommandInput
205
223
  | GetProvisionedModelThroughputCommandInput
206
224
  | ListCustomModelsCommandInput
@@ -209,11 +227,13 @@ export type ServiceInputTypes =
209
227
  | ListGuardrailsCommandInput
210
228
  | ListModelCopyJobsCommandInput
211
229
  | ListModelCustomizationJobsCommandInput
230
+ | ListModelInvocationJobsCommandInput
212
231
  | ListProvisionedModelThroughputsCommandInput
213
232
  | ListTagsForResourceCommandInput
214
233
  | PutModelInvocationLoggingConfigurationCommandInput
215
234
  | StopEvaluationJobCommandInput
216
235
  | StopModelCustomizationJobCommandInput
236
+ | StopModelInvocationJobCommandInput
217
237
  | TagResourceCommandInput
218
238
  | UntagResourceCommandInput
219
239
  | UpdateGuardrailCommandInput
@@ -224,6 +244,7 @@ export type ServiceOutputTypes =
224
244
  | CreateGuardrailVersionCommandOutput
225
245
  | CreateModelCopyJobCommandOutput
226
246
  | CreateModelCustomizationJobCommandOutput
247
+ | CreateModelInvocationJobCommandOutput
227
248
  | CreateProvisionedModelThroughputCommandOutput
228
249
  | DeleteCustomModelCommandOutput
229
250
  | DeleteGuardrailCommandOutput
@@ -235,6 +256,7 @@ export type ServiceOutputTypes =
235
256
  | GetGuardrailCommandOutput
236
257
  | GetModelCopyJobCommandOutput
237
258
  | GetModelCustomizationJobCommandOutput
259
+ | GetModelInvocationJobCommandOutput
238
260
  | GetModelInvocationLoggingConfigurationCommandOutput
239
261
  | GetProvisionedModelThroughputCommandOutput
240
262
  | ListCustomModelsCommandOutput
@@ -243,11 +265,13 @@ export type ServiceOutputTypes =
243
265
  | ListGuardrailsCommandOutput
244
266
  | ListModelCopyJobsCommandOutput
245
267
  | ListModelCustomizationJobsCommandOutput
268
+ | ListModelInvocationJobsCommandOutput
246
269
  | ListProvisionedModelThroughputsCommandOutput
247
270
  | ListTagsForResourceCommandOutput
248
271
  | PutModelInvocationLoggingConfigurationCommandOutput
249
272
  | StopEvaluationJobCommandOutput
250
273
  | StopModelCustomizationJobCommandOutput
274
+ | StopModelInvocationJobCommandOutput
251
275
  | TagResourceCommandOutput
252
276
  | UntagResourceCommandOutput
253
277
  | UpdateGuardrailCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ CreateModelInvocationJobRequest,
10
+ CreateModelInvocationJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateModelInvocationJobCommandInput
15
+ extends CreateModelInvocationJobRequest {}
16
+ export interface CreateModelInvocationJobCommandOutput
17
+ extends CreateModelInvocationJobResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateModelInvocationJobCommand_base: {
20
+ new (
21
+ input: CreateModelInvocationJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateModelInvocationJobCommandInput,
24
+ CreateModelInvocationJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateModelInvocationJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateModelInvocationJobCommandInput,
33
+ CreateModelInvocationJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateModelInvocationJobCommand extends CreateModelInvocationJobCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ GetModelInvocationJobRequest,
10
+ GetModelInvocationJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetModelInvocationJobCommandInput
15
+ extends GetModelInvocationJobRequest {}
16
+ export interface GetModelInvocationJobCommandOutput
17
+ extends GetModelInvocationJobResponse,
18
+ __MetadataBearer {}
19
+ declare const GetModelInvocationJobCommand_base: {
20
+ new (
21
+ input: GetModelInvocationJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetModelInvocationJobCommandInput,
24
+ GetModelInvocationJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetModelInvocationJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetModelInvocationJobCommandInput,
33
+ GetModelInvocationJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetModelInvocationJobCommand extends GetModelInvocationJobCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ ListModelInvocationJobsRequest,
10
+ ListModelInvocationJobsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListModelInvocationJobsCommandInput
15
+ extends ListModelInvocationJobsRequest {}
16
+ export interface ListModelInvocationJobsCommandOutput
17
+ extends ListModelInvocationJobsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListModelInvocationJobsCommand_base: {
20
+ new (
21
+ input: ListModelInvocationJobsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListModelInvocationJobsCommandInput,
24
+ ListModelInvocationJobsCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListModelInvocationJobsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListModelInvocationJobsCommandInput,
33
+ ListModelInvocationJobsCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListModelInvocationJobsCommand extends ListModelInvocationJobsCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ StopModelInvocationJobRequest,
10
+ StopModelInvocationJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopModelInvocationJobCommandInput
15
+ extends StopModelInvocationJobRequest {}
16
+ export interface StopModelInvocationJobCommandOutput
17
+ extends StopModelInvocationJobResponse,
18
+ __MetadataBearer {}
19
+ declare const StopModelInvocationJobCommand_base: {
20
+ new (
21
+ input: StopModelInvocationJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StopModelInvocationJobCommandInput,
24
+ StopModelInvocationJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StopModelInvocationJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StopModelInvocationJobCommandInput,
33
+ StopModelInvocationJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StopModelInvocationJobCommand extends StopModelInvocationJobCommand_base {}
@@ -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";
@@ -630,6 +630,140 @@ export interface ListModelCopyJobsResponse {
630
630
  nextToken?: string;
631
631
  modelCopyJobSummaries?: ModelCopyJobSummary[];
632
632
  }
633
+ export declare const S3InputFormat: {
634
+ readonly JSONL: "JSONL";
635
+ };
636
+ export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
637
+ export interface ModelInvocationJobS3InputDataConfig {
638
+ s3InputFormat?: S3InputFormat;
639
+ s3Uri: string | undefined;
640
+ }
641
+ export type ModelInvocationJobInputDataConfig =
642
+ | ModelInvocationJobInputDataConfig.S3InputDataConfigMember
643
+ | ModelInvocationJobInputDataConfig.$UnknownMember;
644
+ export declare namespace ModelInvocationJobInputDataConfig {
645
+ interface S3InputDataConfigMember {
646
+ s3InputDataConfig: ModelInvocationJobS3InputDataConfig;
647
+ $unknown?: never;
648
+ }
649
+ interface $UnknownMember {
650
+ s3InputDataConfig?: never;
651
+ $unknown: [string, any];
652
+ }
653
+ interface Visitor<T> {
654
+ s3InputDataConfig: (value: ModelInvocationJobS3InputDataConfig) => T;
655
+ _: (name: string, value: any) => T;
656
+ }
657
+ const visit: <T>(
658
+ value: ModelInvocationJobInputDataConfig,
659
+ visitor: Visitor<T>
660
+ ) => T;
661
+ }
662
+ export interface ModelInvocationJobS3OutputDataConfig {
663
+ s3Uri: string | undefined;
664
+ s3EncryptionKeyId?: string;
665
+ }
666
+ export type ModelInvocationJobOutputDataConfig =
667
+ | ModelInvocationJobOutputDataConfig.S3OutputDataConfigMember
668
+ | ModelInvocationJobOutputDataConfig.$UnknownMember;
669
+ export declare namespace ModelInvocationJobOutputDataConfig {
670
+ interface S3OutputDataConfigMember {
671
+ s3OutputDataConfig: ModelInvocationJobS3OutputDataConfig;
672
+ $unknown?: never;
673
+ }
674
+ interface $UnknownMember {
675
+ s3OutputDataConfig?: never;
676
+ $unknown: [string, any];
677
+ }
678
+ interface Visitor<T> {
679
+ s3OutputDataConfig: (value: ModelInvocationJobS3OutputDataConfig) => T;
680
+ _: (name: string, value: any) => T;
681
+ }
682
+ const visit: <T>(
683
+ value: ModelInvocationJobOutputDataConfig,
684
+ visitor: Visitor<T>
685
+ ) => T;
686
+ }
687
+ export interface CreateModelInvocationJobRequest {
688
+ jobName: string | undefined;
689
+ roleArn: string | undefined;
690
+ clientRequestToken?: string;
691
+ modelId: string | undefined;
692
+ inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
693
+ outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
694
+ timeoutDurationInHours?: number;
695
+ tags?: Tag[];
696
+ }
697
+ export interface CreateModelInvocationJobResponse {
698
+ jobArn: string | undefined;
699
+ }
700
+ export interface GetModelInvocationJobRequest {
701
+ jobIdentifier: string | undefined;
702
+ }
703
+ export declare const ModelInvocationJobStatus: {
704
+ readonly COMPLETED: "Completed";
705
+ readonly EXPIRED: "Expired";
706
+ readonly FAILED: "Failed";
707
+ readonly IN_PROGRESS: "InProgress";
708
+ readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
709
+ readonly SCHEDULED: "Scheduled";
710
+ readonly STOPPED: "Stopped";
711
+ readonly STOPPING: "Stopping";
712
+ readonly SUBMITTED: "Submitted";
713
+ readonly VALIDATING: "Validating";
714
+ };
715
+ export type ModelInvocationJobStatus =
716
+ (typeof ModelInvocationJobStatus)[keyof typeof ModelInvocationJobStatus];
717
+ export interface GetModelInvocationJobResponse {
718
+ jobArn: string | undefined;
719
+ jobName?: string;
720
+ modelId: string | undefined;
721
+ clientRequestToken?: string;
722
+ roleArn: string | undefined;
723
+ status?: ModelInvocationJobStatus;
724
+ message?: string;
725
+ submitTime: Date | undefined;
726
+ lastModifiedTime?: Date;
727
+ endTime?: Date;
728
+ inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
729
+ outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
730
+ timeoutDurationInHours?: number;
731
+ jobExpirationTime?: Date;
732
+ }
733
+ export interface ListModelInvocationJobsRequest {
734
+ submitTimeAfter?: Date;
735
+ submitTimeBefore?: Date;
736
+ statusEquals?: ModelInvocationJobStatus;
737
+ nameContains?: string;
738
+ maxResults?: number;
739
+ nextToken?: string;
740
+ sortBy?: SortJobsBy;
741
+ sortOrder?: SortOrder;
742
+ }
743
+ export interface ModelInvocationJobSummary {
744
+ jobArn: string | undefined;
745
+ jobName: string | undefined;
746
+ modelId: string | undefined;
747
+ clientRequestToken?: string;
748
+ roleArn: string | undefined;
749
+ status?: ModelInvocationJobStatus;
750
+ message?: string;
751
+ submitTime: Date | undefined;
752
+ lastModifiedTime?: Date;
753
+ endTime?: Date;
754
+ inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
755
+ outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
756
+ timeoutDurationInHours?: number;
757
+ jobExpirationTime?: Date;
758
+ }
759
+ export interface ListModelInvocationJobsResponse {
760
+ nextToken?: string;
761
+ invocationJobSummaries?: ModelInvocationJobSummary[];
762
+ }
763
+ export interface StopModelInvocationJobRequest {
764
+ jobIdentifier: string | undefined;
765
+ }
766
+ export interface StopModelInvocationJobResponse {}
633
767
  export interface DeleteCustomModelRequest {
634
768
  modelIdentifier: string | undefined;
635
769
  }
@@ -1043,3 +1177,12 @@ export declare const ListGuardrailsResponseFilterSensitiveLog: (
1043
1177
  export declare const UpdateGuardrailRequestFilterSensitiveLog: (
1044
1178
  obj: UpdateGuardrailRequest
1045
1179
  ) => any;
1180
+ export declare const GetModelInvocationJobResponseFilterSensitiveLog: (
1181
+ obj: GetModelInvocationJobResponse
1182
+ ) => any;
1183
+ export declare const ModelInvocationJobSummaryFilterSensitiveLog: (
1184
+ obj: ModelInvocationJobSummary
1185
+ ) => any;
1186
+ export declare const ListModelInvocationJobsResponseFilterSensitiveLog: (
1187
+ obj: ListModelInvocationJobsResponse
1188
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListModelInvocationJobsCommandInput,
4
+ ListModelInvocationJobsCommandOutput,
5
+ } from "../commands/ListModelInvocationJobsCommand";
6
+ import { BedrockPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListModelInvocationJobs: (
8
+ config: BedrockPaginationConfiguration,
9
+ input: ListModelInvocationJobsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListModelInvocationJobsCommandOutput>;
@@ -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";