@aws-sdk/client-bedrock 3.556.0 → 3.563.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.
- package/README.md +81 -1
- package/dist-cjs/index.js +1005 -79
- package/dist-es/Bedrock.js +20 -0
- package/dist-es/commands/CreateEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateGuardrailCommand.js +25 -0
- package/dist-es/commands/CreateGuardrailVersionCommand.js +25 -0
- package/dist-es/commands/DeleteGuardrailCommand.js +24 -0
- package/dist-es/commands/GetEvaluationJobCommand.js +25 -0
- package/dist-es/commands/GetGuardrailCommand.js +25 -0
- package/dist-es/commands/ListEvaluationJobsCommand.js +24 -0
- package/dist-es/commands/ListGuardrailsCommand.js +25 -0
- package/dist-es/commands/StopEvaluationJobCommand.js +25 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +25 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +312 -48
- package/dist-es/pagination/ListEvaluationJobsPaginator.js +4 -0
- package/dist-es/pagination/ListGuardrailsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +374 -4
- package/dist-types/Bedrock.d.ts +73 -1
- package/dist-types/BedrockClient.d.ts +13 -3
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +148 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +186 -0
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +84 -0
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -3
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +84 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/GetCustomModelCommand.d.ts +2 -2
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +144 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +140 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -2
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +93 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +89 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +75 -0
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +176 -0
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1926 -215
- package/dist-types/pagination/ListEvaluationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGuardrailsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Bedrock.d.ts +172 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +572 -49
- package/dist-types/ts3.4/pagination/ListEvaluationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGuardrailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
|
|
3
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListEvaluationJobs: (config: BedrockPaginationConfiguration, input: ListEvaluationJobsCommandInput, ...rest: any[]) => Paginator<ListEvaluationJobsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "../commands/ListGuardrailsCommand";
|
|
3
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListGuardrails: (config: BedrockPaginationConfiguration, input: ListGuardrailsCommandInput, ...rest: any[]) => Paginator<ListGuardrailsCommandOutput>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListCustomModelsPaginator";
|
|
3
|
+
export * from "./ListEvaluationJobsPaginator";
|
|
4
|
+
export * from "./ListGuardrailsPaginator";
|
|
3
5
|
export * from "./ListModelCustomizationJobsPaginator";
|
|
4
6
|
export * from "./ListProvisionedModelThroughputsPaginator";
|
|
@@ -1,25 +1,47 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "../commands/CreateEvaluationJobCommand";
|
|
4
|
+
import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../commands/CreateGuardrailCommand";
|
|
5
|
+
import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "../commands/CreateGuardrailVersionCommand";
|
|
3
6
|
import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
|
|
4
7
|
import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
|
|
5
8
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
|
|
9
|
+
import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "../commands/DeleteGuardrailCommand";
|
|
6
10
|
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
7
11
|
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
|
|
8
12
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
|
|
13
|
+
import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "../commands/GetEvaluationJobCommand";
|
|
9
14
|
import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
|
|
15
|
+
import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "../commands/GetGuardrailCommand";
|
|
10
16
|
import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "../commands/GetModelCustomizationJobCommand";
|
|
11
17
|
import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
|
|
12
18
|
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
|
|
13
19
|
import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
|
|
20
|
+
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
|
|
14
21
|
import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
|
|
22
|
+
import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "../commands/ListGuardrailsCommand";
|
|
15
23
|
import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
|
|
16
24
|
import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
|
|
17
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
18
26
|
import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "../commands/PutModelInvocationLoggingConfigurationCommand";
|
|
27
|
+
import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "../commands/StopEvaluationJobCommand";
|
|
19
28
|
import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "../commands/StopModelCustomizationJobCommand";
|
|
20
29
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
21
30
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "../commands/UpdateGuardrailCommand";
|
|
22
32
|
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "../commands/UpdateProvisionedModelThroughputCommand";
|
|
33
|
+
/**
|
|
34
|
+
* serializeAws_restJson1CreateEvaluationJobCommand
|
|
35
|
+
*/
|
|
36
|
+
export declare const se_CreateEvaluationJobCommand: (input: CreateEvaluationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
/**
|
|
38
|
+
* serializeAws_restJson1CreateGuardrailCommand
|
|
39
|
+
*/
|
|
40
|
+
export declare const se_CreateGuardrailCommand: (input: CreateGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
|
+
/**
|
|
42
|
+
* serializeAws_restJson1CreateGuardrailVersionCommand
|
|
43
|
+
*/
|
|
44
|
+
export declare const se_CreateGuardrailVersionCommand: (input: CreateGuardrailVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
45
|
/**
|
|
24
46
|
* serializeAws_restJson1CreateModelCustomizationJobCommand
|
|
25
47
|
*/
|
|
@@ -32,6 +54,10 @@ export declare const se_CreateProvisionedModelThroughputCommand: (input: CreateP
|
|
|
32
54
|
* serializeAws_restJson1DeleteCustomModelCommand
|
|
33
55
|
*/
|
|
34
56
|
export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
|
+
/**
|
|
58
|
+
* serializeAws_restJson1DeleteGuardrailCommand
|
|
59
|
+
*/
|
|
60
|
+
export declare const se_DeleteGuardrailCommand: (input: DeleteGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
61
|
/**
|
|
36
62
|
* serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
37
63
|
*/
|
|
@@ -44,10 +70,18 @@ export declare const se_DeleteProvisionedModelThroughputCommand: (input: DeleteP
|
|
|
44
70
|
* serializeAws_restJson1GetCustomModelCommand
|
|
45
71
|
*/
|
|
46
72
|
export declare const se_GetCustomModelCommand: (input: GetCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
|
+
/**
|
|
74
|
+
* serializeAws_restJson1GetEvaluationJobCommand
|
|
75
|
+
*/
|
|
76
|
+
export declare const se_GetEvaluationJobCommand: (input: GetEvaluationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
77
|
/**
|
|
48
78
|
* serializeAws_restJson1GetFoundationModelCommand
|
|
49
79
|
*/
|
|
50
80
|
export declare const se_GetFoundationModelCommand: (input: GetFoundationModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
81
|
+
/**
|
|
82
|
+
* serializeAws_restJson1GetGuardrailCommand
|
|
83
|
+
*/
|
|
84
|
+
export declare const se_GetGuardrailCommand: (input: GetGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
85
|
/**
|
|
52
86
|
* serializeAws_restJson1GetModelCustomizationJobCommand
|
|
53
87
|
*/
|
|
@@ -64,10 +98,18 @@ export declare const se_GetProvisionedModelThroughputCommand: (input: GetProvisi
|
|
|
64
98
|
* serializeAws_restJson1ListCustomModelsCommand
|
|
65
99
|
*/
|
|
66
100
|
export declare const se_ListCustomModelsCommand: (input: ListCustomModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
101
|
+
/**
|
|
102
|
+
* serializeAws_restJson1ListEvaluationJobsCommand
|
|
103
|
+
*/
|
|
104
|
+
export declare const se_ListEvaluationJobsCommand: (input: ListEvaluationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
105
|
/**
|
|
68
106
|
* serializeAws_restJson1ListFoundationModelsCommand
|
|
69
107
|
*/
|
|
70
108
|
export declare const se_ListFoundationModelsCommand: (input: ListFoundationModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
|
+
/**
|
|
110
|
+
* serializeAws_restJson1ListGuardrailsCommand
|
|
111
|
+
*/
|
|
112
|
+
export declare const se_ListGuardrailsCommand: (input: ListGuardrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
113
|
/**
|
|
72
114
|
* serializeAws_restJson1ListModelCustomizationJobsCommand
|
|
73
115
|
*/
|
|
@@ -84,6 +126,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
|
|
|
84
126
|
* serializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
|
|
85
127
|
*/
|
|
86
128
|
export declare const se_PutModelInvocationLoggingConfigurationCommand: (input: PutModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
129
|
+
/**
|
|
130
|
+
* serializeAws_restJson1StopEvaluationJobCommand
|
|
131
|
+
*/
|
|
132
|
+
export declare const se_StopEvaluationJobCommand: (input: StopEvaluationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
133
|
/**
|
|
88
134
|
* serializeAws_restJson1StopModelCustomizationJobCommand
|
|
89
135
|
*/
|
|
@@ -96,10 +142,26 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
|
|
|
96
142
|
* serializeAws_restJson1UntagResourceCommand
|
|
97
143
|
*/
|
|
98
144
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
145
|
+
/**
|
|
146
|
+
* serializeAws_restJson1UpdateGuardrailCommand
|
|
147
|
+
*/
|
|
148
|
+
export declare const se_UpdateGuardrailCommand: (input: UpdateGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
149
|
/**
|
|
100
150
|
* serializeAws_restJson1UpdateProvisionedModelThroughputCommand
|
|
101
151
|
*/
|
|
102
152
|
export declare const se_UpdateProvisionedModelThroughputCommand: (input: UpdateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
153
|
+
/**
|
|
154
|
+
* deserializeAws_restJson1CreateEvaluationJobCommand
|
|
155
|
+
*/
|
|
156
|
+
export declare const de_CreateEvaluationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEvaluationJobCommandOutput>;
|
|
157
|
+
/**
|
|
158
|
+
* deserializeAws_restJson1CreateGuardrailCommand
|
|
159
|
+
*/
|
|
160
|
+
export declare const de_CreateGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGuardrailCommandOutput>;
|
|
161
|
+
/**
|
|
162
|
+
* deserializeAws_restJson1CreateGuardrailVersionCommand
|
|
163
|
+
*/
|
|
164
|
+
export declare const de_CreateGuardrailVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGuardrailVersionCommandOutput>;
|
|
103
165
|
/**
|
|
104
166
|
* deserializeAws_restJson1CreateModelCustomizationJobCommand
|
|
105
167
|
*/
|
|
@@ -112,6 +174,10 @@ export declare const de_CreateProvisionedModelThroughputCommand: (output: __Http
|
|
|
112
174
|
* deserializeAws_restJson1DeleteCustomModelCommand
|
|
113
175
|
*/
|
|
114
176
|
export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomModelCommandOutput>;
|
|
177
|
+
/**
|
|
178
|
+
* deserializeAws_restJson1DeleteGuardrailCommand
|
|
179
|
+
*/
|
|
180
|
+
export declare const de_DeleteGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGuardrailCommandOutput>;
|
|
115
181
|
/**
|
|
116
182
|
* deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
117
183
|
*/
|
|
@@ -124,10 +190,18 @@ export declare const de_DeleteProvisionedModelThroughputCommand: (output: __Http
|
|
|
124
190
|
* deserializeAws_restJson1GetCustomModelCommand
|
|
125
191
|
*/
|
|
126
192
|
export declare const de_GetCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCustomModelCommandOutput>;
|
|
193
|
+
/**
|
|
194
|
+
* deserializeAws_restJson1GetEvaluationJobCommand
|
|
195
|
+
*/
|
|
196
|
+
export declare const de_GetEvaluationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEvaluationJobCommandOutput>;
|
|
127
197
|
/**
|
|
128
198
|
* deserializeAws_restJson1GetFoundationModelCommand
|
|
129
199
|
*/
|
|
130
200
|
export declare const de_GetFoundationModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFoundationModelCommandOutput>;
|
|
201
|
+
/**
|
|
202
|
+
* deserializeAws_restJson1GetGuardrailCommand
|
|
203
|
+
*/
|
|
204
|
+
export declare const de_GetGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGuardrailCommandOutput>;
|
|
131
205
|
/**
|
|
132
206
|
* deserializeAws_restJson1GetModelCustomizationJobCommand
|
|
133
207
|
*/
|
|
@@ -144,10 +218,18 @@ export declare const de_GetProvisionedModelThroughputCommand: (output: __HttpRes
|
|
|
144
218
|
* deserializeAws_restJson1ListCustomModelsCommand
|
|
145
219
|
*/
|
|
146
220
|
export declare const de_ListCustomModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCustomModelsCommandOutput>;
|
|
221
|
+
/**
|
|
222
|
+
* deserializeAws_restJson1ListEvaluationJobsCommand
|
|
223
|
+
*/
|
|
224
|
+
export declare const de_ListEvaluationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEvaluationJobsCommandOutput>;
|
|
147
225
|
/**
|
|
148
226
|
* deserializeAws_restJson1ListFoundationModelsCommand
|
|
149
227
|
*/
|
|
150
228
|
export declare const de_ListFoundationModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFoundationModelsCommandOutput>;
|
|
229
|
+
/**
|
|
230
|
+
* deserializeAws_restJson1ListGuardrailsCommand
|
|
231
|
+
*/
|
|
232
|
+
export declare const de_ListGuardrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGuardrailsCommandOutput>;
|
|
151
233
|
/**
|
|
152
234
|
* deserializeAws_restJson1ListModelCustomizationJobsCommand
|
|
153
235
|
*/
|
|
@@ -164,6 +246,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
|
|
|
164
246
|
* deserializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
|
|
165
247
|
*/
|
|
166
248
|
export declare const de_PutModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
|
|
249
|
+
/**
|
|
250
|
+
* deserializeAws_restJson1StopEvaluationJobCommand
|
|
251
|
+
*/
|
|
252
|
+
export declare const de_StopEvaluationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopEvaluationJobCommandOutput>;
|
|
167
253
|
/**
|
|
168
254
|
* deserializeAws_restJson1StopModelCustomizationJobCommand
|
|
169
255
|
*/
|
|
@@ -176,6 +262,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
|
|
|
176
262
|
* deserializeAws_restJson1UntagResourceCommand
|
|
177
263
|
*/
|
|
178
264
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
265
|
+
/**
|
|
266
|
+
* deserializeAws_restJson1UpdateGuardrailCommand
|
|
267
|
+
*/
|
|
268
|
+
export declare const de_UpdateGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGuardrailCommandOutput>;
|
|
179
269
|
/**
|
|
180
270
|
* deserializeAws_restJson1UpdateProvisionedModelThroughputCommand
|
|
181
271
|
*/
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
|
+
import {
|
|
4
|
+
CreateEvaluationJobCommandInput,
|
|
5
|
+
CreateEvaluationJobCommandOutput,
|
|
6
|
+
} from "./commands/CreateEvaluationJobCommand";
|
|
7
|
+
import {
|
|
8
|
+
CreateGuardrailCommandInput,
|
|
9
|
+
CreateGuardrailCommandOutput,
|
|
10
|
+
} from "./commands/CreateGuardrailCommand";
|
|
11
|
+
import {
|
|
12
|
+
CreateGuardrailVersionCommandInput,
|
|
13
|
+
CreateGuardrailVersionCommandOutput,
|
|
14
|
+
} from "./commands/CreateGuardrailVersionCommand";
|
|
3
15
|
import {
|
|
4
16
|
CreateModelCustomizationJobCommandInput,
|
|
5
17
|
CreateModelCustomizationJobCommandOutput,
|
|
@@ -12,6 +24,10 @@ import {
|
|
|
12
24
|
DeleteCustomModelCommandInput,
|
|
13
25
|
DeleteCustomModelCommandOutput,
|
|
14
26
|
} from "./commands/DeleteCustomModelCommand";
|
|
27
|
+
import {
|
|
28
|
+
DeleteGuardrailCommandInput,
|
|
29
|
+
DeleteGuardrailCommandOutput,
|
|
30
|
+
} from "./commands/DeleteGuardrailCommand";
|
|
15
31
|
import {
|
|
16
32
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
17
33
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -24,10 +40,18 @@ import {
|
|
|
24
40
|
GetCustomModelCommandInput,
|
|
25
41
|
GetCustomModelCommandOutput,
|
|
26
42
|
} from "./commands/GetCustomModelCommand";
|
|
43
|
+
import {
|
|
44
|
+
GetEvaluationJobCommandInput,
|
|
45
|
+
GetEvaluationJobCommandOutput,
|
|
46
|
+
} from "./commands/GetEvaluationJobCommand";
|
|
27
47
|
import {
|
|
28
48
|
GetFoundationModelCommandInput,
|
|
29
49
|
GetFoundationModelCommandOutput,
|
|
30
50
|
} from "./commands/GetFoundationModelCommand";
|
|
51
|
+
import {
|
|
52
|
+
GetGuardrailCommandInput,
|
|
53
|
+
GetGuardrailCommandOutput,
|
|
54
|
+
} from "./commands/GetGuardrailCommand";
|
|
31
55
|
import {
|
|
32
56
|
GetModelCustomizationJobCommandInput,
|
|
33
57
|
GetModelCustomizationJobCommandOutput,
|
|
@@ -44,10 +68,18 @@ import {
|
|
|
44
68
|
ListCustomModelsCommandInput,
|
|
45
69
|
ListCustomModelsCommandOutput,
|
|
46
70
|
} from "./commands/ListCustomModelsCommand";
|
|
71
|
+
import {
|
|
72
|
+
ListEvaluationJobsCommandInput,
|
|
73
|
+
ListEvaluationJobsCommandOutput,
|
|
74
|
+
} from "./commands/ListEvaluationJobsCommand";
|
|
47
75
|
import {
|
|
48
76
|
ListFoundationModelsCommandInput,
|
|
49
77
|
ListFoundationModelsCommandOutput,
|
|
50
78
|
} from "./commands/ListFoundationModelsCommand";
|
|
79
|
+
import {
|
|
80
|
+
ListGuardrailsCommandInput,
|
|
81
|
+
ListGuardrailsCommandOutput,
|
|
82
|
+
} from "./commands/ListGuardrailsCommand";
|
|
51
83
|
import {
|
|
52
84
|
ListModelCustomizationJobsCommandInput,
|
|
53
85
|
ListModelCustomizationJobsCommandOutput,
|
|
@@ -64,6 +96,10 @@ import {
|
|
|
64
96
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
65
97
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
66
98
|
} from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
99
|
+
import {
|
|
100
|
+
StopEvaluationJobCommandInput,
|
|
101
|
+
StopEvaluationJobCommandOutput,
|
|
102
|
+
} from "./commands/StopEvaluationJobCommand";
|
|
67
103
|
import {
|
|
68
104
|
StopModelCustomizationJobCommandInput,
|
|
69
105
|
StopModelCustomizationJobCommandOutput,
|
|
@@ -76,11 +112,54 @@ import {
|
|
|
76
112
|
UntagResourceCommandInput,
|
|
77
113
|
UntagResourceCommandOutput,
|
|
78
114
|
} from "./commands/UntagResourceCommand";
|
|
115
|
+
import {
|
|
116
|
+
UpdateGuardrailCommandInput,
|
|
117
|
+
UpdateGuardrailCommandOutput,
|
|
118
|
+
} from "./commands/UpdateGuardrailCommand";
|
|
79
119
|
import {
|
|
80
120
|
UpdateProvisionedModelThroughputCommandInput,
|
|
81
121
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
82
122
|
} from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
83
123
|
export interface Bedrock {
|
|
124
|
+
createEvaluationJob(
|
|
125
|
+
args: CreateEvaluationJobCommandInput,
|
|
126
|
+
options?: __HttpHandlerOptions
|
|
127
|
+
): Promise<CreateEvaluationJobCommandOutput>;
|
|
128
|
+
createEvaluationJob(
|
|
129
|
+
args: CreateEvaluationJobCommandInput,
|
|
130
|
+
cb: (err: any, data?: CreateEvaluationJobCommandOutput) => void
|
|
131
|
+
): void;
|
|
132
|
+
createEvaluationJob(
|
|
133
|
+
args: CreateEvaluationJobCommandInput,
|
|
134
|
+
options: __HttpHandlerOptions,
|
|
135
|
+
cb: (err: any, data?: CreateEvaluationJobCommandOutput) => void
|
|
136
|
+
): void;
|
|
137
|
+
createGuardrail(
|
|
138
|
+
args: CreateGuardrailCommandInput,
|
|
139
|
+
options?: __HttpHandlerOptions
|
|
140
|
+
): Promise<CreateGuardrailCommandOutput>;
|
|
141
|
+
createGuardrail(
|
|
142
|
+
args: CreateGuardrailCommandInput,
|
|
143
|
+
cb: (err: any, data?: CreateGuardrailCommandOutput) => void
|
|
144
|
+
): void;
|
|
145
|
+
createGuardrail(
|
|
146
|
+
args: CreateGuardrailCommandInput,
|
|
147
|
+
options: __HttpHandlerOptions,
|
|
148
|
+
cb: (err: any, data?: CreateGuardrailCommandOutput) => void
|
|
149
|
+
): void;
|
|
150
|
+
createGuardrailVersion(
|
|
151
|
+
args: CreateGuardrailVersionCommandInput,
|
|
152
|
+
options?: __HttpHandlerOptions
|
|
153
|
+
): Promise<CreateGuardrailVersionCommandOutput>;
|
|
154
|
+
createGuardrailVersion(
|
|
155
|
+
args: CreateGuardrailVersionCommandInput,
|
|
156
|
+
cb: (err: any, data?: CreateGuardrailVersionCommandOutput) => void
|
|
157
|
+
): void;
|
|
158
|
+
createGuardrailVersion(
|
|
159
|
+
args: CreateGuardrailVersionCommandInput,
|
|
160
|
+
options: __HttpHandlerOptions,
|
|
161
|
+
cb: (err: any, data?: CreateGuardrailVersionCommandOutput) => void
|
|
162
|
+
): void;
|
|
84
163
|
createModelCustomizationJob(
|
|
85
164
|
args: CreateModelCustomizationJobCommandInput,
|
|
86
165
|
options?: __HttpHandlerOptions
|
|
@@ -120,6 +199,19 @@ export interface Bedrock {
|
|
|
120
199
|
options: __HttpHandlerOptions,
|
|
121
200
|
cb: (err: any, data?: DeleteCustomModelCommandOutput) => void
|
|
122
201
|
): void;
|
|
202
|
+
deleteGuardrail(
|
|
203
|
+
args: DeleteGuardrailCommandInput,
|
|
204
|
+
options?: __HttpHandlerOptions
|
|
205
|
+
): Promise<DeleteGuardrailCommandOutput>;
|
|
206
|
+
deleteGuardrail(
|
|
207
|
+
args: DeleteGuardrailCommandInput,
|
|
208
|
+
cb: (err: any, data?: DeleteGuardrailCommandOutput) => void
|
|
209
|
+
): void;
|
|
210
|
+
deleteGuardrail(
|
|
211
|
+
args: DeleteGuardrailCommandInput,
|
|
212
|
+
options: __HttpHandlerOptions,
|
|
213
|
+
cb: (err: any, data?: DeleteGuardrailCommandOutput) => void
|
|
214
|
+
): void;
|
|
123
215
|
deleteModelInvocationLoggingConfiguration(): Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
124
216
|
deleteModelInvocationLoggingConfiguration(
|
|
125
217
|
args: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
@@ -166,6 +258,19 @@ export interface Bedrock {
|
|
|
166
258
|
options: __HttpHandlerOptions,
|
|
167
259
|
cb: (err: any, data?: GetCustomModelCommandOutput) => void
|
|
168
260
|
): void;
|
|
261
|
+
getEvaluationJob(
|
|
262
|
+
args: GetEvaluationJobCommandInput,
|
|
263
|
+
options?: __HttpHandlerOptions
|
|
264
|
+
): Promise<GetEvaluationJobCommandOutput>;
|
|
265
|
+
getEvaluationJob(
|
|
266
|
+
args: GetEvaluationJobCommandInput,
|
|
267
|
+
cb: (err: any, data?: GetEvaluationJobCommandOutput) => void
|
|
268
|
+
): void;
|
|
269
|
+
getEvaluationJob(
|
|
270
|
+
args: GetEvaluationJobCommandInput,
|
|
271
|
+
options: __HttpHandlerOptions,
|
|
272
|
+
cb: (err: any, data?: GetEvaluationJobCommandOutput) => void
|
|
273
|
+
): void;
|
|
169
274
|
getFoundationModel(
|
|
170
275
|
args: GetFoundationModelCommandInput,
|
|
171
276
|
options?: __HttpHandlerOptions
|
|
@@ -179,6 +284,19 @@ export interface Bedrock {
|
|
|
179
284
|
options: __HttpHandlerOptions,
|
|
180
285
|
cb: (err: any, data?: GetFoundationModelCommandOutput) => void
|
|
181
286
|
): void;
|
|
287
|
+
getGuardrail(
|
|
288
|
+
args: GetGuardrailCommandInput,
|
|
289
|
+
options?: __HttpHandlerOptions
|
|
290
|
+
): Promise<GetGuardrailCommandOutput>;
|
|
291
|
+
getGuardrail(
|
|
292
|
+
args: GetGuardrailCommandInput,
|
|
293
|
+
cb: (err: any, data?: GetGuardrailCommandOutput) => void
|
|
294
|
+
): void;
|
|
295
|
+
getGuardrail(
|
|
296
|
+
args: GetGuardrailCommandInput,
|
|
297
|
+
options: __HttpHandlerOptions,
|
|
298
|
+
cb: (err: any, data?: GetGuardrailCommandOutput) => void
|
|
299
|
+
): void;
|
|
182
300
|
getModelCustomizationJob(
|
|
183
301
|
args: GetModelCustomizationJobCommandInput,
|
|
184
302
|
options?: __HttpHandlerOptions
|
|
@@ -239,6 +357,20 @@ export interface Bedrock {
|
|
|
239
357
|
options: __HttpHandlerOptions,
|
|
240
358
|
cb: (err: any, data?: ListCustomModelsCommandOutput) => void
|
|
241
359
|
): void;
|
|
360
|
+
listEvaluationJobs(): Promise<ListEvaluationJobsCommandOutput>;
|
|
361
|
+
listEvaluationJobs(
|
|
362
|
+
args: ListEvaluationJobsCommandInput,
|
|
363
|
+
options?: __HttpHandlerOptions
|
|
364
|
+
): Promise<ListEvaluationJobsCommandOutput>;
|
|
365
|
+
listEvaluationJobs(
|
|
366
|
+
args: ListEvaluationJobsCommandInput,
|
|
367
|
+
cb: (err: any, data?: ListEvaluationJobsCommandOutput) => void
|
|
368
|
+
): void;
|
|
369
|
+
listEvaluationJobs(
|
|
370
|
+
args: ListEvaluationJobsCommandInput,
|
|
371
|
+
options: __HttpHandlerOptions,
|
|
372
|
+
cb: (err: any, data?: ListEvaluationJobsCommandOutput) => void
|
|
373
|
+
): void;
|
|
242
374
|
listFoundationModels(): Promise<ListFoundationModelsCommandOutput>;
|
|
243
375
|
listFoundationModels(
|
|
244
376
|
args: ListFoundationModelsCommandInput,
|
|
@@ -253,6 +385,20 @@ export interface Bedrock {
|
|
|
253
385
|
options: __HttpHandlerOptions,
|
|
254
386
|
cb: (err: any, data?: ListFoundationModelsCommandOutput) => void
|
|
255
387
|
): void;
|
|
388
|
+
listGuardrails(): Promise<ListGuardrailsCommandOutput>;
|
|
389
|
+
listGuardrails(
|
|
390
|
+
args: ListGuardrailsCommandInput,
|
|
391
|
+
options?: __HttpHandlerOptions
|
|
392
|
+
): Promise<ListGuardrailsCommandOutput>;
|
|
393
|
+
listGuardrails(
|
|
394
|
+
args: ListGuardrailsCommandInput,
|
|
395
|
+
cb: (err: any, data?: ListGuardrailsCommandOutput) => void
|
|
396
|
+
): void;
|
|
397
|
+
listGuardrails(
|
|
398
|
+
args: ListGuardrailsCommandInput,
|
|
399
|
+
options: __HttpHandlerOptions,
|
|
400
|
+
cb: (err: any, data?: ListGuardrailsCommandOutput) => void
|
|
401
|
+
): void;
|
|
256
402
|
listModelCustomizationJobs(): Promise<ListModelCustomizationJobsCommandOutput>;
|
|
257
403
|
listModelCustomizationJobs(
|
|
258
404
|
args: ListModelCustomizationJobsCommandInput,
|
|
@@ -313,6 +459,19 @@ export interface Bedrock {
|
|
|
313
459
|
data?: PutModelInvocationLoggingConfigurationCommandOutput
|
|
314
460
|
) => void
|
|
315
461
|
): void;
|
|
462
|
+
stopEvaluationJob(
|
|
463
|
+
args: StopEvaluationJobCommandInput,
|
|
464
|
+
options?: __HttpHandlerOptions
|
|
465
|
+
): Promise<StopEvaluationJobCommandOutput>;
|
|
466
|
+
stopEvaluationJob(
|
|
467
|
+
args: StopEvaluationJobCommandInput,
|
|
468
|
+
cb: (err: any, data?: StopEvaluationJobCommandOutput) => void
|
|
469
|
+
): void;
|
|
470
|
+
stopEvaluationJob(
|
|
471
|
+
args: StopEvaluationJobCommandInput,
|
|
472
|
+
options: __HttpHandlerOptions,
|
|
473
|
+
cb: (err: any, data?: StopEvaluationJobCommandOutput) => void
|
|
474
|
+
): void;
|
|
316
475
|
stopModelCustomizationJob(
|
|
317
476
|
args: StopModelCustomizationJobCommandInput,
|
|
318
477
|
options?: __HttpHandlerOptions
|
|
@@ -352,6 +511,19 @@ export interface Bedrock {
|
|
|
352
511
|
options: __HttpHandlerOptions,
|
|
353
512
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
354
513
|
): void;
|
|
514
|
+
updateGuardrail(
|
|
515
|
+
args: UpdateGuardrailCommandInput,
|
|
516
|
+
options?: __HttpHandlerOptions
|
|
517
|
+
): Promise<UpdateGuardrailCommandOutput>;
|
|
518
|
+
updateGuardrail(
|
|
519
|
+
args: UpdateGuardrailCommandInput,
|
|
520
|
+
cb: (err: any, data?: UpdateGuardrailCommandOutput) => void
|
|
521
|
+
): void;
|
|
522
|
+
updateGuardrail(
|
|
523
|
+
args: UpdateGuardrailCommandInput,
|
|
524
|
+
options: __HttpHandlerOptions,
|
|
525
|
+
cb: (err: any, data?: UpdateGuardrailCommandOutput) => void
|
|
526
|
+
): void;
|
|
355
527
|
updateProvisionedModelThroughput(
|
|
356
528
|
args: UpdateProvisionedModelThroughputCommandInput,
|
|
357
529
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,18 @@ import {
|
|
|
45
45
|
HttpAuthSchemeInputConfig,
|
|
46
46
|
HttpAuthSchemeResolvedConfig,
|
|
47
47
|
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
CreateEvaluationJobCommandInput,
|
|
50
|
+
CreateEvaluationJobCommandOutput,
|
|
51
|
+
} from "./commands/CreateEvaluationJobCommand";
|
|
52
|
+
import {
|
|
53
|
+
CreateGuardrailCommandInput,
|
|
54
|
+
CreateGuardrailCommandOutput,
|
|
55
|
+
} from "./commands/CreateGuardrailCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreateGuardrailVersionCommandInput,
|
|
58
|
+
CreateGuardrailVersionCommandOutput,
|
|
59
|
+
} from "./commands/CreateGuardrailVersionCommand";
|
|
48
60
|
import {
|
|
49
61
|
CreateModelCustomizationJobCommandInput,
|
|
50
62
|
CreateModelCustomizationJobCommandOutput,
|
|
@@ -57,6 +69,10 @@ import {
|
|
|
57
69
|
DeleteCustomModelCommandInput,
|
|
58
70
|
DeleteCustomModelCommandOutput,
|
|
59
71
|
} from "./commands/DeleteCustomModelCommand";
|
|
72
|
+
import {
|
|
73
|
+
DeleteGuardrailCommandInput,
|
|
74
|
+
DeleteGuardrailCommandOutput,
|
|
75
|
+
} from "./commands/DeleteGuardrailCommand";
|
|
60
76
|
import {
|
|
61
77
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
62
78
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -69,10 +85,18 @@ import {
|
|
|
69
85
|
GetCustomModelCommandInput,
|
|
70
86
|
GetCustomModelCommandOutput,
|
|
71
87
|
} from "./commands/GetCustomModelCommand";
|
|
88
|
+
import {
|
|
89
|
+
GetEvaluationJobCommandInput,
|
|
90
|
+
GetEvaluationJobCommandOutput,
|
|
91
|
+
} from "./commands/GetEvaluationJobCommand";
|
|
72
92
|
import {
|
|
73
93
|
GetFoundationModelCommandInput,
|
|
74
94
|
GetFoundationModelCommandOutput,
|
|
75
95
|
} from "./commands/GetFoundationModelCommand";
|
|
96
|
+
import {
|
|
97
|
+
GetGuardrailCommandInput,
|
|
98
|
+
GetGuardrailCommandOutput,
|
|
99
|
+
} from "./commands/GetGuardrailCommand";
|
|
76
100
|
import {
|
|
77
101
|
GetModelCustomizationJobCommandInput,
|
|
78
102
|
GetModelCustomizationJobCommandOutput,
|
|
@@ -89,10 +113,18 @@ import {
|
|
|
89
113
|
ListCustomModelsCommandInput,
|
|
90
114
|
ListCustomModelsCommandOutput,
|
|
91
115
|
} from "./commands/ListCustomModelsCommand";
|
|
116
|
+
import {
|
|
117
|
+
ListEvaluationJobsCommandInput,
|
|
118
|
+
ListEvaluationJobsCommandOutput,
|
|
119
|
+
} from "./commands/ListEvaluationJobsCommand";
|
|
92
120
|
import {
|
|
93
121
|
ListFoundationModelsCommandInput,
|
|
94
122
|
ListFoundationModelsCommandOutput,
|
|
95
123
|
} from "./commands/ListFoundationModelsCommand";
|
|
124
|
+
import {
|
|
125
|
+
ListGuardrailsCommandInput,
|
|
126
|
+
ListGuardrailsCommandOutput,
|
|
127
|
+
} from "./commands/ListGuardrailsCommand";
|
|
96
128
|
import {
|
|
97
129
|
ListModelCustomizationJobsCommandInput,
|
|
98
130
|
ListModelCustomizationJobsCommandOutput,
|
|
@@ -109,6 +141,10 @@ import {
|
|
|
109
141
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
110
142
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
111
143
|
} from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
144
|
+
import {
|
|
145
|
+
StopEvaluationJobCommandInput,
|
|
146
|
+
StopEvaluationJobCommandOutput,
|
|
147
|
+
} from "./commands/StopEvaluationJobCommand";
|
|
112
148
|
import {
|
|
113
149
|
StopModelCustomizationJobCommandInput,
|
|
114
150
|
StopModelCustomizationJobCommandOutput,
|
|
@@ -121,6 +157,10 @@ import {
|
|
|
121
157
|
UntagResourceCommandInput,
|
|
122
158
|
UntagResourceCommandOutput,
|
|
123
159
|
} from "./commands/UntagResourceCommand";
|
|
160
|
+
import {
|
|
161
|
+
UpdateGuardrailCommandInput,
|
|
162
|
+
UpdateGuardrailCommandOutput,
|
|
163
|
+
} from "./commands/UpdateGuardrailCommand";
|
|
124
164
|
import {
|
|
125
165
|
UpdateProvisionedModelThroughputCommandInput,
|
|
126
166
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
@@ -133,46 +173,66 @@ import {
|
|
|
133
173
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
134
174
|
export { __Client };
|
|
135
175
|
export type ServiceInputTypes =
|
|
176
|
+
| CreateEvaluationJobCommandInput
|
|
177
|
+
| CreateGuardrailCommandInput
|
|
178
|
+
| CreateGuardrailVersionCommandInput
|
|
136
179
|
| CreateModelCustomizationJobCommandInput
|
|
137
180
|
| CreateProvisionedModelThroughputCommandInput
|
|
138
181
|
| DeleteCustomModelCommandInput
|
|
182
|
+
| DeleteGuardrailCommandInput
|
|
139
183
|
| DeleteModelInvocationLoggingConfigurationCommandInput
|
|
140
184
|
| DeleteProvisionedModelThroughputCommandInput
|
|
141
185
|
| GetCustomModelCommandInput
|
|
186
|
+
| GetEvaluationJobCommandInput
|
|
142
187
|
| GetFoundationModelCommandInput
|
|
188
|
+
| GetGuardrailCommandInput
|
|
143
189
|
| GetModelCustomizationJobCommandInput
|
|
144
190
|
| GetModelInvocationLoggingConfigurationCommandInput
|
|
145
191
|
| GetProvisionedModelThroughputCommandInput
|
|
146
192
|
| ListCustomModelsCommandInput
|
|
193
|
+
| ListEvaluationJobsCommandInput
|
|
147
194
|
| ListFoundationModelsCommandInput
|
|
195
|
+
| ListGuardrailsCommandInput
|
|
148
196
|
| ListModelCustomizationJobsCommandInput
|
|
149
197
|
| ListProvisionedModelThroughputsCommandInput
|
|
150
198
|
| ListTagsForResourceCommandInput
|
|
151
199
|
| PutModelInvocationLoggingConfigurationCommandInput
|
|
200
|
+
| StopEvaluationJobCommandInput
|
|
152
201
|
| StopModelCustomizationJobCommandInput
|
|
153
202
|
| TagResourceCommandInput
|
|
154
203
|
| UntagResourceCommandInput
|
|
204
|
+
| UpdateGuardrailCommandInput
|
|
155
205
|
| UpdateProvisionedModelThroughputCommandInput;
|
|
156
206
|
export type ServiceOutputTypes =
|
|
207
|
+
| CreateEvaluationJobCommandOutput
|
|
208
|
+
| CreateGuardrailCommandOutput
|
|
209
|
+
| CreateGuardrailVersionCommandOutput
|
|
157
210
|
| CreateModelCustomizationJobCommandOutput
|
|
158
211
|
| CreateProvisionedModelThroughputCommandOutput
|
|
159
212
|
| DeleteCustomModelCommandOutput
|
|
213
|
+
| DeleteGuardrailCommandOutput
|
|
160
214
|
| DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
161
215
|
| DeleteProvisionedModelThroughputCommandOutput
|
|
162
216
|
| GetCustomModelCommandOutput
|
|
217
|
+
| GetEvaluationJobCommandOutput
|
|
163
218
|
| GetFoundationModelCommandOutput
|
|
219
|
+
| GetGuardrailCommandOutput
|
|
164
220
|
| GetModelCustomizationJobCommandOutput
|
|
165
221
|
| GetModelInvocationLoggingConfigurationCommandOutput
|
|
166
222
|
| GetProvisionedModelThroughputCommandOutput
|
|
167
223
|
| ListCustomModelsCommandOutput
|
|
224
|
+
| ListEvaluationJobsCommandOutput
|
|
168
225
|
| ListFoundationModelsCommandOutput
|
|
226
|
+
| ListGuardrailsCommandOutput
|
|
169
227
|
| ListModelCustomizationJobsCommandOutput
|
|
170
228
|
| ListProvisionedModelThroughputsCommandOutput
|
|
171
229
|
| ListTagsForResourceCommandOutput
|
|
172
230
|
| PutModelInvocationLoggingConfigurationCommandOutput
|
|
231
|
+
| StopEvaluationJobCommandOutput
|
|
173
232
|
| StopModelCustomizationJobCommandOutput
|
|
174
233
|
| TagResourceCommandOutput
|
|
175
234
|
| UntagResourceCommandOutput
|
|
235
|
+
| UpdateGuardrailCommandOutput
|
|
176
236
|
| UpdateProvisionedModelThroughputCommandOutput;
|
|
177
237
|
export interface ClientDefaults
|
|
178
238
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|