@aws-sdk/client-bedrock 3.634.0 → 3.637.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 +56 -0
- package/dist-cjs/index.js +515 -78
- package/dist-es/Bedrock.js +14 -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/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +91 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +250 -3
- package/dist-types/Bedrock.d.ts +51 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- 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/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/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +696 -167
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/Bedrock.d.ts +121 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +42 -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/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +12 -12
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteImportedModelRequest,
|
|
10
|
+
DeleteImportedModelResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteImportedModelCommandInput
|
|
15
|
+
extends DeleteImportedModelRequest {}
|
|
16
|
+
export interface DeleteImportedModelCommandOutput
|
|
17
|
+
extends DeleteImportedModelResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteImportedModelCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteImportedModelCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteImportedModelCommandInput,
|
|
24
|
+
DeleteImportedModelCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteImportedModelCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteImportedModelCommandInput,
|
|
33
|
+
DeleteImportedModelCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteImportedModelCommand extends DeleteImportedModelCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
GetImportedModelRequest,
|
|
10
|
+
GetImportedModelResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetImportedModelCommandInput extends GetImportedModelRequest {}
|
|
15
|
+
export interface GetImportedModelCommandOutput
|
|
16
|
+
extends GetImportedModelResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetImportedModelCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetImportedModelCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetImportedModelCommandInput,
|
|
23
|
+
GetImportedModelCommandOutput,
|
|
24
|
+
BedrockClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetImportedModelCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetImportedModelCommandInput,
|
|
32
|
+
GetImportedModelCommandOutput,
|
|
33
|
+
BedrockClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetImportedModelCommand extends GetImportedModelCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
GetModelImportJobRequest,
|
|
10
|
+
GetModelImportJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetModelImportJobCommandInput
|
|
15
|
+
extends GetModelImportJobRequest {}
|
|
16
|
+
export interface GetModelImportJobCommandOutput
|
|
17
|
+
extends GetModelImportJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetModelImportJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetModelImportJobCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetModelImportJobCommandInput,
|
|
24
|
+
GetModelImportJobCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetModelImportJobCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetModelImportJobCommandInput,
|
|
33
|
+
GetModelImportJobCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetModelImportJobCommand extends GetModelImportJobCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
ListImportedModelsRequest,
|
|
10
|
+
ListImportedModelsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListImportedModelsCommandInput
|
|
15
|
+
extends ListImportedModelsRequest {}
|
|
16
|
+
export interface ListImportedModelsCommandOutput
|
|
17
|
+
extends ListImportedModelsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListImportedModelsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListImportedModelsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListImportedModelsCommandInput,
|
|
24
|
+
ListImportedModelsCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListImportedModelsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListImportedModelsCommandInput,
|
|
33
|
+
ListImportedModelsCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListImportedModelsCommand extends ListImportedModelsCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
ListModelImportJobsRequest,
|
|
10
|
+
ListModelImportJobsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListModelImportJobsCommandInput
|
|
15
|
+
extends ListModelImportJobsRequest {}
|
|
16
|
+
export interface ListModelImportJobsCommandOutput
|
|
17
|
+
extends ListModelImportJobsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListModelImportJobsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListModelImportJobsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListModelImportJobsCommandInput,
|
|
24
|
+
ListModelImportJobsCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListModelImportJobsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListModelImportJobsCommandInput,
|
|
33
|
+
ListModelImportJobsCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListModelImportJobsCommand extends ListModelImportJobsCommand_base {}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
+
export * from "./BatchDeleteEvaluationJobCommand";
|
|
1
2
|
export * from "./CreateEvaluationJobCommand";
|
|
2
3
|
export * from "./CreateGuardrailCommand";
|
|
3
4
|
export * from "./CreateGuardrailVersionCommand";
|
|
4
5
|
export * from "./CreateModelCopyJobCommand";
|
|
5
6
|
export * from "./CreateModelCustomizationJobCommand";
|
|
7
|
+
export * from "./CreateModelImportJobCommand";
|
|
6
8
|
export * from "./CreateModelInvocationJobCommand";
|
|
7
9
|
export * from "./CreateProvisionedModelThroughputCommand";
|
|
8
10
|
export * from "./DeleteCustomModelCommand";
|
|
9
11
|
export * from "./DeleteGuardrailCommand";
|
|
12
|
+
export * from "./DeleteImportedModelCommand";
|
|
10
13
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
11
14
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
12
15
|
export * from "./GetCustomModelCommand";
|
|
13
16
|
export * from "./GetEvaluationJobCommand";
|
|
14
17
|
export * from "./GetFoundationModelCommand";
|
|
15
18
|
export * from "./GetGuardrailCommand";
|
|
19
|
+
export * from "./GetImportedModelCommand";
|
|
16
20
|
export * from "./GetModelCopyJobCommand";
|
|
17
21
|
export * from "./GetModelCustomizationJobCommand";
|
|
22
|
+
export * from "./GetModelImportJobCommand";
|
|
18
23
|
export * from "./GetModelInvocationJobCommand";
|
|
19
24
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
20
25
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
@@ -22,8 +27,10 @@ export * from "./ListCustomModelsCommand";
|
|
|
22
27
|
export * from "./ListEvaluationJobsCommand";
|
|
23
28
|
export * from "./ListFoundationModelsCommand";
|
|
24
29
|
export * from "./ListGuardrailsCommand";
|
|
30
|
+
export * from "./ListImportedModelsCommand";
|
|
25
31
|
export * from "./ListModelCopyJobsCommand";
|
|
26
32
|
export * from "./ListModelCustomizationJobsCommand";
|
|
33
|
+
export * from "./ListModelImportJobsCommand";
|
|
27
34
|
export * from "./ListModelInvocationJobsCommand";
|
|
28
35
|
export * from "./ListProvisionedModelThroughputsCommand";
|
|
29
36
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -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;
|
|
@@ -630,6 +647,133 @@ export interface ListModelCopyJobsResponse {
|
|
|
630
647
|
nextToken?: string;
|
|
631
648
|
modelCopyJobSummaries?: ModelCopyJobSummary[];
|
|
632
649
|
}
|
|
650
|
+
export interface S3DataSource {
|
|
651
|
+
s3Uri: string | undefined;
|
|
652
|
+
}
|
|
653
|
+
export type ModelDataSource =
|
|
654
|
+
| ModelDataSource.S3DataSourceMember
|
|
655
|
+
| ModelDataSource.$UnknownMember;
|
|
656
|
+
export declare namespace ModelDataSource {
|
|
657
|
+
interface S3DataSourceMember {
|
|
658
|
+
s3DataSource: S3DataSource;
|
|
659
|
+
$unknown?: never;
|
|
660
|
+
}
|
|
661
|
+
interface $UnknownMember {
|
|
662
|
+
s3DataSource?: never;
|
|
663
|
+
$unknown: [string, any];
|
|
664
|
+
}
|
|
665
|
+
interface Visitor<T> {
|
|
666
|
+
s3DataSource: (value: S3DataSource) => T;
|
|
667
|
+
_: (name: string, value: any) => T;
|
|
668
|
+
}
|
|
669
|
+
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
670
|
+
}
|
|
671
|
+
export interface VpcConfig {
|
|
672
|
+
subnetIds: string[] | undefined;
|
|
673
|
+
securityGroupIds: string[] | undefined;
|
|
674
|
+
}
|
|
675
|
+
export interface CreateModelImportJobRequest {
|
|
676
|
+
jobName: string | undefined;
|
|
677
|
+
importedModelName: string | undefined;
|
|
678
|
+
roleArn: string | undefined;
|
|
679
|
+
modelDataSource: ModelDataSource | undefined;
|
|
680
|
+
jobTags?: Tag[];
|
|
681
|
+
importedModelTags?: Tag[];
|
|
682
|
+
clientRequestToken?: string;
|
|
683
|
+
vpcConfig?: VpcConfig;
|
|
684
|
+
importedModelKmsKeyId?: string;
|
|
685
|
+
}
|
|
686
|
+
export interface CreateModelImportJobResponse {
|
|
687
|
+
jobArn: string | undefined;
|
|
688
|
+
}
|
|
689
|
+
export interface DeleteImportedModelRequest {
|
|
690
|
+
modelIdentifier: string | undefined;
|
|
691
|
+
}
|
|
692
|
+
export interface DeleteImportedModelResponse {}
|
|
693
|
+
export interface GetImportedModelRequest {
|
|
694
|
+
modelIdentifier: string | undefined;
|
|
695
|
+
}
|
|
696
|
+
export interface GetImportedModelResponse {
|
|
697
|
+
modelArn?: string;
|
|
698
|
+
modelName?: string;
|
|
699
|
+
jobName?: string;
|
|
700
|
+
jobArn?: string;
|
|
701
|
+
modelDataSource?: ModelDataSource;
|
|
702
|
+
creationTime?: Date;
|
|
703
|
+
modelArchitecture?: string;
|
|
704
|
+
modelKmsKeyArn?: string;
|
|
705
|
+
}
|
|
706
|
+
export interface GetModelImportJobRequest {
|
|
707
|
+
jobIdentifier: string | undefined;
|
|
708
|
+
}
|
|
709
|
+
export declare const ModelImportJobStatus: {
|
|
710
|
+
readonly COMPLETED: "Completed";
|
|
711
|
+
readonly FAILED: "Failed";
|
|
712
|
+
readonly IN_PROGRESS: "InProgress";
|
|
713
|
+
};
|
|
714
|
+
export type ModelImportJobStatus =
|
|
715
|
+
(typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
|
|
716
|
+
export interface GetModelImportJobResponse {
|
|
717
|
+
jobArn?: string;
|
|
718
|
+
jobName?: string;
|
|
719
|
+
importedModelName?: string;
|
|
720
|
+
importedModelArn?: string;
|
|
721
|
+
roleArn?: string;
|
|
722
|
+
modelDataSource?: ModelDataSource;
|
|
723
|
+
status?: ModelImportJobStatus;
|
|
724
|
+
failureMessage?: string;
|
|
725
|
+
creationTime?: Date;
|
|
726
|
+
lastModifiedTime?: Date;
|
|
727
|
+
endTime?: Date;
|
|
728
|
+
vpcConfig?: VpcConfig;
|
|
729
|
+
importedModelKmsKeyArn?: string;
|
|
730
|
+
}
|
|
731
|
+
export declare const SortModelsBy: {
|
|
732
|
+
readonly CREATION_TIME: "CreationTime";
|
|
733
|
+
};
|
|
734
|
+
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
735
|
+
export interface ListImportedModelsRequest {
|
|
736
|
+
creationTimeBefore?: Date;
|
|
737
|
+
creationTimeAfter?: Date;
|
|
738
|
+
nameContains?: string;
|
|
739
|
+
maxResults?: number;
|
|
740
|
+
nextToken?: string;
|
|
741
|
+
sortBy?: SortModelsBy;
|
|
742
|
+
sortOrder?: SortOrder;
|
|
743
|
+
}
|
|
744
|
+
export interface ImportedModelSummary {
|
|
745
|
+
modelArn: string | undefined;
|
|
746
|
+
modelName: string | undefined;
|
|
747
|
+
creationTime: Date | undefined;
|
|
748
|
+
}
|
|
749
|
+
export interface ListImportedModelsResponse {
|
|
750
|
+
nextToken?: string;
|
|
751
|
+
modelSummaries?: ImportedModelSummary[];
|
|
752
|
+
}
|
|
753
|
+
export interface ListModelImportJobsRequest {
|
|
754
|
+
creationTimeAfter?: Date;
|
|
755
|
+
creationTimeBefore?: Date;
|
|
756
|
+
statusEquals?: ModelImportJobStatus;
|
|
757
|
+
nameContains?: string;
|
|
758
|
+
maxResults?: number;
|
|
759
|
+
nextToken?: string;
|
|
760
|
+
sortBy?: SortJobsBy;
|
|
761
|
+
sortOrder?: SortOrder;
|
|
762
|
+
}
|
|
763
|
+
export interface ModelImportJobSummary {
|
|
764
|
+
jobArn: string | undefined;
|
|
765
|
+
jobName: string | undefined;
|
|
766
|
+
status: ModelImportJobStatus | undefined;
|
|
767
|
+
lastModifiedTime?: Date;
|
|
768
|
+
creationTime: Date | undefined;
|
|
769
|
+
endTime?: Date;
|
|
770
|
+
importedModelArn?: string;
|
|
771
|
+
importedModelName?: string;
|
|
772
|
+
}
|
|
773
|
+
export interface ListModelImportJobsResponse {
|
|
774
|
+
nextToken?: string;
|
|
775
|
+
modelImportJobSummaries?: ModelImportJobSummary[];
|
|
776
|
+
}
|
|
633
777
|
export declare const S3InputFormat: {
|
|
634
778
|
readonly JSONL: "JSONL";
|
|
635
779
|
};
|
|
@@ -855,10 +999,6 @@ export interface FoundationModelDetails {
|
|
|
855
999
|
export interface GetFoundationModelResponse {
|
|
856
1000
|
modelDetails?: FoundationModelDetails;
|
|
857
1001
|
}
|
|
858
|
-
export declare const SortModelsBy: {
|
|
859
|
-
readonly CREATION_TIME: "CreationTime";
|
|
860
|
-
};
|
|
861
|
-
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
862
1002
|
export interface ListCustomModelsRequest {
|
|
863
1003
|
creationTimeBefore?: Date;
|
|
864
1004
|
creationTimeAfter?: Date;
|
|
@@ -1008,10 +1148,6 @@ export interface UntagResourceRequest {
|
|
|
1008
1148
|
tagKeys: string[] | undefined;
|
|
1009
1149
|
}
|
|
1010
1150
|
export interface UntagResourceResponse {}
|
|
1011
|
-
export interface VpcConfig {
|
|
1012
|
-
subnetIds: string[] | undefined;
|
|
1013
|
-
securityGroupIds: string[] | undefined;
|
|
1014
|
-
}
|
|
1015
1151
|
export interface CreateModelCustomizationJobRequest {
|
|
1016
1152
|
jobName: string | undefined;
|
|
1017
1153
|
customModelName: string | undefined;
|
|
@@ -1105,6 +1241,18 @@ export interface StopModelCustomizationJobRequest {
|
|
|
1105
1241
|
jobIdentifier: string | undefined;
|
|
1106
1242
|
}
|
|
1107
1243
|
export interface StopModelCustomizationJobResponse {}
|
|
1244
|
+
export declare const BatchDeleteEvaluationJobRequestFilterSensitiveLog: (
|
|
1245
|
+
obj: BatchDeleteEvaluationJobRequest
|
|
1246
|
+
) => any;
|
|
1247
|
+
export declare const BatchDeleteEvaluationJobErrorFilterSensitiveLog: (
|
|
1248
|
+
obj: BatchDeleteEvaluationJobError
|
|
1249
|
+
) => any;
|
|
1250
|
+
export declare const BatchDeleteEvaluationJobItemFilterSensitiveLog: (
|
|
1251
|
+
obj: BatchDeleteEvaluationJobItem
|
|
1252
|
+
) => any;
|
|
1253
|
+
export declare const BatchDeleteEvaluationJobResponseFilterSensitiveLog: (
|
|
1254
|
+
obj: BatchDeleteEvaluationJobResponse
|
|
1255
|
+
) => any;
|
|
1108
1256
|
export declare const EvaluationDatasetFilterSensitiveLog: (
|
|
1109
1257
|
obj: EvaluationDataset
|
|
1110
1258
|
) => 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
|
+
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,9 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCustomModelsPaginator";
|
|
3
3
|
export * from "./ListEvaluationJobsPaginator";
|
|
4
4
|
export * from "./ListGuardrailsPaginator";
|
|
5
|
+
export * from "./ListImportedModelsPaginator";
|
|
5
6
|
export * from "./ListModelCopyJobsPaginator";
|
|
6
7
|
export * from "./ListModelCustomizationJobsPaginator";
|
|
8
|
+
export * from "./ListModelImportJobsPaginator";
|
|
7
9
|
export * from "./ListModelInvocationJobsPaginator";
|
|
8
10
|
export * from "./ListProvisionedModelThroughputsPaginator";
|