@aws-sdk/client-bedrock 3.422.0 → 3.423.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 (52) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Bedrock.js +10 -0
  3. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
  5. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
  6. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +25 -12
  10. package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +386 -1
  13. package/dist-es/Bedrock.js +10 -0
  14. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
  15. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
  16. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
  17. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
  18. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +22 -9
  21. package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +376 -1
  24. package/dist-types/Bedrock.d.ts +35 -0
  25. package/dist-types/BedrockClient.d.ts +7 -2
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
  27. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
  28. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
  29. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
  31. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +370 -36
  37. package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  40. package/dist-types/ts3.4/Bedrock.d.ts +85 -0
  41. package/dist-types/ts3.4/BedrockClient.d.ts +32 -2
  42. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +102 -15
  49. package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  52. package/package.json +3 -3
@@ -1,24 +1,33 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
4
+ import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
4
5
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
5
6
  import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
7
+ import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
6
8
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
7
9
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
8
10
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "../commands/GetModelCustomizationJobCommand";
9
11
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
12
+ import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
10
13
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
11
14
  import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
12
15
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
16
+ import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
13
17
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
18
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "../commands/PutModelInvocationLoggingConfigurationCommand";
15
19
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "../commands/StopModelCustomizationJobCommand";
16
20
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
17
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
22
+ import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "../commands/UpdateProvisionedModelThroughputCommand";
18
23
  /**
19
24
  * serializeAws_restJson1CreateModelCustomizationJobCommand
20
25
  */
21
26
  export declare const se_CreateModelCustomizationJobCommand: (input: CreateModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_restJson1CreateProvisionedModelThroughputCommand
29
+ */
30
+ export declare const se_CreateProvisionedModelThroughputCommand: (input: CreateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
31
  /**
23
32
  * serializeAws_restJson1DeleteCustomModelCommand
24
33
  */
@@ -27,6 +36,10 @@ export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelComma
27
36
  * serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
28
37
  */
29
38
  export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (input: DeleteModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1DeleteProvisionedModelThroughputCommand
41
+ */
42
+ export declare const se_DeleteProvisionedModelThroughputCommand: (input: DeleteProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
43
  /**
31
44
  * serializeAws_restJson1GetCustomModelCommand
32
45
  */
@@ -43,6 +56,10 @@ export declare const se_GetModelCustomizationJobCommand: (input: GetModelCustomi
43
56
  * serializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
44
57
  */
45
58
  export declare const se_GetModelInvocationLoggingConfigurationCommand: (input: GetModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
+ /**
60
+ * serializeAws_restJson1GetProvisionedModelThroughputCommand
61
+ */
62
+ export declare const se_GetProvisionedModelThroughputCommand: (input: GetProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
63
  /**
47
64
  * serializeAws_restJson1ListCustomModelsCommand
48
65
  */
@@ -55,6 +72,10 @@ export declare const se_ListFoundationModelsCommand: (input: ListFoundationModel
55
72
  * serializeAws_restJson1ListModelCustomizationJobsCommand
56
73
  */
57
74
  export declare const se_ListModelCustomizationJobsCommand: (input: ListModelCustomizationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
+ /**
76
+ * serializeAws_restJson1ListProvisionedModelThroughputsCommand
77
+ */
78
+ export declare const se_ListProvisionedModelThroughputsCommand: (input: ListProvisionedModelThroughputsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
79
  /**
59
80
  * serializeAws_restJson1ListTagsForResourceCommand
60
81
  */
@@ -75,10 +96,18 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
75
96
  * serializeAws_restJson1UntagResourceCommand
76
97
  */
77
98
  export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
+ /**
100
+ * serializeAws_restJson1UpdateProvisionedModelThroughputCommand
101
+ */
102
+ export declare const se_UpdateProvisionedModelThroughputCommand: (input: UpdateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
103
  /**
79
104
  * deserializeAws_restJson1CreateModelCustomizationJobCommand
80
105
  */
81
106
  export declare const de_CreateModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelCustomizationJobCommandOutput>;
107
+ /**
108
+ * deserializeAws_restJson1CreateProvisionedModelThroughputCommand
109
+ */
110
+ export declare const de_CreateProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProvisionedModelThroughputCommandOutput>;
82
111
  /**
83
112
  * deserializeAws_restJson1DeleteCustomModelCommand
84
113
  */
@@ -87,6 +116,10 @@ export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, conte
87
116
  * deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
88
117
  */
89
118
  export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
119
+ /**
120
+ * deserializeAws_restJson1DeleteProvisionedModelThroughputCommand
121
+ */
122
+ export declare const de_DeleteProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProvisionedModelThroughputCommandOutput>;
90
123
  /**
91
124
  * deserializeAws_restJson1GetCustomModelCommand
92
125
  */
@@ -103,6 +136,10 @@ export declare const de_GetModelCustomizationJobCommand: (output: __HttpResponse
103
136
  * deserializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
104
137
  */
105
138
  export declare const de_GetModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
139
+ /**
140
+ * deserializeAws_restJson1GetProvisionedModelThroughputCommand
141
+ */
142
+ export declare const de_GetProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProvisionedModelThroughputCommandOutput>;
106
143
  /**
107
144
  * deserializeAws_restJson1ListCustomModelsCommand
108
145
  */
@@ -115,6 +152,10 @@ export declare const de_ListFoundationModelsCommand: (output: __HttpResponse, co
115
152
  * deserializeAws_restJson1ListModelCustomizationJobsCommand
116
153
  */
117
154
  export declare const de_ListModelCustomizationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelCustomizationJobsCommandOutput>;
155
+ /**
156
+ * deserializeAws_restJson1ListProvisionedModelThroughputsCommand
157
+ */
158
+ export declare const de_ListProvisionedModelThroughputsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProvisionedModelThroughputsCommandOutput>;
118
159
  /**
119
160
  * deserializeAws_restJson1ListTagsForResourceCommand
120
161
  */
@@ -135,3 +176,7 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
135
176
  * deserializeAws_restJson1UntagResourceCommand
136
177
  */
137
178
  export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
179
+ /**
180
+ * deserializeAws_restJson1UpdateProvisionedModelThroughputCommand
181
+ */
182
+ export declare const de_UpdateProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProvisionedModelThroughputCommandOutput>;
@@ -4,6 +4,10 @@ import {
4
4
  CreateModelCustomizationJobCommandInput,
5
5
  CreateModelCustomizationJobCommandOutput,
6
6
  } from "./commands/CreateModelCustomizationJobCommand";
7
+ import {
8
+ CreateProvisionedModelThroughputCommandInput,
9
+ CreateProvisionedModelThroughputCommandOutput,
10
+ } from "./commands/CreateProvisionedModelThroughputCommand";
7
11
  import {
8
12
  DeleteCustomModelCommandInput,
9
13
  DeleteCustomModelCommandOutput,
@@ -12,6 +16,10 @@ import {
12
16
  DeleteModelInvocationLoggingConfigurationCommandInput,
13
17
  DeleteModelInvocationLoggingConfigurationCommandOutput,
14
18
  } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
19
+ import {
20
+ DeleteProvisionedModelThroughputCommandInput,
21
+ DeleteProvisionedModelThroughputCommandOutput,
22
+ } from "./commands/DeleteProvisionedModelThroughputCommand";
15
23
  import {
16
24
  GetCustomModelCommandInput,
17
25
  GetCustomModelCommandOutput,
@@ -28,6 +36,10 @@ import {
28
36
  GetModelInvocationLoggingConfigurationCommandInput,
29
37
  GetModelInvocationLoggingConfigurationCommandOutput,
30
38
  } from "./commands/GetModelInvocationLoggingConfigurationCommand";
39
+ import {
40
+ GetProvisionedModelThroughputCommandInput,
41
+ GetProvisionedModelThroughputCommandOutput,
42
+ } from "./commands/GetProvisionedModelThroughputCommand";
31
43
  import {
32
44
  ListCustomModelsCommandInput,
33
45
  ListCustomModelsCommandOutput,
@@ -40,6 +52,10 @@ import {
40
52
  ListModelCustomizationJobsCommandInput,
41
53
  ListModelCustomizationJobsCommandOutput,
42
54
  } from "./commands/ListModelCustomizationJobsCommand";
55
+ import {
56
+ ListProvisionedModelThroughputsCommandInput,
57
+ ListProvisionedModelThroughputsCommandOutput,
58
+ } from "./commands/ListProvisionedModelThroughputsCommand";
43
59
  import {
44
60
  ListTagsForResourceCommandInput,
45
61
  ListTagsForResourceCommandOutput,
@@ -60,6 +76,10 @@ import {
60
76
  UntagResourceCommandInput,
61
77
  UntagResourceCommandOutput,
62
78
  } from "./commands/UntagResourceCommand";
79
+ import {
80
+ UpdateProvisionedModelThroughputCommandInput,
81
+ UpdateProvisionedModelThroughputCommandOutput,
82
+ } from "./commands/UpdateProvisionedModelThroughputCommand";
63
83
  export interface Bedrock {
64
84
  createModelCustomizationJob(
65
85
  args: CreateModelCustomizationJobCommandInput,
@@ -74,6 +94,19 @@ export interface Bedrock {
74
94
  options: __HttpHandlerOptions,
75
95
  cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void
76
96
  ): void;
97
+ createProvisionedModelThroughput(
98
+ args: CreateProvisionedModelThroughputCommandInput,
99
+ options?: __HttpHandlerOptions
100
+ ): Promise<CreateProvisionedModelThroughputCommandOutput>;
101
+ createProvisionedModelThroughput(
102
+ args: CreateProvisionedModelThroughputCommandInput,
103
+ cb: (err: any, data?: CreateProvisionedModelThroughputCommandOutput) => void
104
+ ): void;
105
+ createProvisionedModelThroughput(
106
+ args: CreateProvisionedModelThroughputCommandInput,
107
+ options: __HttpHandlerOptions,
108
+ cb: (err: any, data?: CreateProvisionedModelThroughputCommandOutput) => void
109
+ ): void;
77
110
  deleteCustomModel(
78
111
  args: DeleteCustomModelCommandInput,
79
112
  options?: __HttpHandlerOptions
@@ -106,6 +139,19 @@ export interface Bedrock {
106
139
  data?: DeleteModelInvocationLoggingConfigurationCommandOutput
107
140
  ) => void
108
141
  ): void;
142
+ deleteProvisionedModelThroughput(
143
+ args: DeleteProvisionedModelThroughputCommandInput,
144
+ options?: __HttpHandlerOptions
145
+ ): Promise<DeleteProvisionedModelThroughputCommandOutput>;
146
+ deleteProvisionedModelThroughput(
147
+ args: DeleteProvisionedModelThroughputCommandInput,
148
+ cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void
149
+ ): void;
150
+ deleteProvisionedModelThroughput(
151
+ args: DeleteProvisionedModelThroughputCommandInput,
152
+ options: __HttpHandlerOptions,
153
+ cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void
154
+ ): void;
109
155
  getCustomModel(
110
156
  args: GetCustomModelCommandInput,
111
157
  options?: __HttpHandlerOptions
@@ -164,6 +210,19 @@ export interface Bedrock {
164
210
  data?: GetModelInvocationLoggingConfigurationCommandOutput
165
211
  ) => void
166
212
  ): void;
213
+ getProvisionedModelThroughput(
214
+ args: GetProvisionedModelThroughputCommandInput,
215
+ options?: __HttpHandlerOptions
216
+ ): Promise<GetProvisionedModelThroughputCommandOutput>;
217
+ getProvisionedModelThroughput(
218
+ args: GetProvisionedModelThroughputCommandInput,
219
+ cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
220
+ ): void;
221
+ getProvisionedModelThroughput(
222
+ args: GetProvisionedModelThroughputCommandInput,
223
+ options: __HttpHandlerOptions,
224
+ cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
225
+ ): void;
167
226
  listCustomModels(
168
227
  args: ListCustomModelsCommandInput,
169
228
  options?: __HttpHandlerOptions
@@ -203,6 +262,19 @@ export interface Bedrock {
203
262
  options: __HttpHandlerOptions,
204
263
  cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void
205
264
  ): void;
265
+ listProvisionedModelThroughputs(
266
+ args: ListProvisionedModelThroughputsCommandInput,
267
+ options?: __HttpHandlerOptions
268
+ ): Promise<ListProvisionedModelThroughputsCommandOutput>;
269
+ listProvisionedModelThroughputs(
270
+ args: ListProvisionedModelThroughputsCommandInput,
271
+ cb: (err: any, data?: ListProvisionedModelThroughputsCommandOutput) => void
272
+ ): void;
273
+ listProvisionedModelThroughputs(
274
+ args: ListProvisionedModelThroughputsCommandInput,
275
+ options: __HttpHandlerOptions,
276
+ cb: (err: any, data?: ListProvisionedModelThroughputsCommandOutput) => void
277
+ ): void;
206
278
  listTagsForResource(
207
279
  args: ListTagsForResourceCommandInput,
208
280
  options?: __HttpHandlerOptions
@@ -274,5 +346,18 @@ export interface Bedrock {
274
346
  options: __HttpHandlerOptions,
275
347
  cb: (err: any, data?: UntagResourceCommandOutput) => void
276
348
  ): void;
349
+ updateProvisionedModelThroughput(
350
+ args: UpdateProvisionedModelThroughputCommandInput,
351
+ options?: __HttpHandlerOptions
352
+ ): Promise<UpdateProvisionedModelThroughputCommandOutput>;
353
+ updateProvisionedModelThroughput(
354
+ args: UpdateProvisionedModelThroughputCommandInput,
355
+ cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
356
+ ): void;
357
+ updateProvisionedModelThroughput(
358
+ args: UpdateProvisionedModelThroughputCommandInput,
359
+ options: __HttpHandlerOptions,
360
+ cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
361
+ ): void;
277
362
  }
278
363
  export declare class Bedrock extends BedrockClient implements Bedrock {}
@@ -49,6 +49,10 @@ import {
49
49
  CreateModelCustomizationJobCommandInput,
50
50
  CreateModelCustomizationJobCommandOutput,
51
51
  } from "./commands/CreateModelCustomizationJobCommand";
52
+ import {
53
+ CreateProvisionedModelThroughputCommandInput,
54
+ CreateProvisionedModelThroughputCommandOutput,
55
+ } from "./commands/CreateProvisionedModelThroughputCommand";
52
56
  import {
53
57
  DeleteCustomModelCommandInput,
54
58
  DeleteCustomModelCommandOutput,
@@ -57,6 +61,10 @@ import {
57
61
  DeleteModelInvocationLoggingConfigurationCommandInput,
58
62
  DeleteModelInvocationLoggingConfigurationCommandOutput,
59
63
  } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
64
+ import {
65
+ DeleteProvisionedModelThroughputCommandInput,
66
+ DeleteProvisionedModelThroughputCommandOutput,
67
+ } from "./commands/DeleteProvisionedModelThroughputCommand";
60
68
  import {
61
69
  GetCustomModelCommandInput,
62
70
  GetCustomModelCommandOutput,
@@ -73,6 +81,10 @@ import {
73
81
  GetModelInvocationLoggingConfigurationCommandInput,
74
82
  GetModelInvocationLoggingConfigurationCommandOutput,
75
83
  } from "./commands/GetModelInvocationLoggingConfigurationCommand";
84
+ import {
85
+ GetProvisionedModelThroughputCommandInput,
86
+ GetProvisionedModelThroughputCommandOutput,
87
+ } from "./commands/GetProvisionedModelThroughputCommand";
76
88
  import {
77
89
  ListCustomModelsCommandInput,
78
90
  ListCustomModelsCommandOutput,
@@ -85,6 +97,10 @@ import {
85
97
  ListModelCustomizationJobsCommandInput,
86
98
  ListModelCustomizationJobsCommandOutput,
87
99
  } from "./commands/ListModelCustomizationJobsCommand";
100
+ import {
101
+ ListProvisionedModelThroughputsCommandInput,
102
+ ListProvisionedModelThroughputsCommandOutput,
103
+ } from "./commands/ListProvisionedModelThroughputsCommand";
88
104
  import {
89
105
  ListTagsForResourceCommandInput,
90
106
  ListTagsForResourceCommandOutput,
@@ -105,6 +121,10 @@ import {
105
121
  UntagResourceCommandInput,
106
122
  UntagResourceCommandOutput,
107
123
  } from "./commands/UntagResourceCommand";
124
+ import {
125
+ UpdateProvisionedModelThroughputCommandInput,
126
+ UpdateProvisionedModelThroughputCommandOutput,
127
+ } from "./commands/UpdateProvisionedModelThroughputCommand";
108
128
  import {
109
129
  ClientInputEndpointParameters,
110
130
  ClientResolvedEndpointParameters,
@@ -114,36 +134,46 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
114
134
  export { __Client };
115
135
  export type ServiceInputTypes =
116
136
  | CreateModelCustomizationJobCommandInput
137
+ | CreateProvisionedModelThroughputCommandInput
117
138
  | DeleteCustomModelCommandInput
118
139
  | DeleteModelInvocationLoggingConfigurationCommandInput
140
+ | DeleteProvisionedModelThroughputCommandInput
119
141
  | GetCustomModelCommandInput
120
142
  | GetFoundationModelCommandInput
121
143
  | GetModelCustomizationJobCommandInput
122
144
  | GetModelInvocationLoggingConfigurationCommandInput
145
+ | GetProvisionedModelThroughputCommandInput
123
146
  | ListCustomModelsCommandInput
124
147
  | ListFoundationModelsCommandInput
125
148
  | ListModelCustomizationJobsCommandInput
149
+ | ListProvisionedModelThroughputsCommandInput
126
150
  | ListTagsForResourceCommandInput
127
151
  | PutModelInvocationLoggingConfigurationCommandInput
128
152
  | StopModelCustomizationJobCommandInput
129
153
  | TagResourceCommandInput
130
- | UntagResourceCommandInput;
154
+ | UntagResourceCommandInput
155
+ | UpdateProvisionedModelThroughputCommandInput;
131
156
  export type ServiceOutputTypes =
132
157
  | CreateModelCustomizationJobCommandOutput
158
+ | CreateProvisionedModelThroughputCommandOutput
133
159
  | DeleteCustomModelCommandOutput
134
160
  | DeleteModelInvocationLoggingConfigurationCommandOutput
161
+ | DeleteProvisionedModelThroughputCommandOutput
135
162
  | GetCustomModelCommandOutput
136
163
  | GetFoundationModelCommandOutput
137
164
  | GetModelCustomizationJobCommandOutput
138
165
  | GetModelInvocationLoggingConfigurationCommandOutput
166
+ | GetProvisionedModelThroughputCommandOutput
139
167
  | ListCustomModelsCommandOutput
140
168
  | ListFoundationModelsCommandOutput
141
169
  | ListModelCustomizationJobsCommandOutput
170
+ | ListProvisionedModelThroughputsCommandOutput
142
171
  | ListTagsForResourceCommandOutput
143
172
  | PutModelInvocationLoggingConfigurationCommandOutput
144
173
  | StopModelCustomizationJobCommandOutput
145
174
  | TagResourceCommandOutput
146
- | UntagResourceCommandOutput;
175
+ | UntagResourceCommandOutput
176
+ | UpdateProvisionedModelThroughputCommandOutput;
147
177
  export interface ClientDefaults
148
178
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
149
179
  requestHandler?: __HttpHandler;
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ CreateProvisionedModelThroughputRequest,
16
+ CreateProvisionedModelThroughputResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateProvisionedModelThroughputCommandInput
20
+ extends CreateProvisionedModelThroughputRequest {}
21
+ export interface CreateProvisionedModelThroughputCommandOutput
22
+ extends CreateProvisionedModelThroughputResponse,
23
+ __MetadataBearer {}
24
+ export declare class CreateProvisionedModelThroughputCommand extends $Command<
25
+ CreateProvisionedModelThroughputCommandInput,
26
+ CreateProvisionedModelThroughputCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: CreateProvisionedModelThroughputCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreateProvisionedModelThroughputCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreateProvisionedModelThroughputCommandInput,
38
+ CreateProvisionedModelThroughputCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ DeleteProvisionedModelThroughputRequest,
16
+ DeleteProvisionedModelThroughputResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeleteProvisionedModelThroughputCommandInput
20
+ extends DeleteProvisionedModelThroughputRequest {}
21
+ export interface DeleteProvisionedModelThroughputCommandOutput
22
+ extends DeleteProvisionedModelThroughputResponse,
23
+ __MetadataBearer {}
24
+ export declare class DeleteProvisionedModelThroughputCommand extends $Command<
25
+ DeleteProvisionedModelThroughputCommandInput,
26
+ DeleteProvisionedModelThroughputCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: DeleteProvisionedModelThroughputCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeleteProvisionedModelThroughputCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DeleteProvisionedModelThroughputCommandInput,
38
+ DeleteProvisionedModelThroughputCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ GetProvisionedModelThroughputRequest,
16
+ GetProvisionedModelThroughputResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetProvisionedModelThroughputCommandInput
20
+ extends GetProvisionedModelThroughputRequest {}
21
+ export interface GetProvisionedModelThroughputCommandOutput
22
+ extends GetProvisionedModelThroughputResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetProvisionedModelThroughputCommand extends $Command<
25
+ GetProvisionedModelThroughputCommandInput,
26
+ GetProvisionedModelThroughputCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: GetProvisionedModelThroughputCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetProvisionedModelThroughputCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetProvisionedModelThroughputCommandInput,
38
+ GetProvisionedModelThroughputCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ ListProvisionedModelThroughputsRequest,
16
+ ListProvisionedModelThroughputsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListProvisionedModelThroughputsCommandInput
20
+ extends ListProvisionedModelThroughputsRequest {}
21
+ export interface ListProvisionedModelThroughputsCommandOutput
22
+ extends ListProvisionedModelThroughputsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListProvisionedModelThroughputsCommand extends $Command<
25
+ ListProvisionedModelThroughputsCommandInput,
26
+ ListProvisionedModelThroughputsCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: ListProvisionedModelThroughputsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListProvisionedModelThroughputsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListProvisionedModelThroughputsCommandInput,
38
+ ListProvisionedModelThroughputsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ UpdateProvisionedModelThroughputRequest,
16
+ UpdateProvisionedModelThroughputResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateProvisionedModelThroughputCommandInput
20
+ extends UpdateProvisionedModelThroughputRequest {}
21
+ export interface UpdateProvisionedModelThroughputCommandOutput
22
+ extends UpdateProvisionedModelThroughputResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateProvisionedModelThroughputCommand extends $Command<
25
+ UpdateProvisionedModelThroughputCommandInput,
26
+ UpdateProvisionedModelThroughputCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateProvisionedModelThroughputCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateProvisionedModelThroughputCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateProvisionedModelThroughputCommandInput,
38
+ UpdateProvisionedModelThroughputCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,15 +1,20 @@
1
1
  export * from "./CreateModelCustomizationJobCommand";
2
+ export * from "./CreateProvisionedModelThroughputCommand";
2
3
  export * from "./DeleteCustomModelCommand";
3
4
  export * from "./DeleteModelInvocationLoggingConfigurationCommand";
5
+ export * from "./DeleteProvisionedModelThroughputCommand";
4
6
  export * from "./GetCustomModelCommand";
5
7
  export * from "./GetFoundationModelCommand";
6
8
  export * from "./GetModelCustomizationJobCommand";
7
9
  export * from "./GetModelInvocationLoggingConfigurationCommand";
10
+ export * from "./GetProvisionedModelThroughputCommand";
8
11
  export * from "./ListCustomModelsCommand";
9
12
  export * from "./ListFoundationModelsCommand";
10
13
  export * from "./ListModelCustomizationJobsCommand";
14
+ export * from "./ListProvisionedModelThroughputsCommand";
11
15
  export * from "./ListTagsForResourceCommand";
12
16
  export * from "./PutModelInvocationLoggingConfigurationCommand";
13
17
  export * from "./StopModelCustomizationJobCommand";
14
18
  export * from "./TagResourceCommand";
15
19
  export * from "./UntagResourceCommand";
20
+ export * from "./UpdateProvisionedModelThroughputCommand";