@aws-sdk/client-bedrock 3.703.0 → 3.706.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 (71) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +717 -30
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -1
  6. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
  7. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
  8. package/dist-es/commands/GetCustomModelCommand.js +2 -1
  9. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
  10. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -1
  11. package/dist-es/commands/GetPromptRouterCommand.js +23 -0
  12. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
  13. package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
  14. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
  15. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
  16. package/dist-es/commands/index.js +9 -0
  17. package/dist-es/models/models_0.js +173 -20
  18. package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/protocols/Aws_restJson1.js +317 -1
  22. package/dist-types/Bedrock.d.ts +65 -0
  23. package/dist-types/BedrockClient.d.ts +11 -2
  24. package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
  25. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +43 -3
  27. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
  28. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
  29. package/dist-types/commands/GetCustomModelCommand.d.ts +42 -2
  30. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  31. package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
  32. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
  33. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +43 -3
  34. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  35. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  36. package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
  37. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -2
  39. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
  40. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
  43. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  44. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
  45. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
  47. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
  48. package/dist-types/commands/index.d.ts +9 -0
  49. package/dist-types/models/models_0.d.ts +1163 -139
  50. package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +2 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  54. package/dist-types/ts3.4/Bedrock.d.ts +161 -0
  55. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  56. package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +363 -44
  67. package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  71. package/package.json +1 -1
@@ -5,6 +5,7 @@ import { CreateEvaluationJobCommand, } from "./commands/CreateEvaluationJobComma
5
5
  import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
6
6
  import { CreateGuardrailVersionCommand, } from "./commands/CreateGuardrailVersionCommand";
7
7
  import { CreateInferenceProfileCommand, } from "./commands/CreateInferenceProfileCommand";
8
+ import { CreateMarketplaceModelEndpointCommand, } from "./commands/CreateMarketplaceModelEndpointCommand";
8
9
  import { CreateModelCopyJobCommand, } from "./commands/CreateModelCopyJobCommand";
9
10
  import { CreateModelCustomizationJobCommand, } from "./commands/CreateModelCustomizationJobCommand";
10
11
  import { CreateModelImportJobCommand, } from "./commands/CreateModelImportJobCommand";
@@ -14,19 +15,23 @@ import { DeleteCustomModelCommand, } from "./commands/DeleteCustomModelCommand";
14
15
  import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
15
16
  import { DeleteImportedModelCommand, } from "./commands/DeleteImportedModelCommand";
16
17
  import { DeleteInferenceProfileCommand, } from "./commands/DeleteInferenceProfileCommand";
18
+ import { DeleteMarketplaceModelEndpointCommand, } from "./commands/DeleteMarketplaceModelEndpointCommand";
17
19
  import { DeleteModelInvocationLoggingConfigurationCommand, } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
18
20
  import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";
21
+ import { DeregisterMarketplaceModelEndpointCommand, } from "./commands/DeregisterMarketplaceModelEndpointCommand";
19
22
  import { GetCustomModelCommand, } from "./commands/GetCustomModelCommand";
20
23
  import { GetEvaluationJobCommand, } from "./commands/GetEvaluationJobCommand";
21
24
  import { GetFoundationModelCommand, } from "./commands/GetFoundationModelCommand";
22
25
  import { GetGuardrailCommand, } from "./commands/GetGuardrailCommand";
23
26
  import { GetImportedModelCommand, } from "./commands/GetImportedModelCommand";
24
27
  import { GetInferenceProfileCommand, } from "./commands/GetInferenceProfileCommand";
28
+ import { GetMarketplaceModelEndpointCommand, } from "./commands/GetMarketplaceModelEndpointCommand";
25
29
  import { GetModelCopyJobCommand, } from "./commands/GetModelCopyJobCommand";
26
30
  import { GetModelCustomizationJobCommand, } from "./commands/GetModelCustomizationJobCommand";
27
31
  import { GetModelImportJobCommand, } from "./commands/GetModelImportJobCommand";
28
32
  import { GetModelInvocationJobCommand, } from "./commands/GetModelInvocationJobCommand";
29
33
  import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetModelInvocationLoggingConfigurationCommand";
34
+ import { GetPromptRouterCommand, } from "./commands/GetPromptRouterCommand";
30
35
  import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
31
36
  import { ListCustomModelsCommand, } from "./commands/ListCustomModelsCommand";
32
37
  import { ListEvaluationJobsCommand, } from "./commands/ListEvaluationJobsCommand";
@@ -34,19 +39,23 @@ import { ListFoundationModelsCommand, } from "./commands/ListFoundationModelsCom
34
39
  import { ListGuardrailsCommand, } from "./commands/ListGuardrailsCommand";
35
40
  import { ListImportedModelsCommand, } from "./commands/ListImportedModelsCommand";
36
41
  import { ListInferenceProfilesCommand, } from "./commands/ListInferenceProfilesCommand";
42
+ import { ListMarketplaceModelEndpointsCommand, } from "./commands/ListMarketplaceModelEndpointsCommand";
37
43
  import { ListModelCopyJobsCommand, } from "./commands/ListModelCopyJobsCommand";
38
44
  import { ListModelCustomizationJobsCommand, } from "./commands/ListModelCustomizationJobsCommand";
39
45
  import { ListModelImportJobsCommand, } from "./commands/ListModelImportJobsCommand";
40
46
  import { ListModelInvocationJobsCommand, } from "./commands/ListModelInvocationJobsCommand";
47
+ import { ListPromptRoutersCommand, } from "./commands/ListPromptRoutersCommand";
41
48
  import { ListProvisionedModelThroughputsCommand, } from "./commands/ListProvisionedModelThroughputsCommand";
42
49
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
43
50
  import { PutModelInvocationLoggingConfigurationCommand, } from "./commands/PutModelInvocationLoggingConfigurationCommand";
51
+ import { RegisterMarketplaceModelEndpointCommand, } from "./commands/RegisterMarketplaceModelEndpointCommand";
44
52
  import { StopEvaluationJobCommand, } from "./commands/StopEvaluationJobCommand";
45
53
  import { StopModelCustomizationJobCommand, } from "./commands/StopModelCustomizationJobCommand";
46
54
  import { StopModelInvocationJobCommand, } from "./commands/StopModelInvocationJobCommand";
47
55
  import { TagResourceCommand } from "./commands/TagResourceCommand";
48
56
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
49
57
  import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
58
+ import { UpdateMarketplaceModelEndpointCommand, } from "./commands/UpdateMarketplaceModelEndpointCommand";
50
59
  import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvisionedModelThroughputCommand";
51
60
  const commands = {
52
61
  BatchDeleteEvaluationJobCommand,
@@ -54,6 +63,7 @@ const commands = {
54
63
  CreateGuardrailCommand,
55
64
  CreateGuardrailVersionCommand,
56
65
  CreateInferenceProfileCommand,
66
+ CreateMarketplaceModelEndpointCommand,
57
67
  CreateModelCopyJobCommand,
58
68
  CreateModelCustomizationJobCommand,
59
69
  CreateModelImportJobCommand,
@@ -63,19 +73,23 @@ const commands = {
63
73
  DeleteGuardrailCommand,
64
74
  DeleteImportedModelCommand,
65
75
  DeleteInferenceProfileCommand,
76
+ DeleteMarketplaceModelEndpointCommand,
66
77
  DeleteModelInvocationLoggingConfigurationCommand,
67
78
  DeleteProvisionedModelThroughputCommand,
79
+ DeregisterMarketplaceModelEndpointCommand,
68
80
  GetCustomModelCommand,
69
81
  GetEvaluationJobCommand,
70
82
  GetFoundationModelCommand,
71
83
  GetGuardrailCommand,
72
84
  GetImportedModelCommand,
73
85
  GetInferenceProfileCommand,
86
+ GetMarketplaceModelEndpointCommand,
74
87
  GetModelCopyJobCommand,
75
88
  GetModelCustomizationJobCommand,
76
89
  GetModelImportJobCommand,
77
90
  GetModelInvocationJobCommand,
78
91
  GetModelInvocationLoggingConfigurationCommand,
92
+ GetPromptRouterCommand,
79
93
  GetProvisionedModelThroughputCommand,
80
94
  ListCustomModelsCommand,
81
95
  ListEvaluationJobsCommand,
@@ -83,19 +97,23 @@ const commands = {
83
97
  ListGuardrailsCommand,
84
98
  ListImportedModelsCommand,
85
99
  ListInferenceProfilesCommand,
100
+ ListMarketplaceModelEndpointsCommand,
86
101
  ListModelCopyJobsCommand,
87
102
  ListModelCustomizationJobsCommand,
88
103
  ListModelImportJobsCommand,
89
104
  ListModelInvocationJobsCommand,
105
+ ListPromptRoutersCommand,
90
106
  ListProvisionedModelThroughputsCommand,
91
107
  ListTagsForResourceCommand,
92
108
  PutModelInvocationLoggingConfigurationCommand,
109
+ RegisterMarketplaceModelEndpointCommand,
93
110
  StopEvaluationJobCommand,
94
111
  StopModelCustomizationJobCommand,
95
112
  StopModelInvocationJobCommand,
96
113
  TagResourceCommand,
97
114
  UntagResourceCommand,
98
115
  UpdateGuardrailCommand,
116
+ UpdateMarketplaceModelEndpointCommand,
99
117
  UpdateProvisionedModelThroughputCommand,
100
118
  };
101
119
  export class Bedrock extends BedrockClient {
@@ -0,0 +1,22 @@
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_CreateMarketplaceModelEndpointCommand, se_CreateMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "CreateMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "CreateMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateMarketplaceModelEndpointCommand)
20
+ .de(de_CreateMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateModelCustomizationJobRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateModelCustomizationJobCommand, se_CreateModelCustomizationJobCommand, } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class CreateModelCustomizationJobCommand extends $Command
@@ -15,7 +16,7 @@ export class CreateModelCustomizationJobCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockControlPlaneService", "CreateModelCustomizationJob", {})
17
18
  .n("BedrockClient", "CreateModelCustomizationJobCommand")
18
- .f(void 0, void 0)
19
+ .f(CreateModelCustomizationJobRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_CreateModelCustomizationJobCommand)
20
21
  .de(de_CreateModelCustomizationJobCommand)
21
22
  .build() {
@@ -0,0 +1,22 @@
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_DeleteMarketplaceModelEndpointCommand, se_DeleteMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "DeleteMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "DeleteMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteMarketplaceModelEndpointCommand)
20
+ .de(de_DeleteMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
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_DeregisterMarketplaceModelEndpointCommand, se_DeregisterMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeregisterMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "DeregisterMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "DeregisterMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeregisterMarketplaceModelEndpointCommand)
20
+ .de(de_DeregisterMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetCustomModelResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetCustomModelCommand, se_GetCustomModelCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetCustomModelCommand extends $Command
@@ -15,7 +16,7 @@ export class GetCustomModelCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockControlPlaneService", "GetCustomModel", {})
17
18
  .n("BedrockClient", "GetCustomModelCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, GetCustomModelResponseFilterSensitiveLog)
19
20
  .ser(se_GetCustomModelCommand)
20
21
  .de(de_GetCustomModelCommand)
21
22
  .build() {
@@ -0,0 +1,22 @@
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_GetMarketplaceModelEndpointCommand, se_GetMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "GetMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "GetMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetMarketplaceModelEndpointCommand)
20
+ .de(de_GetMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetModelCustomizationJobResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetModelCustomizationJobCommand, se_GetModelCustomizationJobCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetModelCustomizationJobCommand extends $Command
@@ -15,7 +16,7 @@ export class GetModelCustomizationJobCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockControlPlaneService", "GetModelCustomizationJob", {})
17
18
  .n("BedrockClient", "GetModelCustomizationJobCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, GetModelCustomizationJobResponseFilterSensitiveLog)
19
20
  .ser(se_GetModelCustomizationJobCommand)
20
21
  .de(de_GetModelCustomizationJobCommand)
21
22
  .build() {
@@ -0,0 +1,23 @@
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 { GetPromptRouterResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetPromptRouterCommand, se_GetPromptRouterCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetPromptRouterCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("AmazonBedrockControlPlaneService", "GetPromptRouter", {})
18
+ .n("BedrockClient", "GetPromptRouterCommand")
19
+ .f(void 0, GetPromptRouterResponseFilterSensitiveLog)
20
+ .ser(se_GetPromptRouterCommand)
21
+ .de(de_GetPromptRouterCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
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_ListMarketplaceModelEndpointsCommand, se_ListMarketplaceModelEndpointsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMarketplaceModelEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "ListMarketplaceModelEndpoints", {})
17
+ .n("BedrockClient", "ListMarketplaceModelEndpointsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMarketplaceModelEndpointsCommand)
20
+ .de(de_ListMarketplaceModelEndpointsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
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 { ListPromptRoutersResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListPromptRoutersCommand, se_ListPromptRoutersCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListPromptRoutersCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("AmazonBedrockControlPlaneService", "ListPromptRouters", {})
18
+ .n("BedrockClient", "ListPromptRoutersCommand")
19
+ .f(void 0, ListPromptRoutersResponseFilterSensitiveLog)
20
+ .ser(se_ListPromptRoutersCommand)
21
+ .de(de_ListPromptRoutersCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
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_RegisterMarketplaceModelEndpointCommand, se_RegisterMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class RegisterMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "RegisterMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "RegisterMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_RegisterMarketplaceModelEndpointCommand)
20
+ .de(de_RegisterMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
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_UpdateMarketplaceModelEndpointCommand, se_UpdateMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateMarketplaceModelEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonBedrockControlPlaneService", "UpdateMarketplaceModelEndpoint", {})
17
+ .n("BedrockClient", "UpdateMarketplaceModelEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateMarketplaceModelEndpointCommand)
20
+ .de(de_UpdateMarketplaceModelEndpointCommand)
21
+ .build() {
22
+ }
@@ -3,6 +3,7 @@ export * from "./CreateEvaluationJobCommand";
3
3
  export * from "./CreateGuardrailCommand";
4
4
  export * from "./CreateGuardrailVersionCommand";
5
5
  export * from "./CreateInferenceProfileCommand";
6
+ export * from "./CreateMarketplaceModelEndpointCommand";
6
7
  export * from "./CreateModelCopyJobCommand";
7
8
  export * from "./CreateModelCustomizationJobCommand";
8
9
  export * from "./CreateModelImportJobCommand";
@@ -12,19 +13,23 @@ export * from "./DeleteCustomModelCommand";
12
13
  export * from "./DeleteGuardrailCommand";
13
14
  export * from "./DeleteImportedModelCommand";
14
15
  export * from "./DeleteInferenceProfileCommand";
16
+ export * from "./DeleteMarketplaceModelEndpointCommand";
15
17
  export * from "./DeleteModelInvocationLoggingConfigurationCommand";
16
18
  export * from "./DeleteProvisionedModelThroughputCommand";
19
+ export * from "./DeregisterMarketplaceModelEndpointCommand";
17
20
  export * from "./GetCustomModelCommand";
18
21
  export * from "./GetEvaluationJobCommand";
19
22
  export * from "./GetFoundationModelCommand";
20
23
  export * from "./GetGuardrailCommand";
21
24
  export * from "./GetImportedModelCommand";
22
25
  export * from "./GetInferenceProfileCommand";
26
+ export * from "./GetMarketplaceModelEndpointCommand";
23
27
  export * from "./GetModelCopyJobCommand";
24
28
  export * from "./GetModelCustomizationJobCommand";
25
29
  export * from "./GetModelImportJobCommand";
26
30
  export * from "./GetModelInvocationJobCommand";
27
31
  export * from "./GetModelInvocationLoggingConfigurationCommand";
32
+ export * from "./GetPromptRouterCommand";
28
33
  export * from "./GetProvisionedModelThroughputCommand";
29
34
  export * from "./ListCustomModelsCommand";
30
35
  export * from "./ListEvaluationJobsCommand";
@@ -32,17 +37,21 @@ export * from "./ListFoundationModelsCommand";
32
37
  export * from "./ListGuardrailsCommand";
33
38
  export * from "./ListImportedModelsCommand";
34
39
  export * from "./ListInferenceProfilesCommand";
40
+ export * from "./ListMarketplaceModelEndpointsCommand";
35
41
  export * from "./ListModelCopyJobsCommand";
36
42
  export * from "./ListModelCustomizationJobsCommand";
37
43
  export * from "./ListModelImportJobsCommand";
38
44
  export * from "./ListModelInvocationJobsCommand";
45
+ export * from "./ListPromptRoutersCommand";
39
46
  export * from "./ListProvisionedModelThroughputsCommand";
40
47
  export * from "./ListTagsForResourceCommand";
41
48
  export * from "./PutModelInvocationLoggingConfigurationCommand";
49
+ export * from "./RegisterMarketplaceModelEndpointCommand";
42
50
  export * from "./StopEvaluationJobCommand";
43
51
  export * from "./StopModelCustomizationJobCommand";
44
52
  export * from "./StopModelInvocationJobCommand";
45
53
  export * from "./TagResourceCommand";
46
54
  export * from "./UntagResourceCommand";
47
55
  export * from "./UpdateGuardrailCommand";
56
+ export * from "./UpdateMarketplaceModelEndpointCommand";
48
57
  export * from "./UpdateProvisionedModelThroughputCommand";