@aws-sdk/client-bedrock 3.631.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.
- package/README.md +32 -0
- package/dist-cjs/index.js +296 -1
- package/dist-es/Bedrock.js +8 -0
- package/dist-es/commands/CreateModelInvocationJobCommand.js +24 -0
- package/dist-es/commands/GetModelInvocationJobCommand.js +25 -0
- package/dist-es/commands/ListModelInvocationJobsCommand.js +25 -0
- package/dist-es/commands/StopModelInvocationJobCommand.js +24 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/ListModelInvocationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +150 -0
- package/dist-types/Bedrock.d.ts +29 -0
- package/dist-types/BedrockClient.d.ts +6 -2
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +104 -0
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +99 -0
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +107 -0
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +433 -0
- package/dist-types/pagination/ListModelInvocationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Bedrock.d.ts +69 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +143 -0
- package/dist-types/ts3.4/pagination/ListModelInvocationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +6 -6
|
@@ -2457,6 +2457,427 @@ export interface ListModelCopyJobsResponse {
|
|
|
2457
2457
|
*/
|
|
2458
2458
|
modelCopyJobSummaries?: ModelCopyJobSummary[];
|
|
2459
2459
|
}
|
|
2460
|
+
/**
|
|
2461
|
+
* @public
|
|
2462
|
+
* @enum
|
|
2463
|
+
*/
|
|
2464
|
+
export declare const S3InputFormat: {
|
|
2465
|
+
readonly JSONL: "JSONL";
|
|
2466
|
+
};
|
|
2467
|
+
/**
|
|
2468
|
+
* @public
|
|
2469
|
+
*/
|
|
2470
|
+
export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>Contains the configuration of the S3 location of the output data.</p>
|
|
2473
|
+
* @public
|
|
2474
|
+
*/
|
|
2475
|
+
export interface ModelInvocationJobS3InputDataConfig {
|
|
2476
|
+
/**
|
|
2477
|
+
* <p>The format of the input data.</p>
|
|
2478
|
+
* @public
|
|
2479
|
+
*/
|
|
2480
|
+
s3InputFormat?: S3InputFormat;
|
|
2481
|
+
/**
|
|
2482
|
+
* <p>The S3 location of the input data.</p>
|
|
2483
|
+
* @public
|
|
2484
|
+
*/
|
|
2485
|
+
s3Uri: string | undefined;
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* <p>Details about the location of the input to the batch inference job.</p>
|
|
2489
|
+
* @public
|
|
2490
|
+
*/
|
|
2491
|
+
export type ModelInvocationJobInputDataConfig = ModelInvocationJobInputDataConfig.S3InputDataConfigMember | ModelInvocationJobInputDataConfig.$UnknownMember;
|
|
2492
|
+
/**
|
|
2493
|
+
* @public
|
|
2494
|
+
*/
|
|
2495
|
+
export declare namespace ModelInvocationJobInputDataConfig {
|
|
2496
|
+
/**
|
|
2497
|
+
* <p>Contains the configuration of the S3 location of the input data.</p>
|
|
2498
|
+
* @public
|
|
2499
|
+
*/
|
|
2500
|
+
interface S3InputDataConfigMember {
|
|
2501
|
+
s3InputDataConfig: ModelInvocationJobS3InputDataConfig;
|
|
2502
|
+
$unknown?: never;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* @public
|
|
2506
|
+
*/
|
|
2507
|
+
interface $UnknownMember {
|
|
2508
|
+
s3InputDataConfig?: never;
|
|
2509
|
+
$unknown: [string, any];
|
|
2510
|
+
}
|
|
2511
|
+
interface Visitor<T> {
|
|
2512
|
+
s3InputDataConfig: (value: ModelInvocationJobS3InputDataConfig) => T;
|
|
2513
|
+
_: (name: string, value: any) => T;
|
|
2514
|
+
}
|
|
2515
|
+
const visit: <T>(value: ModelInvocationJobInputDataConfig, visitor: Visitor<T>) => T;
|
|
2516
|
+
}
|
|
2517
|
+
/**
|
|
2518
|
+
* <p>Contains the configuration of the S3 location of the output data.</p>
|
|
2519
|
+
* @public
|
|
2520
|
+
*/
|
|
2521
|
+
export interface ModelInvocationJobS3OutputDataConfig {
|
|
2522
|
+
/**
|
|
2523
|
+
* <p>The S3 location of the output data.</p>
|
|
2524
|
+
* @public
|
|
2525
|
+
*/
|
|
2526
|
+
s3Uri: string | undefined;
|
|
2527
|
+
/**
|
|
2528
|
+
* <p>The unique identifier of the key that encrypts the S3 location of the output data.</p>
|
|
2529
|
+
* @public
|
|
2530
|
+
*/
|
|
2531
|
+
s3EncryptionKeyId?: string;
|
|
2532
|
+
}
|
|
2533
|
+
/**
|
|
2534
|
+
* <p>Contains the configuration of the S3 location of the output data.</p>
|
|
2535
|
+
* @public
|
|
2536
|
+
*/
|
|
2537
|
+
export type ModelInvocationJobOutputDataConfig = ModelInvocationJobOutputDataConfig.S3OutputDataConfigMember | ModelInvocationJobOutputDataConfig.$UnknownMember;
|
|
2538
|
+
/**
|
|
2539
|
+
* @public
|
|
2540
|
+
*/
|
|
2541
|
+
export declare namespace ModelInvocationJobOutputDataConfig {
|
|
2542
|
+
/**
|
|
2543
|
+
* <p>Contains the configuration of the S3 location of the output data.</p>
|
|
2544
|
+
* @public
|
|
2545
|
+
*/
|
|
2546
|
+
interface S3OutputDataConfigMember {
|
|
2547
|
+
s3OutputDataConfig: ModelInvocationJobS3OutputDataConfig;
|
|
2548
|
+
$unknown?: never;
|
|
2549
|
+
}
|
|
2550
|
+
/**
|
|
2551
|
+
* @public
|
|
2552
|
+
*/
|
|
2553
|
+
interface $UnknownMember {
|
|
2554
|
+
s3OutputDataConfig?: never;
|
|
2555
|
+
$unknown: [string, any];
|
|
2556
|
+
}
|
|
2557
|
+
interface Visitor<T> {
|
|
2558
|
+
s3OutputDataConfig: (value: ModelInvocationJobS3OutputDataConfig) => T;
|
|
2559
|
+
_: (name: string, value: any) => T;
|
|
2560
|
+
}
|
|
2561
|
+
const visit: <T>(value: ModelInvocationJobOutputDataConfig, visitor: Visitor<T>) => T;
|
|
2562
|
+
}
|
|
2563
|
+
/**
|
|
2564
|
+
* @public
|
|
2565
|
+
*/
|
|
2566
|
+
export interface CreateModelInvocationJobRequest {
|
|
2567
|
+
/**
|
|
2568
|
+
* <p>A name to give the batch inference job.</p>
|
|
2569
|
+
* @public
|
|
2570
|
+
*/
|
|
2571
|
+
jobName: string | undefined;
|
|
2572
|
+
/**
|
|
2573
|
+
* <p>The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html">Create a service role for batch inference</a>.</p>
|
|
2574
|
+
* @public
|
|
2575
|
+
*/
|
|
2576
|
+
roleArn: string | undefined;
|
|
2577
|
+
/**
|
|
2578
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
|
|
2579
|
+
* Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
2580
|
+
* @public
|
|
2581
|
+
*/
|
|
2582
|
+
clientRequestToken?: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* <p>The unique identifier of the foundation model to use for the batch inference job.</p>
|
|
2585
|
+
* @public
|
|
2586
|
+
*/
|
|
2587
|
+
modelId: string | undefined;
|
|
2588
|
+
/**
|
|
2589
|
+
* <p>Details about the location of the input to the batch inference job.</p>
|
|
2590
|
+
* @public
|
|
2591
|
+
*/
|
|
2592
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
2593
|
+
/**
|
|
2594
|
+
* <p>Details about the location of the output of the batch inference job.</p>
|
|
2595
|
+
* @public
|
|
2596
|
+
*/
|
|
2597
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
2598
|
+
/**
|
|
2599
|
+
* <p>The number of hours after which to force the batch inference job to time out.</p>
|
|
2600
|
+
* @public
|
|
2601
|
+
*/
|
|
2602
|
+
timeoutDurationInHours?: number;
|
|
2603
|
+
/**
|
|
2604
|
+
* <p>Any tags to associate with the batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging Amazon Bedrock resources</a>.</p>
|
|
2605
|
+
* @public
|
|
2606
|
+
*/
|
|
2607
|
+
tags?: Tag[];
|
|
2608
|
+
}
|
|
2609
|
+
/**
|
|
2610
|
+
* @public
|
|
2611
|
+
*/
|
|
2612
|
+
export interface CreateModelInvocationJobResponse {
|
|
2613
|
+
/**
|
|
2614
|
+
* <p>The Amazon Resource Name (ARN) of the batch inference job.</p>
|
|
2615
|
+
* @public
|
|
2616
|
+
*/
|
|
2617
|
+
jobArn: string | undefined;
|
|
2618
|
+
}
|
|
2619
|
+
/**
|
|
2620
|
+
* @public
|
|
2621
|
+
*/
|
|
2622
|
+
export interface GetModelInvocationJobRequest {
|
|
2623
|
+
/**
|
|
2624
|
+
* <p>The Amazon Resource Name (ARN) of the batch inference job.</p>
|
|
2625
|
+
* @public
|
|
2626
|
+
*/
|
|
2627
|
+
jobIdentifier: string | undefined;
|
|
2628
|
+
}
|
|
2629
|
+
/**
|
|
2630
|
+
* @public
|
|
2631
|
+
* @enum
|
|
2632
|
+
*/
|
|
2633
|
+
export declare const ModelInvocationJobStatus: {
|
|
2634
|
+
readonly COMPLETED: "Completed";
|
|
2635
|
+
readonly EXPIRED: "Expired";
|
|
2636
|
+
readonly FAILED: "Failed";
|
|
2637
|
+
readonly IN_PROGRESS: "InProgress";
|
|
2638
|
+
readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
|
|
2639
|
+
readonly SCHEDULED: "Scheduled";
|
|
2640
|
+
readonly STOPPED: "Stopped";
|
|
2641
|
+
readonly STOPPING: "Stopping";
|
|
2642
|
+
readonly SUBMITTED: "Submitted";
|
|
2643
|
+
readonly VALIDATING: "Validating";
|
|
2644
|
+
};
|
|
2645
|
+
/**
|
|
2646
|
+
* @public
|
|
2647
|
+
*/
|
|
2648
|
+
export type ModelInvocationJobStatus = (typeof ModelInvocationJobStatus)[keyof typeof ModelInvocationJobStatus];
|
|
2649
|
+
/**
|
|
2650
|
+
* @public
|
|
2651
|
+
*/
|
|
2652
|
+
export interface GetModelInvocationJobResponse {
|
|
2653
|
+
/**
|
|
2654
|
+
* <p>The Amazon Resource Name (ARN) of the batch inference job.</p>
|
|
2655
|
+
* @public
|
|
2656
|
+
*/
|
|
2657
|
+
jobArn: string | undefined;
|
|
2658
|
+
/**
|
|
2659
|
+
* <p>The name of the batch inference job.</p>
|
|
2660
|
+
* @public
|
|
2661
|
+
*/
|
|
2662
|
+
jobName?: string;
|
|
2663
|
+
/**
|
|
2664
|
+
* <p>The unique identifier of the foundation model used for model inference.</p>
|
|
2665
|
+
* @public
|
|
2666
|
+
*/
|
|
2667
|
+
modelId: string | undefined;
|
|
2668
|
+
/**
|
|
2669
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
|
|
2670
|
+
* Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
2671
|
+
* @public
|
|
2672
|
+
*/
|
|
2673
|
+
clientRequestToken?: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* <p>The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html">Create a service role for batch inference</a>.</p>
|
|
2676
|
+
* @public
|
|
2677
|
+
*/
|
|
2678
|
+
roleArn: string | undefined;
|
|
2679
|
+
/**
|
|
2680
|
+
* <p>The status of the batch inference job.</p>
|
|
2681
|
+
* @public
|
|
2682
|
+
*/
|
|
2683
|
+
status?: ModelInvocationJobStatus;
|
|
2684
|
+
/**
|
|
2685
|
+
* <p>If the batch inference job failed, this field contains a message describing why the job failed.</p>
|
|
2686
|
+
* @public
|
|
2687
|
+
*/
|
|
2688
|
+
message?: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* <p>The time at which the batch inference job was submitted.</p>
|
|
2691
|
+
* @public
|
|
2692
|
+
*/
|
|
2693
|
+
submitTime: Date | undefined;
|
|
2694
|
+
/**
|
|
2695
|
+
* <p>The time at which the batch inference job was last modified.</p>
|
|
2696
|
+
* @public
|
|
2697
|
+
*/
|
|
2698
|
+
lastModifiedTime?: Date;
|
|
2699
|
+
/**
|
|
2700
|
+
* <p>The time at which the batch inference job ended.</p>
|
|
2701
|
+
* @public
|
|
2702
|
+
*/
|
|
2703
|
+
endTime?: Date;
|
|
2704
|
+
/**
|
|
2705
|
+
* <p>Details about the location of the input to the batch inference job.</p>
|
|
2706
|
+
* @public
|
|
2707
|
+
*/
|
|
2708
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
2709
|
+
/**
|
|
2710
|
+
* <p>Details about the location of the output of the batch inference job.</p>
|
|
2711
|
+
* @public
|
|
2712
|
+
*/
|
|
2713
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
2714
|
+
/**
|
|
2715
|
+
* <p>The number of hours after which batch inference job was set to time out.</p>
|
|
2716
|
+
* @public
|
|
2717
|
+
*/
|
|
2718
|
+
timeoutDurationInHours?: number;
|
|
2719
|
+
/**
|
|
2720
|
+
* <p>The time at which the batch inference job times or timed out.</p>
|
|
2721
|
+
* @public
|
|
2722
|
+
*/
|
|
2723
|
+
jobExpirationTime?: Date;
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
* @public
|
|
2727
|
+
*/
|
|
2728
|
+
export interface ListModelInvocationJobsRequest {
|
|
2729
|
+
/**
|
|
2730
|
+
* <p>Specify a time to filter for batch inference jobs that were submitted after the time you specify.</p>
|
|
2731
|
+
* @public
|
|
2732
|
+
*/
|
|
2733
|
+
submitTimeAfter?: Date;
|
|
2734
|
+
/**
|
|
2735
|
+
* <p>Specify a time to filter for batch inference jobs that were submitted before the time you specify.</p>
|
|
2736
|
+
* @public
|
|
2737
|
+
*/
|
|
2738
|
+
submitTimeBefore?: Date;
|
|
2739
|
+
/**
|
|
2740
|
+
* <p>Specify a status to filter for batch inference jobs whose statuses match the string you specify.</p>
|
|
2741
|
+
* @public
|
|
2742
|
+
*/
|
|
2743
|
+
statusEquals?: ModelInvocationJobStatus;
|
|
2744
|
+
/**
|
|
2745
|
+
* <p>Specify a string to filter for batch inference jobs whose names contain the string.</p>
|
|
2746
|
+
* @public
|
|
2747
|
+
*/
|
|
2748
|
+
nameContains?: string;
|
|
2749
|
+
/**
|
|
2750
|
+
* <p>The maximum number of results to return. If there are more results than the number that you specify, a <code>nextToken</code> value is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>
|
|
2751
|
+
* @public
|
|
2752
|
+
*/
|
|
2753
|
+
maxResults?: number;
|
|
2754
|
+
/**
|
|
2755
|
+
* <p>If there were more results than the value you specified
|
|
2756
|
+
* in the <code>maxResults</code> field in a previous <code>ListModelInvocationJobs</code> request, the response would have returned a <code>nextToken</code>
|
|
2757
|
+
* value. To see the next batch of results, send the
|
|
2758
|
+
* <code>nextToken</code> value in another
|
|
2759
|
+
* request.</p>
|
|
2760
|
+
* @public
|
|
2761
|
+
*/
|
|
2762
|
+
nextToken?: string;
|
|
2763
|
+
/**
|
|
2764
|
+
* <p>An attribute by which to sort the results.</p>
|
|
2765
|
+
* @public
|
|
2766
|
+
*/
|
|
2767
|
+
sortBy?: SortJobsBy;
|
|
2768
|
+
/**
|
|
2769
|
+
* <p>Specifies whether to sort the results by ascending or descending order.</p>
|
|
2770
|
+
* @public
|
|
2771
|
+
*/
|
|
2772
|
+
sortOrder?: SortOrder;
|
|
2773
|
+
}
|
|
2774
|
+
/**
|
|
2775
|
+
* <p>A summary of a batch inference job.</p>
|
|
2776
|
+
* @public
|
|
2777
|
+
*/
|
|
2778
|
+
export interface ModelInvocationJobSummary {
|
|
2779
|
+
/**
|
|
2780
|
+
* <p>The Amazon Resource Name (ARN) of the batch inference job.</p>
|
|
2781
|
+
* @public
|
|
2782
|
+
*/
|
|
2783
|
+
jobArn: string | undefined;
|
|
2784
|
+
/**
|
|
2785
|
+
* <p>The name of the batch inference job.</p>
|
|
2786
|
+
* @public
|
|
2787
|
+
*/
|
|
2788
|
+
jobName: string | undefined;
|
|
2789
|
+
/**
|
|
2790
|
+
* <p>The unique identifier of the foundation model used for model inference.</p>
|
|
2791
|
+
* @public
|
|
2792
|
+
*/
|
|
2793
|
+
modelId: string | undefined;
|
|
2794
|
+
/**
|
|
2795
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
|
|
2796
|
+
* Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
2797
|
+
* @public
|
|
2798
|
+
*/
|
|
2799
|
+
clientRequestToken?: string;
|
|
2800
|
+
/**
|
|
2801
|
+
* <p>The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html">Create a service role for batch inference</a>.</p>
|
|
2802
|
+
* @public
|
|
2803
|
+
*/
|
|
2804
|
+
roleArn: string | undefined;
|
|
2805
|
+
/**
|
|
2806
|
+
* <p>The status of the batch inference job.</p>
|
|
2807
|
+
* @public
|
|
2808
|
+
*/
|
|
2809
|
+
status?: ModelInvocationJobStatus;
|
|
2810
|
+
/**
|
|
2811
|
+
* <p>If the batch inference job failed, this field contains a message describing why the job failed.</p>
|
|
2812
|
+
* @public
|
|
2813
|
+
*/
|
|
2814
|
+
message?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* <p>The time at which the batch inference job was submitted.</p>
|
|
2817
|
+
* @public
|
|
2818
|
+
*/
|
|
2819
|
+
submitTime: Date | undefined;
|
|
2820
|
+
/**
|
|
2821
|
+
* <p>The time at which the batch inference job was last modified.</p>
|
|
2822
|
+
* @public
|
|
2823
|
+
*/
|
|
2824
|
+
lastModifiedTime?: Date;
|
|
2825
|
+
/**
|
|
2826
|
+
* <p>The time at which the batch inference job ended.</p>
|
|
2827
|
+
* @public
|
|
2828
|
+
*/
|
|
2829
|
+
endTime?: Date;
|
|
2830
|
+
/**
|
|
2831
|
+
* <p>Details about the location of the input to the batch inference job.</p>
|
|
2832
|
+
* @public
|
|
2833
|
+
*/
|
|
2834
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
2835
|
+
/**
|
|
2836
|
+
* <p>Details about the location of the output of the batch inference job.</p>
|
|
2837
|
+
* @public
|
|
2838
|
+
*/
|
|
2839
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
2840
|
+
/**
|
|
2841
|
+
* <p>The number of hours after which the batch inference job was set to time out.</p>
|
|
2842
|
+
* @public
|
|
2843
|
+
*/
|
|
2844
|
+
timeoutDurationInHours?: number;
|
|
2845
|
+
/**
|
|
2846
|
+
* <p>The time at which the batch inference job times or timed out.</p>
|
|
2847
|
+
* @public
|
|
2848
|
+
*/
|
|
2849
|
+
jobExpirationTime?: Date;
|
|
2850
|
+
}
|
|
2851
|
+
/**
|
|
2852
|
+
* @public
|
|
2853
|
+
*/
|
|
2854
|
+
export interface ListModelInvocationJobsResponse {
|
|
2855
|
+
/**
|
|
2856
|
+
* <p>If there are more results than can fit in the response, a <code>nextToken</code> is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>
|
|
2857
|
+
* @public
|
|
2858
|
+
*/
|
|
2859
|
+
nextToken?: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* <p>A list of items, each of which contains a summary about a batch inference job.</p>
|
|
2862
|
+
* @public
|
|
2863
|
+
*/
|
|
2864
|
+
invocationJobSummaries?: ModelInvocationJobSummary[];
|
|
2865
|
+
}
|
|
2866
|
+
/**
|
|
2867
|
+
* @public
|
|
2868
|
+
*/
|
|
2869
|
+
export interface StopModelInvocationJobRequest {
|
|
2870
|
+
/**
|
|
2871
|
+
* <p>The Amazon Resource Name (ARN) of the batch inference job to stop.</p>
|
|
2872
|
+
* @public
|
|
2873
|
+
*/
|
|
2874
|
+
jobIdentifier: string | undefined;
|
|
2875
|
+
}
|
|
2876
|
+
/**
|
|
2877
|
+
* @public
|
|
2878
|
+
*/
|
|
2879
|
+
export interface StopModelInvocationJobResponse {
|
|
2880
|
+
}
|
|
2460
2881
|
/**
|
|
2461
2882
|
* @public
|
|
2462
2883
|
*/
|
|
@@ -3885,3 +4306,15 @@ export declare const ListGuardrailsResponseFilterSensitiveLog: (obj: ListGuardra
|
|
|
3885
4306
|
* @internal
|
|
3886
4307
|
*/
|
|
3887
4308
|
export declare const UpdateGuardrailRequestFilterSensitiveLog: (obj: UpdateGuardrailRequest) => any;
|
|
4309
|
+
/**
|
|
4310
|
+
* @internal
|
|
4311
|
+
*/
|
|
4312
|
+
export declare const GetModelInvocationJobResponseFilterSensitiveLog: (obj: GetModelInvocationJobResponse) => any;
|
|
4313
|
+
/**
|
|
4314
|
+
* @internal
|
|
4315
|
+
*/
|
|
4316
|
+
export declare const ModelInvocationJobSummaryFilterSensitiveLog: (obj: ModelInvocationJobSummary) => any;
|
|
4317
|
+
/**
|
|
4318
|
+
* @internal
|
|
4319
|
+
*/
|
|
4320
|
+
export declare const ListModelInvocationJobsResponseFilterSensitiveLog: (obj: ListModelInvocationJobsResponse) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "../commands/ListModelInvocationJobsCommand";
|
|
3
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListModelInvocationJobs: (config: BedrockPaginationConfiguration, input: ListModelInvocationJobsCommandInput, ...rest: any[]) => 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";
|
|
@@ -5,6 +5,7 @@ import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../co
|
|
|
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";
|
|
@@ -53,6 +57,10 @@ export declare const se_CreateModelCopyJobCommand: (input: CreateModelCopyJobCom
|
|
|
53
57
|
* serializeAws_restJson1CreateModelCustomizationJobCommand
|
|
54
58
|
*/
|
|
55
59
|
export declare const se_CreateModelCustomizationJobCommand: (input: CreateModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* serializeAws_restJson1CreateModelInvocationJobCommand
|
|
62
|
+
*/
|
|
63
|
+
export declare const se_CreateModelInvocationJobCommand: (input: CreateModelInvocationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
64
|
/**
|
|
57
65
|
* serializeAws_restJson1CreateProvisionedModelThroughputCommand
|
|
58
66
|
*/
|
|
@@ -97,6 +105,10 @@ export declare const se_GetModelCopyJobCommand: (input: GetModelCopyJobCommandIn
|
|
|
97
105
|
* serializeAws_restJson1GetModelCustomizationJobCommand
|
|
98
106
|
*/
|
|
99
107
|
export declare const se_GetModelCustomizationJobCommand: (input: GetModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
|
+
/**
|
|
109
|
+
* serializeAws_restJson1GetModelInvocationJobCommand
|
|
110
|
+
*/
|
|
111
|
+
export declare const se_GetModelInvocationJobCommand: (input: GetModelInvocationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
112
|
/**
|
|
101
113
|
* serializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
|
|
102
114
|
*/
|
|
@@ -129,6 +141,10 @@ export declare const se_ListModelCopyJobsCommand: (input: ListModelCopyJobsComma
|
|
|
129
141
|
* serializeAws_restJson1ListModelCustomizationJobsCommand
|
|
130
142
|
*/
|
|
131
143
|
export declare const se_ListModelCustomizationJobsCommand: (input: ListModelCustomizationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
144
|
+
/**
|
|
145
|
+
* serializeAws_restJson1ListModelInvocationJobsCommand
|
|
146
|
+
*/
|
|
147
|
+
export declare const se_ListModelInvocationJobsCommand: (input: ListModelInvocationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
132
148
|
/**
|
|
133
149
|
* serializeAws_restJson1ListProvisionedModelThroughputsCommand
|
|
134
150
|
*/
|
|
@@ -149,6 +165,10 @@ export declare const se_StopEvaluationJobCommand: (input: StopEvaluationJobComma
|
|
|
149
165
|
* serializeAws_restJson1StopModelCustomizationJobCommand
|
|
150
166
|
*/
|
|
151
167
|
export declare const se_StopModelCustomizationJobCommand: (input: StopModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
168
|
+
/**
|
|
169
|
+
* serializeAws_restJson1StopModelInvocationJobCommand
|
|
170
|
+
*/
|
|
171
|
+
export declare const se_StopModelInvocationJobCommand: (input: StopModelInvocationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
152
172
|
/**
|
|
153
173
|
* serializeAws_restJson1TagResourceCommand
|
|
154
174
|
*/
|
|
@@ -185,6 +205,10 @@ export declare const de_CreateModelCopyJobCommand: (output: __HttpResponse, cont
|
|
|
185
205
|
* deserializeAws_restJson1CreateModelCustomizationJobCommand
|
|
186
206
|
*/
|
|
187
207
|
export declare const de_CreateModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelCustomizationJobCommandOutput>;
|
|
208
|
+
/**
|
|
209
|
+
* deserializeAws_restJson1CreateModelInvocationJobCommand
|
|
210
|
+
*/
|
|
211
|
+
export declare const de_CreateModelInvocationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelInvocationJobCommandOutput>;
|
|
188
212
|
/**
|
|
189
213
|
* deserializeAws_restJson1CreateProvisionedModelThroughputCommand
|
|
190
214
|
*/
|
|
@@ -229,6 +253,10 @@ export declare const de_GetModelCopyJobCommand: (output: __HttpResponse, context
|
|
|
229
253
|
* deserializeAws_restJson1GetModelCustomizationJobCommand
|
|
230
254
|
*/
|
|
231
255
|
export declare const de_GetModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelCustomizationJobCommandOutput>;
|
|
256
|
+
/**
|
|
257
|
+
* deserializeAws_restJson1GetModelInvocationJobCommand
|
|
258
|
+
*/
|
|
259
|
+
export declare const de_GetModelInvocationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelInvocationJobCommandOutput>;
|
|
232
260
|
/**
|
|
233
261
|
* deserializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
|
|
234
262
|
*/
|
|
@@ -261,6 +289,10 @@ export declare const de_ListModelCopyJobsCommand: (output: __HttpResponse, conte
|
|
|
261
289
|
* deserializeAws_restJson1ListModelCustomizationJobsCommand
|
|
262
290
|
*/
|
|
263
291
|
export declare const de_ListModelCustomizationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelCustomizationJobsCommandOutput>;
|
|
292
|
+
/**
|
|
293
|
+
* deserializeAws_restJson1ListModelInvocationJobsCommand
|
|
294
|
+
*/
|
|
295
|
+
export declare const de_ListModelInvocationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelInvocationJobsCommandOutput>;
|
|
264
296
|
/**
|
|
265
297
|
* deserializeAws_restJson1ListProvisionedModelThroughputsCommand
|
|
266
298
|
*/
|
|
@@ -281,6 +313,10 @@ export declare const de_StopEvaluationJobCommand: (output: __HttpResponse, conte
|
|
|
281
313
|
* deserializeAws_restJson1StopModelCustomizationJobCommand
|
|
282
314
|
*/
|
|
283
315
|
export declare const de_StopModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopModelCustomizationJobCommandOutput>;
|
|
316
|
+
/**
|
|
317
|
+
* deserializeAws_restJson1StopModelInvocationJobCommand
|
|
318
|
+
*/
|
|
319
|
+
export declare const de_StopModelInvocationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopModelInvocationJobCommandOutput>;
|
|
284
320
|
/**
|
|
285
321
|
* deserializeAws_restJson1TagResourceCommand
|
|
286
322
|
*/
|