@aws-sdk/client-bedrock 3.845.0 → 3.847.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 (48) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +253 -23
  3. package/dist-es/Bedrock.js +8 -0
  4. package/dist-es/commands/CreateCustomModelDeploymentCommand.js +22 -0
  5. package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +22 -0
  6. package/dist-es/commands/GetCustomModelDeploymentCommand.js +22 -0
  7. package/dist-es/commands/ListCustomModelDeploymentsCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +20 -19
  10. package/dist-es/models/models_1.js +4 -0
  11. package/dist-es/pagination/ListCustomModelDeploymentsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +136 -1
  14. package/dist-types/Bedrock.d.ts +29 -0
  15. package/dist-types/BedrockClient.d.ts +6 -2
  16. package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +102 -0
  17. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +88 -0
  19. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
  20. package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +94 -0
  21. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +1 -2
  22. package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +103 -0
  23. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -1
  24. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
  25. package/dist-types/commands/index.d.ts +4 -0
  26. package/dist-types/models/models_0.d.ts +269 -208
  27. package/dist-types/models/models_1.d.ts +169 -1
  28. package/dist-types/pagination/ListCustomModelDeploymentsPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  31. package/dist-types/ts3.4/Bedrock.d.ts +69 -0
  32. package/dist-types/ts3.4/BedrockClient.d.ts +24 -0
  33. package/dist-types/ts3.4/commands/CreateCustomModelDeploymentCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +75 -61
  44. package/dist-types/ts3.4/models/models_1.d.ts +46 -1
  45. package/dist-types/ts3.4/pagination/ListCustomModelDeploymentsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  48. package/package.json +6 -6
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "../commands/BatchDeleteEvaluationJobCommand";
4
4
  import { CreateCustomModelCommandInput, CreateCustomModelCommandOutput } from "../commands/CreateCustomModelCommand";
5
+ import { CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput } from "../commands/CreateCustomModelDeploymentCommand";
5
6
  import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "../commands/CreateEvaluationJobCommand";
6
7
  import { CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput } from "../commands/CreateFoundationModelAgreementCommand";
7
8
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../commands/CreateGuardrailCommand";
@@ -15,6 +16,7 @@ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOu
15
16
  import { CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput } from "../commands/CreatePromptRouterCommand";
16
17
  import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
17
18
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
19
+ import { DeleteCustomModelDeploymentCommandInput, DeleteCustomModelDeploymentCommandOutput } from "../commands/DeleteCustomModelDeploymentCommand";
18
20
  import { DeleteFoundationModelAgreementCommandInput, DeleteFoundationModelAgreementCommandOutput } from "../commands/DeleteFoundationModelAgreementCommand";
19
21
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "../commands/DeleteGuardrailCommand";
20
22
  import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "../commands/DeleteImportedModelCommand";
@@ -25,6 +27,7 @@ import { DeletePromptRouterCommandInput, DeletePromptRouterCommandOutput } from
25
27
  import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
26
28
  import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "../commands/DeregisterMarketplaceModelEndpointCommand";
27
29
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
30
+ import { GetCustomModelDeploymentCommandInput, GetCustomModelDeploymentCommandOutput } from "../commands/GetCustomModelDeploymentCommand";
28
31
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "../commands/GetEvaluationJobCommand";
29
32
  import { GetFoundationModelAvailabilityCommandInput, GetFoundationModelAvailabilityCommandOutput } from "../commands/GetFoundationModelAvailabilityCommand";
30
33
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
@@ -40,6 +43,7 @@ import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationL
40
43
  import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "../commands/GetPromptRouterCommand";
41
44
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
42
45
  import { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "../commands/GetUseCaseForModelAccessCommand";
46
+ import { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "../commands/ListCustomModelDeploymentsCommand";
43
47
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
44
48
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
45
49
  import { ListFoundationModelAgreementOffersCommandInput, ListFoundationModelAgreementOffersCommandOutput } from "../commands/ListFoundationModelAgreementOffersCommand";
@@ -74,6 +78,10 @@ export declare const se_BatchDeleteEvaluationJobCommand: (input: BatchDeleteEval
74
78
  * serializeAws_restJson1CreateCustomModelCommand
75
79
  */
76
80
  export declare const se_CreateCustomModelCommand: (input: CreateCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
+ /**
82
+ * serializeAws_restJson1CreateCustomModelDeploymentCommand
83
+ */
84
+ export declare const se_CreateCustomModelDeploymentCommand: (input: CreateCustomModelDeploymentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
85
  /**
78
86
  * serializeAws_restJson1CreateEvaluationJobCommand
79
87
  */
@@ -126,6 +134,10 @@ export declare const se_CreateProvisionedModelThroughputCommand: (input: CreateP
126
134
  * serializeAws_restJson1DeleteCustomModelCommand
127
135
  */
128
136
  export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
137
+ /**
138
+ * serializeAws_restJson1DeleteCustomModelDeploymentCommand
139
+ */
140
+ export declare const se_DeleteCustomModelDeploymentCommand: (input: DeleteCustomModelDeploymentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
141
  /**
130
142
  * serializeAws_restJson1DeleteFoundationModelAgreementCommand
131
143
  */
@@ -166,6 +178,10 @@ export declare const se_DeregisterMarketplaceModelEndpointCommand: (input: Dereg
166
178
  * serializeAws_restJson1GetCustomModelCommand
167
179
  */
168
180
  export declare const se_GetCustomModelCommand: (input: GetCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
181
+ /**
182
+ * serializeAws_restJson1GetCustomModelDeploymentCommand
183
+ */
184
+ export declare const se_GetCustomModelDeploymentCommand: (input: GetCustomModelDeploymentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
169
185
  /**
170
186
  * serializeAws_restJson1GetEvaluationJobCommand
171
187
  */
@@ -226,6 +242,10 @@ export declare const se_GetProvisionedModelThroughputCommand: (input: GetProvisi
226
242
  * serializeAws_restJson1GetUseCaseForModelAccessCommand
227
243
  */
228
244
  export declare const se_GetUseCaseForModelAccessCommand: (input: GetUseCaseForModelAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
245
+ /**
246
+ * serializeAws_restJson1ListCustomModelDeploymentsCommand
247
+ */
248
+ export declare const se_ListCustomModelDeploymentsCommand: (input: ListCustomModelDeploymentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
229
249
  /**
230
250
  * serializeAws_restJson1ListCustomModelsCommand
231
251
  */
@@ -338,6 +358,10 @@ export declare const de_BatchDeleteEvaluationJobCommand: (output: __HttpResponse
338
358
  * deserializeAws_restJson1CreateCustomModelCommand
339
359
  */
340
360
  export declare const de_CreateCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCustomModelCommandOutput>;
361
+ /**
362
+ * deserializeAws_restJson1CreateCustomModelDeploymentCommand
363
+ */
364
+ export declare const de_CreateCustomModelDeploymentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCustomModelDeploymentCommandOutput>;
341
365
  /**
342
366
  * deserializeAws_restJson1CreateEvaluationJobCommand
343
367
  */
@@ -390,6 +414,10 @@ export declare const de_CreateProvisionedModelThroughputCommand: (output: __Http
390
414
  * deserializeAws_restJson1DeleteCustomModelCommand
391
415
  */
392
416
  export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomModelCommandOutput>;
417
+ /**
418
+ * deserializeAws_restJson1DeleteCustomModelDeploymentCommand
419
+ */
420
+ export declare const de_DeleteCustomModelDeploymentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomModelDeploymentCommandOutput>;
393
421
  /**
394
422
  * deserializeAws_restJson1DeleteFoundationModelAgreementCommand
395
423
  */
@@ -430,6 +458,10 @@ export declare const de_DeregisterMarketplaceModelEndpointCommand: (output: __Ht
430
458
  * deserializeAws_restJson1GetCustomModelCommand
431
459
  */
432
460
  export declare const de_GetCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCustomModelCommandOutput>;
461
+ /**
462
+ * deserializeAws_restJson1GetCustomModelDeploymentCommand
463
+ */
464
+ export declare const de_GetCustomModelDeploymentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCustomModelDeploymentCommandOutput>;
433
465
  /**
434
466
  * deserializeAws_restJson1GetEvaluationJobCommand
435
467
  */
@@ -490,6 +522,10 @@ export declare const de_GetProvisionedModelThroughputCommand: (output: __HttpRes
490
522
  * deserializeAws_restJson1GetUseCaseForModelAccessCommand
491
523
  */
492
524
  export declare const de_GetUseCaseForModelAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUseCaseForModelAccessCommandOutput>;
525
+ /**
526
+ * deserializeAws_restJson1ListCustomModelDeploymentsCommand
527
+ */
528
+ export declare const de_ListCustomModelDeploymentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCustomModelDeploymentsCommandOutput>;
493
529
  /**
494
530
  * deserializeAws_restJson1ListCustomModelsCommand
495
531
  */
@@ -8,6 +8,10 @@ import {
8
8
  CreateCustomModelCommandInput,
9
9
  CreateCustomModelCommandOutput,
10
10
  } from "./commands/CreateCustomModelCommand";
11
+ import {
12
+ CreateCustomModelDeploymentCommandInput,
13
+ CreateCustomModelDeploymentCommandOutput,
14
+ } from "./commands/CreateCustomModelDeploymentCommand";
11
15
  import {
12
16
  CreateEvaluationJobCommandInput,
13
17
  CreateEvaluationJobCommandOutput,
@@ -60,6 +64,10 @@ import {
60
64
  DeleteCustomModelCommandInput,
61
65
  DeleteCustomModelCommandOutput,
62
66
  } from "./commands/DeleteCustomModelCommand";
67
+ import {
68
+ DeleteCustomModelDeploymentCommandInput,
69
+ DeleteCustomModelDeploymentCommandOutput,
70
+ } from "./commands/DeleteCustomModelDeploymentCommand";
63
71
  import {
64
72
  DeleteFoundationModelAgreementCommandInput,
65
73
  DeleteFoundationModelAgreementCommandOutput,
@@ -100,6 +108,10 @@ import {
100
108
  GetCustomModelCommandInput,
101
109
  GetCustomModelCommandOutput,
102
110
  } from "./commands/GetCustomModelCommand";
111
+ import {
112
+ GetCustomModelDeploymentCommandInput,
113
+ GetCustomModelDeploymentCommandOutput,
114
+ } from "./commands/GetCustomModelDeploymentCommand";
103
115
  import {
104
116
  GetEvaluationJobCommandInput,
105
117
  GetEvaluationJobCommandOutput,
@@ -160,6 +172,10 @@ import {
160
172
  GetUseCaseForModelAccessCommandInput,
161
173
  GetUseCaseForModelAccessCommandOutput,
162
174
  } from "./commands/GetUseCaseForModelAccessCommand";
175
+ import {
176
+ ListCustomModelDeploymentsCommandInput,
177
+ ListCustomModelDeploymentsCommandOutput,
178
+ } from "./commands/ListCustomModelDeploymentsCommand";
163
179
  import {
164
180
  ListCustomModelsCommandInput,
165
181
  ListCustomModelsCommandOutput,
@@ -291,6 +307,19 @@ export interface Bedrock {
291
307
  options: __HttpHandlerOptions,
292
308
  cb: (err: any, data?: CreateCustomModelCommandOutput) => void
293
309
  ): void;
310
+ createCustomModelDeployment(
311
+ args: CreateCustomModelDeploymentCommandInput,
312
+ options?: __HttpHandlerOptions
313
+ ): Promise<CreateCustomModelDeploymentCommandOutput>;
314
+ createCustomModelDeployment(
315
+ args: CreateCustomModelDeploymentCommandInput,
316
+ cb: (err: any, data?: CreateCustomModelDeploymentCommandOutput) => void
317
+ ): void;
318
+ createCustomModelDeployment(
319
+ args: CreateCustomModelDeploymentCommandInput,
320
+ options: __HttpHandlerOptions,
321
+ cb: (err: any, data?: CreateCustomModelDeploymentCommandOutput) => void
322
+ ): void;
294
323
  createEvaluationJob(
295
324
  args: CreateEvaluationJobCommandInput,
296
325
  options?: __HttpHandlerOptions
@@ -460,6 +489,19 @@ export interface Bedrock {
460
489
  options: __HttpHandlerOptions,
461
490
  cb: (err: any, data?: DeleteCustomModelCommandOutput) => void
462
491
  ): void;
492
+ deleteCustomModelDeployment(
493
+ args: DeleteCustomModelDeploymentCommandInput,
494
+ options?: __HttpHandlerOptions
495
+ ): Promise<DeleteCustomModelDeploymentCommandOutput>;
496
+ deleteCustomModelDeployment(
497
+ args: DeleteCustomModelDeploymentCommandInput,
498
+ cb: (err: any, data?: DeleteCustomModelDeploymentCommandOutput) => void
499
+ ): void;
500
+ deleteCustomModelDeployment(
501
+ args: DeleteCustomModelDeploymentCommandInput,
502
+ options: __HttpHandlerOptions,
503
+ cb: (err: any, data?: DeleteCustomModelDeploymentCommandOutput) => void
504
+ ): void;
463
505
  deleteFoundationModelAgreement(
464
506
  args: DeleteFoundationModelAgreementCommandInput,
465
507
  options?: __HttpHandlerOptions
@@ -603,6 +645,19 @@ export interface Bedrock {
603
645
  options: __HttpHandlerOptions,
604
646
  cb: (err: any, data?: GetCustomModelCommandOutput) => void
605
647
  ): void;
648
+ getCustomModelDeployment(
649
+ args: GetCustomModelDeploymentCommandInput,
650
+ options?: __HttpHandlerOptions
651
+ ): Promise<GetCustomModelDeploymentCommandOutput>;
652
+ getCustomModelDeployment(
653
+ args: GetCustomModelDeploymentCommandInput,
654
+ cb: (err: any, data?: GetCustomModelDeploymentCommandOutput) => void
655
+ ): void;
656
+ getCustomModelDeployment(
657
+ args: GetCustomModelDeploymentCommandInput,
658
+ options: __HttpHandlerOptions,
659
+ cb: (err: any, data?: GetCustomModelDeploymentCommandOutput) => void
660
+ ): void;
606
661
  getEvaluationJob(
607
662
  args: GetEvaluationJobCommandInput,
608
663
  options?: __HttpHandlerOptions
@@ -806,6 +861,20 @@ export interface Bedrock {
806
861
  options: __HttpHandlerOptions,
807
862
  cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void
808
863
  ): void;
864
+ listCustomModelDeployments(): Promise<ListCustomModelDeploymentsCommandOutput>;
865
+ listCustomModelDeployments(
866
+ args: ListCustomModelDeploymentsCommandInput,
867
+ options?: __HttpHandlerOptions
868
+ ): Promise<ListCustomModelDeploymentsCommandOutput>;
869
+ listCustomModelDeployments(
870
+ args: ListCustomModelDeploymentsCommandInput,
871
+ cb: (err: any, data?: ListCustomModelDeploymentsCommandOutput) => void
872
+ ): void;
873
+ listCustomModelDeployments(
874
+ args: ListCustomModelDeploymentsCommandInput,
875
+ options: __HttpHandlerOptions,
876
+ cb: (err: any, data?: ListCustomModelDeploymentsCommandOutput) => void
877
+ ): void;
809
878
  listCustomModels(): Promise<ListCustomModelsCommandOutput>;
810
879
  listCustomModels(
811
880
  args: ListCustomModelsCommandInput,
@@ -53,6 +53,10 @@ import {
53
53
  CreateCustomModelCommandInput,
54
54
  CreateCustomModelCommandOutput,
55
55
  } from "./commands/CreateCustomModelCommand";
56
+ import {
57
+ CreateCustomModelDeploymentCommandInput,
58
+ CreateCustomModelDeploymentCommandOutput,
59
+ } from "./commands/CreateCustomModelDeploymentCommand";
56
60
  import {
57
61
  CreateEvaluationJobCommandInput,
58
62
  CreateEvaluationJobCommandOutput,
@@ -105,6 +109,10 @@ import {
105
109
  DeleteCustomModelCommandInput,
106
110
  DeleteCustomModelCommandOutput,
107
111
  } from "./commands/DeleteCustomModelCommand";
112
+ import {
113
+ DeleteCustomModelDeploymentCommandInput,
114
+ DeleteCustomModelDeploymentCommandOutput,
115
+ } from "./commands/DeleteCustomModelDeploymentCommand";
108
116
  import {
109
117
  DeleteFoundationModelAgreementCommandInput,
110
118
  DeleteFoundationModelAgreementCommandOutput,
@@ -145,6 +153,10 @@ import {
145
153
  GetCustomModelCommandInput,
146
154
  GetCustomModelCommandOutput,
147
155
  } from "./commands/GetCustomModelCommand";
156
+ import {
157
+ GetCustomModelDeploymentCommandInput,
158
+ GetCustomModelDeploymentCommandOutput,
159
+ } from "./commands/GetCustomModelDeploymentCommand";
148
160
  import {
149
161
  GetEvaluationJobCommandInput,
150
162
  GetEvaluationJobCommandOutput,
@@ -205,6 +217,10 @@ import {
205
217
  GetUseCaseForModelAccessCommandInput,
206
218
  GetUseCaseForModelAccessCommandOutput,
207
219
  } from "./commands/GetUseCaseForModelAccessCommand";
220
+ import {
221
+ ListCustomModelDeploymentsCommandInput,
222
+ ListCustomModelDeploymentsCommandOutput,
223
+ } from "./commands/ListCustomModelDeploymentsCommand";
208
224
  import {
209
225
  ListCustomModelsCommandInput,
210
226
  ListCustomModelsCommandOutput,
@@ -319,6 +335,7 @@ export { __Client };
319
335
  export type ServiceInputTypes =
320
336
  | BatchDeleteEvaluationJobCommandInput
321
337
  | CreateCustomModelCommandInput
338
+ | CreateCustomModelDeploymentCommandInput
322
339
  | CreateEvaluationJobCommandInput
323
340
  | CreateFoundationModelAgreementCommandInput
324
341
  | CreateGuardrailCommandInput
@@ -332,6 +349,7 @@ export type ServiceInputTypes =
332
349
  | CreatePromptRouterCommandInput
333
350
  | CreateProvisionedModelThroughputCommandInput
334
351
  | DeleteCustomModelCommandInput
352
+ | DeleteCustomModelDeploymentCommandInput
335
353
  | DeleteFoundationModelAgreementCommandInput
336
354
  | DeleteGuardrailCommandInput
337
355
  | DeleteImportedModelCommandInput
@@ -342,6 +360,7 @@ export type ServiceInputTypes =
342
360
  | DeleteProvisionedModelThroughputCommandInput
343
361
  | DeregisterMarketplaceModelEndpointCommandInput
344
362
  | GetCustomModelCommandInput
363
+ | GetCustomModelDeploymentCommandInput
345
364
  | GetEvaluationJobCommandInput
346
365
  | GetFoundationModelAvailabilityCommandInput
347
366
  | GetFoundationModelCommandInput
@@ -357,6 +376,7 @@ export type ServiceInputTypes =
357
376
  | GetPromptRouterCommandInput
358
377
  | GetProvisionedModelThroughputCommandInput
359
378
  | GetUseCaseForModelAccessCommandInput
379
+ | ListCustomModelDeploymentsCommandInput
360
380
  | ListCustomModelsCommandInput
361
381
  | ListEvaluationJobsCommandInput
362
382
  | ListFoundationModelAgreementOffersCommandInput
@@ -386,6 +406,7 @@ export type ServiceInputTypes =
386
406
  export type ServiceOutputTypes =
387
407
  | BatchDeleteEvaluationJobCommandOutput
388
408
  | CreateCustomModelCommandOutput
409
+ | CreateCustomModelDeploymentCommandOutput
389
410
  | CreateEvaluationJobCommandOutput
390
411
  | CreateFoundationModelAgreementCommandOutput
391
412
  | CreateGuardrailCommandOutput
@@ -399,6 +420,7 @@ export type ServiceOutputTypes =
399
420
  | CreatePromptRouterCommandOutput
400
421
  | CreateProvisionedModelThroughputCommandOutput
401
422
  | DeleteCustomModelCommandOutput
423
+ | DeleteCustomModelDeploymentCommandOutput
402
424
  | DeleteFoundationModelAgreementCommandOutput
403
425
  | DeleteGuardrailCommandOutput
404
426
  | DeleteImportedModelCommandOutput
@@ -409,6 +431,7 @@ export type ServiceOutputTypes =
409
431
  | DeleteProvisionedModelThroughputCommandOutput
410
432
  | DeregisterMarketplaceModelEndpointCommandOutput
411
433
  | GetCustomModelCommandOutput
434
+ | GetCustomModelDeploymentCommandOutput
412
435
  | GetEvaluationJobCommandOutput
413
436
  | GetFoundationModelAvailabilityCommandOutput
414
437
  | GetFoundationModelCommandOutput
@@ -424,6 +447,7 @@ export type ServiceOutputTypes =
424
447
  | GetPromptRouterCommandOutput
425
448
  | GetProvisionedModelThroughputCommandOutput
426
449
  | GetUseCaseForModelAccessCommandOutput
450
+ | ListCustomModelDeploymentsCommandOutput
427
451
  | ListCustomModelsCommandOutput
428
452
  | ListEvaluationJobsCommandOutput
429
453
  | ListFoundationModelAgreementOffersCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ CreateCustomModelDeploymentRequest,
10
+ CreateCustomModelDeploymentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateCustomModelDeploymentCommandInput
15
+ extends CreateCustomModelDeploymentRequest {}
16
+ export interface CreateCustomModelDeploymentCommandOutput
17
+ extends CreateCustomModelDeploymentResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateCustomModelDeploymentCommand_base: {
20
+ new (
21
+ input: CreateCustomModelDeploymentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateCustomModelDeploymentCommandInput,
24
+ CreateCustomModelDeploymentCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateCustomModelDeploymentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateCustomModelDeploymentCommandInput,
33
+ CreateCustomModelDeploymentCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateCustomModelDeploymentCommand extends CreateCustomModelDeploymentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateCustomModelDeploymentRequest;
44
+ output: CreateCustomModelDeploymentResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateCustomModelDeploymentCommandInput;
48
+ output: CreateCustomModelDeploymentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateFoundationModelAgreementRequest,
10
10
  CreateFoundationModelAgreementResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateFoundationModelAgreementCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ DeleteCustomModelDeploymentRequest,
10
+ DeleteCustomModelDeploymentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteCustomModelDeploymentCommandInput
15
+ extends DeleteCustomModelDeploymentRequest {}
16
+ export interface DeleteCustomModelDeploymentCommandOutput
17
+ extends DeleteCustomModelDeploymentResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteCustomModelDeploymentCommand_base: {
20
+ new (
21
+ input: DeleteCustomModelDeploymentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteCustomModelDeploymentCommandInput,
24
+ DeleteCustomModelDeploymentCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteCustomModelDeploymentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteCustomModelDeploymentCommandInput,
33
+ DeleteCustomModelDeploymentCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteCustomModelDeploymentCommand extends DeleteCustomModelDeploymentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteCustomModelDeploymentRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteCustomModelDeploymentCommandInput;
48
+ output: DeleteCustomModelDeploymentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteFoundationModelAgreementRequest,
10
10
  DeleteFoundationModelAgreementResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteFoundationModelAgreementCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ GetCustomModelDeploymentRequest,
10
+ GetCustomModelDeploymentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCustomModelDeploymentCommandInput
15
+ extends GetCustomModelDeploymentRequest {}
16
+ export interface GetCustomModelDeploymentCommandOutput
17
+ extends GetCustomModelDeploymentResponse,
18
+ __MetadataBearer {}
19
+ declare const GetCustomModelDeploymentCommand_base: {
20
+ new (
21
+ input: GetCustomModelDeploymentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCustomModelDeploymentCommandInput,
24
+ GetCustomModelDeploymentCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCustomModelDeploymentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCustomModelDeploymentCommandInput,
33
+ GetCustomModelDeploymentCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCustomModelDeploymentCommand extends GetCustomModelDeploymentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCustomModelDeploymentRequest;
44
+ output: GetCustomModelDeploymentResponse;
45
+ };
46
+ sdk: {
47
+ input: GetCustomModelDeploymentCommandInput;
48
+ output: GetCustomModelDeploymentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockClient";
8
- import { GetFoundationModelAvailabilityRequest } from "../models/models_0";
9
- import { GetFoundationModelAvailabilityResponse } from "../models/models_1";
8
+ import {
9
+ GetFoundationModelAvailabilityRequest,
10
+ GetFoundationModelAvailabilityResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetFoundationModelAvailabilityCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ ListCustomModelDeploymentsRequest,
10
+ ListCustomModelDeploymentsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListCustomModelDeploymentsCommandInput
15
+ extends ListCustomModelDeploymentsRequest {}
16
+ export interface ListCustomModelDeploymentsCommandOutput
17
+ extends ListCustomModelDeploymentsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListCustomModelDeploymentsCommand_base: {
20
+ new (
21
+ input: ListCustomModelDeploymentsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListCustomModelDeploymentsCommandInput,
24
+ ListCustomModelDeploymentsCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListCustomModelDeploymentsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListCustomModelDeploymentsCommandInput,
33
+ ListCustomModelDeploymentsCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListCustomModelDeploymentsCommand extends ListCustomModelDeploymentsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListCustomModelDeploymentsRequest;
44
+ output: ListCustomModelDeploymentsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListCustomModelDeploymentsCommandInput;
48
+ output: ListCustomModelDeploymentsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockClient";
8
- import {
9
- ListProvisionedModelThroughputsRequest,
10
- ListProvisionedModelThroughputsResponse,
11
- } from "../models/models_0";
8
+ import { ListProvisionedModelThroughputsRequest } from "../models/models_0";
9
+ import { ListProvisionedModelThroughputsResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ListProvisionedModelThroughputsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateProvisionedModelThroughputRequest,
10
10
  UpdateProvisionedModelThroughputResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateProvisionedModelThroughputCommandInput
@@ -1,5 +1,6 @@
1
1
  export * from "./BatchDeleteEvaluationJobCommand";
2
2
  export * from "./CreateCustomModelCommand";
3
+ export * from "./CreateCustomModelDeploymentCommand";
3
4
  export * from "./CreateEvaluationJobCommand";
4
5
  export * from "./CreateFoundationModelAgreementCommand";
5
6
  export * from "./CreateGuardrailCommand";
@@ -13,6 +14,7 @@ export * from "./CreateModelInvocationJobCommand";
13
14
  export * from "./CreatePromptRouterCommand";
14
15
  export * from "./CreateProvisionedModelThroughputCommand";
15
16
  export * from "./DeleteCustomModelCommand";
17
+ export * from "./DeleteCustomModelDeploymentCommand";
16
18
  export * from "./DeleteFoundationModelAgreementCommand";
17
19
  export * from "./DeleteGuardrailCommand";
18
20
  export * from "./DeleteImportedModelCommand";
@@ -23,6 +25,7 @@ export * from "./DeletePromptRouterCommand";
23
25
  export * from "./DeleteProvisionedModelThroughputCommand";
24
26
  export * from "./DeregisterMarketplaceModelEndpointCommand";
25
27
  export * from "./GetCustomModelCommand";
28
+ export * from "./GetCustomModelDeploymentCommand";
26
29
  export * from "./GetEvaluationJobCommand";
27
30
  export * from "./GetFoundationModelAvailabilityCommand";
28
31
  export * from "./GetFoundationModelCommand";
@@ -38,6 +41,7 @@ export * from "./GetModelInvocationLoggingConfigurationCommand";
38
41
  export * from "./GetPromptRouterCommand";
39
42
  export * from "./GetProvisionedModelThroughputCommand";
40
43
  export * from "./GetUseCaseForModelAccessCommand";
44
+ export * from "./ListCustomModelDeploymentsCommand";
41
45
  export * from "./ListCustomModelsCommand";
42
46
  export * from "./ListEvaluationJobsCommand";
43
47
  export * from "./ListFoundationModelAgreementOffersCommand";