Skip to content

Commit 188d601

Browse files
author
awstools
committed
feat(client-cleanroomsml): This release introduces support for Custom Models in AWS Clean Rooms ML.
1 parent b06511c commit 188d601

File tree

51 files changed

+20554
-2119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+20554
-2119
lines changed

clients/client-cleanroomsml/README.md

+264
Large diffs are not rendered by default.

clients/client-cleanroomsml/src/CleanRoomsML.ts

+757
Large diffs are not rendered by default.

clients/client-cleanroomsml/src/CleanRoomsMLClient.ts

+177
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ import {
5353
HttpAuthSchemeResolvedConfig,
5454
resolveHttpAuthSchemeConfig,
5555
} from "./auth/httpAuthSchemeProvider";
56+
import { CancelTrainedModelCommandInput, CancelTrainedModelCommandOutput } from "./commands/CancelTrainedModelCommand";
57+
import {
58+
CancelTrainedModelInferenceJobCommandInput,
59+
CancelTrainedModelInferenceJobCommandOutput,
60+
} from "./commands/CancelTrainedModelInferenceJobCommand";
5661
import {
5762
CreateAudienceModelCommandInput,
5863
CreateAudienceModelCommandOutput,
@@ -61,6 +66,19 @@ import {
6166
CreateConfiguredAudienceModelCommandInput,
6267
CreateConfiguredAudienceModelCommandOutput,
6368
} from "./commands/CreateConfiguredAudienceModelCommand";
69+
import {
70+
CreateConfiguredModelAlgorithmAssociationCommandInput,
71+
CreateConfiguredModelAlgorithmAssociationCommandOutput,
72+
} from "./commands/CreateConfiguredModelAlgorithmAssociationCommand";
73+
import {
74+
CreateConfiguredModelAlgorithmCommandInput,
75+
CreateConfiguredModelAlgorithmCommandOutput,
76+
} from "./commands/CreateConfiguredModelAlgorithmCommand";
77+
import {
78+
CreateMLInputChannelCommandInput,
79+
CreateMLInputChannelCommandOutput,
80+
} from "./commands/CreateMLInputChannelCommand";
81+
import { CreateTrainedModelCommandInput, CreateTrainedModelCommandOutput } from "./commands/CreateTrainedModelCommand";
6482
import {
6583
CreateTrainingDatasetCommandInput,
6684
CreateTrainingDatasetCommandOutput,
@@ -81,6 +99,26 @@ import {
8199
DeleteConfiguredAudienceModelPolicyCommandInput,
82100
DeleteConfiguredAudienceModelPolicyCommandOutput,
83101
} from "./commands/DeleteConfiguredAudienceModelPolicyCommand";
102+
import {
103+
DeleteConfiguredModelAlgorithmAssociationCommandInput,
104+
DeleteConfiguredModelAlgorithmAssociationCommandOutput,
105+
} from "./commands/DeleteConfiguredModelAlgorithmAssociationCommand";
106+
import {
107+
DeleteConfiguredModelAlgorithmCommandInput,
108+
DeleteConfiguredModelAlgorithmCommandOutput,
109+
} from "./commands/DeleteConfiguredModelAlgorithmCommand";
110+
import {
111+
DeleteMLConfigurationCommandInput,
112+
DeleteMLConfigurationCommandOutput,
113+
} from "./commands/DeleteMLConfigurationCommand";
114+
import {
115+
DeleteMLInputChannelDataCommandInput,
116+
DeleteMLInputChannelDataCommandOutput,
117+
} from "./commands/DeleteMLInputChannelDataCommand";
118+
import {
119+
DeleteTrainedModelOutputCommandInput,
120+
DeleteTrainedModelOutputCommandOutput,
121+
} from "./commands/DeleteTrainedModelOutputCommand";
84122
import {
85123
DeleteTrainingDatasetCommandInput,
86124
DeleteTrainingDatasetCommandOutput,
@@ -90,6 +128,18 @@ import {
90128
GetAudienceGenerationJobCommandOutput,
91129
} from "./commands/GetAudienceGenerationJobCommand";
92130
import { GetAudienceModelCommandInput, GetAudienceModelCommandOutput } from "./commands/GetAudienceModelCommand";
131+
import {
132+
GetCollaborationConfiguredModelAlgorithmAssociationCommandInput,
133+
GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput,
134+
} from "./commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand";
135+
import {
136+
GetCollaborationMLInputChannelCommandInput,
137+
GetCollaborationMLInputChannelCommandOutput,
138+
} from "./commands/GetCollaborationMLInputChannelCommand";
139+
import {
140+
GetCollaborationTrainedModelCommandInput,
141+
GetCollaborationTrainedModelCommandOutput,
142+
} from "./commands/GetCollaborationTrainedModelCommand";
93143
import {
94144
GetConfiguredAudienceModelCommandInput,
95145
GetConfiguredAudienceModelCommandOutput,
@@ -98,6 +148,21 @@ import {
98148
GetConfiguredAudienceModelPolicyCommandInput,
99149
GetConfiguredAudienceModelPolicyCommandOutput,
100150
} from "./commands/GetConfiguredAudienceModelPolicyCommand";
151+
import {
152+
GetConfiguredModelAlgorithmAssociationCommandInput,
153+
GetConfiguredModelAlgorithmAssociationCommandOutput,
154+
} from "./commands/GetConfiguredModelAlgorithmAssociationCommand";
155+
import {
156+
GetConfiguredModelAlgorithmCommandInput,
157+
GetConfiguredModelAlgorithmCommandOutput,
158+
} from "./commands/GetConfiguredModelAlgorithmCommand";
159+
import { GetMLConfigurationCommandInput, GetMLConfigurationCommandOutput } from "./commands/GetMLConfigurationCommand";
160+
import { GetMLInputChannelCommandInput, GetMLInputChannelCommandOutput } from "./commands/GetMLInputChannelCommand";
161+
import { GetTrainedModelCommandInput, GetTrainedModelCommandOutput } from "./commands/GetTrainedModelCommand";
162+
import {
163+
GetTrainedModelInferenceJobCommandInput,
164+
GetTrainedModelInferenceJobCommandOutput,
165+
} from "./commands/GetTrainedModelInferenceJobCommand";
101166
import { GetTrainingDatasetCommandInput, GetTrainingDatasetCommandOutput } from "./commands/GetTrainingDatasetCommand";
102167
import {
103168
ListAudienceExportJobsCommandInput,
@@ -108,14 +173,51 @@ import {
108173
ListAudienceGenerationJobsCommandOutput,
109174
} from "./commands/ListAudienceGenerationJobsCommand";
110175
import { ListAudienceModelsCommandInput, ListAudienceModelsCommandOutput } from "./commands/ListAudienceModelsCommand";
176+
import {
177+
ListCollaborationConfiguredModelAlgorithmAssociationsCommandInput,
178+
ListCollaborationConfiguredModelAlgorithmAssociationsCommandOutput,
179+
} from "./commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand";
180+
import {
181+
ListCollaborationMLInputChannelsCommandInput,
182+
ListCollaborationMLInputChannelsCommandOutput,
183+
} from "./commands/ListCollaborationMLInputChannelsCommand";
184+
import {
185+
ListCollaborationTrainedModelExportJobsCommandInput,
186+
ListCollaborationTrainedModelExportJobsCommandOutput,
187+
} from "./commands/ListCollaborationTrainedModelExportJobsCommand";
188+
import {
189+
ListCollaborationTrainedModelInferenceJobsCommandInput,
190+
ListCollaborationTrainedModelInferenceJobsCommandOutput,
191+
} from "./commands/ListCollaborationTrainedModelInferenceJobsCommand";
192+
import {
193+
ListCollaborationTrainedModelsCommandInput,
194+
ListCollaborationTrainedModelsCommandOutput,
195+
} from "./commands/ListCollaborationTrainedModelsCommand";
111196
import {
112197
ListConfiguredAudienceModelsCommandInput,
113198
ListConfiguredAudienceModelsCommandOutput,
114199
} from "./commands/ListConfiguredAudienceModelsCommand";
200+
import {
201+
ListConfiguredModelAlgorithmAssociationsCommandInput,
202+
ListConfiguredModelAlgorithmAssociationsCommandOutput,
203+
} from "./commands/ListConfiguredModelAlgorithmAssociationsCommand";
204+
import {
205+
ListConfiguredModelAlgorithmsCommandInput,
206+
ListConfiguredModelAlgorithmsCommandOutput,
207+
} from "./commands/ListConfiguredModelAlgorithmsCommand";
208+
import {
209+
ListMLInputChannelsCommandInput,
210+
ListMLInputChannelsCommandOutput,
211+
} from "./commands/ListMLInputChannelsCommand";
115212
import {
116213
ListTagsForResourceCommandInput,
117214
ListTagsForResourceCommandOutput,
118215
} from "./commands/ListTagsForResourceCommand";
216+
import {
217+
ListTrainedModelInferenceJobsCommandInput,
218+
ListTrainedModelInferenceJobsCommandOutput,
219+
} from "./commands/ListTrainedModelInferenceJobsCommand";
220+
import { ListTrainedModelsCommandInput, ListTrainedModelsCommandOutput } from "./commands/ListTrainedModelsCommand";
119221
import {
120222
ListTrainingDatasetsCommandInput,
121223
ListTrainingDatasetsCommandOutput,
@@ -124,6 +226,7 @@ import {
124226
PutConfiguredAudienceModelPolicyCommandInput,
125227
PutConfiguredAudienceModelPolicyCommandOutput,
126228
} from "./commands/PutConfiguredAudienceModelPolicyCommand";
229+
import { PutMLConfigurationCommandInput, PutMLConfigurationCommandOutput } from "./commands/PutMLConfigurationCommand";
127230
import {
128231
StartAudienceExportJobCommandInput,
129232
StartAudienceExportJobCommandOutput,
@@ -132,6 +235,14 @@ import {
132235
StartAudienceGenerationJobCommandInput,
133236
StartAudienceGenerationJobCommandOutput,
134237
} from "./commands/StartAudienceGenerationJobCommand";
238+
import {
239+
StartTrainedModelExportJobCommandInput,
240+
StartTrainedModelExportJobCommandOutput,
241+
} from "./commands/StartTrainedModelExportJobCommand";
242+
import {
243+
StartTrainedModelInferenceJobCommandInput,
244+
StartTrainedModelInferenceJobCommandOutput,
245+
} from "./commands/StartTrainedModelInferenceJobCommand";
135246
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
136247
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
137248
import {
@@ -153,28 +264,61 @@ export { __Client };
153264
* @public
154265
*/
155266
export type ServiceInputTypes =
267+
| CancelTrainedModelCommandInput
268+
| CancelTrainedModelInferenceJobCommandInput
156269
| CreateAudienceModelCommandInput
157270
| CreateConfiguredAudienceModelCommandInput
271+
| CreateConfiguredModelAlgorithmAssociationCommandInput
272+
| CreateConfiguredModelAlgorithmCommandInput
273+
| CreateMLInputChannelCommandInput
274+
| CreateTrainedModelCommandInput
158275
| CreateTrainingDatasetCommandInput
159276
| DeleteAudienceGenerationJobCommandInput
160277
| DeleteAudienceModelCommandInput
161278
| DeleteConfiguredAudienceModelCommandInput
162279
| DeleteConfiguredAudienceModelPolicyCommandInput
280+
| DeleteConfiguredModelAlgorithmAssociationCommandInput
281+
| DeleteConfiguredModelAlgorithmCommandInput
282+
| DeleteMLConfigurationCommandInput
283+
| DeleteMLInputChannelDataCommandInput
284+
| DeleteTrainedModelOutputCommandInput
163285
| DeleteTrainingDatasetCommandInput
164286
| GetAudienceGenerationJobCommandInput
165287
| GetAudienceModelCommandInput
288+
| GetCollaborationConfiguredModelAlgorithmAssociationCommandInput
289+
| GetCollaborationMLInputChannelCommandInput
290+
| GetCollaborationTrainedModelCommandInput
166291
| GetConfiguredAudienceModelCommandInput
167292
| GetConfiguredAudienceModelPolicyCommandInput
293+
| GetConfiguredModelAlgorithmAssociationCommandInput
294+
| GetConfiguredModelAlgorithmCommandInput
295+
| GetMLConfigurationCommandInput
296+
| GetMLInputChannelCommandInput
297+
| GetTrainedModelCommandInput
298+
| GetTrainedModelInferenceJobCommandInput
168299
| GetTrainingDatasetCommandInput
169300
| ListAudienceExportJobsCommandInput
170301
| ListAudienceGenerationJobsCommandInput
171302
| ListAudienceModelsCommandInput
303+
| ListCollaborationConfiguredModelAlgorithmAssociationsCommandInput
304+
| ListCollaborationMLInputChannelsCommandInput
305+
| ListCollaborationTrainedModelExportJobsCommandInput
306+
| ListCollaborationTrainedModelInferenceJobsCommandInput
307+
| ListCollaborationTrainedModelsCommandInput
172308
| ListConfiguredAudienceModelsCommandInput
309+
| ListConfiguredModelAlgorithmAssociationsCommandInput
310+
| ListConfiguredModelAlgorithmsCommandInput
311+
| ListMLInputChannelsCommandInput
173312
| ListTagsForResourceCommandInput
313+
| ListTrainedModelInferenceJobsCommandInput
314+
| ListTrainedModelsCommandInput
174315
| ListTrainingDatasetsCommandInput
175316
| PutConfiguredAudienceModelPolicyCommandInput
317+
| PutMLConfigurationCommandInput
176318
| StartAudienceExportJobCommandInput
177319
| StartAudienceGenerationJobCommandInput
320+
| StartTrainedModelExportJobCommandInput
321+
| StartTrainedModelInferenceJobCommandInput
178322
| TagResourceCommandInput
179323
| UntagResourceCommandInput
180324
| UpdateConfiguredAudienceModelCommandInput;
@@ -183,28 +327,61 @@ export type ServiceInputTypes =
183327
* @public
184328
*/
185329
export type ServiceOutputTypes =
330+
| CancelTrainedModelCommandOutput
331+
| CancelTrainedModelInferenceJobCommandOutput
186332
| CreateAudienceModelCommandOutput
187333
| CreateConfiguredAudienceModelCommandOutput
334+
| CreateConfiguredModelAlgorithmAssociationCommandOutput
335+
| CreateConfiguredModelAlgorithmCommandOutput
336+
| CreateMLInputChannelCommandOutput
337+
| CreateTrainedModelCommandOutput
188338
| CreateTrainingDatasetCommandOutput
189339
| DeleteAudienceGenerationJobCommandOutput
190340
| DeleteAudienceModelCommandOutput
191341
| DeleteConfiguredAudienceModelCommandOutput
192342
| DeleteConfiguredAudienceModelPolicyCommandOutput
343+
| DeleteConfiguredModelAlgorithmAssociationCommandOutput
344+
| DeleteConfiguredModelAlgorithmCommandOutput
345+
| DeleteMLConfigurationCommandOutput
346+
| DeleteMLInputChannelDataCommandOutput
347+
| DeleteTrainedModelOutputCommandOutput
193348
| DeleteTrainingDatasetCommandOutput
194349
| GetAudienceGenerationJobCommandOutput
195350
| GetAudienceModelCommandOutput
351+
| GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput
352+
| GetCollaborationMLInputChannelCommandOutput
353+
| GetCollaborationTrainedModelCommandOutput
196354
| GetConfiguredAudienceModelCommandOutput
197355
| GetConfiguredAudienceModelPolicyCommandOutput
356+
| GetConfiguredModelAlgorithmAssociationCommandOutput
357+
| GetConfiguredModelAlgorithmCommandOutput
358+
| GetMLConfigurationCommandOutput
359+
| GetMLInputChannelCommandOutput
360+
| GetTrainedModelCommandOutput
361+
| GetTrainedModelInferenceJobCommandOutput
198362
| GetTrainingDatasetCommandOutput
199363
| ListAudienceExportJobsCommandOutput
200364
| ListAudienceGenerationJobsCommandOutput
201365
| ListAudienceModelsCommandOutput
366+
| ListCollaborationConfiguredModelAlgorithmAssociationsCommandOutput
367+
| ListCollaborationMLInputChannelsCommandOutput
368+
| ListCollaborationTrainedModelExportJobsCommandOutput
369+
| ListCollaborationTrainedModelInferenceJobsCommandOutput
370+
| ListCollaborationTrainedModelsCommandOutput
202371
| ListConfiguredAudienceModelsCommandOutput
372+
| ListConfiguredModelAlgorithmAssociationsCommandOutput
373+
| ListConfiguredModelAlgorithmsCommandOutput
374+
| ListMLInputChannelsCommandOutput
203375
| ListTagsForResourceCommandOutput
376+
| ListTrainedModelInferenceJobsCommandOutput
377+
| ListTrainedModelsCommandOutput
204378
| ListTrainingDatasetsCommandOutput
205379
| PutConfiguredAudienceModelPolicyCommandOutput
380+
| PutMLConfigurationCommandOutput
206381
| StartAudienceExportJobCommandOutput
207382
| StartAudienceGenerationJobCommandOutput
383+
| StartTrainedModelExportJobCommandOutput
384+
| StartTrainedModelInferenceJobCommandOutput
208385
| TagResourceCommandOutput
209386
| UntagResourceCommandOutput
210387
| UpdateConfiguredAudienceModelCommandOutput;

0 commit comments

Comments
 (0)