@aws-sdk/client-bedrock 3.635.0 → 3.640.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 +72 -0
- package/dist-cjs/index.js +646 -78
- package/dist-es/Bedrock.js +18 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
- package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
- package/dist-es/commands/GetImportedModelCommand.js +24 -0
- package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
- package/dist-es/commands/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +97 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +329 -3
- package/dist-types/Bedrock.d.ts +66 -0
- package/dist-types/BedrockClient.d.ts +11 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
- package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +952 -249
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Bedrock.d.ts +156 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +239 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +6 -6
|
@@ -7,11 +7,65 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export interface BatchDeleteEvaluationJobRequest {
|
|
11
|
+
jobIdentifiers: string[] | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface BatchDeleteEvaluationJobError {
|
|
14
|
+
jobIdentifier: string | undefined;
|
|
15
|
+
code: string | undefined;
|
|
16
|
+
message?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const EvaluationJobStatus: {
|
|
19
|
+
readonly COMPLETED: "Completed";
|
|
20
|
+
readonly DELETING: "Deleting";
|
|
21
|
+
readonly FAILED: "Failed";
|
|
22
|
+
readonly IN_PROGRESS: "InProgress";
|
|
23
|
+
readonly STOPPED: "Stopped";
|
|
24
|
+
readonly STOPPING: "Stopping";
|
|
25
|
+
};
|
|
26
|
+
export type EvaluationJobStatus =
|
|
27
|
+
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
28
|
+
export interface BatchDeleteEvaluationJobItem {
|
|
29
|
+
jobIdentifier: string | undefined;
|
|
30
|
+
jobStatus: EvaluationJobStatus | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface BatchDeleteEvaluationJobResponse {
|
|
33
|
+
errors: BatchDeleteEvaluationJobError[] | undefined;
|
|
34
|
+
evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
|
|
35
|
+
}
|
|
10
36
|
export declare class ConflictException extends __BaseException {
|
|
11
37
|
readonly name: "ConflictException";
|
|
12
38
|
readonly $fault: "client";
|
|
13
39
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
40
|
}
|
|
41
|
+
export declare class InternalServerException extends __BaseException {
|
|
42
|
+
readonly name: "InternalServerException";
|
|
43
|
+
readonly $fault: "server";
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
readonly name: "ResourceNotFoundException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class ThrottlingException extends __BaseException {
|
|
56
|
+
readonly name: "ThrottlingException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export declare class ValidationException extends __BaseException {
|
|
63
|
+
readonly name: "ValidationException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
15
69
|
export type EvaluationDatasetLocation =
|
|
16
70
|
| EvaluationDatasetLocation.S3UriMember
|
|
17
71
|
| EvaluationDatasetLocation.$UnknownMember;
|
|
@@ -153,20 +207,6 @@ export interface CreateEvaluationJobRequest {
|
|
|
153
207
|
export interface CreateEvaluationJobResponse {
|
|
154
208
|
jobArn: string | undefined;
|
|
155
209
|
}
|
|
156
|
-
export declare class InternalServerException extends __BaseException {
|
|
157
|
-
readonly name: "InternalServerException";
|
|
158
|
-
readonly $fault: "server";
|
|
159
|
-
constructor(
|
|
160
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
164
|
-
readonly name: "ResourceNotFoundException";
|
|
165
|
-
readonly $fault: "client";
|
|
166
|
-
constructor(
|
|
167
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
210
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
171
211
|
readonly name: "ServiceQuotaExceededException";
|
|
172
212
|
readonly $fault: "client";
|
|
@@ -174,20 +214,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
174
214
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
175
215
|
);
|
|
176
216
|
}
|
|
177
|
-
export declare class ThrottlingException extends __BaseException {
|
|
178
|
-
readonly name: "ThrottlingException";
|
|
179
|
-
readonly $fault: "client";
|
|
180
|
-
constructor(
|
|
181
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
export declare class ValidationException extends __BaseException {
|
|
185
|
-
readonly name: "ValidationException";
|
|
186
|
-
readonly $fault: "client";
|
|
187
|
-
constructor(
|
|
188
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
217
|
export interface GetEvaluationJobRequest {
|
|
192
218
|
jobIdentifier: string | undefined;
|
|
193
219
|
}
|
|
@@ -197,15 +223,6 @@ export declare const EvaluationJobType: {
|
|
|
197
223
|
};
|
|
198
224
|
export type EvaluationJobType =
|
|
199
225
|
(typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
200
|
-
export declare const EvaluationJobStatus: {
|
|
201
|
-
readonly COMPLETED: "Completed";
|
|
202
|
-
readonly FAILED: "Failed";
|
|
203
|
-
readonly IN_PROGRESS: "InProgress";
|
|
204
|
-
readonly STOPPED: "Stopped";
|
|
205
|
-
readonly STOPPING: "Stopping";
|
|
206
|
-
};
|
|
207
|
-
export type EvaluationJobStatus =
|
|
208
|
-
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
209
226
|
export interface GetEvaluationJobResponse {
|
|
210
227
|
jobName: string | undefined;
|
|
211
228
|
status: EvaluationJobStatus | undefined;
|
|
@@ -542,6 +559,52 @@ export interface UpdateGuardrailResponse {
|
|
|
542
559
|
version: string | undefined;
|
|
543
560
|
updatedAt: Date | undefined;
|
|
544
561
|
}
|
|
562
|
+
export interface GetInferenceProfileRequest {
|
|
563
|
+
inferenceProfileIdentifier: string | undefined;
|
|
564
|
+
}
|
|
565
|
+
export interface InferenceProfileModel {
|
|
566
|
+
modelArn?: string;
|
|
567
|
+
}
|
|
568
|
+
export declare const InferenceProfileStatus: {
|
|
569
|
+
readonly ACTIVE: "ACTIVE";
|
|
570
|
+
};
|
|
571
|
+
export type InferenceProfileStatus =
|
|
572
|
+
(typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
|
|
573
|
+
export declare const InferenceProfileType: {
|
|
574
|
+
readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
|
|
575
|
+
};
|
|
576
|
+
export type InferenceProfileType =
|
|
577
|
+
(typeof InferenceProfileType)[keyof typeof InferenceProfileType];
|
|
578
|
+
export interface GetInferenceProfileResponse {
|
|
579
|
+
inferenceProfileName: string | undefined;
|
|
580
|
+
models: InferenceProfileModel[] | undefined;
|
|
581
|
+
description?: string;
|
|
582
|
+
createdAt?: Date;
|
|
583
|
+
updatedAt?: Date;
|
|
584
|
+
inferenceProfileArn: string | undefined;
|
|
585
|
+
inferenceProfileId: string | undefined;
|
|
586
|
+
status: InferenceProfileStatus | undefined;
|
|
587
|
+
type: InferenceProfileType | undefined;
|
|
588
|
+
}
|
|
589
|
+
export interface ListInferenceProfilesRequest {
|
|
590
|
+
maxResults?: number;
|
|
591
|
+
nextToken?: string;
|
|
592
|
+
}
|
|
593
|
+
export interface InferenceProfileSummary {
|
|
594
|
+
inferenceProfileName: string | undefined;
|
|
595
|
+
models: InferenceProfileModel[] | undefined;
|
|
596
|
+
description?: string;
|
|
597
|
+
createdAt?: Date;
|
|
598
|
+
updatedAt?: Date;
|
|
599
|
+
inferenceProfileArn: string | undefined;
|
|
600
|
+
inferenceProfileId: string | undefined;
|
|
601
|
+
status: InferenceProfileStatus | undefined;
|
|
602
|
+
type: InferenceProfileType | undefined;
|
|
603
|
+
}
|
|
604
|
+
export interface ListInferenceProfilesResponse {
|
|
605
|
+
inferenceProfileSummaries?: InferenceProfileSummary[];
|
|
606
|
+
nextToken?: string;
|
|
607
|
+
}
|
|
545
608
|
export interface DeleteModelInvocationLoggingConfigurationRequest {}
|
|
546
609
|
export interface DeleteModelInvocationLoggingConfigurationResponse {}
|
|
547
610
|
export interface GetModelInvocationLoggingConfigurationRequest {}
|
|
@@ -630,6 +693,133 @@ export interface ListModelCopyJobsResponse {
|
|
|
630
693
|
nextToken?: string;
|
|
631
694
|
modelCopyJobSummaries?: ModelCopyJobSummary[];
|
|
632
695
|
}
|
|
696
|
+
export interface S3DataSource {
|
|
697
|
+
s3Uri: string | undefined;
|
|
698
|
+
}
|
|
699
|
+
export type ModelDataSource =
|
|
700
|
+
| ModelDataSource.S3DataSourceMember
|
|
701
|
+
| ModelDataSource.$UnknownMember;
|
|
702
|
+
export declare namespace ModelDataSource {
|
|
703
|
+
interface S3DataSourceMember {
|
|
704
|
+
s3DataSource: S3DataSource;
|
|
705
|
+
$unknown?: never;
|
|
706
|
+
}
|
|
707
|
+
interface $UnknownMember {
|
|
708
|
+
s3DataSource?: never;
|
|
709
|
+
$unknown: [string, any];
|
|
710
|
+
}
|
|
711
|
+
interface Visitor<T> {
|
|
712
|
+
s3DataSource: (value: S3DataSource) => T;
|
|
713
|
+
_: (name: string, value: any) => T;
|
|
714
|
+
}
|
|
715
|
+
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
716
|
+
}
|
|
717
|
+
export interface VpcConfig {
|
|
718
|
+
subnetIds: string[] | undefined;
|
|
719
|
+
securityGroupIds: string[] | undefined;
|
|
720
|
+
}
|
|
721
|
+
export interface CreateModelImportJobRequest {
|
|
722
|
+
jobName: string | undefined;
|
|
723
|
+
importedModelName: string | undefined;
|
|
724
|
+
roleArn: string | undefined;
|
|
725
|
+
modelDataSource: ModelDataSource | undefined;
|
|
726
|
+
jobTags?: Tag[];
|
|
727
|
+
importedModelTags?: Tag[];
|
|
728
|
+
clientRequestToken?: string;
|
|
729
|
+
vpcConfig?: VpcConfig;
|
|
730
|
+
importedModelKmsKeyId?: string;
|
|
731
|
+
}
|
|
732
|
+
export interface CreateModelImportJobResponse {
|
|
733
|
+
jobArn: string | undefined;
|
|
734
|
+
}
|
|
735
|
+
export interface DeleteImportedModelRequest {
|
|
736
|
+
modelIdentifier: string | undefined;
|
|
737
|
+
}
|
|
738
|
+
export interface DeleteImportedModelResponse {}
|
|
739
|
+
export interface GetImportedModelRequest {
|
|
740
|
+
modelIdentifier: string | undefined;
|
|
741
|
+
}
|
|
742
|
+
export interface GetImportedModelResponse {
|
|
743
|
+
modelArn?: string;
|
|
744
|
+
modelName?: string;
|
|
745
|
+
jobName?: string;
|
|
746
|
+
jobArn?: string;
|
|
747
|
+
modelDataSource?: ModelDataSource;
|
|
748
|
+
creationTime?: Date;
|
|
749
|
+
modelArchitecture?: string;
|
|
750
|
+
modelKmsKeyArn?: string;
|
|
751
|
+
}
|
|
752
|
+
export interface GetModelImportJobRequest {
|
|
753
|
+
jobIdentifier: string | undefined;
|
|
754
|
+
}
|
|
755
|
+
export declare const ModelImportJobStatus: {
|
|
756
|
+
readonly COMPLETED: "Completed";
|
|
757
|
+
readonly FAILED: "Failed";
|
|
758
|
+
readonly IN_PROGRESS: "InProgress";
|
|
759
|
+
};
|
|
760
|
+
export type ModelImportJobStatus =
|
|
761
|
+
(typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
|
|
762
|
+
export interface GetModelImportJobResponse {
|
|
763
|
+
jobArn?: string;
|
|
764
|
+
jobName?: string;
|
|
765
|
+
importedModelName?: string;
|
|
766
|
+
importedModelArn?: string;
|
|
767
|
+
roleArn?: string;
|
|
768
|
+
modelDataSource?: ModelDataSource;
|
|
769
|
+
status?: ModelImportJobStatus;
|
|
770
|
+
failureMessage?: string;
|
|
771
|
+
creationTime?: Date;
|
|
772
|
+
lastModifiedTime?: Date;
|
|
773
|
+
endTime?: Date;
|
|
774
|
+
vpcConfig?: VpcConfig;
|
|
775
|
+
importedModelKmsKeyArn?: string;
|
|
776
|
+
}
|
|
777
|
+
export declare const SortModelsBy: {
|
|
778
|
+
readonly CREATION_TIME: "CreationTime";
|
|
779
|
+
};
|
|
780
|
+
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
781
|
+
export interface ListImportedModelsRequest {
|
|
782
|
+
creationTimeBefore?: Date;
|
|
783
|
+
creationTimeAfter?: Date;
|
|
784
|
+
nameContains?: string;
|
|
785
|
+
maxResults?: number;
|
|
786
|
+
nextToken?: string;
|
|
787
|
+
sortBy?: SortModelsBy;
|
|
788
|
+
sortOrder?: SortOrder;
|
|
789
|
+
}
|
|
790
|
+
export interface ImportedModelSummary {
|
|
791
|
+
modelArn: string | undefined;
|
|
792
|
+
modelName: string | undefined;
|
|
793
|
+
creationTime: Date | undefined;
|
|
794
|
+
}
|
|
795
|
+
export interface ListImportedModelsResponse {
|
|
796
|
+
nextToken?: string;
|
|
797
|
+
modelSummaries?: ImportedModelSummary[];
|
|
798
|
+
}
|
|
799
|
+
export interface ListModelImportJobsRequest {
|
|
800
|
+
creationTimeAfter?: Date;
|
|
801
|
+
creationTimeBefore?: Date;
|
|
802
|
+
statusEquals?: ModelImportJobStatus;
|
|
803
|
+
nameContains?: string;
|
|
804
|
+
maxResults?: number;
|
|
805
|
+
nextToken?: string;
|
|
806
|
+
sortBy?: SortJobsBy;
|
|
807
|
+
sortOrder?: SortOrder;
|
|
808
|
+
}
|
|
809
|
+
export interface ModelImportJobSummary {
|
|
810
|
+
jobArn: string | undefined;
|
|
811
|
+
jobName: string | undefined;
|
|
812
|
+
status: ModelImportJobStatus | undefined;
|
|
813
|
+
lastModifiedTime?: Date;
|
|
814
|
+
creationTime: Date | undefined;
|
|
815
|
+
endTime?: Date;
|
|
816
|
+
importedModelArn?: string;
|
|
817
|
+
importedModelName?: string;
|
|
818
|
+
}
|
|
819
|
+
export interface ListModelImportJobsResponse {
|
|
820
|
+
nextToken?: string;
|
|
821
|
+
modelImportJobSummaries?: ModelImportJobSummary[];
|
|
822
|
+
}
|
|
633
823
|
export declare const S3InputFormat: {
|
|
634
824
|
readonly JSONL: "JSONL";
|
|
635
825
|
};
|
|
@@ -855,10 +1045,6 @@ export interface FoundationModelDetails {
|
|
|
855
1045
|
export interface GetFoundationModelResponse {
|
|
856
1046
|
modelDetails?: FoundationModelDetails;
|
|
857
1047
|
}
|
|
858
|
-
export declare const SortModelsBy: {
|
|
859
|
-
readonly CREATION_TIME: "CreationTime";
|
|
860
|
-
};
|
|
861
|
-
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
862
1048
|
export interface ListCustomModelsRequest {
|
|
863
1049
|
creationTimeBefore?: Date;
|
|
864
1050
|
creationTimeAfter?: Date;
|
|
@@ -1008,10 +1194,6 @@ export interface UntagResourceRequest {
|
|
|
1008
1194
|
tagKeys: string[] | undefined;
|
|
1009
1195
|
}
|
|
1010
1196
|
export interface UntagResourceResponse {}
|
|
1011
|
-
export interface VpcConfig {
|
|
1012
|
-
subnetIds: string[] | undefined;
|
|
1013
|
-
securityGroupIds: string[] | undefined;
|
|
1014
|
-
}
|
|
1015
1197
|
export interface CreateModelCustomizationJobRequest {
|
|
1016
1198
|
jobName: string | undefined;
|
|
1017
1199
|
customModelName: string | undefined;
|
|
@@ -1105,6 +1287,18 @@ export interface StopModelCustomizationJobRequest {
|
|
|
1105
1287
|
jobIdentifier: string | undefined;
|
|
1106
1288
|
}
|
|
1107
1289
|
export interface StopModelCustomizationJobResponse {}
|
|
1290
|
+
export declare const BatchDeleteEvaluationJobRequestFilterSensitiveLog: (
|
|
1291
|
+
obj: BatchDeleteEvaluationJobRequest
|
|
1292
|
+
) => any;
|
|
1293
|
+
export declare const BatchDeleteEvaluationJobErrorFilterSensitiveLog: (
|
|
1294
|
+
obj: BatchDeleteEvaluationJobError
|
|
1295
|
+
) => any;
|
|
1296
|
+
export declare const BatchDeleteEvaluationJobItemFilterSensitiveLog: (
|
|
1297
|
+
obj: BatchDeleteEvaluationJobItem
|
|
1298
|
+
) => any;
|
|
1299
|
+
export declare const BatchDeleteEvaluationJobResponseFilterSensitiveLog: (
|
|
1300
|
+
obj: BatchDeleteEvaluationJobResponse
|
|
1301
|
+
) => any;
|
|
1108
1302
|
export declare const EvaluationDatasetFilterSensitiveLog: (
|
|
1109
1303
|
obj: EvaluationDataset
|
|
1110
1304
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListImportedModelsCommandInput,
|
|
4
|
+
ListImportedModelsCommandOutput,
|
|
5
|
+
} from "../commands/ListImportedModelsCommand";
|
|
6
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListImportedModels: (
|
|
8
|
+
config: BedrockPaginationConfiguration,
|
|
9
|
+
input: ListImportedModelsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListImportedModelsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListInferenceProfilesCommandInput,
|
|
4
|
+
ListInferenceProfilesCommandOutput,
|
|
5
|
+
} from "../commands/ListInferenceProfilesCommand";
|
|
6
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListInferenceProfiles: (
|
|
8
|
+
config: BedrockPaginationConfiguration,
|
|
9
|
+
input: ListInferenceProfilesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListInferenceProfilesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListModelImportJobsCommandInput,
|
|
4
|
+
ListModelImportJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListModelImportJobsCommand";
|
|
6
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListModelImportJobs: (
|
|
8
|
+
config: BedrockPaginationConfiguration,
|
|
9
|
+
input: ListModelImportJobsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListModelImportJobsCommandOutput>;
|
|
@@ -2,7 +2,10 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCustomModelsPaginator";
|
|
3
3
|
export * from "./ListEvaluationJobsPaginator";
|
|
4
4
|
export * from "./ListGuardrailsPaginator";
|
|
5
|
+
export * from "./ListImportedModelsPaginator";
|
|
6
|
+
export * from "./ListInferenceProfilesPaginator";
|
|
5
7
|
export * from "./ListModelCopyJobsPaginator";
|
|
6
8
|
export * from "./ListModelCustomizationJobsPaginator";
|
|
9
|
+
export * from "./ListModelImportJobsPaginator";
|
|
7
10
|
export * from "./ListModelInvocationJobsPaginator";
|
|
8
11
|
export * from "./ListProvisionedModelThroughputsPaginator";
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchDeleteEvaluationJobCommandInput,
|
|
8
|
+
BatchDeleteEvaluationJobCommandOutput,
|
|
9
|
+
} from "../commands/BatchDeleteEvaluationJobCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateEvaluationJobCommandInput,
|
|
8
12
|
CreateEvaluationJobCommandOutput,
|
|
@@ -23,6 +27,10 @@ import {
|
|
|
23
27
|
CreateModelCustomizationJobCommandInput,
|
|
24
28
|
CreateModelCustomizationJobCommandOutput,
|
|
25
29
|
} from "../commands/CreateModelCustomizationJobCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateModelImportJobCommandInput,
|
|
32
|
+
CreateModelImportJobCommandOutput,
|
|
33
|
+
} from "../commands/CreateModelImportJobCommand";
|
|
26
34
|
import {
|
|
27
35
|
CreateModelInvocationJobCommandInput,
|
|
28
36
|
CreateModelInvocationJobCommandOutput,
|
|
@@ -39,6 +47,10 @@ import {
|
|
|
39
47
|
DeleteGuardrailCommandInput,
|
|
40
48
|
DeleteGuardrailCommandOutput,
|
|
41
49
|
} from "../commands/DeleteGuardrailCommand";
|
|
50
|
+
import {
|
|
51
|
+
DeleteImportedModelCommandInput,
|
|
52
|
+
DeleteImportedModelCommandOutput,
|
|
53
|
+
} from "../commands/DeleteImportedModelCommand";
|
|
42
54
|
import {
|
|
43
55
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
44
56
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -63,6 +75,14 @@ import {
|
|
|
63
75
|
GetGuardrailCommandInput,
|
|
64
76
|
GetGuardrailCommandOutput,
|
|
65
77
|
} from "../commands/GetGuardrailCommand";
|
|
78
|
+
import {
|
|
79
|
+
GetImportedModelCommandInput,
|
|
80
|
+
GetImportedModelCommandOutput,
|
|
81
|
+
} from "../commands/GetImportedModelCommand";
|
|
82
|
+
import {
|
|
83
|
+
GetInferenceProfileCommandInput,
|
|
84
|
+
GetInferenceProfileCommandOutput,
|
|
85
|
+
} from "../commands/GetInferenceProfileCommand";
|
|
66
86
|
import {
|
|
67
87
|
GetModelCopyJobCommandInput,
|
|
68
88
|
GetModelCopyJobCommandOutput,
|
|
@@ -71,6 +91,10 @@ import {
|
|
|
71
91
|
GetModelCustomizationJobCommandInput,
|
|
72
92
|
GetModelCustomizationJobCommandOutput,
|
|
73
93
|
} from "../commands/GetModelCustomizationJobCommand";
|
|
94
|
+
import {
|
|
95
|
+
GetModelImportJobCommandInput,
|
|
96
|
+
GetModelImportJobCommandOutput,
|
|
97
|
+
} from "../commands/GetModelImportJobCommand";
|
|
74
98
|
import {
|
|
75
99
|
GetModelInvocationJobCommandInput,
|
|
76
100
|
GetModelInvocationJobCommandOutput,
|
|
@@ -99,6 +123,14 @@ import {
|
|
|
99
123
|
ListGuardrailsCommandInput,
|
|
100
124
|
ListGuardrailsCommandOutput,
|
|
101
125
|
} from "../commands/ListGuardrailsCommand";
|
|
126
|
+
import {
|
|
127
|
+
ListImportedModelsCommandInput,
|
|
128
|
+
ListImportedModelsCommandOutput,
|
|
129
|
+
} from "../commands/ListImportedModelsCommand";
|
|
130
|
+
import {
|
|
131
|
+
ListInferenceProfilesCommandInput,
|
|
132
|
+
ListInferenceProfilesCommandOutput,
|
|
133
|
+
} from "../commands/ListInferenceProfilesCommand";
|
|
102
134
|
import {
|
|
103
135
|
ListModelCopyJobsCommandInput,
|
|
104
136
|
ListModelCopyJobsCommandOutput,
|
|
@@ -107,6 +139,10 @@ import {
|
|
|
107
139
|
ListModelCustomizationJobsCommandInput,
|
|
108
140
|
ListModelCustomizationJobsCommandOutput,
|
|
109
141
|
} from "../commands/ListModelCustomizationJobsCommand";
|
|
142
|
+
import {
|
|
143
|
+
ListModelImportJobsCommandInput,
|
|
144
|
+
ListModelImportJobsCommandOutput,
|
|
145
|
+
} from "../commands/ListModelImportJobsCommand";
|
|
110
146
|
import {
|
|
111
147
|
ListModelInvocationJobsCommandInput,
|
|
112
148
|
ListModelInvocationJobsCommandOutput,
|
|
@@ -151,6 +187,10 @@ import {
|
|
|
151
187
|
UpdateProvisionedModelThroughputCommandInput,
|
|
152
188
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
153
189
|
} from "../commands/UpdateProvisionedModelThroughputCommand";
|
|
190
|
+
export declare const se_BatchDeleteEvaluationJobCommand: (
|
|
191
|
+
input: BatchDeleteEvaluationJobCommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
154
194
|
export declare const se_CreateEvaluationJobCommand: (
|
|
155
195
|
input: CreateEvaluationJobCommandInput,
|
|
156
196
|
context: __SerdeContext
|
|
@@ -171,6 +211,10 @@ export declare const se_CreateModelCustomizationJobCommand: (
|
|
|
171
211
|
input: CreateModelCustomizationJobCommandInput,
|
|
172
212
|
context: __SerdeContext
|
|
173
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_CreateModelImportJobCommand: (
|
|
215
|
+
input: CreateModelImportJobCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
174
218
|
export declare const se_CreateModelInvocationJobCommand: (
|
|
175
219
|
input: CreateModelInvocationJobCommandInput,
|
|
176
220
|
context: __SerdeContext
|
|
@@ -187,6 +231,10 @@ export declare const se_DeleteGuardrailCommand: (
|
|
|
187
231
|
input: DeleteGuardrailCommandInput,
|
|
188
232
|
context: __SerdeContext
|
|
189
233
|
) => Promise<__HttpRequest>;
|
|
234
|
+
export declare const se_DeleteImportedModelCommand: (
|
|
235
|
+
input: DeleteImportedModelCommandInput,
|
|
236
|
+
context: __SerdeContext
|
|
237
|
+
) => Promise<__HttpRequest>;
|
|
190
238
|
export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
191
239
|
input: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
192
240
|
context: __SerdeContext
|
|
@@ -211,6 +259,14 @@ export declare const se_GetGuardrailCommand: (
|
|
|
211
259
|
input: GetGuardrailCommandInput,
|
|
212
260
|
context: __SerdeContext
|
|
213
261
|
) => Promise<__HttpRequest>;
|
|
262
|
+
export declare const se_GetImportedModelCommand: (
|
|
263
|
+
input: GetImportedModelCommandInput,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<__HttpRequest>;
|
|
266
|
+
export declare const se_GetInferenceProfileCommand: (
|
|
267
|
+
input: GetInferenceProfileCommandInput,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<__HttpRequest>;
|
|
214
270
|
export declare const se_GetModelCopyJobCommand: (
|
|
215
271
|
input: GetModelCopyJobCommandInput,
|
|
216
272
|
context: __SerdeContext
|
|
@@ -219,6 +275,10 @@ export declare const se_GetModelCustomizationJobCommand: (
|
|
|
219
275
|
input: GetModelCustomizationJobCommandInput,
|
|
220
276
|
context: __SerdeContext
|
|
221
277
|
) => Promise<__HttpRequest>;
|
|
278
|
+
export declare const se_GetModelImportJobCommand: (
|
|
279
|
+
input: GetModelImportJobCommandInput,
|
|
280
|
+
context: __SerdeContext
|
|
281
|
+
) => Promise<__HttpRequest>;
|
|
222
282
|
export declare const se_GetModelInvocationJobCommand: (
|
|
223
283
|
input: GetModelInvocationJobCommandInput,
|
|
224
284
|
context: __SerdeContext
|
|
@@ -247,6 +307,14 @@ export declare const se_ListGuardrailsCommand: (
|
|
|
247
307
|
input: ListGuardrailsCommandInput,
|
|
248
308
|
context: __SerdeContext
|
|
249
309
|
) => Promise<__HttpRequest>;
|
|
310
|
+
export declare const se_ListImportedModelsCommand: (
|
|
311
|
+
input: ListImportedModelsCommandInput,
|
|
312
|
+
context: __SerdeContext
|
|
313
|
+
) => Promise<__HttpRequest>;
|
|
314
|
+
export declare const se_ListInferenceProfilesCommand: (
|
|
315
|
+
input: ListInferenceProfilesCommandInput,
|
|
316
|
+
context: __SerdeContext
|
|
317
|
+
) => Promise<__HttpRequest>;
|
|
250
318
|
export declare const se_ListModelCopyJobsCommand: (
|
|
251
319
|
input: ListModelCopyJobsCommandInput,
|
|
252
320
|
context: __SerdeContext
|
|
@@ -255,6 +323,10 @@ export declare const se_ListModelCustomizationJobsCommand: (
|
|
|
255
323
|
input: ListModelCustomizationJobsCommandInput,
|
|
256
324
|
context: __SerdeContext
|
|
257
325
|
) => Promise<__HttpRequest>;
|
|
326
|
+
export declare const se_ListModelImportJobsCommand: (
|
|
327
|
+
input: ListModelImportJobsCommandInput,
|
|
328
|
+
context: __SerdeContext
|
|
329
|
+
) => Promise<__HttpRequest>;
|
|
258
330
|
export declare const se_ListModelInvocationJobsCommand: (
|
|
259
331
|
input: ListModelInvocationJobsCommandInput,
|
|
260
332
|
context: __SerdeContext
|
|
@@ -299,6 +371,10 @@ export declare const se_UpdateProvisionedModelThroughputCommand: (
|
|
|
299
371
|
input: UpdateProvisionedModelThroughputCommandInput,
|
|
300
372
|
context: __SerdeContext
|
|
301
373
|
) => Promise<__HttpRequest>;
|
|
374
|
+
export declare const de_BatchDeleteEvaluationJobCommand: (
|
|
375
|
+
output: __HttpResponse,
|
|
376
|
+
context: __SerdeContext
|
|
377
|
+
) => Promise<BatchDeleteEvaluationJobCommandOutput>;
|
|
302
378
|
export declare const de_CreateEvaluationJobCommand: (
|
|
303
379
|
output: __HttpResponse,
|
|
304
380
|
context: __SerdeContext
|
|
@@ -319,6 +395,10 @@ export declare const de_CreateModelCustomizationJobCommand: (
|
|
|
319
395
|
output: __HttpResponse,
|
|
320
396
|
context: __SerdeContext
|
|
321
397
|
) => Promise<CreateModelCustomizationJobCommandOutput>;
|
|
398
|
+
export declare const de_CreateModelImportJobCommand: (
|
|
399
|
+
output: __HttpResponse,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<CreateModelImportJobCommandOutput>;
|
|
322
402
|
export declare const de_CreateModelInvocationJobCommand: (
|
|
323
403
|
output: __HttpResponse,
|
|
324
404
|
context: __SerdeContext
|
|
@@ -335,6 +415,10 @@ export declare const de_DeleteGuardrailCommand: (
|
|
|
335
415
|
output: __HttpResponse,
|
|
336
416
|
context: __SerdeContext
|
|
337
417
|
) => Promise<DeleteGuardrailCommandOutput>;
|
|
418
|
+
export declare const de_DeleteImportedModelCommand: (
|
|
419
|
+
output: __HttpResponse,
|
|
420
|
+
context: __SerdeContext
|
|
421
|
+
) => Promise<DeleteImportedModelCommandOutput>;
|
|
338
422
|
export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
339
423
|
output: __HttpResponse,
|
|
340
424
|
context: __SerdeContext
|
|
@@ -359,6 +443,14 @@ export declare const de_GetGuardrailCommand: (
|
|
|
359
443
|
output: __HttpResponse,
|
|
360
444
|
context: __SerdeContext
|
|
361
445
|
) => Promise<GetGuardrailCommandOutput>;
|
|
446
|
+
export declare const de_GetImportedModelCommand: (
|
|
447
|
+
output: __HttpResponse,
|
|
448
|
+
context: __SerdeContext
|
|
449
|
+
) => Promise<GetImportedModelCommandOutput>;
|
|
450
|
+
export declare const de_GetInferenceProfileCommand: (
|
|
451
|
+
output: __HttpResponse,
|
|
452
|
+
context: __SerdeContext
|
|
453
|
+
) => Promise<GetInferenceProfileCommandOutput>;
|
|
362
454
|
export declare const de_GetModelCopyJobCommand: (
|
|
363
455
|
output: __HttpResponse,
|
|
364
456
|
context: __SerdeContext
|
|
@@ -367,6 +459,10 @@ export declare const de_GetModelCustomizationJobCommand: (
|
|
|
367
459
|
output: __HttpResponse,
|
|
368
460
|
context: __SerdeContext
|
|
369
461
|
) => Promise<GetModelCustomizationJobCommandOutput>;
|
|
462
|
+
export declare const de_GetModelImportJobCommand: (
|
|
463
|
+
output: __HttpResponse,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<GetModelImportJobCommandOutput>;
|
|
370
466
|
export declare const de_GetModelInvocationJobCommand: (
|
|
371
467
|
output: __HttpResponse,
|
|
372
468
|
context: __SerdeContext
|
|
@@ -395,6 +491,14 @@ export declare const de_ListGuardrailsCommand: (
|
|
|
395
491
|
output: __HttpResponse,
|
|
396
492
|
context: __SerdeContext
|
|
397
493
|
) => Promise<ListGuardrailsCommandOutput>;
|
|
494
|
+
export declare const de_ListImportedModelsCommand: (
|
|
495
|
+
output: __HttpResponse,
|
|
496
|
+
context: __SerdeContext
|
|
497
|
+
) => Promise<ListImportedModelsCommandOutput>;
|
|
498
|
+
export declare const de_ListInferenceProfilesCommand: (
|
|
499
|
+
output: __HttpResponse,
|
|
500
|
+
context: __SerdeContext
|
|
501
|
+
) => Promise<ListInferenceProfilesCommandOutput>;
|
|
398
502
|
export declare const de_ListModelCopyJobsCommand: (
|
|
399
503
|
output: __HttpResponse,
|
|
400
504
|
context: __SerdeContext
|
|
@@ -403,6 +507,10 @@ export declare const de_ListModelCustomizationJobsCommand: (
|
|
|
403
507
|
output: __HttpResponse,
|
|
404
508
|
context: __SerdeContext
|
|
405
509
|
) => Promise<ListModelCustomizationJobsCommandOutput>;
|
|
510
|
+
export declare const de_ListModelImportJobsCommand: (
|
|
511
|
+
output: __HttpResponse,
|
|
512
|
+
context: __SerdeContext
|
|
513
|
+
) => Promise<ListModelImportJobsCommandOutput>;
|
|
406
514
|
export declare const de_ListModelInvocationJobsCommand: (
|
|
407
515
|
output: __HttpResponse,
|
|
408
516
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.640.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.637.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.637.0",
|
|
25
25
|
"@aws-sdk/core": "3.635.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.637.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.637.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.637.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|