@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
@@ -1,22 +1,28 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BedrockClient } from "./BedrockClient";
3
+ import { BatchDeleteEvaluationJobCommand, } from "./commands/BatchDeleteEvaluationJobCommand";
3
4
  import { CreateEvaluationJobCommand, } from "./commands/CreateEvaluationJobCommand";
4
5
  import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
5
6
  import { CreateGuardrailVersionCommand, } from "./commands/CreateGuardrailVersionCommand";
6
7
  import { CreateModelCopyJobCommand, } from "./commands/CreateModelCopyJobCommand";
7
8
  import { CreateModelCustomizationJobCommand, } from "./commands/CreateModelCustomizationJobCommand";
9
+ import { CreateModelImportJobCommand, } from "./commands/CreateModelImportJobCommand";
8
10
  import { CreateModelInvocationJobCommand, } from "./commands/CreateModelInvocationJobCommand";
9
11
  import { CreateProvisionedModelThroughputCommand, } from "./commands/CreateProvisionedModelThroughputCommand";
10
12
  import { DeleteCustomModelCommand, } from "./commands/DeleteCustomModelCommand";
11
13
  import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
14
+ import { DeleteImportedModelCommand, } from "./commands/DeleteImportedModelCommand";
12
15
  import { DeleteModelInvocationLoggingConfigurationCommand, } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
13
16
  import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";
14
17
  import { GetCustomModelCommand, } from "./commands/GetCustomModelCommand";
15
18
  import { GetEvaluationJobCommand, } from "./commands/GetEvaluationJobCommand";
16
19
  import { GetFoundationModelCommand, } from "./commands/GetFoundationModelCommand";
17
20
  import { GetGuardrailCommand, } from "./commands/GetGuardrailCommand";
21
+ import { GetImportedModelCommand, } from "./commands/GetImportedModelCommand";
22
+ import { GetInferenceProfileCommand, } from "./commands/GetInferenceProfileCommand";
18
23
  import { GetModelCopyJobCommand, } from "./commands/GetModelCopyJobCommand";
19
24
  import { GetModelCustomizationJobCommand, } from "./commands/GetModelCustomizationJobCommand";
25
+ import { GetModelImportJobCommand, } from "./commands/GetModelImportJobCommand";
20
26
  import { GetModelInvocationJobCommand, } from "./commands/GetModelInvocationJobCommand";
21
27
  import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetModelInvocationLoggingConfigurationCommand";
22
28
  import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
@@ -24,8 +30,11 @@ import { ListCustomModelsCommand, } from "./commands/ListCustomModelsCommand";
24
30
  import { ListEvaluationJobsCommand, } from "./commands/ListEvaluationJobsCommand";
25
31
  import { ListFoundationModelsCommand, } from "./commands/ListFoundationModelsCommand";
26
32
  import { ListGuardrailsCommand, } from "./commands/ListGuardrailsCommand";
33
+ import { ListImportedModelsCommand, } from "./commands/ListImportedModelsCommand";
34
+ import { ListInferenceProfilesCommand, } from "./commands/ListInferenceProfilesCommand";
27
35
  import { ListModelCopyJobsCommand, } from "./commands/ListModelCopyJobsCommand";
28
36
  import { ListModelCustomizationJobsCommand, } from "./commands/ListModelCustomizationJobsCommand";
37
+ import { ListModelImportJobsCommand, } from "./commands/ListModelImportJobsCommand";
29
38
  import { ListModelInvocationJobsCommand, } from "./commands/ListModelInvocationJobsCommand";
30
39
  import { ListProvisionedModelThroughputsCommand, } from "./commands/ListProvisionedModelThroughputsCommand";
31
40
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -38,23 +47,29 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
38
47
  import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
39
48
  import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvisionedModelThroughputCommand";
40
49
  const commands = {
50
+ BatchDeleteEvaluationJobCommand,
41
51
  CreateEvaluationJobCommand,
42
52
  CreateGuardrailCommand,
43
53
  CreateGuardrailVersionCommand,
44
54
  CreateModelCopyJobCommand,
45
55
  CreateModelCustomizationJobCommand,
56
+ CreateModelImportJobCommand,
46
57
  CreateModelInvocationJobCommand,
47
58
  CreateProvisionedModelThroughputCommand,
48
59
  DeleteCustomModelCommand,
49
60
  DeleteGuardrailCommand,
61
+ DeleteImportedModelCommand,
50
62
  DeleteModelInvocationLoggingConfigurationCommand,
51
63
  DeleteProvisionedModelThroughputCommand,
52
64
  GetCustomModelCommand,
53
65
  GetEvaluationJobCommand,
54
66
  GetFoundationModelCommand,
55
67
  GetGuardrailCommand,
68
+ GetImportedModelCommand,
69
+ GetInferenceProfileCommand,
56
70
  GetModelCopyJobCommand,
57
71
  GetModelCustomizationJobCommand,
72
+ GetModelImportJobCommand,
58
73
  GetModelInvocationJobCommand,
59
74
  GetModelInvocationLoggingConfigurationCommand,
60
75
  GetProvisionedModelThroughputCommand,
@@ -62,8 +77,11 @@ const commands = {
62
77
  ListEvaluationJobsCommand,
63
78
  ListFoundationModelsCommand,
64
79
  ListGuardrailsCommand,
80
+ ListImportedModelsCommand,
81
+ ListInferenceProfilesCommand,
65
82
  ListModelCopyJobsCommand,
66
83
  ListModelCustomizationJobsCommand,
84
+ ListModelImportJobsCommand,
67
85
  ListModelInvocationJobsCommand,
68
86
  ListProvisionedModelThroughputsCommand,
69
87
  ListTagsForResourceCommand,
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_BatchDeleteEvaluationJobCommand, se_BatchDeleteEvaluationJobCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class BatchDeleteEvaluationJobCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockControlPlaneService", "BatchDeleteEvaluationJob", {})
20
+ .n("BedrockClient", "BatchDeleteEvaluationJobCommand")
21
+ .f(BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog)
22
+ .ser(se_BatchDeleteEvaluationJobCommand)
23
+ .de(de_BatchDeleteEvaluationJobCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateModelImportJobCommand, se_CreateModelImportJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateModelImportJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "CreateModelImportJob", {})
19
+ .n("BedrockClient", "CreateModelImportJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateModelImportJobCommand)
22
+ .de(de_CreateModelImportJobCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteImportedModelCommand, se_DeleteImportedModelCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteImportedModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "DeleteImportedModel", {})
19
+ .n("BedrockClient", "DeleteImportedModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteImportedModelCommand)
22
+ .de(de_DeleteImportedModelCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetImportedModelCommand, se_GetImportedModelCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetImportedModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "GetImportedModel", {})
19
+ .n("BedrockClient", "GetImportedModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetImportedModelCommand)
22
+ .de(de_GetImportedModelCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetInferenceProfileCommand, se_GetInferenceProfileCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetInferenceProfileCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "GetInferenceProfile", {})
19
+ .n("BedrockClient", "GetInferenceProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetInferenceProfileCommand)
22
+ .de(de_GetInferenceProfileCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetModelImportJobCommand, se_GetModelImportJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetModelImportJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "GetModelImportJob", {})
19
+ .n("BedrockClient", "GetModelImportJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetModelImportJobCommand)
22
+ .de(de_GetModelImportJobCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListImportedModelsCommand, se_ListImportedModelsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListImportedModelsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "ListImportedModels", {})
19
+ .n("BedrockClient", "ListImportedModelsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListImportedModelsCommand)
22
+ .de(de_ListImportedModelsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListInferenceProfilesCommand, se_ListInferenceProfilesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListInferenceProfilesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "ListInferenceProfiles", {})
19
+ .n("BedrockClient", "ListInferenceProfilesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListInferenceProfilesCommand)
22
+ .de(de_ListInferenceProfilesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListModelImportJobsCommand, se_ListModelImportJobsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListModelImportJobsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "ListModelImportJobs", {})
19
+ .n("BedrockClient", "ListModelImportJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListModelImportJobsCommand)
22
+ .de(de_ListModelImportJobsCommand)
23
+ .build() {
24
+ }
@@ -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";
@@ -12,6 +12,14 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
+ export const EvaluationJobStatus = {
16
+ COMPLETED: "Completed",
17
+ DELETING: "Deleting",
18
+ FAILED: "Failed",
19
+ IN_PROGRESS: "InProgress",
20
+ STOPPED: "Stopped",
21
+ STOPPING: "Stopping",
22
+ };
15
23
  export class ConflictException extends __BaseException {
16
24
  constructor(opts) {
17
25
  super({
@@ -24,6 +32,54 @@ export class ConflictException extends __BaseException {
24
32
  Object.setPrototypeOf(this, ConflictException.prototype);
25
33
  }
26
34
  }
35
+ export class InternalServerException extends __BaseException {
36
+ constructor(opts) {
37
+ super({
38
+ name: "InternalServerException",
39
+ $fault: "server",
40
+ ...opts,
41
+ });
42
+ this.name = "InternalServerException";
43
+ this.$fault = "server";
44
+ Object.setPrototypeOf(this, InternalServerException.prototype);
45
+ }
46
+ }
47
+ export class ResourceNotFoundException extends __BaseException {
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ this.name = "ResourceNotFoundException";
55
+ this.$fault = "client";
56
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
57
+ }
58
+ }
59
+ export class ThrottlingException extends __BaseException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "ThrottlingException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ this.name = "ThrottlingException";
67
+ this.$fault = "client";
68
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
69
+ }
70
+ }
71
+ export class ValidationException extends __BaseException {
72
+ constructor(opts) {
73
+ super({
74
+ name: "ValidationException",
75
+ $fault: "client",
76
+ ...opts,
77
+ });
78
+ this.name = "ValidationException";
79
+ this.$fault = "client";
80
+ Object.setPrototypeOf(this, ValidationException.prototype);
81
+ }
82
+ }
27
83
  export var EvaluationDatasetLocation;
28
84
  (function (EvaluationDatasetLocation) {
29
85
  EvaluationDatasetLocation.visit = (value, visitor) => {
@@ -65,30 +121,6 @@ export var EvaluationInferenceConfig;
65
121
  return visitor._(value.$unknown[0], value.$unknown[1]);
66
122
  };
67
123
  })(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
68
- export class InternalServerException extends __BaseException {
69
- constructor(opts) {
70
- super({
71
- name: "InternalServerException",
72
- $fault: "server",
73
- ...opts,
74
- });
75
- this.name = "InternalServerException";
76
- this.$fault = "server";
77
- Object.setPrototypeOf(this, InternalServerException.prototype);
78
- }
79
- }
80
- export class ResourceNotFoundException extends __BaseException {
81
- constructor(opts) {
82
- super({
83
- name: "ResourceNotFoundException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "ResourceNotFoundException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
90
- }
91
- }
92
124
  export class ServiceQuotaExceededException extends __BaseException {
93
125
  constructor(opts) {
94
126
  super({
@@ -101,41 +133,10 @@ export class ServiceQuotaExceededException extends __BaseException {
101
133
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
102
134
  }
103
135
  }
104
- export class ThrottlingException extends __BaseException {
105
- constructor(opts) {
106
- super({
107
- name: "ThrottlingException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "ThrottlingException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, ThrottlingException.prototype);
114
- }
115
- }
116
- export class ValidationException extends __BaseException {
117
- constructor(opts) {
118
- super({
119
- name: "ValidationException",
120
- $fault: "client",
121
- ...opts,
122
- });
123
- this.name = "ValidationException";
124
- this.$fault = "client";
125
- Object.setPrototypeOf(this, ValidationException.prototype);
126
- }
127
- }
128
136
  export const EvaluationJobType = {
129
137
  AUTOMATED: "Automated",
130
138
  HUMAN: "Human",
131
139
  };
132
- export const EvaluationJobStatus = {
133
- COMPLETED: "Completed",
134
- FAILED: "Failed",
135
- IN_PROGRESS: "InProgress",
136
- STOPPED: "Stopped",
137
- STOPPING: "Stopping",
138
- };
139
140
  export const SortJobsBy = {
140
141
  CREATION_TIME: "CreationTime",
141
142
  };
@@ -225,11 +226,33 @@ export const GuardrailStatus = {
225
226
  UPDATING: "UPDATING",
226
227
  VERSIONING: "VERSIONING",
227
228
  };
229
+ export const InferenceProfileStatus = {
230
+ ACTIVE: "ACTIVE",
231
+ };
232
+ export const InferenceProfileType = {
233
+ SYSTEM_DEFINED: "SYSTEM_DEFINED",
234
+ };
228
235
  export const ModelCopyJobStatus = {
229
236
  COMPLETED: "Completed",
230
237
  FAILED: "Failed",
231
238
  IN_PROGRESS: "InProgress",
232
239
  };
240
+ export var ModelDataSource;
241
+ (function (ModelDataSource) {
242
+ ModelDataSource.visit = (value, visitor) => {
243
+ if (value.s3DataSource !== undefined)
244
+ return visitor.s3DataSource(value.s3DataSource);
245
+ return visitor._(value.$unknown[0], value.$unknown[1]);
246
+ };
247
+ })(ModelDataSource || (ModelDataSource = {}));
248
+ export const ModelImportJobStatus = {
249
+ COMPLETED: "Completed",
250
+ FAILED: "Failed",
251
+ IN_PROGRESS: "InProgress",
252
+ };
253
+ export const SortModelsBy = {
254
+ CREATION_TIME: "CreationTime",
255
+ };
233
256
  export const S3InputFormat = {
234
257
  JSONL: "JSONL",
235
258
  };
@@ -282,9 +305,6 @@ export const FoundationModelLifecycleStatus = {
282
305
  ACTIVE: "ACTIVE",
283
306
  LEGACY: "LEGACY",
284
307
  };
285
- export const SortModelsBy = {
286
- CREATION_TIME: "CreationTime",
287
- };
288
308
  export const CommitmentDuration = {
289
309
  ONE_MONTH: "OneMonth",
290
310
  SIX_MONTHS: "SixMonths",
@@ -312,6 +332,25 @@ export const FineTuningJobStatus = {
312
332
  STOPPED: "Stopped",
313
333
  STOPPING: "Stopping",
314
334
  };
335
+ export const BatchDeleteEvaluationJobRequestFilterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ ...(obj.jobIdentifiers && { jobIdentifiers: SENSITIVE_STRING }),
338
+ });
339
+ export const BatchDeleteEvaluationJobErrorFilterSensitiveLog = (obj) => ({
340
+ ...obj,
341
+ ...(obj.jobIdentifier && { jobIdentifier: SENSITIVE_STRING }),
342
+ });
343
+ export const BatchDeleteEvaluationJobItemFilterSensitiveLog = (obj) => ({
344
+ ...obj,
345
+ ...(obj.jobIdentifier && { jobIdentifier: SENSITIVE_STRING }),
346
+ });
347
+ export const BatchDeleteEvaluationJobResponseFilterSensitiveLog = (obj) => ({
348
+ ...obj,
349
+ ...(obj.errors && { errors: obj.errors.map((item) => BatchDeleteEvaluationJobErrorFilterSensitiveLog(item)) }),
350
+ ...(obj.evaluationJobs && {
351
+ evaluationJobs: obj.evaluationJobs.map((item) => BatchDeleteEvaluationJobItemFilterSensitiveLog(item)),
352
+ }),
353
+ });
315
354
  export const EvaluationDatasetFilterSensitiveLog = (obj) => ({
316
355
  ...obj,
317
356
  ...(obj.name && { name: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockClient } from "../BedrockClient";
3
+ import { ListImportedModelsCommand, } from "../commands/ListImportedModelsCommand";
4
+ export const paginateListImportedModels = createPaginator(BedrockClient, ListImportedModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockClient } from "../BedrockClient";
3
+ import { ListInferenceProfilesCommand, } from "../commands/ListInferenceProfilesCommand";
4
+ export const paginateListInferenceProfiles = createPaginator(BedrockClient, ListInferenceProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockClient } from "../BedrockClient";
3
+ import { ListModelImportJobsCommand, } from "../commands/ListModelImportJobsCommand";
4
+ export const paginateListModelImportJobs = createPaginator(BedrockClient, ListModelImportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -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";