@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.
Files changed (59) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +646 -78
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
  5. package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
  6. package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
  7. package/dist-es/commands/GetImportedModelCommand.js +24 -0
  8. package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
  9. package/dist-es/commands/GetModelImportJobCommand.js +24 -0
  10. package/dist-es/commands/ListImportedModelsCommand.js +24 -0
  11. package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
  12. package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +97 -58
  15. package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
  16. package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
  17. package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -0
  19. package/dist-es/protocols/Aws_restJson1.js +329 -3
  20. package/dist-types/Bedrock.d.ts +66 -0
  21. package/dist-types/BedrockClient.d.ts +11 -2
  22. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
  23. package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
  24. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
  25. package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
  26. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
  27. package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
  28. package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
  29. package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
  30. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
  31. package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
  32. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
  33. package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
  34. package/dist-types/commands/index.d.ts +9 -0
  35. package/dist-types/models/models_0.d.ts +952 -249
  36. package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
  38. package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +3 -0
  40. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  41. package/dist-types/ts3.4/Bedrock.d.ts +156 -0
  42. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  43. package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
  44. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
  45. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
  46. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
  48. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
  49. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
  50. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +239 -45
  54. package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  59. package/package.json +6 -6
@@ -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
+ BatchDeleteEvaluationJobRequest,
10
+ BatchDeleteEvaluationJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchDeleteEvaluationJobCommandInput
15
+ extends BatchDeleteEvaluationJobRequest {}
16
+ export interface BatchDeleteEvaluationJobCommandOutput
17
+ extends BatchDeleteEvaluationJobResponse,
18
+ __MetadataBearer {}
19
+ declare const BatchDeleteEvaluationJobCommand_base: {
20
+ new (
21
+ input: BatchDeleteEvaluationJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchDeleteEvaluationJobCommandInput,
24
+ BatchDeleteEvaluationJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: BatchDeleteEvaluationJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchDeleteEvaluationJobCommandInput,
33
+ BatchDeleteEvaluationJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchDeleteEvaluationJobCommand extends BatchDeleteEvaluationJobCommand_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
+ CreateModelImportJobRequest,
10
+ CreateModelImportJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateModelImportJobCommandInput
15
+ extends CreateModelImportJobRequest {}
16
+ export interface CreateModelImportJobCommandOutput
17
+ extends CreateModelImportJobResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateModelImportJobCommand_base: {
20
+ new (
21
+ input: CreateModelImportJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateModelImportJobCommandInput,
24
+ CreateModelImportJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateModelImportJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateModelImportJobCommandInput,
33
+ CreateModelImportJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateModelImportJobCommand extends CreateModelImportJobCommand_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
+ 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
+ GetInferenceProfileRequest,
10
+ GetInferenceProfileResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetInferenceProfileCommandInput
15
+ extends GetInferenceProfileRequest {}
16
+ export interface GetInferenceProfileCommandOutput
17
+ extends GetInferenceProfileResponse,
18
+ __MetadataBearer {}
19
+ declare const GetInferenceProfileCommand_base: {
20
+ new (
21
+ input: GetInferenceProfileCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetInferenceProfileCommandInput,
24
+ GetInferenceProfileCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetInferenceProfileCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetInferenceProfileCommandInput,
33
+ GetInferenceProfileCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetInferenceProfileCommand extends GetInferenceProfileCommand_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
+ ListInferenceProfilesRequest,
10
+ ListInferenceProfilesResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListInferenceProfilesCommandInput
15
+ extends ListInferenceProfilesRequest {}
16
+ export interface ListInferenceProfilesCommandOutput
17
+ extends ListInferenceProfilesResponse,
18
+ __MetadataBearer {}
19
+ declare const ListInferenceProfilesCommand_base: {
20
+ new (
21
+ input: ListInferenceProfilesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListInferenceProfilesCommandInput,
24
+ ListInferenceProfilesCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListInferenceProfilesCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListInferenceProfilesCommandInput,
33
+ ListInferenceProfilesCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListInferenceProfilesCommand extends ListInferenceProfilesCommand_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,26 @@
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";
20
+ export * from "./GetInferenceProfileCommand";
16
21
  export * from "./GetModelCopyJobCommand";
17
22
  export * from "./GetModelCustomizationJobCommand";
23
+ export * from "./GetModelImportJobCommand";
18
24
  export * from "./GetModelInvocationJobCommand";
19
25
  export * from "./GetModelInvocationLoggingConfigurationCommand";
20
26
  export * from "./GetProvisionedModelThroughputCommand";
@@ -22,8 +28,11 @@ export * from "./ListCustomModelsCommand";
22
28
  export * from "./ListEvaluationJobsCommand";
23
29
  export * from "./ListFoundationModelsCommand";
24
30
  export * from "./ListGuardrailsCommand";
31
+ export * from "./ListImportedModelsCommand";
32
+ export * from "./ListInferenceProfilesCommand";
25
33
  export * from "./ListModelCopyJobsCommand";
26
34
  export * from "./ListModelCustomizationJobsCommand";
35
+ export * from "./ListModelImportJobsCommand";
27
36
  export * from "./ListModelInvocationJobsCommand";
28
37
  export * from "./ListProvisionedModelThroughputsCommand";
29
38
  export * from "./ListTagsForResourceCommand";