@aws-sdk/client-cleanroomsml 3.840.0 → 3.844.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 +14 -14
package/README.md
CHANGED
|
@@ -6,12 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript CleanRoomsML Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Welcome to the <i>Amazon Web Services Clean Rooms ML API Reference</i>.</p>
|
|
10
|
-
<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>
|
|
11
|
-
<p>To learn more about Amazon Web Services Clean Rooms ML concepts, procedures, and best practices, see the
|
|
12
|
-
<a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/machine-learning.html">Clean Rooms User Guide</a>.</p>
|
|
13
|
-
<p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
|
|
14
|
-
<a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
|
|
9
|
+
<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>
|
|
15
10
|
|
|
16
11
|
## Installing
|
|
17
12
|
|
|
@@ -591,6 +586,14 @@ ListTrainedModels
|
|
|
591
586
|
|
|
592
587
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanroomsml/command/ListTrainedModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanroomsml/Interface/ListTrainedModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanroomsml/Interface/ListTrainedModelsCommandOutput/)
|
|
593
588
|
|
|
589
|
+
</details>
|
|
590
|
+
<details>
|
|
591
|
+
<summary>
|
|
592
|
+
ListTrainedModelVersions
|
|
593
|
+
</summary>
|
|
594
|
+
|
|
595
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanroomsml/command/ListTrainedModelVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanroomsml/Interface/ListTrainedModelVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanroomsml/Interface/ListTrainedModelVersionsCommandOutput/)
|
|
596
|
+
|
|
594
597
|
</details>
|
|
595
598
|
<details>
|
|
596
599
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -75,6 +75,7 @@ __export(index_exports, {
|
|
|
75
75
|
InputChannelDataSource: () => InputChannelDataSource,
|
|
76
76
|
InputChannelDataSourceFilterSensitiveLog: () => InputChannelDataSourceFilterSensitiveLog,
|
|
77
77
|
InputChannelFilterSensitiveLog: () => InputChannelFilterSensitiveLog,
|
|
78
|
+
InternalServiceException: () => InternalServiceException,
|
|
78
79
|
ListAudienceExportJobsCommand: () => ListAudienceExportJobsCommand,
|
|
79
80
|
ListAudienceGenerationJobsCommand: () => ListAudienceGenerationJobsCommand,
|
|
80
81
|
ListAudienceModelsCommand: () => ListAudienceModelsCommand,
|
|
@@ -89,6 +90,7 @@ __export(index_exports, {
|
|
|
89
90
|
ListMLInputChannelsCommand: () => ListMLInputChannelsCommand,
|
|
90
91
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
91
92
|
ListTrainedModelInferenceJobsCommand: () => ListTrainedModelInferenceJobsCommand,
|
|
93
|
+
ListTrainedModelVersionsCommand: () => ListTrainedModelVersionsCommand,
|
|
92
94
|
ListTrainedModelsCommand: () => ListTrainedModelsCommand,
|
|
93
95
|
ListTrainingDatasetsCommand: () => ListTrainingDatasetsCommand,
|
|
94
96
|
LogsStatus: () => LogsStatus,
|
|
@@ -101,6 +103,7 @@ __export(index_exports, {
|
|
|
101
103
|
PutConfiguredAudienceModelPolicyCommand: () => PutConfiguredAudienceModelPolicyCommand,
|
|
102
104
|
PutMLConfigurationCommand: () => PutMLConfigurationCommand,
|
|
103
105
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
106
|
+
S3DataDistributionType: () => S3DataDistributionType,
|
|
104
107
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
105
108
|
SharedAudienceMetrics: () => SharedAudienceMetrics,
|
|
106
109
|
StartAudienceExportJobCommand: () => StartAudienceExportJobCommand,
|
|
@@ -110,6 +113,8 @@ __export(index_exports, {
|
|
|
110
113
|
StartTrainedModelInferenceJobCommand: () => StartTrainedModelInferenceJobCommand,
|
|
111
114
|
TagOnCreatePolicy: () => TagOnCreatePolicy,
|
|
112
115
|
TagResourceCommand: () => TagResourceCommand,
|
|
116
|
+
ThrottlingException: () => ThrottlingException,
|
|
117
|
+
TrainedModelArtifactMaxSizeUnitType: () => TrainedModelArtifactMaxSizeUnitType,
|
|
113
118
|
TrainedModelExportFileType: () => TrainedModelExportFileType,
|
|
114
119
|
TrainedModelExportJobStatus: () => TrainedModelExportJobStatus,
|
|
115
120
|
TrainedModelExportsMaxSizeUnitType: () => TrainedModelExportsMaxSizeUnitType,
|
|
@@ -117,6 +122,7 @@ __export(index_exports, {
|
|
|
117
122
|
TrainedModelInferenceMaxOutputSizeUnitType: () => TrainedModelInferenceMaxOutputSizeUnitType,
|
|
118
123
|
TrainedModelStatus: () => TrainedModelStatus,
|
|
119
124
|
TrainingDatasetStatus: () => TrainingDatasetStatus,
|
|
125
|
+
TrainingInputMode: () => TrainingInputMode,
|
|
120
126
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
121
127
|
UpdateConfiguredAudienceModelCommand: () => UpdateConfiguredAudienceModelCommand,
|
|
122
128
|
ValidationException: () => ValidationException,
|
|
@@ -136,6 +142,7 @@ __export(index_exports, {
|
|
|
136
142
|
paginateListConfiguredModelAlgorithms: () => paginateListConfiguredModelAlgorithms,
|
|
137
143
|
paginateListMLInputChannels: () => paginateListMLInputChannels,
|
|
138
144
|
paginateListTrainedModelInferenceJobs: () => paginateListTrainedModelInferenceJobs,
|
|
145
|
+
paginateListTrainedModelVersions: () => paginateListTrainedModelVersions,
|
|
139
146
|
paginateListTrainedModels: () => paginateListTrainedModels,
|
|
140
147
|
paginateListTrainingDatasets: () => paginateListTrainingDatasets
|
|
141
148
|
});
|
|
@@ -400,6 +407,16 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
|
|
|
400
407
|
}
|
|
401
408
|
name = "ServiceQuotaExceededException";
|
|
402
409
|
$fault = "client";
|
|
410
|
+
/**
|
|
411
|
+
* The name of the service quota limit that was exceeded
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
quotaName;
|
|
415
|
+
/**
|
|
416
|
+
* The current limit on the service quota that was exceeded
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
quotaValue;
|
|
403
420
|
/**
|
|
404
421
|
* @internal
|
|
405
422
|
*/
|
|
@@ -410,6 +427,8 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
|
|
|
410
427
|
...opts
|
|
411
428
|
});
|
|
412
429
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
430
|
+
this.quotaName = opts.quotaName;
|
|
431
|
+
this.quotaValue = opts.quotaValue;
|
|
413
432
|
}
|
|
414
433
|
};
|
|
415
434
|
var WorkerComputeType = {
|
|
@@ -432,6 +451,24 @@ var AudienceGenerationJobStatus = {
|
|
|
432
451
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
433
452
|
DELETE_PENDING: "DELETE_PENDING"
|
|
434
453
|
};
|
|
454
|
+
var ThrottlingException = class _ThrottlingException extends CleanRoomsMLServiceException {
|
|
455
|
+
static {
|
|
456
|
+
__name(this, "ThrottlingException");
|
|
457
|
+
}
|
|
458
|
+
name = "ThrottlingException";
|
|
459
|
+
$fault = "client";
|
|
460
|
+
/**
|
|
461
|
+
* @internal
|
|
462
|
+
*/
|
|
463
|
+
constructor(opts) {
|
|
464
|
+
super({
|
|
465
|
+
name: "ThrottlingException",
|
|
466
|
+
$fault: "client",
|
|
467
|
+
...opts
|
|
468
|
+
});
|
|
469
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
470
|
+
}
|
|
471
|
+
};
|
|
435
472
|
var AudienceModelStatus = {
|
|
436
473
|
ACTIVE: "ACTIVE",
|
|
437
474
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -472,6 +509,9 @@ var NoiseLevelType = {
|
|
|
472
509
|
MEDIUM: "MEDIUM",
|
|
473
510
|
NONE: "NONE"
|
|
474
511
|
};
|
|
512
|
+
var TrainedModelArtifactMaxSizeUnitType = {
|
|
513
|
+
GB: "GB"
|
|
514
|
+
};
|
|
475
515
|
var MLInputChannelStatus = {
|
|
476
516
|
ACTIVE: "ACTIVE",
|
|
477
517
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -527,6 +567,10 @@ var InputChannelDataSource;
|
|
|
527
567
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
528
568
|
}, "visit");
|
|
529
569
|
})(InputChannelDataSource || (InputChannelDataSource = {}));
|
|
570
|
+
var S3DataDistributionType = {
|
|
571
|
+
FULLY_REPLICATED: "FullyReplicated",
|
|
572
|
+
SHARDED_BY_S3_KEY: "ShardedByS3Key"
|
|
573
|
+
};
|
|
530
574
|
var _InstanceType = {
|
|
531
575
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
532
576
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -618,6 +662,29 @@ var _InstanceType = {
|
|
|
618
662
|
ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
|
|
619
663
|
ML_TRN1_32XLARGE: "ml.trn1.32xlarge"
|
|
620
664
|
};
|
|
665
|
+
var TrainingInputMode = {
|
|
666
|
+
FAST_FILE: "FastFile",
|
|
667
|
+
FILE: "File",
|
|
668
|
+
PIPE: "Pipe"
|
|
669
|
+
};
|
|
670
|
+
var InternalServiceException = class _InternalServiceException extends CleanRoomsMLServiceException {
|
|
671
|
+
static {
|
|
672
|
+
__name(this, "InternalServiceException");
|
|
673
|
+
}
|
|
674
|
+
name = "InternalServiceException";
|
|
675
|
+
$fault = "server";
|
|
676
|
+
/**
|
|
677
|
+
* @internal
|
|
678
|
+
*/
|
|
679
|
+
constructor(opts) {
|
|
680
|
+
super({
|
|
681
|
+
name: "InternalServiceException",
|
|
682
|
+
$fault: "server",
|
|
683
|
+
...opts
|
|
684
|
+
});
|
|
685
|
+
Object.setPrototypeOf(this, _InternalServiceException.prototype);
|
|
686
|
+
}
|
|
687
|
+
};
|
|
621
688
|
var InferenceInstanceType = {
|
|
622
689
|
ML_C4_2XLARGE: "ml.c4.2xlarge",
|
|
623
690
|
ML_C4_4XLARGE: "ml.c4.4xlarge",
|
|
@@ -775,8 +842,11 @@ var se_CancelTrainedModelCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
775
842
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
776
843
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
777
844
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
845
|
+
const query = (0, import_smithy_client.map)({
|
|
846
|
+
[_vI]: [, input[_vI]]
|
|
847
|
+
});
|
|
778
848
|
let body;
|
|
779
|
-
b.m("PATCH").h(headers).b(body);
|
|
849
|
+
b.m("PATCH").h(headers).q(query).b(body);
|
|
780
850
|
return b.build();
|
|
781
851
|
}, "se_CancelTrainedModelCommand");
|
|
782
852
|
var se_CancelTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -911,11 +981,13 @@ var se_CreateTrainedModelCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
911
981
|
description: [],
|
|
912
982
|
environment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environment"),
|
|
913
983
|
hyperparameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "hyperparameters"),
|
|
984
|
+
incrementalTrainingDataChannels: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incrementalTrainingDataChannels"),
|
|
914
985
|
kmsKeyArn: [],
|
|
915
986
|
name: [],
|
|
916
987
|
resourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourceConfig"),
|
|
917
988
|
stoppingCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stoppingCondition"),
|
|
918
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
989
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
990
|
+
trainingInputMode: []
|
|
919
991
|
})
|
|
920
992
|
);
|
|
921
993
|
b.m("POST").h(headers).b(body);
|
|
@@ -1027,8 +1099,11 @@ var se_DeleteTrainedModelOutputCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1027
1099
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
1028
1100
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
1029
1101
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
1102
|
+
const query = (0, import_smithy_client.map)({
|
|
1103
|
+
[_vI]: [, input[_vI]]
|
|
1104
|
+
});
|
|
1030
1105
|
let body;
|
|
1031
|
-
b.m("DELETE").h(headers).b(body);
|
|
1106
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1032
1107
|
return b.build();
|
|
1033
1108
|
}, "se_DeleteTrainedModelOutputCommand");
|
|
1034
1109
|
var se_DeleteTrainingDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1091,8 +1166,11 @@ var se_GetCollaborationTrainedModelCommand = /* @__PURE__ */ __name(async (input
|
|
|
1091
1166
|
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}");
|
|
1092
1167
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
1093
1168
|
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
1169
|
+
const query = (0, import_smithy_client.map)({
|
|
1170
|
+
[_vI]: [, input[_vI]]
|
|
1171
|
+
});
|
|
1094
1172
|
let body;
|
|
1095
|
-
b.m("GET").h(headers).b(body);
|
|
1173
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1096
1174
|
return b.build();
|
|
1097
1175
|
}, "se_GetCollaborationTrainedModelCommand");
|
|
1098
1176
|
var se_GetConfiguredAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1164,8 +1242,11 @@ var se_GetTrainedModelCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1164
1242
|
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
1165
1243
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
1166
1244
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
1245
|
+
const query = (0, import_smithy_client.map)({
|
|
1246
|
+
[_vI]: [, input[_vI]]
|
|
1247
|
+
});
|
|
1167
1248
|
let body;
|
|
1168
|
-
b.m("GET").h(headers).b(body);
|
|
1249
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1169
1250
|
return b.build();
|
|
1170
1251
|
}, "se_GetTrainedModelCommand");
|
|
1171
1252
|
var se_GetTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1260,7 +1341,8 @@ var se_ListCollaborationTrainedModelExportJobsCommand = /* @__PURE__ */ __name(a
|
|
|
1260
1341
|
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
1261
1342
|
const query = (0, import_smithy_client.map)({
|
|
1262
1343
|
[_nT]: [, input[_nT]],
|
|
1263
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1344
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1345
|
+
[_tMVI]: [, input[_tMVI]]
|
|
1264
1346
|
});
|
|
1265
1347
|
let body;
|
|
1266
1348
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1274,7 +1356,8 @@ var se_ListCollaborationTrainedModelInferenceJobsCommand = /* @__PURE__ */ __nam
|
|
|
1274
1356
|
const query = (0, import_smithy_client.map)({
|
|
1275
1357
|
[_nT]: [, input[_nT]],
|
|
1276
1358
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1277
|
-
[_tMA]: [, input[_tMA]]
|
|
1359
|
+
[_tMA]: [, input[_tMA]],
|
|
1360
|
+
[_tMVI]: [, input[_tMVI]]
|
|
1278
1361
|
});
|
|
1279
1362
|
let body;
|
|
1280
1363
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1360,7 +1443,8 @@ var se_ListTrainedModelInferenceJobsCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
1360
1443
|
const query = (0, import_smithy_client.map)({
|
|
1361
1444
|
[_nT]: [, input[_nT]],
|
|
1362
1445
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1363
|
-
[_tMA]: [, input[_tMA]]
|
|
1446
|
+
[_tMA]: [, input[_tMA]],
|
|
1447
|
+
[_tMVI]: [, input[_tMVI]]
|
|
1364
1448
|
});
|
|
1365
1449
|
let body;
|
|
1366
1450
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1379,6 +1463,21 @@ var se_ListTrainedModelsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1379
1463
|
b.m("GET").h(headers).q(query).b(body);
|
|
1380
1464
|
return b.build();
|
|
1381
1465
|
}, "se_ListTrainedModelsCommand");
|
|
1466
|
+
var se_ListTrainedModelVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1467
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1468
|
+
const headers = {};
|
|
1469
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions");
|
|
1470
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
1471
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
1472
|
+
const query = (0, import_smithy_client.map)({
|
|
1473
|
+
[_nT]: [, input[_nT]],
|
|
1474
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1475
|
+
[_s]: [, input[_s]]
|
|
1476
|
+
});
|
|
1477
|
+
let body;
|
|
1478
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1479
|
+
return b.build();
|
|
1480
|
+
}, "se_ListTrainedModelVersionsCommand");
|
|
1382
1481
|
var se_ListTrainingDatasetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1383
1482
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1384
1483
|
const headers = {};
|
|
@@ -1477,7 +1576,8 @@ var se_StartTrainedModelExportJobCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1477
1576
|
(0, import_smithy_client.take)(input, {
|
|
1478
1577
|
description: [],
|
|
1479
1578
|
name: [],
|
|
1480
|
-
outputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfiguration")
|
|
1579
|
+
outputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfiguration"),
|
|
1580
|
+
trainedModelVersionIdentifier: []
|
|
1481
1581
|
})
|
|
1482
1582
|
);
|
|
1483
1583
|
b.m("POST").h(headers).b(body);
|
|
@@ -1503,7 +1603,8 @@ var se_StartTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
1503
1603
|
outputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfiguration"),
|
|
1504
1604
|
resourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourceConfig"),
|
|
1505
1605
|
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
1506
|
-
trainedModelArn: []
|
|
1606
|
+
trainedModelArn: [],
|
|
1607
|
+
trainedModelVersionIdentifier: []
|
|
1507
1608
|
})
|
|
1508
1609
|
);
|
|
1509
1610
|
b.m("POST").h(headers).b(body);
|
|
@@ -1657,7 +1758,8 @@ var de_CreateTrainedModelCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1657
1758
|
});
|
|
1658
1759
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1659
1760
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1660
|
-
trainedModelArn: import_smithy_client.expectString
|
|
1761
|
+
trainedModelArn: import_smithy_client.expectString,
|
|
1762
|
+
versionIdentifier: import_smithy_client.expectString
|
|
1661
1763
|
});
|
|
1662
1764
|
Object.assign(contents, doc);
|
|
1663
1765
|
return contents;
|
|
@@ -1892,6 +1994,7 @@ var de_GetCollaborationTrainedModelCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1892
1994
|
createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"),
|
|
1893
1995
|
creatorAccountId: import_smithy_client.expectString,
|
|
1894
1996
|
description: import_smithy_client.expectString,
|
|
1997
|
+
incrementalTrainingDataChannels: import_smithy_client._json,
|
|
1895
1998
|
logsStatus: import_smithy_client.expectString,
|
|
1896
1999
|
logsStatusDetails: import_smithy_client.expectString,
|
|
1897
2000
|
membershipIdentifier: import_smithy_client.expectString,
|
|
@@ -1904,7 +2007,9 @@ var de_GetCollaborationTrainedModelCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1904
2007
|
stoppingCondition: import_smithy_client._json,
|
|
1905
2008
|
trainedModelArn: import_smithy_client.expectString,
|
|
1906
2009
|
trainingContainerImageDigest: import_smithy_client.expectString,
|
|
1907
|
-
|
|
2010
|
+
trainingInputMode: import_smithy_client.expectString,
|
|
2011
|
+
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"),
|
|
2012
|
+
versionIdentifier: import_smithy_client.expectString
|
|
1908
2013
|
});
|
|
1909
2014
|
Object.assign(contents, doc);
|
|
1910
2015
|
return contents;
|
|
@@ -2061,6 +2166,7 @@ var de_GetTrainedModelCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2061
2166
|
description: import_smithy_client.expectString,
|
|
2062
2167
|
environment: import_smithy_client._json,
|
|
2063
2168
|
hyperparameters: import_smithy_client._json,
|
|
2169
|
+
incrementalTrainingDataChannels: import_smithy_client._json,
|
|
2064
2170
|
kmsKeyArn: import_smithy_client.expectString,
|
|
2065
2171
|
logsStatus: import_smithy_client.expectString,
|
|
2066
2172
|
logsStatusDetails: import_smithy_client.expectString,
|
|
@@ -2075,7 +2181,9 @@ var de_GetTrainedModelCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2075
2181
|
tags: import_smithy_client._json,
|
|
2076
2182
|
trainedModelArn: import_smithy_client.expectString,
|
|
2077
2183
|
trainingContainerImageDigest: import_smithy_client.expectString,
|
|
2078
|
-
|
|
2184
|
+
trainingInputMode: import_smithy_client.expectString,
|
|
2185
|
+
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"),
|
|
2186
|
+
versionIdentifier: import_smithy_client.expectString
|
|
2079
2187
|
});
|
|
2080
2188
|
Object.assign(contents, doc);
|
|
2081
2189
|
return contents;
|
|
@@ -2110,6 +2218,7 @@ var de_GetTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (output
|
|
|
2110
2218
|
tags: import_smithy_client._json,
|
|
2111
2219
|
trainedModelArn: import_smithy_client.expectString,
|
|
2112
2220
|
trainedModelInferenceJobArn: import_smithy_client.expectString,
|
|
2221
|
+
trainedModelVersionIdentifier: import_smithy_client.expectString,
|
|
2113
2222
|
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
2114
2223
|
});
|
|
2115
2224
|
Object.assign(contents, doc);
|
|
@@ -2361,6 +2470,21 @@ var de_ListTrainedModelsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2361
2470
|
Object.assign(contents, doc);
|
|
2362
2471
|
return contents;
|
|
2363
2472
|
}, "de_ListTrainedModelsCommand");
|
|
2473
|
+
var de_ListTrainedModelVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2474
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2475
|
+
return de_CommandError(output, context);
|
|
2476
|
+
}
|
|
2477
|
+
const contents = (0, import_smithy_client.map)({
|
|
2478
|
+
$metadata: deserializeMetadata(output)
|
|
2479
|
+
});
|
|
2480
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2481
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2482
|
+
nextToken: import_smithy_client.expectString,
|
|
2483
|
+
trainedModels: /* @__PURE__ */ __name((_) => de_TrainedModelList(_, context), "trainedModels")
|
|
2484
|
+
});
|
|
2485
|
+
Object.assign(contents, doc);
|
|
2486
|
+
return contents;
|
|
2487
|
+
}, "de_ListTrainedModelVersionsCommand");
|
|
2364
2488
|
var de_ListTrainingDatasetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2365
2489
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2366
2490
|
return de_CommandError(output, context);
|
|
@@ -2499,12 +2623,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2499
2623
|
case "ResourceNotFoundException":
|
|
2500
2624
|
case "com.amazonaws.cleanroomsml#ResourceNotFoundException":
|
|
2501
2625
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2626
|
+
case "ThrottlingException":
|
|
2627
|
+
case "com.amazonaws.cleanroomsml#ThrottlingException":
|
|
2628
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2502
2629
|
case "ValidationException":
|
|
2503
2630
|
case "com.amazonaws.cleanroomsml#ValidationException":
|
|
2504
2631
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2505
2632
|
case "ServiceQuotaExceededException":
|
|
2506
2633
|
case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException":
|
|
2507
2634
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2635
|
+
case "InternalServiceException":
|
|
2636
|
+
case "com.amazonaws.cleanroomsml#InternalServiceException":
|
|
2637
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2508
2638
|
default:
|
|
2509
2639
|
const parsedBody = parsedOutput.body;
|
|
2510
2640
|
return throwDefaultError({
|
|
@@ -2541,6 +2671,19 @@ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
|
|
|
2541
2671
|
});
|
|
2542
2672
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2543
2673
|
}, "de_ConflictExceptionRes");
|
|
2674
|
+
var de_InternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2675
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2676
|
+
const data = parsedOutput.body;
|
|
2677
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2678
|
+
message: import_smithy_client.expectString
|
|
2679
|
+
});
|
|
2680
|
+
Object.assign(contents, doc);
|
|
2681
|
+
const exception = new InternalServiceException({
|
|
2682
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2683
|
+
...contents
|
|
2684
|
+
});
|
|
2685
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2686
|
+
}, "de_InternalServiceExceptionRes");
|
|
2544
2687
|
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2545
2688
|
const contents = (0, import_smithy_client.map)({});
|
|
2546
2689
|
const data = parsedOutput.body;
|
|
@@ -2558,7 +2701,9 @@ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
|
2558
2701
|
const contents = (0, import_smithy_client.map)({});
|
|
2559
2702
|
const data = parsedOutput.body;
|
|
2560
2703
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2561
|
-
message: import_smithy_client.expectString
|
|
2704
|
+
message: import_smithy_client.expectString,
|
|
2705
|
+
quotaName: import_smithy_client.expectString,
|
|
2706
|
+
quotaValue: import_smithy_client.limitedParseDouble
|
|
2562
2707
|
});
|
|
2563
2708
|
Object.assign(contents, doc);
|
|
2564
2709
|
const exception = new ServiceQuotaExceededException({
|
|
@@ -2567,6 +2712,19 @@ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
|
2567
2712
|
});
|
|
2568
2713
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2569
2714
|
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2715
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2716
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2717
|
+
const data = parsedOutput.body;
|
|
2718
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2719
|
+
message: import_smithy_client.expectString
|
|
2720
|
+
});
|
|
2721
|
+
Object.assign(contents, doc);
|
|
2722
|
+
const exception = new ThrottlingException({
|
|
2723
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2724
|
+
...contents
|
|
2725
|
+
});
|
|
2726
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2727
|
+
}, "de_ThrottlingExceptionRes");
|
|
2570
2728
|
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2571
2729
|
const contents = (0, import_smithy_client.map)({});
|
|
2572
2730
|
const data = parsedOutput.body;
|
|
@@ -2589,9 +2747,15 @@ var se_PrivacyConfigurationPolicies = /* @__PURE__ */ __name((input, context) =>
|
|
|
2589
2747
|
return (0, import_smithy_client.take)(input, {
|
|
2590
2748
|
trainedModelExports: /* @__PURE__ */ __name((_) => se_TrainedModelExportsConfigurationPolicy(_, context), "trainedModelExports"),
|
|
2591
2749
|
trainedModelInferenceJobs: /* @__PURE__ */ __name((_) => se_TrainedModelInferenceJobsConfigurationPolicy(_, context), "trainedModelInferenceJobs"),
|
|
2592
|
-
trainedModels:
|
|
2750
|
+
trainedModels: /* @__PURE__ */ __name((_) => se_TrainedModelsConfigurationPolicy(_, context), "trainedModels")
|
|
2593
2751
|
});
|
|
2594
2752
|
}, "se_PrivacyConfigurationPolicies");
|
|
2753
|
+
var se_TrainedModelArtifactMaxSize = /* @__PURE__ */ __name((input, context) => {
|
|
2754
|
+
return (0, import_smithy_client.take)(input, {
|
|
2755
|
+
unit: [],
|
|
2756
|
+
value: import_smithy_client.serializeFloat
|
|
2757
|
+
});
|
|
2758
|
+
}, "se_TrainedModelArtifactMaxSize");
|
|
2595
2759
|
var se_TrainedModelExportsConfigurationPolicy = /* @__PURE__ */ __name((input, context) => {
|
|
2596
2760
|
return (0, import_smithy_client.take)(input, {
|
|
2597
2761
|
filesToExport: import_smithy_client._json,
|
|
@@ -2616,6 +2780,13 @@ var se_TrainedModelInferenceMaxOutputSize = /* @__PURE__ */ __name((input, conte
|
|
|
2616
2780
|
value: import_smithy_client.serializeFloat
|
|
2617
2781
|
});
|
|
2618
2782
|
}, "se_TrainedModelInferenceMaxOutputSize");
|
|
2783
|
+
var se_TrainedModelsConfigurationPolicy = /* @__PURE__ */ __name((input, context) => {
|
|
2784
|
+
return (0, import_smithy_client.take)(input, {
|
|
2785
|
+
containerLogs: import_smithy_client._json,
|
|
2786
|
+
containerMetrics: import_smithy_client._json,
|
|
2787
|
+
maxArtifactSize: /* @__PURE__ */ __name((_) => se_TrainedModelArtifactMaxSize(_, context), "maxArtifactSize")
|
|
2788
|
+
});
|
|
2789
|
+
}, "se_TrainedModelsConfigurationPolicy");
|
|
2619
2790
|
var de_AudienceExportJobList = /* @__PURE__ */ __name((output, context) => {
|
|
2620
2791
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2621
2792
|
return de_AudienceExportJobSummary(entry, context);
|
|
@@ -2734,6 +2905,7 @@ var de_CollaborationTrainedModelExportJobSummary = /* @__PURE__ */ __name((outpu
|
|
|
2734
2905
|
status: import_smithy_client.expectString,
|
|
2735
2906
|
statusDetails: import_smithy_client._json,
|
|
2736
2907
|
trainedModelArn: import_smithy_client.expectString,
|
|
2908
|
+
trainedModelVersionIdentifier: import_smithy_client.expectString,
|
|
2737
2909
|
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
2738
2910
|
});
|
|
2739
2911
|
}, "de_CollaborationTrainedModelExportJobSummary");
|
|
@@ -2760,6 +2932,7 @@ var de_CollaborationTrainedModelInferenceJobSummary = /* @__PURE__ */ __name((ou
|
|
|
2760
2932
|
status: import_smithy_client.expectString,
|
|
2761
2933
|
trainedModelArn: import_smithy_client.expectString,
|
|
2762
2934
|
trainedModelInferenceJobArn: import_smithy_client.expectString,
|
|
2935
|
+
trainedModelVersionIdentifier: import_smithy_client.expectString,
|
|
2763
2936
|
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
2764
2937
|
});
|
|
2765
2938
|
}, "de_CollaborationTrainedModelInferenceJobSummary");
|
|
@@ -2776,11 +2949,13 @@ var de_CollaborationTrainedModelSummary = /* @__PURE__ */ __name((output, contex
|
|
|
2776
2949
|
createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"),
|
|
2777
2950
|
creatorAccountId: import_smithy_client.expectString,
|
|
2778
2951
|
description: import_smithy_client.expectString,
|
|
2952
|
+
incrementalTrainingDataChannels: import_smithy_client._json,
|
|
2779
2953
|
membershipIdentifier: import_smithy_client.expectString,
|
|
2780
2954
|
name: import_smithy_client.expectString,
|
|
2781
2955
|
status: import_smithy_client.expectString,
|
|
2782
2956
|
trainedModelArn: import_smithy_client.expectString,
|
|
2783
|
-
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
2957
|
+
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"),
|
|
2958
|
+
versionIdentifier: import_smithy_client.expectString
|
|
2784
2959
|
});
|
|
2785
2960
|
}, "de_CollaborationTrainedModelSummary");
|
|
2786
2961
|
var de_ConfiguredAudienceModelList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2863,7 +3038,7 @@ var de_PrivacyConfigurationPolicies = /* @__PURE__ */ __name((output, context) =
|
|
|
2863
3038
|
return (0, import_smithy_client.take)(output, {
|
|
2864
3039
|
trainedModelExports: /* @__PURE__ */ __name((_) => de_TrainedModelExportsConfigurationPolicy(_, context), "trainedModelExports"),
|
|
2865
3040
|
trainedModelInferenceJobs: /* @__PURE__ */ __name((_) => de_TrainedModelInferenceJobsConfigurationPolicy(_, context), "trainedModelInferenceJobs"),
|
|
2866
|
-
trainedModels:
|
|
3041
|
+
trainedModels: /* @__PURE__ */ __name((_) => de_TrainedModelsConfigurationPolicy(_, context), "trainedModels")
|
|
2867
3042
|
});
|
|
2868
3043
|
}, "de_PrivacyConfigurationPolicies");
|
|
2869
3044
|
var de_RelevanceMetric = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2878,6 +3053,12 @@ var de_RelevanceMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
|
2878
3053
|
});
|
|
2879
3054
|
return retVal;
|
|
2880
3055
|
}, "de_RelevanceMetrics");
|
|
3056
|
+
var de_TrainedModelArtifactMaxSize = /* @__PURE__ */ __name((output, context) => {
|
|
3057
|
+
return (0, import_smithy_client.take)(output, {
|
|
3058
|
+
unit: import_smithy_client.expectString,
|
|
3059
|
+
value: import_smithy_client.limitedParseDouble
|
|
3060
|
+
});
|
|
3061
|
+
}, "de_TrainedModelArtifactMaxSize");
|
|
2881
3062
|
var de_TrainedModelExportsConfigurationPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
2882
3063
|
return (0, import_smithy_client.take)(output, {
|
|
2883
3064
|
filesToExport: import_smithy_client._json,
|
|
@@ -2918,6 +3099,7 @@ var de_TrainedModelInferenceJobSummary = /* @__PURE__ */ __name((output, context
|
|
|
2918
3099
|
status: import_smithy_client.expectString,
|
|
2919
3100
|
trainedModelArn: import_smithy_client.expectString,
|
|
2920
3101
|
trainedModelInferenceJobArn: import_smithy_client.expectString,
|
|
3102
|
+
trainedModelVersionIdentifier: import_smithy_client.expectString,
|
|
2921
3103
|
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
2922
3104
|
});
|
|
2923
3105
|
}, "de_TrainedModelInferenceJobSummary");
|
|
@@ -2933,17 +3115,26 @@ var de_TrainedModelList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2933
3115
|
});
|
|
2934
3116
|
return retVal;
|
|
2935
3117
|
}, "de_TrainedModelList");
|
|
3118
|
+
var de_TrainedModelsConfigurationPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
3119
|
+
return (0, import_smithy_client.take)(output, {
|
|
3120
|
+
containerLogs: import_smithy_client._json,
|
|
3121
|
+
containerMetrics: import_smithy_client._json,
|
|
3122
|
+
maxArtifactSize: /* @__PURE__ */ __name((_) => de_TrainedModelArtifactMaxSize(_, context), "maxArtifactSize")
|
|
3123
|
+
});
|
|
3124
|
+
}, "de_TrainedModelsConfigurationPolicy");
|
|
2936
3125
|
var de_TrainedModelSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2937
3126
|
return (0, import_smithy_client.take)(output, {
|
|
2938
3127
|
collaborationIdentifier: import_smithy_client.expectString,
|
|
2939
3128
|
configuredModelAlgorithmAssociationArn: import_smithy_client.expectString,
|
|
2940
3129
|
createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"),
|
|
2941
3130
|
description: import_smithy_client.expectString,
|
|
3131
|
+
incrementalTrainingDataChannels: import_smithy_client._json,
|
|
2942
3132
|
membershipIdentifier: import_smithy_client.expectString,
|
|
2943
3133
|
name: import_smithy_client.expectString,
|
|
2944
3134
|
status: import_smithy_client.expectString,
|
|
2945
3135
|
trainedModelArn: import_smithy_client.expectString,
|
|
2946
|
-
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
3136
|
+
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"),
|
|
3137
|
+
versionIdentifier: import_smithy_client.expectString
|
|
2947
3138
|
});
|
|
2948
3139
|
}, "de_TrainedModelSummary");
|
|
2949
3140
|
var de_TrainingDatasetList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2973,8 +3164,11 @@ var _cAMA = "configuredAudienceModelArn";
|
|
|
2973
3164
|
var _cI = "collaborationId";
|
|
2974
3165
|
var _mR = "maxResults";
|
|
2975
3166
|
var _nT = "nextToken";
|
|
3167
|
+
var _s = "status";
|
|
2976
3168
|
var _tK = "tagKeys";
|
|
2977
3169
|
var _tMA = "trainedModelArn";
|
|
3170
|
+
var _tMVI = "trainedModelVersionIdentifier";
|
|
3171
|
+
var _vI = "versionIdentifier";
|
|
2978
3172
|
|
|
2979
3173
|
// src/commands/CancelTrainedModelCommand.ts
|
|
2980
3174
|
var CancelTrainedModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
@@ -3693,6 +3887,21 @@ var ListTrainedModelsCommand = class extends import_smithy_client.Command.classB
|
|
|
3693
3887
|
}
|
|
3694
3888
|
};
|
|
3695
3889
|
|
|
3890
|
+
// src/commands/ListTrainedModelVersionsCommand.ts
|
|
3891
|
+
|
|
3892
|
+
|
|
3893
|
+
|
|
3894
|
+
var ListTrainedModelVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3895
|
+
return [
|
|
3896
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3897
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3898
|
+
];
|
|
3899
|
+
}).s("AWSStarkControlService", "ListTrainedModelVersions", {}).n("CleanRoomsMLClient", "ListTrainedModelVersionsCommand").f(void 0, void 0).ser(se_ListTrainedModelVersionsCommand).de(de_ListTrainedModelVersionsCommand).build() {
|
|
3900
|
+
static {
|
|
3901
|
+
__name(this, "ListTrainedModelVersionsCommand");
|
|
3902
|
+
}
|
|
3903
|
+
};
|
|
3904
|
+
|
|
3696
3905
|
// src/commands/ListTrainingDatasetsCommand.ts
|
|
3697
3906
|
|
|
3698
3907
|
|
|
@@ -3893,6 +4102,7 @@ var commands = {
|
|
|
3893
4102
|
ListTagsForResourceCommand,
|
|
3894
4103
|
ListTrainedModelInferenceJobsCommand,
|
|
3895
4104
|
ListTrainedModelsCommand,
|
|
4105
|
+
ListTrainedModelVersionsCommand,
|
|
3896
4106
|
ListTrainingDatasetsCommand,
|
|
3897
4107
|
PutConfiguredAudienceModelPolicyCommand,
|
|
3898
4108
|
PutMLConfigurationCommand,
|
|
@@ -3969,6 +4179,10 @@ var paginateListMLInputChannels = (0, import_core.createPaginator)(CleanRoomsMLC
|
|
|
3969
4179
|
|
|
3970
4180
|
var paginateListTrainedModelInferenceJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelInferenceJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
3971
4181
|
|
|
4182
|
+
// src/pagination/ListTrainedModelVersionsPaginator.ts
|
|
4183
|
+
|
|
4184
|
+
var paginateListTrainedModelVersions = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4185
|
+
|
|
3972
4186
|
// src/pagination/ListTrainedModelsPaginator.ts
|
|
3973
4187
|
|
|
3974
4188
|
var paginateListTrainedModels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4031,6 +4245,7 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
4031
4245
|
ListMLInputChannelsCommand,
|
|
4032
4246
|
ListTagsForResourceCommand,
|
|
4033
4247
|
ListTrainedModelInferenceJobsCommand,
|
|
4248
|
+
ListTrainedModelVersionsCommand,
|
|
4034
4249
|
ListTrainedModelsCommand,
|
|
4035
4250
|
ListTrainingDatasetsCommand,
|
|
4036
4251
|
PutConfiguredAudienceModelPolicyCommand,
|
|
@@ -4055,6 +4270,7 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
4055
4270
|
paginateListConfiguredModelAlgorithms,
|
|
4056
4271
|
paginateListMLInputChannels,
|
|
4057
4272
|
paginateListTrainedModelInferenceJobs,
|
|
4273
|
+
paginateListTrainedModelVersions,
|
|
4058
4274
|
paginateListTrainedModels,
|
|
4059
4275
|
paginateListTrainingDatasets,
|
|
4060
4276
|
AccessDeniedException,
|
|
@@ -4067,6 +4283,7 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
4067
4283
|
WorkerComputeType,
|
|
4068
4284
|
ComputeConfiguration,
|
|
4069
4285
|
AudienceGenerationJobStatus,
|
|
4286
|
+
ThrottlingException,
|
|
4070
4287
|
AudienceModelStatus,
|
|
4071
4288
|
TagOnCreatePolicy,
|
|
4072
4289
|
SharedAudienceMetrics,
|
|
@@ -4076,6 +4293,7 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
4076
4293
|
TrainedModelExportsMaxSizeUnitType,
|
|
4077
4294
|
TrainedModelInferenceMaxOutputSizeUnitType,
|
|
4078
4295
|
NoiseLevelType,
|
|
4296
|
+
TrainedModelArtifactMaxSizeUnitType,
|
|
4079
4297
|
MLInputChannelStatus,
|
|
4080
4298
|
TrainedModelExportJobStatus,
|
|
4081
4299
|
LogsStatus,
|
|
@@ -4083,7 +4301,10 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
4083
4301
|
TrainedModelInferenceJobStatus,
|
|
4084
4302
|
TrainedModelStatus,
|
|
4085
4303
|
InputChannelDataSource,
|
|
4304
|
+
S3DataDistributionType,
|
|
4086
4305
|
_InstanceType,
|
|
4306
|
+
TrainingInputMode,
|
|
4307
|
+
InternalServiceException,
|
|
4087
4308
|
InferenceInstanceType,
|
|
4088
4309
|
ColumnType,
|
|
4089
4310
|
DatasetType,
|