@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 { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } fro
5
5
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
6
6
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
7
7
  import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand";
8
+ import { CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput } from "./commands/CreateMarketplaceModelEndpointCommand";
8
9
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
9
10
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
10
11
  import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "./commands/CreateModelImportJobCommand";
@@ -14,19 +15,23 @@ import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from ".
14
15
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
15
16
  import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
16
17
  import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand";
18
+ import { DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput } from "./commands/DeleteMarketplaceModelEndpointCommand";
17
19
  import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
18
20
  import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
21
+ import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
19
22
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
20
23
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
21
24
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
22
25
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
23
26
  import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "./commands/GetImportedModelCommand";
24
27
  import { GetInferenceProfileCommandInput, GetInferenceProfileCommandOutput } from "./commands/GetInferenceProfileCommand";
28
+ import { GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput } from "./commands/GetMarketplaceModelEndpointCommand";
25
29
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
26
30
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
27
31
  import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand";
28
32
  import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
29
33
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
34
+ import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand";
30
35
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
31
36
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
32
37
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
@@ -34,19 +39,23 @@ import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } f
34
39
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
35
40
  import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand";
36
41
  import { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "./commands/ListInferenceProfilesCommand";
42
+ import { ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput } from "./commands/ListMarketplaceModelEndpointsCommand";
37
43
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
38
44
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
39
45
  import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand";
40
46
  import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
47
+ import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "./commands/ListPromptRoutersCommand";
41
48
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
42
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
43
50
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand";
51
+ import { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand";
44
52
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
45
53
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
46
54
  import { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
47
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
48
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
49
57
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
58
+ import { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
50
59
  import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
51
60
  export interface Bedrock {
52
61
  /**
@@ -79,6 +88,12 @@ export interface Bedrock {
79
88
  createInferenceProfile(args: CreateInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateInferenceProfileCommandOutput>;
80
89
  createInferenceProfile(args: CreateInferenceProfileCommandInput, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
81
90
  createInferenceProfile(args: CreateInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
91
+ /**
92
+ * @see {@link CreateMarketplaceModelEndpointCommand}
93
+ */
94
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateMarketplaceModelEndpointCommandOutput>;
95
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, cb: (err: any, data?: CreateMarketplaceModelEndpointCommandOutput) => void): void;
96
+ createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMarketplaceModelEndpointCommandOutput) => void): void;
82
97
  /**
83
98
  * @see {@link CreateModelCopyJobCommand}
84
99
  */
@@ -133,6 +148,12 @@ export interface Bedrock {
133
148
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInferenceProfileCommandOutput>;
134
149
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
135
150
  deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
151
+ /**
152
+ * @see {@link DeleteMarketplaceModelEndpointCommand}
153
+ */
154
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMarketplaceModelEndpointCommandOutput>;
155
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, cb: (err: any, data?: DeleteMarketplaceModelEndpointCommandOutput) => void): void;
156
+ deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMarketplaceModelEndpointCommandOutput) => void): void;
136
157
  /**
137
158
  * @see {@link DeleteModelInvocationLoggingConfigurationCommand}
138
159
  */
@@ -146,6 +167,12 @@ export interface Bedrock {
146
167
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedModelThroughputCommandOutput>;
147
168
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void): void;
148
169
  deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link DeregisterMarketplaceModelEndpointCommand}
172
+ */
173
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterMarketplaceModelEndpointCommandOutput>;
174
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, cb: (err: any, data?: DeregisterMarketplaceModelEndpointCommandOutput) => void): void;
175
+ deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterMarketplaceModelEndpointCommandOutput) => void): void;
149
176
  /**
150
177
  * @see {@link GetCustomModelCommand}
151
178
  */
@@ -182,6 +209,12 @@ export interface Bedrock {
182
209
  getInferenceProfile(args: GetInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetInferenceProfileCommandOutput>;
183
210
  getInferenceProfile(args: GetInferenceProfileCommandInput, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
184
211
  getInferenceProfile(args: GetInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
212
+ /**
213
+ * @see {@link GetMarketplaceModelEndpointCommand}
214
+ */
215
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetMarketplaceModelEndpointCommandOutput>;
216
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, cb: (err: any, data?: GetMarketplaceModelEndpointCommandOutput) => void): void;
217
+ getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMarketplaceModelEndpointCommandOutput) => void): void;
185
218
  /**
186
219
  * @see {@link GetModelCopyJobCommand}
187
220
  */
@@ -213,6 +246,12 @@ export interface Bedrock {
213
246
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
214
247
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, cb: (err: any, data?: GetModelInvocationLoggingConfigurationCommandOutput) => void): void;
215
248
  getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelInvocationLoggingConfigurationCommandOutput) => void): void;
249
+ /**
250
+ * @see {@link GetPromptRouterCommand}
251
+ */
252
+ getPromptRouter(args: GetPromptRouterCommandInput, options?: __HttpHandlerOptions): Promise<GetPromptRouterCommandOutput>;
253
+ getPromptRouter(args: GetPromptRouterCommandInput, cb: (err: any, data?: GetPromptRouterCommandOutput) => void): void;
254
+ getPromptRouter(args: GetPromptRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPromptRouterCommandOutput) => void): void;
216
255
  /**
217
256
  * @see {@link GetProvisionedModelThroughputCommand}
218
257
  */
@@ -261,6 +300,13 @@ export interface Bedrock {
261
300
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListInferenceProfilesCommandOutput>;
262
301
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
263
302
  listInferenceProfiles(args: ListInferenceProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
303
+ /**
304
+ * @see {@link ListMarketplaceModelEndpointsCommand}
305
+ */
306
+ listMarketplaceModelEndpoints(): Promise<ListMarketplaceModelEndpointsCommandOutput>;
307
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListMarketplaceModelEndpointsCommandOutput>;
308
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, cb: (err: any, data?: ListMarketplaceModelEndpointsCommandOutput) => void): void;
309
+ listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMarketplaceModelEndpointsCommandOutput) => void): void;
264
310
  /**
265
311
  * @see {@link ListModelCopyJobsCommand}
266
312
  */
@@ -289,6 +335,13 @@ export interface Bedrock {
289
335
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelInvocationJobsCommandOutput>;
290
336
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
291
337
  listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void): void;
338
+ /**
339
+ * @see {@link ListPromptRoutersCommand}
340
+ */
341
+ listPromptRouters(): Promise<ListPromptRoutersCommandOutput>;
342
+ listPromptRouters(args: ListPromptRoutersCommandInput, options?: __HttpHandlerOptions): Promise<ListPromptRoutersCommandOutput>;
343
+ listPromptRouters(args: ListPromptRoutersCommandInput, cb: (err: any, data?: ListPromptRoutersCommandOutput) => void): void;
344
+ listPromptRouters(args: ListPromptRoutersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPromptRoutersCommandOutput) => void): void;
292
345
  /**
293
346
  * @see {@link ListProvisionedModelThroughputsCommand}
294
347
  */
@@ -308,6 +361,12 @@ export interface Bedrock {
308
361
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
309
362
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, cb: (err: any, data?: PutModelInvocationLoggingConfigurationCommandOutput) => void): void;
310
363
  putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutModelInvocationLoggingConfigurationCommandOutput) => void): void;
364
+ /**
365
+ * @see {@link RegisterMarketplaceModelEndpointCommand}
366
+ */
367
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<RegisterMarketplaceModelEndpointCommandOutput>;
368
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, cb: (err: any, data?: RegisterMarketplaceModelEndpointCommandOutput) => void): void;
369
+ registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterMarketplaceModelEndpointCommandOutput) => void): void;
311
370
  /**
312
371
  * @see {@link StopEvaluationJobCommand}
313
372
  */
@@ -344,6 +403,12 @@ export interface Bedrock {
344
403
  updateGuardrail(args: UpdateGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGuardrailCommandOutput>;
345
404
  updateGuardrail(args: UpdateGuardrailCommandInput, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
346
405
  updateGuardrail(args: UpdateGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
406
+ /**
407
+ * @see {@link UpdateMarketplaceModelEndpointCommand}
408
+ */
409
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMarketplaceModelEndpointCommandOutput>;
410
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, cb: (err: any, data?: UpdateMarketplaceModelEndpointCommandOutput) => void): void;
411
+ updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMarketplaceModelEndpointCommandOutput) => void): void;
347
412
  /**
348
413
  * @see {@link UpdateProvisionedModelThroughputCommand}
349
414
  */
@@ -12,6 +12,7 @@ import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } fro
12
12
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
13
13
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
14
14
  import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand";
15
+ import { CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput } from "./commands/CreateMarketplaceModelEndpointCommand";
15
16
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
16
17
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
17
18
  import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "./commands/CreateModelImportJobCommand";
@@ -21,19 +22,23 @@ import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from ".
21
22
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
22
23
  import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
23
24
  import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand";
25
+ import { DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput } from "./commands/DeleteMarketplaceModelEndpointCommand";
24
26
  import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
25
27
  import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
28
+ import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
26
29
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
27
30
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
28
31
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
29
32
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
30
33
  import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "./commands/GetImportedModelCommand";
31
34
  import { GetInferenceProfileCommandInput, GetInferenceProfileCommandOutput } from "./commands/GetInferenceProfileCommand";
35
+ import { GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput } from "./commands/GetMarketplaceModelEndpointCommand";
32
36
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
33
37
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
34
38
  import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand";
35
39
  import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
36
40
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
41
+ import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand";
37
42
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
38
43
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
39
44
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
@@ -41,19 +46,23 @@ import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } f
41
46
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
42
47
  import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand";
43
48
  import { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "./commands/ListInferenceProfilesCommand";
49
+ import { ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput } from "./commands/ListMarketplaceModelEndpointsCommand";
44
50
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
45
51
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
46
52
  import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand";
47
53
  import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
54
+ import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "./commands/ListPromptRoutersCommand";
48
55
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
49
56
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
50
57
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand";
58
+ import { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand";
51
59
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
52
60
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
53
61
  import { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
54
62
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
55
63
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
56
64
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
65
+ import { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
57
66
  import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
58
67
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
59
68
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -61,11 +70,11 @@ export { __Client };
61
70
  /**
62
71
  * @public
63
72
  */
64
- export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
73
+ export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | DeregisterMarketplaceModelEndpointCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | RegisterMarketplaceModelEndpointCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
65
74
  /**
66
75
  * @public
67
76
  */
68
- export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
77
+ export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
69
78
  /**
70
79
  * @public
71
80
  */
@@ -57,7 +57,7 @@ declare const CreateGuardrailCommand_base: {
57
57
  * </ul>
58
58
  * <p>In addition to the above policies, you can also configure the messages to be returned to
59
59
  * the user if a user input or model response is in violation of the policies defined in the guardrail.</p>
60
- * <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Guardrails for Amazon Bedrock</a> in
60
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a> in
61
61
  * the <i>Amazon Bedrock User Guide</i>.</p>
62
62
  * @example
63
63
  * Use a bare-bones client and the command you need to make an API call.
@@ -86,6 +86,12 @@ declare const CreateGuardrailCommand_base: {
86
86
  * type: "SEXUAL" || "VIOLENCE" || "HATE" || "INSULTS" || "MISCONDUCT" || "PROMPT_ATTACK", // required
87
87
  * inputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
88
88
  * outputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
89
+ * inputModalities: [ // GuardrailModalities
90
+ * "TEXT" || "IMAGE",
91
+ * ],
92
+ * outputModalities: [
93
+ * "TEXT" || "IMAGE",
94
+ * ],
89
95
  * },
90
96
  * ],
91
97
  * },
@@ -0,0 +1,143 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { CreateMarketplaceModelEndpointRequest, CreateMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface CreateMarketplaceModelEndpointCommandInput extends CreateMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface CreateMarketplaceModelEndpointCommandOutput extends CreateMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMarketplaceModelEndpointCommand_base: {
25
+ new (input: CreateMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by
31
+ * Amazon SageMaker.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockClient, CreateMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
36
+ * // const { BedrockClient, CreateMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
37
+ * const client = new BedrockClient(config);
38
+ * const input = { // CreateMarketplaceModelEndpointRequest
39
+ * modelSourceIdentifier: "STRING_VALUE", // required
40
+ * endpointConfig: { // EndpointConfig Union: only one key present
41
+ * sageMaker: { // SageMakerEndpoint
42
+ * initialInstanceCount: Number("int"), // required
43
+ * instanceType: "STRING_VALUE", // required
44
+ * executionRole: "STRING_VALUE", // required
45
+ * kmsEncryptionKey: "STRING_VALUE",
46
+ * vpc: { // VpcConfig
47
+ * subnetIds: [ // SubnetIds // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * securityGroupIds: [ // SecurityGroupIds // required
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * },
54
+ * },
55
+ * },
56
+ * acceptEula: true || false,
57
+ * endpointName: "STRING_VALUE", // required
58
+ * clientRequestToken: "STRING_VALUE",
59
+ * tags: [ // TagList
60
+ * { // Tag
61
+ * key: "STRING_VALUE", // required
62
+ * value: "STRING_VALUE", // required
63
+ * },
64
+ * ],
65
+ * };
66
+ * const command = new CreateMarketplaceModelEndpointCommand(input);
67
+ * const response = await client.send(command);
68
+ * // { // CreateMarketplaceModelEndpointResponse
69
+ * // marketplaceModelEndpoint: { // MarketplaceModelEndpoint
70
+ * // endpointArn: "STRING_VALUE", // required
71
+ * // modelSourceIdentifier: "STRING_VALUE", // required
72
+ * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT",
73
+ * // statusMessage: "STRING_VALUE",
74
+ * // createdAt: new Date("TIMESTAMP"), // required
75
+ * // updatedAt: new Date("TIMESTAMP"), // required
76
+ * // endpointConfig: { // EndpointConfig Union: only one key present
77
+ * // sageMaker: { // SageMakerEndpoint
78
+ * // initialInstanceCount: Number("int"), // required
79
+ * // instanceType: "STRING_VALUE", // required
80
+ * // executionRole: "STRING_VALUE", // required
81
+ * // kmsEncryptionKey: "STRING_VALUE",
82
+ * // vpc: { // VpcConfig
83
+ * // subnetIds: [ // SubnetIds // required
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // securityGroupIds: [ // SecurityGroupIds // required
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // },
90
+ * // },
91
+ * // },
92
+ * // endpointStatus: "STRING_VALUE", // required
93
+ * // endpointStatusMessage: "STRING_VALUE",
94
+ * // },
95
+ * // };
96
+ *
97
+ * ```
98
+ *
99
+ * @param CreateMarketplaceModelEndpointCommandInput - {@link CreateMarketplaceModelEndpointCommandInput}
100
+ * @returns {@link CreateMarketplaceModelEndpointCommandOutput}
101
+ * @see {@link CreateMarketplaceModelEndpointCommandInput} for command's `input` shape.
102
+ * @see {@link CreateMarketplaceModelEndpointCommandOutput} for command's `response` shape.
103
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
104
+ *
105
+ * @throws {@link AccessDeniedException} (client fault)
106
+ * <p>The request is denied because of missing access permissions.</p>
107
+ *
108
+ * @throws {@link ConflictException} (client fault)
109
+ * <p>Error occurred because of a conflict while performing an operation.</p>
110
+ *
111
+ * @throws {@link InternalServerException} (server fault)
112
+ * <p>An internal server error occurred. Retry your request.</p>
113
+ *
114
+ * @throws {@link ResourceNotFoundException} (client fault)
115
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
116
+ *
117
+ * @throws {@link ServiceQuotaExceededException} (client fault)
118
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
119
+ *
120
+ * @throws {@link ThrottlingException} (client fault)
121
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
125
+ *
126
+ * @throws {@link BedrockServiceException}
127
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
128
+ *
129
+ * @public
130
+ */
131
+ export declare class CreateMarketplaceModelEndpointCommand extends CreateMarketplaceModelEndpointCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: CreateMarketplaceModelEndpointRequest;
136
+ output: CreateMarketplaceModelEndpointResponse;
137
+ };
138
+ sdk: {
139
+ input: CreateMarketplaceModelEndpointCommandInput;
140
+ output: CreateMarketplaceModelEndpointCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -48,7 +48,7 @@ declare const CreateModelCustomizationJobCommand_base: {
48
48
  * roleArn: "STRING_VALUE", // required
49
49
  * clientRequestToken: "STRING_VALUE",
50
50
  * baseModelIdentifier: "STRING_VALUE", // required
51
- * customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
51
+ * customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
52
52
  * customModelKmsKeyId: "STRING_VALUE",
53
53
  * jobTags: [ // TagList
54
54
  * { // Tag
@@ -63,7 +63,39 @@ declare const CreateModelCustomizationJobCommand_base: {
63
63
  * },
64
64
  * ],
65
65
  * trainingDataConfig: { // TrainingDataConfig
66
- * s3Uri: "STRING_VALUE", // required
66
+ * s3Uri: "STRING_VALUE",
67
+ * invocationLogsConfig: { // InvocationLogsConfig
68
+ * usePromptResponse: true || false,
69
+ * invocationLogSource: { // InvocationLogSource Union: only one key present
70
+ * s3Uri: "STRING_VALUE",
71
+ * },
72
+ * requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
73
+ * equals: { // RequestMetadataMap
74
+ * "<keys>": "STRING_VALUE",
75
+ * },
76
+ * notEquals: {
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * andAll: [ // RequestMetadataFiltersList
80
+ * { // RequestMetadataBaseFilters
81
+ * equals: {
82
+ * "<keys>": "STRING_VALUE",
83
+ * },
84
+ * notEquals: {
85
+ * "<keys>": "STRING_VALUE",
86
+ * },
87
+ * },
88
+ * ],
89
+ * orAll: [
90
+ * {
91
+ * equals: {
92
+ * "<keys>": "STRING_VALUE",
93
+ * },
94
+ * notEquals: "<RequestMetadataMap>",
95
+ * },
96
+ * ],
97
+ * },
98
+ * },
67
99
  * },
68
100
  * validationDataConfig: { // ValidationDataConfig
69
101
  * validators: [ // Validators // required
@@ -75,7 +107,7 @@ declare const CreateModelCustomizationJobCommand_base: {
75
107
  * outputDataConfig: { // OutputDataConfig
76
108
  * s3Uri: "STRING_VALUE", // required
77
109
  * },
78
- * hyperParameters: { // ModelCustomizationHyperParameters // required
110
+ * hyperParameters: { // ModelCustomizationHyperParameters
79
111
  * "<keys>": "STRING_VALUE",
80
112
  * },
81
113
  * vpcConfig: { // VpcConfig
@@ -86,6 +118,14 @@ declare const CreateModelCustomizationJobCommand_base: {
86
118
  * "STRING_VALUE",
87
119
  * ],
88
120
  * },
121
+ * customizationConfig: { // CustomizationConfig Union: only one key present
122
+ * distillationConfig: { // DistillationConfig
123
+ * teacherModelConfig: { // TeacherModelConfig
124
+ * teacherModelIdentifier: "STRING_VALUE", // required
125
+ * maxResponseLengthForInference: Number("int"),
126
+ * },
127
+ * },
128
+ * },
89
129
  * };
90
130
  * const command = new CreateModelCustomizationJobCommand(input);
91
131
  * const response = await client.send(command);
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { DeleteMarketplaceModelEndpointRequest, DeleteMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface DeleteMarketplaceModelEndpointCommandInput extends DeleteMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface DeleteMarketplaceModelEndpointCommandOutput extends DeleteMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteMarketplaceModelEndpointCommand_base: {
25
+ new (input: DeleteMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an endpoint for a model from Amazon Bedrock Marketplace.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, DeleteMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, DeleteMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // DeleteMarketplaceModelEndpointRequest
38
+ * endpointArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteMarketplaceModelEndpointCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteMarketplaceModelEndpointCommandInput - {@link DeleteMarketplaceModelEndpointCommandInput}
47
+ * @returns {@link DeleteMarketplaceModelEndpointCommandOutput}
48
+ * @see {@link DeleteMarketplaceModelEndpointCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteMarketplaceModelEndpointCommandOutput} for command's `response` shape.
50
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The request is denied because of missing access permissions.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An internal server error occurred. Retry your request.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
66
+ *
67
+ * @throws {@link BedrockServiceException}
68
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class DeleteMarketplaceModelEndpointCommand extends DeleteMarketplaceModelEndpointCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteMarketplaceModelEndpointRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteMarketplaceModelEndpointCommandInput;
81
+ output: DeleteMarketplaceModelEndpointCommandOutput;
82
+ };
83
+ };
84
+ }