@aws-sdk/client-cleanroomsml 3.840.0 → 3.841.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 +9 -6
- package/dist-cjs/index.js +239 -18
- package/dist-es/CleanRoomsML.js +2 -0
- package/dist-es/commands/ListTrainedModelVersionsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/pagination/ListTrainedModelVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +134 -7
- package/dist-types/CleanRoomsML.d.ts +8 -6
- package/dist-types/CleanRoomsMLClient.d.ts +4 -8
- package/dist-types/commands/CancelTrainedModelCommand.d.ts +4 -0
- package/dist-types/commands/CancelTrainedModelInferenceJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/CreateMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/CreateTrainedModelCommand.d.ts +16 -0
- package/dist-types/commands/DeleteConfiguredModelAlgorithmAssociationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMLInputChannelDataCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTrainedModelOutputCommand.d.ts +5 -1
- package/dist-types/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/GetCollaborationMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetCollaborationTrainedModelCommand.d.ts +13 -0
- package/dist-types/commands/GetConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/GetMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetTrainedModelCommand.d.ts +14 -0
- package/dist-types/commands/GetTrainedModelInferenceJobCommand.d.ts +4 -0
- package/dist-types/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/ListCollaborationMLInputChannelsCommand.d.ts +3 -0
- package/dist-types/commands/ListCollaborationTrainedModelExportJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListCollaborationTrainedModelInferenceJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListCollaborationTrainedModelsCommand.d.ts +11 -0
- package/dist-types/commands/ListConfiguredModelAlgorithmAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/ListMLInputChannelsCommand.d.ts +3 -0
- package/dist-types/commands/ListTrainedModelInferenceJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListTrainedModelVersionsCommand.d.ts +109 -0
- package/dist-types/commands/ListTrainedModelsCommand.d.ts +11 -0
- package/dist-types/commands/PutMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +3 -0
- package/dist-types/commands/StartTrainedModelExportJobCommand.d.ts +4 -0
- package/dist-types/commands/StartTrainedModelInferenceJobCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -6
- package/dist-types/models/models_0.d.ts +341 -411
- package/dist-types/pagination/ListTrainedModelVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/CleanRoomsML.d.ts +17 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListTrainedModelVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -0
- package/dist-types/ts3.4/pagination/ListTrainedModelVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/dist-es/CleanRoomsML.js
CHANGED
|
@@ -48,6 +48,7 @@ import { ListMLInputChannelsCommand, } from "./commands/ListMLInputChannelsComma
|
|
|
48
48
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
49
49
|
import { ListTrainedModelInferenceJobsCommand, } from "./commands/ListTrainedModelInferenceJobsCommand";
|
|
50
50
|
import { ListTrainedModelsCommand, } from "./commands/ListTrainedModelsCommand";
|
|
51
|
+
import { ListTrainedModelVersionsCommand, } from "./commands/ListTrainedModelVersionsCommand";
|
|
51
52
|
import { ListTrainingDatasetsCommand, } from "./commands/ListTrainingDatasetsCommand";
|
|
52
53
|
import { PutConfiguredAudienceModelPolicyCommand, } from "./commands/PutConfiguredAudienceModelPolicyCommand";
|
|
53
54
|
import { PutMLConfigurationCommand, } from "./commands/PutMLConfigurationCommand";
|
|
@@ -107,6 +108,7 @@ const commands = {
|
|
|
107
108
|
ListTagsForResourceCommand,
|
|
108
109
|
ListTrainedModelInferenceJobsCommand,
|
|
109
110
|
ListTrainedModelsCommand,
|
|
111
|
+
ListTrainedModelVersionsCommand,
|
|
110
112
|
ListTrainingDatasetsCommand,
|
|
111
113
|
PutConfiguredAudienceModelPolicyCommand,
|
|
112
114
|
PutMLConfigurationCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTrainedModelVersionsCommand, se_ListTrainedModelVersionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTrainedModelVersionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSStarkControlService", "ListTrainedModelVersions", {})
|
|
17
|
+
.n("CleanRoomsMLClient", "ListTrainedModelVersionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTrainedModelVersionsCommand)
|
|
20
|
+
.de(de_ListTrainedModelVersionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -45,6 +45,7 @@ export * from "./ListConfiguredModelAlgorithmsCommand";
|
|
|
45
45
|
export * from "./ListMLInputChannelsCommand";
|
|
46
46
|
export * from "./ListTagsForResourceCommand";
|
|
47
47
|
export * from "./ListTrainedModelInferenceJobsCommand";
|
|
48
|
+
export * from "./ListTrainedModelVersionsCommand";
|
|
48
49
|
export * from "./ListTrainedModelsCommand";
|
|
49
50
|
export * from "./ListTrainingDatasetsCommand";
|
|
50
51
|
export * from "./PutConfiguredAudienceModelPolicyCommand";
|
|
@@ -61,6 +61,8 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
61
61
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
62
62
|
name = "ServiceQuotaExceededException";
|
|
63
63
|
$fault = "client";
|
|
64
|
+
quotaName;
|
|
65
|
+
quotaValue;
|
|
64
66
|
constructor(opts) {
|
|
65
67
|
super({
|
|
66
68
|
name: "ServiceQuotaExceededException",
|
|
@@ -68,6 +70,8 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
68
70
|
...opts,
|
|
69
71
|
});
|
|
70
72
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
73
|
+
this.quotaName = opts.quotaName;
|
|
74
|
+
this.quotaValue = opts.quotaValue;
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
77
|
export const WorkerComputeType = {
|
|
@@ -91,6 +95,18 @@ export const AudienceGenerationJobStatus = {
|
|
|
91
95
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
92
96
|
DELETE_PENDING: "DELETE_PENDING",
|
|
93
97
|
};
|
|
98
|
+
export class ThrottlingException extends __BaseException {
|
|
99
|
+
name = "ThrottlingException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ThrottlingException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
94
110
|
export const AudienceModelStatus = {
|
|
95
111
|
ACTIVE: "ACTIVE",
|
|
96
112
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -131,6 +147,9 @@ export const NoiseLevelType = {
|
|
|
131
147
|
MEDIUM: "MEDIUM",
|
|
132
148
|
NONE: "NONE",
|
|
133
149
|
};
|
|
150
|
+
export const TrainedModelArtifactMaxSizeUnitType = {
|
|
151
|
+
GB: "GB",
|
|
152
|
+
};
|
|
134
153
|
export const MLInputChannelStatus = {
|
|
135
154
|
ACTIVE: "ACTIVE",
|
|
136
155
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -186,6 +205,10 @@ export var InputChannelDataSource;
|
|
|
186
205
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
187
206
|
};
|
|
188
207
|
})(InputChannelDataSource || (InputChannelDataSource = {}));
|
|
208
|
+
export const S3DataDistributionType = {
|
|
209
|
+
FULLY_REPLICATED: "FullyReplicated",
|
|
210
|
+
SHARDED_BY_S3_KEY: "ShardedByS3Key",
|
|
211
|
+
};
|
|
189
212
|
export const _InstanceType = {
|
|
190
213
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
191
214
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -277,6 +300,23 @@ export const _InstanceType = {
|
|
|
277
300
|
ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
|
|
278
301
|
ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
|
|
279
302
|
};
|
|
303
|
+
export const TrainingInputMode = {
|
|
304
|
+
FAST_FILE: "FastFile",
|
|
305
|
+
FILE: "File",
|
|
306
|
+
PIPE: "Pipe",
|
|
307
|
+
};
|
|
308
|
+
export class InternalServiceException extends __BaseException {
|
|
309
|
+
name = "InternalServiceException";
|
|
310
|
+
$fault = "server";
|
|
311
|
+
constructor(opts) {
|
|
312
|
+
super({
|
|
313
|
+
name: "InternalServiceException",
|
|
314
|
+
$fault: "server",
|
|
315
|
+
...opts,
|
|
316
|
+
});
|
|
317
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
280
320
|
export const InferenceInstanceType = {
|
|
281
321
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
282
322
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CleanRoomsMLClient } from "../CleanRoomsMLClient";
|
|
3
|
+
import { ListTrainedModelVersionsCommand, } from "../commands/ListTrainedModelVersionsCommand";
|
|
4
|
+
export const paginateListTrainedModelVersions = createPaginator(CleanRoomsMLClient, ListTrainedModelVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -12,5 +12,6 @@ export * from "./ListConfiguredModelAlgorithmAssociationsPaginator";
|
|
|
12
12
|
export * from "./ListConfiguredModelAlgorithmsPaginator";
|
|
13
13
|
export * from "./ListMLInputChannelsPaginator";
|
|
14
14
|
export * from "./ListTrainedModelInferenceJobsPaginator";
|
|
15
|
+
export * from "./ListTrainedModelVersionsPaginator";
|
|
15
16
|
export * from "./ListTrainedModelsPaginator";
|
|
16
17
|
export * from "./ListTrainingDatasetsPaginator";
|
|
@@ -2,15 +2,18 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CleanRoomsMLServiceException as __BaseException } from "../models/CleanRoomsMLServiceException";
|
|
5
|
-
import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, ConflictException, InternalServiceException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CancelTrainedModelCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
9
9
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
10
10
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
11
11
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
12
|
+
const query = map({
|
|
13
|
+
[_vI]: [, input[_vI]],
|
|
14
|
+
});
|
|
12
15
|
let body;
|
|
13
|
-
b.m("PATCH").h(headers).b(body);
|
|
16
|
+
b.m("PATCH").h(headers).q(query).b(body);
|
|
14
17
|
return b.build();
|
|
15
18
|
};
|
|
16
19
|
export const se_CancelTrainedModelInferenceJobCommand = async (input, context) => {
|
|
@@ -134,11 +137,13 @@ export const se_CreateTrainedModelCommand = async (input, context) => {
|
|
|
134
137
|
description: [],
|
|
135
138
|
environment: (_) => _json(_),
|
|
136
139
|
hyperparameters: (_) => _json(_),
|
|
140
|
+
incrementalTrainingDataChannels: (_) => _json(_),
|
|
137
141
|
kmsKeyArn: [],
|
|
138
142
|
name: [],
|
|
139
143
|
resourceConfig: (_) => _json(_),
|
|
140
144
|
stoppingCondition: (_) => _json(_),
|
|
141
145
|
tags: (_) => _json(_),
|
|
146
|
+
trainingInputMode: [],
|
|
142
147
|
}));
|
|
143
148
|
b.m("POST").h(headers).b(body);
|
|
144
149
|
return b.build();
|
|
@@ -240,8 +245,11 @@ export const se_DeleteTrainedModelOutputCommand = async (input, context) => {
|
|
|
240
245
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
241
246
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
242
247
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
248
|
+
const query = map({
|
|
249
|
+
[_vI]: [, input[_vI]],
|
|
250
|
+
});
|
|
243
251
|
let body;
|
|
244
|
-
b.m("DELETE").h(headers).b(body);
|
|
252
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
245
253
|
return b.build();
|
|
246
254
|
};
|
|
247
255
|
export const se_DeleteTrainingDatasetCommand = async (input, context) => {
|
|
@@ -297,8 +305,11 @@ export const se_GetCollaborationTrainedModelCommand = async (input, context) =>
|
|
|
297
305
|
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}");
|
|
298
306
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
299
307
|
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
308
|
+
const query = map({
|
|
309
|
+
[_vI]: [, input[_vI]],
|
|
310
|
+
});
|
|
300
311
|
let body;
|
|
301
|
-
b.m("GET").h(headers).b(body);
|
|
312
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
302
313
|
return b.build();
|
|
303
314
|
};
|
|
304
315
|
export const se_GetConfiguredAudienceModelCommand = async (input, context) => {
|
|
@@ -363,8 +374,11 @@ export const se_GetTrainedModelCommand = async (input, context) => {
|
|
|
363
374
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
364
375
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
365
376
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
377
|
+
const query = map({
|
|
378
|
+
[_vI]: [, input[_vI]],
|
|
379
|
+
});
|
|
366
380
|
let body;
|
|
367
|
-
b.m("GET").h(headers).b(body);
|
|
381
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
368
382
|
return b.build();
|
|
369
383
|
};
|
|
370
384
|
export const se_GetTrainedModelInferenceJobCommand = async (input, context) => {
|
|
@@ -460,6 +474,7 @@ export const se_ListCollaborationTrainedModelExportJobsCommand = async (input, c
|
|
|
460
474
|
const query = map({
|
|
461
475
|
[_nT]: [, input[_nT]],
|
|
462
476
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
477
|
+
[_tMVI]: [, input[_tMVI]],
|
|
463
478
|
});
|
|
464
479
|
let body;
|
|
465
480
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -474,6 +489,7 @@ export const se_ListCollaborationTrainedModelInferenceJobsCommand = async (input
|
|
|
474
489
|
[_nT]: [, input[_nT]],
|
|
475
490
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
476
491
|
[_tMA]: [, input[_tMA]],
|
|
492
|
+
[_tMVI]: [, input[_tMVI]],
|
|
477
493
|
});
|
|
478
494
|
let body;
|
|
479
495
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -560,6 +576,7 @@ export const se_ListTrainedModelInferenceJobsCommand = async (input, context) =>
|
|
|
560
576
|
[_nT]: [, input[_nT]],
|
|
561
577
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
562
578
|
[_tMA]: [, input[_tMA]],
|
|
579
|
+
[_tMVI]: [, input[_tMVI]],
|
|
563
580
|
});
|
|
564
581
|
let body;
|
|
565
582
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -578,6 +595,21 @@ export const se_ListTrainedModelsCommand = async (input, context) => {
|
|
|
578
595
|
b.m("GET").h(headers).q(query).b(body);
|
|
579
596
|
return b.build();
|
|
580
597
|
};
|
|
598
|
+
export const se_ListTrainedModelVersionsCommand = async (input, context) => {
|
|
599
|
+
const b = rb(input, context);
|
|
600
|
+
const headers = {};
|
|
601
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions");
|
|
602
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
603
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
604
|
+
const query = map({
|
|
605
|
+
[_nT]: [, input[_nT]],
|
|
606
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
607
|
+
[_s]: [, input[_s]],
|
|
608
|
+
});
|
|
609
|
+
let body;
|
|
610
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
611
|
+
return b.build();
|
|
612
|
+
};
|
|
581
613
|
export const se_ListTrainingDatasetsCommand = async (input, context) => {
|
|
582
614
|
const b = rb(input, context);
|
|
583
615
|
const headers = {};
|
|
@@ -668,6 +700,7 @@ export const se_StartTrainedModelExportJobCommand = async (input, context) => {
|
|
|
668
700
|
description: [],
|
|
669
701
|
name: [],
|
|
670
702
|
outputConfiguration: (_) => _json(_),
|
|
703
|
+
trainedModelVersionIdentifier: [],
|
|
671
704
|
}));
|
|
672
705
|
b.m("POST").h(headers).b(body);
|
|
673
706
|
return b.build();
|
|
@@ -692,6 +725,7 @@ export const se_StartTrainedModelInferenceJobCommand = async (input, context) =>
|
|
|
692
725
|
resourceConfig: (_) => _json(_),
|
|
693
726
|
tags: (_) => _json(_),
|
|
694
727
|
trainedModelArn: [],
|
|
728
|
+
trainedModelVersionIdentifier: [],
|
|
695
729
|
}));
|
|
696
730
|
b.m("POST").h(headers).b(body);
|
|
697
731
|
return b.build();
|
|
@@ -841,6 +875,7 @@ export const de_CreateTrainedModelCommand = async (output, context) => {
|
|
|
841
875
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
842
876
|
const doc = take(data, {
|
|
843
877
|
trainedModelArn: __expectString,
|
|
878
|
+
versionIdentifier: __expectString,
|
|
844
879
|
});
|
|
845
880
|
Object.assign(contents, doc);
|
|
846
881
|
return contents;
|
|
@@ -1075,6 +1110,7 @@ export const de_GetCollaborationTrainedModelCommand = async (output, context) =>
|
|
|
1075
1110
|
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1076
1111
|
creatorAccountId: __expectString,
|
|
1077
1112
|
description: __expectString,
|
|
1113
|
+
incrementalTrainingDataChannels: _json,
|
|
1078
1114
|
logsStatus: __expectString,
|
|
1079
1115
|
logsStatusDetails: __expectString,
|
|
1080
1116
|
membershipIdentifier: __expectString,
|
|
@@ -1087,7 +1123,9 @@ export const de_GetCollaborationTrainedModelCommand = async (output, context) =>
|
|
|
1087
1123
|
stoppingCondition: _json,
|
|
1088
1124
|
trainedModelArn: __expectString,
|
|
1089
1125
|
trainingContainerImageDigest: __expectString,
|
|
1126
|
+
trainingInputMode: __expectString,
|
|
1090
1127
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1128
|
+
versionIdentifier: __expectString,
|
|
1091
1129
|
});
|
|
1092
1130
|
Object.assign(contents, doc);
|
|
1093
1131
|
return contents;
|
|
@@ -1244,6 +1282,7 @@ export const de_GetTrainedModelCommand = async (output, context) => {
|
|
|
1244
1282
|
description: __expectString,
|
|
1245
1283
|
environment: _json,
|
|
1246
1284
|
hyperparameters: _json,
|
|
1285
|
+
incrementalTrainingDataChannels: _json,
|
|
1247
1286
|
kmsKeyArn: __expectString,
|
|
1248
1287
|
logsStatus: __expectString,
|
|
1249
1288
|
logsStatusDetails: __expectString,
|
|
@@ -1258,7 +1297,9 @@ export const de_GetTrainedModelCommand = async (output, context) => {
|
|
|
1258
1297
|
tags: _json,
|
|
1259
1298
|
trainedModelArn: __expectString,
|
|
1260
1299
|
trainingContainerImageDigest: __expectString,
|
|
1300
|
+
trainingInputMode: __expectString,
|
|
1261
1301
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1302
|
+
versionIdentifier: __expectString,
|
|
1262
1303
|
});
|
|
1263
1304
|
Object.assign(contents, doc);
|
|
1264
1305
|
return contents;
|
|
@@ -1293,6 +1334,7 @@ export const de_GetTrainedModelInferenceJobCommand = async (output, context) =>
|
|
|
1293
1334
|
tags: _json,
|
|
1294
1335
|
trainedModelArn: __expectString,
|
|
1295
1336
|
trainedModelInferenceJobArn: __expectString,
|
|
1337
|
+
trainedModelVersionIdentifier: __expectString,
|
|
1296
1338
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1297
1339
|
});
|
|
1298
1340
|
Object.assign(contents, doc);
|
|
@@ -1544,6 +1586,21 @@ export const de_ListTrainedModelsCommand = async (output, context) => {
|
|
|
1544
1586
|
Object.assign(contents, doc);
|
|
1545
1587
|
return contents;
|
|
1546
1588
|
};
|
|
1589
|
+
export const de_ListTrainedModelVersionsCommand = async (output, context) => {
|
|
1590
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1591
|
+
return de_CommandError(output, context);
|
|
1592
|
+
}
|
|
1593
|
+
const contents = map({
|
|
1594
|
+
$metadata: deserializeMetadata(output),
|
|
1595
|
+
});
|
|
1596
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1597
|
+
const doc = take(data, {
|
|
1598
|
+
nextToken: __expectString,
|
|
1599
|
+
trainedModels: (_) => de_TrainedModelList(_, context),
|
|
1600
|
+
});
|
|
1601
|
+
Object.assign(contents, doc);
|
|
1602
|
+
return contents;
|
|
1603
|
+
};
|
|
1547
1604
|
export const de_ListTrainingDatasetsCommand = async (output, context) => {
|
|
1548
1605
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
1606
|
return de_CommandError(output, context);
|
|
@@ -1682,12 +1739,18 @@ const de_CommandError = async (output, context) => {
|
|
|
1682
1739
|
case "ResourceNotFoundException":
|
|
1683
1740
|
case "com.amazonaws.cleanroomsml#ResourceNotFoundException":
|
|
1684
1741
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1742
|
+
case "ThrottlingException":
|
|
1743
|
+
case "com.amazonaws.cleanroomsml#ThrottlingException":
|
|
1744
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1685
1745
|
case "ValidationException":
|
|
1686
1746
|
case "com.amazonaws.cleanroomsml#ValidationException":
|
|
1687
1747
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1688
1748
|
case "ServiceQuotaExceededException":
|
|
1689
1749
|
case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException":
|
|
1690
1750
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1751
|
+
case "InternalServiceException":
|
|
1752
|
+
case "com.amazonaws.cleanroomsml#InternalServiceException":
|
|
1753
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1691
1754
|
default:
|
|
1692
1755
|
const parsedBody = parsedOutput.body;
|
|
1693
1756
|
return throwDefaultError({
|
|
@@ -1724,6 +1787,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1724
1787
|
});
|
|
1725
1788
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1726
1789
|
};
|
|
1790
|
+
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
1791
|
+
const contents = map({});
|
|
1792
|
+
const data = parsedOutput.body;
|
|
1793
|
+
const doc = take(data, {
|
|
1794
|
+
message: __expectString,
|
|
1795
|
+
});
|
|
1796
|
+
Object.assign(contents, doc);
|
|
1797
|
+
const exception = new InternalServiceException({
|
|
1798
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1799
|
+
...contents,
|
|
1800
|
+
});
|
|
1801
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1802
|
+
};
|
|
1727
1803
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1728
1804
|
const contents = map({});
|
|
1729
1805
|
const data = parsedOutput.body;
|
|
@@ -1742,6 +1818,8 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1742
1818
|
const data = parsedOutput.body;
|
|
1743
1819
|
const doc = take(data, {
|
|
1744
1820
|
message: __expectString,
|
|
1821
|
+
quotaName: __expectString,
|
|
1822
|
+
quotaValue: __limitedParseDouble,
|
|
1745
1823
|
});
|
|
1746
1824
|
Object.assign(contents, doc);
|
|
1747
1825
|
const exception = new ServiceQuotaExceededException({
|
|
@@ -1750,6 +1828,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1750
1828
|
});
|
|
1751
1829
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1752
1830
|
};
|
|
1831
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1832
|
+
const contents = map({});
|
|
1833
|
+
const data = parsedOutput.body;
|
|
1834
|
+
const doc = take(data, {
|
|
1835
|
+
message: __expectString,
|
|
1836
|
+
});
|
|
1837
|
+
Object.assign(contents, doc);
|
|
1838
|
+
const exception = new ThrottlingException({
|
|
1839
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1840
|
+
...contents,
|
|
1841
|
+
});
|
|
1842
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1843
|
+
};
|
|
1753
1844
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1754
1845
|
const contents = map({});
|
|
1755
1846
|
const data = parsedOutput.body;
|
|
@@ -1772,7 +1863,13 @@ const se_PrivacyConfigurationPolicies = (input, context) => {
|
|
|
1772
1863
|
return take(input, {
|
|
1773
1864
|
trainedModelExports: (_) => se_TrainedModelExportsConfigurationPolicy(_, context),
|
|
1774
1865
|
trainedModelInferenceJobs: (_) => se_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
1775
|
-
trainedModels:
|
|
1866
|
+
trainedModels: (_) => se_TrainedModelsConfigurationPolicy(_, context),
|
|
1867
|
+
});
|
|
1868
|
+
};
|
|
1869
|
+
const se_TrainedModelArtifactMaxSize = (input, context) => {
|
|
1870
|
+
return take(input, {
|
|
1871
|
+
unit: [],
|
|
1872
|
+
value: __serializeFloat,
|
|
1776
1873
|
});
|
|
1777
1874
|
};
|
|
1778
1875
|
const se_TrainedModelExportsConfigurationPolicy = (input, context) => {
|
|
@@ -1799,6 +1896,13 @@ const se_TrainedModelInferenceMaxOutputSize = (input, context) => {
|
|
|
1799
1896
|
value: __serializeFloat,
|
|
1800
1897
|
});
|
|
1801
1898
|
};
|
|
1899
|
+
const se_TrainedModelsConfigurationPolicy = (input, context) => {
|
|
1900
|
+
return take(input, {
|
|
1901
|
+
containerLogs: _json,
|
|
1902
|
+
containerMetrics: _json,
|
|
1903
|
+
maxArtifactSize: (_) => se_TrainedModelArtifactMaxSize(_, context),
|
|
1904
|
+
});
|
|
1905
|
+
};
|
|
1802
1906
|
const de_AudienceExportJobList = (output, context) => {
|
|
1803
1907
|
const retVal = (output || [])
|
|
1804
1908
|
.filter((e) => e != null)
|
|
@@ -1929,6 +2033,7 @@ const de_CollaborationTrainedModelExportJobSummary = (output, context) => {
|
|
|
1929
2033
|
status: __expectString,
|
|
1930
2034
|
statusDetails: _json,
|
|
1931
2035
|
trainedModelArn: __expectString,
|
|
2036
|
+
trainedModelVersionIdentifier: __expectString,
|
|
1932
2037
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1933
2038
|
});
|
|
1934
2039
|
};
|
|
@@ -1957,6 +2062,7 @@ const de_CollaborationTrainedModelInferenceJobSummary = (output, context) => {
|
|
|
1957
2062
|
status: __expectString,
|
|
1958
2063
|
trainedModelArn: __expectString,
|
|
1959
2064
|
trainedModelInferenceJobArn: __expectString,
|
|
2065
|
+
trainedModelVersionIdentifier: __expectString,
|
|
1960
2066
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1961
2067
|
});
|
|
1962
2068
|
};
|
|
@@ -1975,11 +2081,13 @@ const de_CollaborationTrainedModelSummary = (output, context) => {
|
|
|
1975
2081
|
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1976
2082
|
creatorAccountId: __expectString,
|
|
1977
2083
|
description: __expectString,
|
|
2084
|
+
incrementalTrainingDataChannels: _json,
|
|
1978
2085
|
membershipIdentifier: __expectString,
|
|
1979
2086
|
name: __expectString,
|
|
1980
2087
|
status: __expectString,
|
|
1981
2088
|
trainedModelArn: __expectString,
|
|
1982
2089
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2090
|
+
versionIdentifier: __expectString,
|
|
1983
2091
|
});
|
|
1984
2092
|
};
|
|
1985
2093
|
const de_ConfiguredAudienceModelList = (output, context) => {
|
|
@@ -2070,7 +2178,7 @@ const de_PrivacyConfigurationPolicies = (output, context) => {
|
|
|
2070
2178
|
return take(output, {
|
|
2071
2179
|
trainedModelExports: (_) => de_TrainedModelExportsConfigurationPolicy(_, context),
|
|
2072
2180
|
trainedModelInferenceJobs: (_) => de_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
2073
|
-
trainedModels:
|
|
2181
|
+
trainedModels: (_) => de_TrainedModelsConfigurationPolicy(_, context),
|
|
2074
2182
|
});
|
|
2075
2183
|
};
|
|
2076
2184
|
const de_RelevanceMetric = (output, context) => {
|
|
@@ -2087,6 +2195,12 @@ const de_RelevanceMetrics = (output, context) => {
|
|
|
2087
2195
|
});
|
|
2088
2196
|
return retVal;
|
|
2089
2197
|
};
|
|
2198
|
+
const de_TrainedModelArtifactMaxSize = (output, context) => {
|
|
2199
|
+
return take(output, {
|
|
2200
|
+
unit: __expectString,
|
|
2201
|
+
value: __limitedParseDouble,
|
|
2202
|
+
});
|
|
2203
|
+
};
|
|
2090
2204
|
const de_TrainedModelExportsConfigurationPolicy = (output, context) => {
|
|
2091
2205
|
return take(output, {
|
|
2092
2206
|
filesToExport: _json,
|
|
@@ -2129,6 +2243,7 @@ const de_TrainedModelInferenceJobSummary = (output, context) => {
|
|
|
2129
2243
|
status: __expectString,
|
|
2130
2244
|
trainedModelArn: __expectString,
|
|
2131
2245
|
trainedModelInferenceJobArn: __expectString,
|
|
2246
|
+
trainedModelVersionIdentifier: __expectString,
|
|
2132
2247
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2133
2248
|
});
|
|
2134
2249
|
};
|
|
@@ -2146,17 +2261,26 @@ const de_TrainedModelList = (output, context) => {
|
|
|
2146
2261
|
});
|
|
2147
2262
|
return retVal;
|
|
2148
2263
|
};
|
|
2264
|
+
const de_TrainedModelsConfigurationPolicy = (output, context) => {
|
|
2265
|
+
return take(output, {
|
|
2266
|
+
containerLogs: _json,
|
|
2267
|
+
containerMetrics: _json,
|
|
2268
|
+
maxArtifactSize: (_) => de_TrainedModelArtifactMaxSize(_, context),
|
|
2269
|
+
});
|
|
2270
|
+
};
|
|
2149
2271
|
const de_TrainedModelSummary = (output, context) => {
|
|
2150
2272
|
return take(output, {
|
|
2151
2273
|
collaborationIdentifier: __expectString,
|
|
2152
2274
|
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2153
2275
|
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2154
2276
|
description: __expectString,
|
|
2277
|
+
incrementalTrainingDataChannels: _json,
|
|
2155
2278
|
membershipIdentifier: __expectString,
|
|
2156
2279
|
name: __expectString,
|
|
2157
2280
|
status: __expectString,
|
|
2158
2281
|
trainedModelArn: __expectString,
|
|
2159
2282
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2283
|
+
versionIdentifier: __expectString,
|
|
2160
2284
|
});
|
|
2161
2285
|
};
|
|
2162
2286
|
const de_TrainingDatasetList = (output, context) => {
|
|
@@ -2189,5 +2313,8 @@ const _cAMA = "configuredAudienceModelArn";
|
|
|
2189
2313
|
const _cI = "collaborationId";
|
|
2190
2314
|
const _mR = "maxResults";
|
|
2191
2315
|
const _nT = "nextToken";
|
|
2316
|
+
const _s = "status";
|
|
2192
2317
|
const _tK = "tagKeys";
|
|
2193
2318
|
const _tMA = "trainedModelArn";
|
|
2319
|
+
const _tMVI = "trainedModelVersionIdentifier";
|
|
2320
|
+
const _vI = "versionIdentifier";
|
|
@@ -48,6 +48,7 @@ import { ListMLInputChannelsCommandInput, ListMLInputChannelsCommandOutput } fro
|
|
|
48
48
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
49
49
|
import { ListTrainedModelInferenceJobsCommandInput, ListTrainedModelInferenceJobsCommandOutput } from "./commands/ListTrainedModelInferenceJobsCommand";
|
|
50
50
|
import { ListTrainedModelsCommandInput, ListTrainedModelsCommandOutput } from "./commands/ListTrainedModelsCommand";
|
|
51
|
+
import { ListTrainedModelVersionsCommandInput, ListTrainedModelVersionsCommandOutput } from "./commands/ListTrainedModelVersionsCommand";
|
|
51
52
|
import { ListTrainingDatasetsCommandInput, ListTrainingDatasetsCommandOutput } from "./commands/ListTrainingDatasetsCommand";
|
|
52
53
|
import { PutConfiguredAudienceModelPolicyCommandInput, PutConfiguredAudienceModelPolicyCommandOutput } from "./commands/PutConfiguredAudienceModelPolicyCommand";
|
|
53
54
|
import { PutMLConfigurationCommandInput, PutMLConfigurationCommandOutput } from "./commands/PutMLConfigurationCommand";
|
|
@@ -352,6 +353,12 @@ export interface CleanRoomsML {
|
|
|
352
353
|
listTrainedModels(args: ListTrainedModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrainedModelsCommandOutput>;
|
|
353
354
|
listTrainedModels(args: ListTrainedModelsCommandInput, cb: (err: any, data?: ListTrainedModelsCommandOutput) => void): void;
|
|
354
355
|
listTrainedModels(args: ListTrainedModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrainedModelsCommandOutput) => void): void;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link ListTrainedModelVersionsCommand}
|
|
358
|
+
*/
|
|
359
|
+
listTrainedModelVersions(args: ListTrainedModelVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrainedModelVersionsCommandOutput>;
|
|
360
|
+
listTrainedModelVersions(args: ListTrainedModelVersionsCommandInput, cb: (err: any, data?: ListTrainedModelVersionsCommandOutput) => void): void;
|
|
361
|
+
listTrainedModelVersions(args: ListTrainedModelVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrainedModelVersionsCommandOutput) => void): void;
|
|
355
362
|
/**
|
|
356
363
|
* @see {@link ListTrainingDatasetsCommand}
|
|
357
364
|
*/
|
|
@@ -415,12 +422,7 @@ export interface CleanRoomsML {
|
|
|
415
422
|
updateConfiguredAudienceModel(args: UpdateConfiguredAudienceModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredAudienceModelCommandOutput) => void): void;
|
|
416
423
|
}
|
|
417
424
|
/**
|
|
418
|
-
* <p>Welcome to the <i>Amazon Web Services Clean Rooms ML API Reference</i>.</p>
|
|
419
|
-
* <p>Amazon Web Services Clean Rooms ML provides a privacy-enhancing method for two parties to identify similar users in their data without the need to share their data with each other. The first party brings the training data to Clean Rooms so that they can create and configure an audience model (lookalike model) and associate it with a collaboration. The second party then brings their seed data to Clean Rooms and generates an audience (lookalike segment) that resembles the training data.</p>
|
|
420
|
-
* <p>To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the
|
|
421
|
-
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/machine-learning.html">Clean Rooms User Guide</a>.</p>
|
|
422
|
-
* <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
|
|
423
|
-
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
|
|
425
|
+
* <p>Welcome to the <i>Amazon Web Services Clean Rooms ML API Reference</i>.</p> <p>Amazon Web Services Clean Rooms ML provides a privacy-enhancing method for two parties to identify similar users in their data without the need to share their data with each other. The first party brings the training data to Clean Rooms so that they can create and configure an audience model (lookalike model) and associate it with a collaboration. The second party then brings their seed data to Clean Rooms and generates an audience (lookalike segment) that resembles the training data.</p> <p>To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/machine-learning.html">Clean Rooms User Guide</a>.</p> <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
|
|
424
426
|
* @public
|
|
425
427
|
*/
|
|
426
428
|
export declare class CleanRoomsML extends CleanRoomsMLClient implements CleanRoomsML {
|
|
@@ -55,6 +55,7 @@ import { ListMLInputChannelsCommandInput, ListMLInputChannelsCommandOutput } fro
|
|
|
55
55
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
56
56
|
import { ListTrainedModelInferenceJobsCommandInput, ListTrainedModelInferenceJobsCommandOutput } from "./commands/ListTrainedModelInferenceJobsCommand";
|
|
57
57
|
import { ListTrainedModelsCommandInput, ListTrainedModelsCommandOutput } from "./commands/ListTrainedModelsCommand";
|
|
58
|
+
import { ListTrainedModelVersionsCommandInput, ListTrainedModelVersionsCommandOutput } from "./commands/ListTrainedModelVersionsCommand";
|
|
58
59
|
import { ListTrainingDatasetsCommandInput, ListTrainingDatasetsCommandOutput } from "./commands/ListTrainingDatasetsCommand";
|
|
59
60
|
import { PutConfiguredAudienceModelPolicyCommandInput, PutConfiguredAudienceModelPolicyCommandOutput } from "./commands/PutConfiguredAudienceModelPolicyCommand";
|
|
60
61
|
import { PutMLConfigurationCommandInput, PutMLConfigurationCommandOutput } from "./commands/PutMLConfigurationCommand";
|
|
@@ -71,11 +72,11 @@ export { __Client };
|
|
|
71
72
|
/**
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
|
-
export type ServiceInputTypes = CancelTrainedModelCommandInput | CancelTrainedModelInferenceJobCommandInput | CreateAudienceModelCommandInput | CreateConfiguredAudienceModelCommandInput | CreateConfiguredModelAlgorithmAssociationCommandInput | CreateConfiguredModelAlgorithmCommandInput | CreateMLInputChannelCommandInput | CreateTrainedModelCommandInput | CreateTrainingDatasetCommandInput | DeleteAudienceGenerationJobCommandInput | DeleteAudienceModelCommandInput | DeleteConfiguredAudienceModelCommandInput | DeleteConfiguredAudienceModelPolicyCommandInput | DeleteConfiguredModelAlgorithmAssociationCommandInput | DeleteConfiguredModelAlgorithmCommandInput | DeleteMLConfigurationCommandInput | DeleteMLInputChannelDataCommandInput | DeleteTrainedModelOutputCommandInput | DeleteTrainingDatasetCommandInput | GetAudienceGenerationJobCommandInput | GetAudienceModelCommandInput | GetCollaborationConfiguredModelAlgorithmAssociationCommandInput | GetCollaborationMLInputChannelCommandInput | GetCollaborationTrainedModelCommandInput | GetConfiguredAudienceModelCommandInput | GetConfiguredAudienceModelPolicyCommandInput | GetConfiguredModelAlgorithmAssociationCommandInput | GetConfiguredModelAlgorithmCommandInput | GetMLConfigurationCommandInput | GetMLInputChannelCommandInput | GetTrainedModelCommandInput | GetTrainedModelInferenceJobCommandInput | GetTrainingDatasetCommandInput | ListAudienceExportJobsCommandInput | ListAudienceGenerationJobsCommandInput | ListAudienceModelsCommandInput | ListCollaborationConfiguredModelAlgorithmAssociationsCommandInput | ListCollaborationMLInputChannelsCommandInput | ListCollaborationTrainedModelExportJobsCommandInput | ListCollaborationTrainedModelInferenceJobsCommandInput | ListCollaborationTrainedModelsCommandInput | ListConfiguredAudienceModelsCommandInput | ListConfiguredModelAlgorithmAssociationsCommandInput | ListConfiguredModelAlgorithmsCommandInput | ListMLInputChannelsCommandInput | ListTagsForResourceCommandInput | ListTrainedModelInferenceJobsCommandInput | ListTrainedModelsCommandInput | ListTrainingDatasetsCommandInput | PutConfiguredAudienceModelPolicyCommandInput | PutMLConfigurationCommandInput | StartAudienceExportJobCommandInput | StartAudienceGenerationJobCommandInput | StartTrainedModelExportJobCommandInput | StartTrainedModelInferenceJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConfiguredAudienceModelCommandInput;
|
|
75
|
+
export type ServiceInputTypes = CancelTrainedModelCommandInput | CancelTrainedModelInferenceJobCommandInput | CreateAudienceModelCommandInput | CreateConfiguredAudienceModelCommandInput | CreateConfiguredModelAlgorithmAssociationCommandInput | CreateConfiguredModelAlgorithmCommandInput | CreateMLInputChannelCommandInput | CreateTrainedModelCommandInput | CreateTrainingDatasetCommandInput | DeleteAudienceGenerationJobCommandInput | DeleteAudienceModelCommandInput | DeleteConfiguredAudienceModelCommandInput | DeleteConfiguredAudienceModelPolicyCommandInput | DeleteConfiguredModelAlgorithmAssociationCommandInput | DeleteConfiguredModelAlgorithmCommandInput | DeleteMLConfigurationCommandInput | DeleteMLInputChannelDataCommandInput | DeleteTrainedModelOutputCommandInput | DeleteTrainingDatasetCommandInput | GetAudienceGenerationJobCommandInput | GetAudienceModelCommandInput | GetCollaborationConfiguredModelAlgorithmAssociationCommandInput | GetCollaborationMLInputChannelCommandInput | GetCollaborationTrainedModelCommandInput | GetConfiguredAudienceModelCommandInput | GetConfiguredAudienceModelPolicyCommandInput | GetConfiguredModelAlgorithmAssociationCommandInput | GetConfiguredModelAlgorithmCommandInput | GetMLConfigurationCommandInput | GetMLInputChannelCommandInput | GetTrainedModelCommandInput | GetTrainedModelInferenceJobCommandInput | GetTrainingDatasetCommandInput | ListAudienceExportJobsCommandInput | ListAudienceGenerationJobsCommandInput | ListAudienceModelsCommandInput | ListCollaborationConfiguredModelAlgorithmAssociationsCommandInput | ListCollaborationMLInputChannelsCommandInput | ListCollaborationTrainedModelExportJobsCommandInput | ListCollaborationTrainedModelInferenceJobsCommandInput | ListCollaborationTrainedModelsCommandInput | ListConfiguredAudienceModelsCommandInput | ListConfiguredModelAlgorithmAssociationsCommandInput | ListConfiguredModelAlgorithmsCommandInput | ListMLInputChannelsCommandInput | ListTagsForResourceCommandInput | ListTrainedModelInferenceJobsCommandInput | ListTrainedModelVersionsCommandInput | ListTrainedModelsCommandInput | ListTrainingDatasetsCommandInput | PutConfiguredAudienceModelPolicyCommandInput | PutMLConfigurationCommandInput | StartAudienceExportJobCommandInput | StartAudienceGenerationJobCommandInput | StartTrainedModelExportJobCommandInput | StartTrainedModelInferenceJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConfiguredAudienceModelCommandInput;
|
|
75
76
|
/**
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
|
-
export type ServiceOutputTypes = CancelTrainedModelCommandOutput | CancelTrainedModelInferenceJobCommandOutput | CreateAudienceModelCommandOutput | CreateConfiguredAudienceModelCommandOutput | CreateConfiguredModelAlgorithmAssociationCommandOutput | CreateConfiguredModelAlgorithmCommandOutput | CreateMLInputChannelCommandOutput | CreateTrainedModelCommandOutput | CreateTrainingDatasetCommandOutput | DeleteAudienceGenerationJobCommandOutput | DeleteAudienceModelCommandOutput | DeleteConfiguredAudienceModelCommandOutput | DeleteConfiguredAudienceModelPolicyCommandOutput | DeleteConfiguredModelAlgorithmAssociationCommandOutput | DeleteConfiguredModelAlgorithmCommandOutput | DeleteMLConfigurationCommandOutput | DeleteMLInputChannelDataCommandOutput | DeleteTrainedModelOutputCommandOutput | DeleteTrainingDatasetCommandOutput | GetAudienceGenerationJobCommandOutput | GetAudienceModelCommandOutput | GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput | GetCollaborationMLInputChannelCommandOutput | GetCollaborationTrainedModelCommandOutput | GetConfiguredAudienceModelCommandOutput | GetConfiguredAudienceModelPolicyCommandOutput | GetConfiguredModelAlgorithmAssociationCommandOutput | GetConfiguredModelAlgorithmCommandOutput | GetMLConfigurationCommandOutput | GetMLInputChannelCommandOutput | GetTrainedModelCommandOutput | GetTrainedModelInferenceJobCommandOutput | GetTrainingDatasetCommandOutput | ListAudienceExportJobsCommandOutput | ListAudienceGenerationJobsCommandOutput | ListAudienceModelsCommandOutput | ListCollaborationConfiguredModelAlgorithmAssociationsCommandOutput | ListCollaborationMLInputChannelsCommandOutput | ListCollaborationTrainedModelExportJobsCommandOutput | ListCollaborationTrainedModelInferenceJobsCommandOutput | ListCollaborationTrainedModelsCommandOutput | ListConfiguredAudienceModelsCommandOutput | ListConfiguredModelAlgorithmAssociationsCommandOutput | ListConfiguredModelAlgorithmsCommandOutput | ListMLInputChannelsCommandOutput | ListTagsForResourceCommandOutput | ListTrainedModelInferenceJobsCommandOutput | ListTrainedModelsCommandOutput | ListTrainingDatasetsCommandOutput | PutConfiguredAudienceModelPolicyCommandOutput | PutMLConfigurationCommandOutput | StartAudienceExportJobCommandOutput | StartAudienceGenerationJobCommandOutput | StartTrainedModelExportJobCommandOutput | StartTrainedModelInferenceJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConfiguredAudienceModelCommandOutput;
|
|
79
|
+
export type ServiceOutputTypes = CancelTrainedModelCommandOutput | CancelTrainedModelInferenceJobCommandOutput | CreateAudienceModelCommandOutput | CreateConfiguredAudienceModelCommandOutput | CreateConfiguredModelAlgorithmAssociationCommandOutput | CreateConfiguredModelAlgorithmCommandOutput | CreateMLInputChannelCommandOutput | CreateTrainedModelCommandOutput | CreateTrainingDatasetCommandOutput | DeleteAudienceGenerationJobCommandOutput | DeleteAudienceModelCommandOutput | DeleteConfiguredAudienceModelCommandOutput | DeleteConfiguredAudienceModelPolicyCommandOutput | DeleteConfiguredModelAlgorithmAssociationCommandOutput | DeleteConfiguredModelAlgorithmCommandOutput | DeleteMLConfigurationCommandOutput | DeleteMLInputChannelDataCommandOutput | DeleteTrainedModelOutputCommandOutput | DeleteTrainingDatasetCommandOutput | GetAudienceGenerationJobCommandOutput | GetAudienceModelCommandOutput | GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput | GetCollaborationMLInputChannelCommandOutput | GetCollaborationTrainedModelCommandOutput | GetConfiguredAudienceModelCommandOutput | GetConfiguredAudienceModelPolicyCommandOutput | GetConfiguredModelAlgorithmAssociationCommandOutput | GetConfiguredModelAlgorithmCommandOutput | GetMLConfigurationCommandOutput | GetMLInputChannelCommandOutput | GetTrainedModelCommandOutput | GetTrainedModelInferenceJobCommandOutput | GetTrainingDatasetCommandOutput | ListAudienceExportJobsCommandOutput | ListAudienceGenerationJobsCommandOutput | ListAudienceModelsCommandOutput | ListCollaborationConfiguredModelAlgorithmAssociationsCommandOutput | ListCollaborationMLInputChannelsCommandOutput | ListCollaborationTrainedModelExportJobsCommandOutput | ListCollaborationTrainedModelInferenceJobsCommandOutput | ListCollaborationTrainedModelsCommandOutput | ListConfiguredAudienceModelsCommandOutput | ListConfiguredModelAlgorithmAssociationsCommandOutput | ListConfiguredModelAlgorithmsCommandOutput | ListMLInputChannelsCommandOutput | ListTagsForResourceCommandOutput | ListTrainedModelInferenceJobsCommandOutput | ListTrainedModelVersionsCommandOutput | ListTrainedModelsCommandOutput | ListTrainingDatasetsCommandOutput | PutConfiguredAudienceModelPolicyCommandOutput | PutMLConfigurationCommandOutput | StartAudienceExportJobCommandOutput | StartAudienceGenerationJobCommandOutput | StartTrainedModelExportJobCommandOutput | StartTrainedModelInferenceJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConfiguredAudienceModelCommandOutput;
|
|
79
80
|
/**
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
@@ -227,12 +228,7 @@ export type CleanRoomsMLClientResolvedConfigType = __SmithyResolvedConfiguration
|
|
|
227
228
|
export interface CleanRoomsMLClientResolvedConfig extends CleanRoomsMLClientResolvedConfigType {
|
|
228
229
|
}
|
|
229
230
|
/**
|
|
230
|
-
* <p>Welcome to the <i>Amazon Web Services Clean Rooms ML API Reference</i>.</p>
|
|
231
|
-
* <p>Amazon Web Services Clean Rooms ML provides a privacy-enhancing method for two parties to identify similar users in their data without the need to share their data with each other. The first party brings the training data to Clean Rooms so that they can create and configure an audience model (lookalike model) and associate it with a collaboration. The second party then brings their seed data to Clean Rooms and generates an audience (lookalike segment) that resembles the training data.</p>
|
|
232
|
-
* <p>To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the
|
|
233
|
-
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/machine-learning.html">Clean Rooms User Guide</a>.</p>
|
|
234
|
-
* <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
|
|
235
|
-
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
|
|
231
|
+
* <p>Welcome to the <i>Amazon Web Services Clean Rooms ML API Reference</i>.</p> <p>Amazon Web Services Clean Rooms ML provides a privacy-enhancing method for two parties to identify similar users in their data without the need to share their data with each other. The first party brings the training data to Clean Rooms so that they can create and configure an audience model (lookalike model) and associate it with a collaboration. The second party then brings their seed data to Clean Rooms and generates an audience (lookalike segment) that resembles the training data.</p> <p>To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/machine-learning.html">Clean Rooms User Guide</a>.</p> <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
|
|
236
232
|
* @public
|
|
237
233
|
*/
|
|
238
234
|
export declare class CleanRoomsMLClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CleanRoomsMLClientResolvedConfig> {
|
|
@@ -37,6 +37,7 @@ declare const CancelTrainedModelCommand_base: {
|
|
|
37
37
|
* const input = { // CancelTrainedModelRequest
|
|
38
38
|
* membershipIdentifier: "STRING_VALUE", // required
|
|
39
39
|
* trainedModelArn: "STRING_VALUE", // required
|
|
40
|
+
* versionIdentifier: "STRING_VALUE",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new CancelTrainedModelCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -59,6 +60,9 @@ declare const CancelTrainedModelCommand_base: {
|
|
|
59
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
61
|
* <p>The resource you are requesting does not exist.</p>
|
|
61
62
|
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was denied due to request throttling.</p>
|
|
65
|
+
*
|
|
62
66
|
* @throws {@link ValidationException} (client fault)
|
|
63
67
|
* <p>The request parameters for this request are incorrect.</p>
|
|
64
68
|
*
|