@aws-sdk/client-bedrock 3.846.0 → 3.847.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 +253 -23
- package/dist-es/Bedrock.js +8 -0
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +20 -19
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/pagination/ListCustomModelDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +136 -1
- package/dist-types/Bedrock.d.ts +29 -0
- package/dist-types/BedrockClient.d.ts +6 -2
- package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +102 -0
- package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +88 -0
- package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +94 -0
- package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +1 -2
- package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +103 -0
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +269 -208
- package/dist-types/models/models_1.d.ts +169 -1
- package/dist-types/pagination/ListCustomModelDeploymentsPaginator.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/CreateCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -61
- package/dist-types/ts3.4/models/models_1.d.ts +46 -1
- package/dist-types/ts3.4/pagination/ListCustomModelDeploymentsPaginator.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 +1 -1
|
@@ -534,6 +534,275 @@ export interface UpdateMarketplaceModelEndpointResponse {
|
|
|
534
534
|
*/
|
|
535
535
|
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
536
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
export interface CreateCustomModelDeploymentRequest {
|
|
541
|
+
/**
|
|
542
|
+
* <p>The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.</p>
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
modelDeploymentName: string | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* <p>The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in the <code>Active</code> state.</p>
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
modelArn: string | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* <p>A description for the custom model deployment to help you identify its purpose.</p>
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
description?: string | undefined;
|
|
556
|
+
/**
|
|
557
|
+
* <p>Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
tags?: Tag[] | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html">Ensuring idempotency</a>.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
clientRequestToken?: string | undefined;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
export interface CreateCustomModelDeploymentResponse {
|
|
571
|
+
/**
|
|
572
|
+
* <p>The Amazon Resource Name (ARN) of the custom model deployment. Use this ARN as the <code>modelId</code> parameter when invoking the model with the <code>InvokeModel</code> or <code>Converse</code> operations.</p>
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
customModelDeploymentArn: string | undefined;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
582
|
+
readonly name: "TooManyTagsException";
|
|
583
|
+
readonly $fault: "client";
|
|
584
|
+
/**
|
|
585
|
+
* <p>The name of the resource with too many tags.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
resourceName?: string | undefined;
|
|
589
|
+
/**
|
|
590
|
+
* @internal
|
|
591
|
+
*/
|
|
592
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export interface DeleteCustomModelDeploymentRequest {
|
|
598
|
+
/**
|
|
599
|
+
* <p>The Amazon Resource Name (ARN) or name of the custom model deployment to delete.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
customModelDeploymentIdentifier: string | undefined;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export interface DeleteCustomModelDeploymentResponse {
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
export interface GetCustomModelDeploymentRequest {
|
|
613
|
+
/**
|
|
614
|
+
* <p>The Amazon Resource Name (ARN) or name of the custom model deployment to retrieve information about.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
customModelDeploymentIdentifier: string | undefined;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
* @enum
|
|
622
|
+
*/
|
|
623
|
+
export declare const CustomModelDeploymentStatus: {
|
|
624
|
+
readonly ACTIVE: "Active";
|
|
625
|
+
readonly CREATING: "Creating";
|
|
626
|
+
readonly FAILED: "Failed";
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export type CustomModelDeploymentStatus = (typeof CustomModelDeploymentStatus)[keyof typeof CustomModelDeploymentStatus];
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
export interface GetCustomModelDeploymentResponse {
|
|
636
|
+
/**
|
|
637
|
+
* <p>The Amazon Resource Name (ARN) of the custom model deployment.</p>
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
customModelDeploymentArn: string | undefined;
|
|
641
|
+
/**
|
|
642
|
+
* <p>The name of the custom model deployment.</p>
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
modelDeploymentName: string | undefined;
|
|
646
|
+
/**
|
|
647
|
+
* <p>The Amazon Resource Name (ARN) of the custom model associated with this deployment.</p>
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
modelArn: string | undefined;
|
|
651
|
+
/**
|
|
652
|
+
* <p>The date and time when the custom model deployment was created.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
createdAt: Date | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* <p>The status of the custom model deployment. Possible values are:</p> <ul> <li> <p> <code>CREATING</code> - The deployment is being set up and prepared for inference.</p> </li> <li> <p> <code>ACTIVE</code> - The deployment is ready and available for inference requests.</p> </li> <li> <p> <code>FAILED</code> - The deployment failed to be created or became unavailable.</p> </li> </ul>
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
status: CustomModelDeploymentStatus | undefined;
|
|
661
|
+
/**
|
|
662
|
+
* <p>The description of the custom model deployment.</p>
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
description?: string | undefined;
|
|
666
|
+
/**
|
|
667
|
+
* <p>If the deployment status is <code>FAILED</code>, this field contains a message describing the failure reason.</p>
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
failureMessage?: string | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* <p>The date and time when the custom model deployment was last updated.</p>
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
675
|
+
lastUpdatedAt?: Date | undefined;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
* @enum
|
|
680
|
+
*/
|
|
681
|
+
export declare const SortModelsBy: {
|
|
682
|
+
readonly CREATION_TIME: "CreationTime";
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
* @enum
|
|
691
|
+
*/
|
|
692
|
+
export declare const SortOrder: {
|
|
693
|
+
readonly ASCENDING: "Ascending";
|
|
694
|
+
readonly DESCENDING: "Descending";
|
|
695
|
+
};
|
|
696
|
+
/**
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
700
|
+
/**
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
export interface ListCustomModelDeploymentsRequest {
|
|
704
|
+
/**
|
|
705
|
+
* <p>Filters deployments created before the specified date and time.</p>
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
createdBefore?: Date | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* <p>Filters deployments created after the specified date and time.</p>
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
createdAfter?: Date | undefined;
|
|
714
|
+
/**
|
|
715
|
+
* <p>Filters deployments whose names contain the specified string. </p>
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
718
|
+
nameContains?: string | undefined;
|
|
719
|
+
/**
|
|
720
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
maxResults?: number | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* <p>The token for the next set of results. Use this token to retrieve additional results when the response is truncated.</p>
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
nextToken?: string | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>The field to sort the results by. The only supported value is <code>CreationTime</code>.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
sortBy?: SortModelsBy | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* <p>The sort order for the results. Valid values are <code>Ascending</code> and <code>Descending</code>. Default is <code>Descending</code>.</p>
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
sortOrder?: SortOrder | undefined;
|
|
739
|
+
/**
|
|
740
|
+
* <p>Filters deployments by status. Valid values are <code>CREATING</code>, <code>ACTIVE</code>, and <code>FAILED</code>.</p>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
statusEquals?: CustomModelDeploymentStatus | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* <p>Filters deployments by the Amazon Resource Name (ARN) of the associated custom model.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
modelArnEquals?: string | undefined;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* <p>Contains summary information about a custom model deployment, including its ARN, name, status, and associated custom model.</p>
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export interface CustomModelDeploymentSummary {
|
|
755
|
+
/**
|
|
756
|
+
* <p>The Amazon Resource Name (ARN) of the custom model deployment.</p>
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
customModelDeploymentArn: string | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The name of the custom model deployment.</p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
customModelDeploymentName: string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* <p>The Amazon Resource Name (ARN) of the custom model associated with this deployment.</p>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
modelArn: string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* <p>The date and time when the custom model deployment was created.</p>
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
createdAt: Date | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The status of the custom model deployment. Possible values are <code>CREATING</code>, <code>ACTIVE</code>, and <code>FAILED</code>.</p>
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
status: CustomModelDeploymentStatus | undefined;
|
|
780
|
+
/**
|
|
781
|
+
* <p>The date and time when the custom model deployment was last modified.</p>
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
lastUpdatedAt?: Date | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* <p>If the deployment status is <code>FAILED</code>, this field contains a message describing the failure reason.</p>
|
|
787
|
+
* @public
|
|
788
|
+
*/
|
|
789
|
+
failureMessage?: string | undefined;
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* @public
|
|
793
|
+
*/
|
|
794
|
+
export interface ListCustomModelDeploymentsResponse {
|
|
795
|
+
/**
|
|
796
|
+
* <p>The token for the next set of results. This value is null when there are no more results to return.</p>
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
799
|
+
nextToken?: string | undefined;
|
|
800
|
+
/**
|
|
801
|
+
* <p>A list of custom model deployment summaries.</p>
|
|
802
|
+
* @public
|
|
803
|
+
*/
|
|
804
|
+
modelDeploymentSummaries?: CustomModelDeploymentSummary[] | undefined;
|
|
805
|
+
}
|
|
537
806
|
/**
|
|
538
807
|
* <p>The Amazon S3 data source of the model to import. </p>
|
|
539
808
|
* @public
|
|
@@ -620,23 +889,6 @@ export interface CreateCustomModelResponse {
|
|
|
620
889
|
*/
|
|
621
890
|
modelArn: string | undefined;
|
|
622
891
|
}
|
|
623
|
-
/**
|
|
624
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
625
|
-
* @public
|
|
626
|
-
*/
|
|
627
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
628
|
-
readonly name: "TooManyTagsException";
|
|
629
|
-
readonly $fault: "client";
|
|
630
|
-
/**
|
|
631
|
-
* <p>The name of the resource with too many tags.</p>
|
|
632
|
-
* @public
|
|
633
|
-
*/
|
|
634
|
-
resourceName?: string | undefined;
|
|
635
|
-
/**
|
|
636
|
-
* @internal
|
|
637
|
-
*/
|
|
638
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
639
|
-
}
|
|
640
892
|
/**
|
|
641
893
|
* @public
|
|
642
894
|
*/
|
|
@@ -1046,29 +1298,6 @@ export interface GetCustomModelResponse {
|
|
|
1046
1298
|
*/
|
|
1047
1299
|
failureMessage?: string | undefined;
|
|
1048
1300
|
}
|
|
1049
|
-
/**
|
|
1050
|
-
* @public
|
|
1051
|
-
* @enum
|
|
1052
|
-
*/
|
|
1053
|
-
export declare const SortModelsBy: {
|
|
1054
|
-
readonly CREATION_TIME: "CreationTime";
|
|
1055
|
-
};
|
|
1056
|
-
/**
|
|
1057
|
-
* @public
|
|
1058
|
-
*/
|
|
1059
|
-
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
1060
|
-
/**
|
|
1061
|
-
* @public
|
|
1062
|
-
* @enum
|
|
1063
|
-
*/
|
|
1064
|
-
export declare const SortOrder: {
|
|
1065
|
-
readonly ASCENDING: "Ascending";
|
|
1066
|
-
readonly DESCENDING: "Descending";
|
|
1067
|
-
};
|
|
1068
|
-
/**
|
|
1069
|
-
* @public
|
|
1070
|
-
*/
|
|
1071
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1072
1301
|
/**
|
|
1073
1302
|
* @public
|
|
1074
1303
|
*/
|
|
@@ -6207,174 +6436,6 @@ export interface ListProvisionedModelThroughputsRequest {
|
|
|
6207
6436
|
*/
|
|
6208
6437
|
sortOrder?: SortOrder | undefined;
|
|
6209
6438
|
}
|
|
6210
|
-
/**
|
|
6211
|
-
* <p>A summary of information about a Provisioned Throughput.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax">ListProvisionedThroughputs response</a> </p> </li> </ul>
|
|
6212
|
-
* @public
|
|
6213
|
-
*/
|
|
6214
|
-
export interface ProvisionedModelSummary {
|
|
6215
|
-
/**
|
|
6216
|
-
* <p>The name of the Provisioned Throughput.</p>
|
|
6217
|
-
* @public
|
|
6218
|
-
*/
|
|
6219
|
-
provisionedModelName: string | undefined;
|
|
6220
|
-
/**
|
|
6221
|
-
* <p>The Amazon Resource Name (ARN) of the Provisioned Throughput.</p>
|
|
6222
|
-
* @public
|
|
6223
|
-
*/
|
|
6224
|
-
provisionedModelArn: string | undefined;
|
|
6225
|
-
/**
|
|
6226
|
-
* <p>The Amazon Resource Name (ARN) of the model associated with the Provisioned Throughput.</p>
|
|
6227
|
-
* @public
|
|
6228
|
-
*/
|
|
6229
|
-
modelArn: string | undefined;
|
|
6230
|
-
/**
|
|
6231
|
-
* <p>The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the <code>modelArn</code> if updating hasn't completed.</p>
|
|
6232
|
-
* @public
|
|
6233
|
-
*/
|
|
6234
|
-
desiredModelArn: string | undefined;
|
|
6235
|
-
/**
|
|
6236
|
-
* <p>The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.</p>
|
|
6237
|
-
* @public
|
|
6238
|
-
*/
|
|
6239
|
-
foundationModelArn: string | undefined;
|
|
6240
|
-
/**
|
|
6241
|
-
* <p>The number of model units allocated to the Provisioned Throughput.</p>
|
|
6242
|
-
* @public
|
|
6243
|
-
*/
|
|
6244
|
-
modelUnits: number | undefined;
|
|
6245
|
-
/**
|
|
6246
|
-
* <p>The number of model units that was requested to be allocated to the Provisioned Throughput.</p>
|
|
6247
|
-
* @public
|
|
6248
|
-
*/
|
|
6249
|
-
desiredModelUnits: number | undefined;
|
|
6250
|
-
/**
|
|
6251
|
-
* <p>The status of the Provisioned Throughput.</p>
|
|
6252
|
-
* @public
|
|
6253
|
-
*/
|
|
6254
|
-
status: ProvisionedModelStatus | undefined;
|
|
6255
|
-
/**
|
|
6256
|
-
* <p>The duration for which the Provisioned Throughput was committed.</p>
|
|
6257
|
-
* @public
|
|
6258
|
-
*/
|
|
6259
|
-
commitmentDuration?: CommitmentDuration | undefined;
|
|
6260
|
-
/**
|
|
6261
|
-
* <p>The timestamp for when the commitment term of the Provisioned Throughput expires.</p>
|
|
6262
|
-
* @public
|
|
6263
|
-
*/
|
|
6264
|
-
commitmentExpirationTime?: Date | undefined;
|
|
6265
|
-
/**
|
|
6266
|
-
* <p>The time that the Provisioned Throughput was created. </p>
|
|
6267
|
-
* @public
|
|
6268
|
-
*/
|
|
6269
|
-
creationTime: Date | undefined;
|
|
6270
|
-
/**
|
|
6271
|
-
* <p>The time that the Provisioned Throughput was last modified. </p>
|
|
6272
|
-
* @public
|
|
6273
|
-
*/
|
|
6274
|
-
lastModifiedTime: Date | undefined;
|
|
6275
|
-
}
|
|
6276
|
-
/**
|
|
6277
|
-
* @public
|
|
6278
|
-
*/
|
|
6279
|
-
export interface ListProvisionedModelThroughputsResponse {
|
|
6280
|
-
/**
|
|
6281
|
-
* <p>If there are more results than the number you specified in the <code>maxResults</code> field, this value is returned. To see the next batch of results, include this value in the <code>nextToken</code> field in another list request.</p>
|
|
6282
|
-
* @public
|
|
6283
|
-
*/
|
|
6284
|
-
nextToken?: string | undefined;
|
|
6285
|
-
/**
|
|
6286
|
-
* <p>A list of summaries, one for each Provisioned Throughput in the response.</p>
|
|
6287
|
-
* @public
|
|
6288
|
-
*/
|
|
6289
|
-
provisionedModelSummaries?: ProvisionedModelSummary[] | undefined;
|
|
6290
|
-
}
|
|
6291
|
-
/**
|
|
6292
|
-
* @public
|
|
6293
|
-
*/
|
|
6294
|
-
export interface UpdateProvisionedModelThroughputRequest {
|
|
6295
|
-
/**
|
|
6296
|
-
* <p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.</p>
|
|
6297
|
-
* @public
|
|
6298
|
-
*/
|
|
6299
|
-
provisionedModelId: string | undefined;
|
|
6300
|
-
/**
|
|
6301
|
-
* <p>The new name for this Provisioned Throughput.</p>
|
|
6302
|
-
* @public
|
|
6303
|
-
*/
|
|
6304
|
-
desiredProvisionedModelName?: string | undefined;
|
|
6305
|
-
/**
|
|
6306
|
-
* <p>The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.</p> <p>If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:</p> <ul> <li> <p>The base model from which the custom model was customized.</p> </li> <li> <p>Another custom model that was customized from the same base model as the custom model.</p> </li> </ul>
|
|
6307
|
-
* @public
|
|
6308
|
-
*/
|
|
6309
|
-
desiredModelId?: string | undefined;
|
|
6310
|
-
}
|
|
6311
|
-
/**
|
|
6312
|
-
* @public
|
|
6313
|
-
*/
|
|
6314
|
-
export interface UpdateProvisionedModelThroughputResponse {
|
|
6315
|
-
}
|
|
6316
|
-
/**
|
|
6317
|
-
* @public
|
|
6318
|
-
*/
|
|
6319
|
-
export interface CreateFoundationModelAgreementRequest {
|
|
6320
|
-
/**
|
|
6321
|
-
* <p>An offer token encapsulates the information for an offer.</p>
|
|
6322
|
-
* @public
|
|
6323
|
-
*/
|
|
6324
|
-
offerToken: string | undefined;
|
|
6325
|
-
/**
|
|
6326
|
-
* <p>Model Id of the model for the access request.</p>
|
|
6327
|
-
* @public
|
|
6328
|
-
*/
|
|
6329
|
-
modelId: string | undefined;
|
|
6330
|
-
}
|
|
6331
|
-
/**
|
|
6332
|
-
* @public
|
|
6333
|
-
*/
|
|
6334
|
-
export interface CreateFoundationModelAgreementResponse {
|
|
6335
|
-
/**
|
|
6336
|
-
* <p>Model Id of the model for the access request.</p>
|
|
6337
|
-
* @public
|
|
6338
|
-
*/
|
|
6339
|
-
modelId: string | undefined;
|
|
6340
|
-
}
|
|
6341
|
-
/**
|
|
6342
|
-
* @public
|
|
6343
|
-
*/
|
|
6344
|
-
export interface DeleteFoundationModelAgreementRequest {
|
|
6345
|
-
/**
|
|
6346
|
-
* <p>Model Id of the model access to delete.</p>
|
|
6347
|
-
* @public
|
|
6348
|
-
*/
|
|
6349
|
-
modelId: string | undefined;
|
|
6350
|
-
}
|
|
6351
|
-
/**
|
|
6352
|
-
* @public
|
|
6353
|
-
*/
|
|
6354
|
-
export interface DeleteFoundationModelAgreementResponse {
|
|
6355
|
-
}
|
|
6356
|
-
/**
|
|
6357
|
-
* @public
|
|
6358
|
-
*/
|
|
6359
|
-
export interface GetFoundationModelAvailabilityRequest {
|
|
6360
|
-
/**
|
|
6361
|
-
* <p>The model Id of the foundation model.</p>
|
|
6362
|
-
* @public
|
|
6363
|
-
*/
|
|
6364
|
-
modelId: string | undefined;
|
|
6365
|
-
}
|
|
6366
|
-
/**
|
|
6367
|
-
* @public
|
|
6368
|
-
* @enum
|
|
6369
|
-
*/
|
|
6370
|
-
export declare const AuthorizationStatus: {
|
|
6371
|
-
readonly AUTHORIZED: "AUTHORIZED";
|
|
6372
|
-
readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
|
|
6373
|
-
};
|
|
6374
|
-
/**
|
|
6375
|
-
* @public
|
|
6376
|
-
*/
|
|
6377
|
-
export type AuthorizationStatus = (typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
|
|
6378
6439
|
/**
|
|
6379
6440
|
* @internal
|
|
6380
6441
|
*/
|
|
@@ -1,4 +1,172 @@
|
|
|
1
|
-
import { AgreementAvailability, ApplicationType,
|
|
1
|
+
import { AgreementAvailability, ApplicationType, CommitmentDuration, CustomizationConfig, CustomizationType, EvaluationConfig, EvaluationJobStatus, EvaluationJobType, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, ImplicitFilterConfiguration, OrchestrationConfiguration, OutputDataConfig, ProvisionedModelStatus, RetrieveAndGenerateType, SearchType, SortJobsBy, SortOrder, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>A summary of information about a Provisioned Throughput.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax">ListProvisionedThroughputs response</a> </p> </li> </ul>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ProvisionedModelSummary {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The name of the Provisioned Throughput.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
provisionedModelName: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The Amazon Resource Name (ARN) of the Provisioned Throughput.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
provisionedModelArn: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The Amazon Resource Name (ARN) of the model associated with the Provisioned Throughput.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
modelArn: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the <code>modelArn</code> if updating hasn't completed.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
desiredModelArn: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
foundationModelArn: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The number of model units allocated to the Provisioned Throughput.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
modelUnits: number | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The number of model units that was requested to be allocated to the Provisioned Throughput.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
desiredModelUnits: number | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The status of the Provisioned Throughput.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
status: ProvisionedModelStatus | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The duration for which the Provisioned Throughput was committed.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
commitmentDuration?: CommitmentDuration | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The timestamp for when the commitment term of the Provisioned Throughput expires.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
commitmentExpirationTime?: Date | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The time that the Provisioned Throughput was created. </p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
creationTime: Date | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The time that the Provisioned Throughput was last modified. </p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
lastModifiedTime: Date | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export interface ListProvisionedModelThroughputsResponse {
|
|
72
|
+
/**
|
|
73
|
+
* <p>If there are more results than the number you specified in the <code>maxResults</code> field, this value is returned. To see the next batch of results, include this value in the <code>nextToken</code> field in another list request.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
nextToken?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>A list of summaries, one for each Provisioned Throughput in the response.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
provisionedModelSummaries?: ProvisionedModelSummary[] | undefined;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export interface UpdateProvisionedModelThroughputRequest {
|
|
87
|
+
/**
|
|
88
|
+
* <p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
provisionedModelId: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The new name for this Provisioned Throughput.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
desiredProvisionedModelName?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.</p> <p>If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:</p> <ul> <li> <p>The base model from which the custom model was customized.</p> </li> <li> <p>Another custom model that was customized from the same base model as the custom model.</p> </li> </ul>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
desiredModelId?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export interface UpdateProvisionedModelThroughputResponse {
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface CreateFoundationModelAgreementRequest {
|
|
112
|
+
/**
|
|
113
|
+
* <p>An offer token encapsulates the information for an offer.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
offerToken: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* <p>Model Id of the model for the access request.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
modelId: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export interface CreateFoundationModelAgreementResponse {
|
|
127
|
+
/**
|
|
128
|
+
* <p>Model Id of the model for the access request.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
modelId: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export interface DeleteFoundationModelAgreementRequest {
|
|
137
|
+
/**
|
|
138
|
+
* <p>Model Id of the model access to delete.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
modelId: string | undefined;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export interface DeleteFoundationModelAgreementResponse {
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export interface GetFoundationModelAvailabilityRequest {
|
|
152
|
+
/**
|
|
153
|
+
* <p>The model Id of the foundation model.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
modelId: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @enum
|
|
161
|
+
*/
|
|
162
|
+
export declare const AuthorizationStatus: {
|
|
163
|
+
readonly AUTHORIZED: "AUTHORIZED";
|
|
164
|
+
readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export type AuthorizationStatus = (typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
|
|
2
170
|
/**
|
|
3
171
|
* @public
|
|
4
172
|
* @enum
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "../commands/ListCustomModelDeploymentsCommand";
|
|
3
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListCustomModelDeployments: (config: BedrockPaginationConfiguration, input: ListCustomModelDeploymentsCommandInput, ...rest: any[]) => Paginator<ListCustomModelDeploymentsCommandOutput>;
|