Skip to content

Commit 63bbda2

Browse files
This release introduces support for incremental training and distributed training for custom models in AWS Clean Rooms ML.
1 parent 03a7bd4 commit 63bbda2

File tree

108 files changed

+5021
-186
lines changed

Some content is hidden

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

108 files changed

+5021
-186
lines changed

generator/ServiceModels/cleanroomsml/cleanroomsml-2023-09-06.api.json

Lines changed: 304 additions & 57 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cleanroomsml/cleanroomsml-2023-09-06.docs.json

Lines changed: 125 additions & 5 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cleanroomsml/cleanroomsml-2023-09-06.normal.json

Lines changed: 423 additions & 59 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cleanroomsml/cleanroomsml-2023-09-06.paginators.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
"limit_key": "maxResults",
7979
"result_key": "trainedModelInferenceJobs"
8080
},
81+
"ListTrainedModelVersions": {
82+
"input_token": "nextToken",
83+
"output_token": "nextToken",
84+
"limit_key": "maxResults",
85+
"result_key": "trainedModels"
86+
},
8187
"ListTrainedModels": {
8288
"input_token": "nextToken",
8389
"output_token": "nextToken",

sdk/code-analysis/ServiceAnalysis/CleanRoomsML/Generated/PropertyValueRules.xml

Lines changed: 226 additions & 46 deletions
Large diffs are not rendered by default.

sdk/src/Services/CleanRoomsML/Generated/Model/CancelTrainedModelRequest.cs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public partial class CancelTrainedModelRequest : AmazonCleanRoomsMLRequest
3737
{
3838
private string _membershipIdentifier;
3939
private string _trainedModelArn;
40+
private string _versionIdentifier;
4041

4142
/// <summary>
4243
/// Gets and sets the property MembershipIdentifier.
@@ -76,5 +77,30 @@ internal bool IsSetTrainedModelArn()
7677
return this._trainedModelArn != null;
7778
}
7879

80+
/// <summary>
81+
/// Gets and sets the property VersionIdentifier.
82+
/// <para>
83+
/// The version identifier of the trained model to cancel. This parameter allows you to
84+
/// specify which version of the trained model you want to cancel when multiple versions
85+
/// exist.
86+
/// </para>
87+
///
88+
/// <para>
89+
/// If <c>versionIdentifier</c> is not specified, the base model will be cancelled.
90+
/// </para>
91+
/// </summary>
92+
[AWSProperty(Min=36, Max=36)]
93+
public string VersionIdentifier
94+
{
95+
get { return this._versionIdentifier; }
96+
set { this._versionIdentifier = value; }
97+
}
98+
99+
// Check to see if VersionIdentifier property is set
100+
internal bool IsSetVersionIdentifier()
101+
{
102+
return this._versionIdentifier != null;
103+
}
104+
79105
}
80106
}

sdk/src/Services/CleanRoomsML/Generated/Model/CollaborationTrainedModelExportJobSummary.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public partial class CollaborationTrainedModelExportJobSummary
4444
private TrainedModelExportJobStatus _status;
4545
private StatusDetails _statusDetails;
4646
private string _trainedModelArn;
47+
private string _trainedModelVersionIdentifier;
4748
private DateTime? _updateTime;
4849

4950
/// <summary>
@@ -229,6 +230,25 @@ internal bool IsSetTrainedModelArn()
229230
return this._trainedModelArn != null;
230231
}
231232

233+
/// <summary>
234+
/// Gets and sets the property TrainedModelVersionIdentifier.
235+
/// <para>
236+
/// The version identifier of the trained model that was exported in this job.
237+
/// </para>
238+
/// </summary>
239+
[AWSProperty(Min=36, Max=36)]
240+
public string TrainedModelVersionIdentifier
241+
{
242+
get { return this._trainedModelVersionIdentifier; }
243+
set { this._trainedModelVersionIdentifier = value; }
244+
}
245+
246+
// Check to see if TrainedModelVersionIdentifier property is set
247+
internal bool IsSetTrainedModelVersionIdentifier()
248+
{
249+
return this._trainedModelVersionIdentifier != null;
250+
}
251+
232252
/// <summary>
233253
/// Gets and sets the property UpdateTime.
234254
/// <para>

sdk/src/Services/CleanRoomsML/Generated/Model/CollaborationTrainedModelInferenceJobSummary.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public partial class CollaborationTrainedModelInferenceJobSummary
4949
private TrainedModelInferenceJobStatus _status;
5050
private string _trainedModelArn;
5151
private string _trainedModelInferenceJobArn;
52+
private string _trainedModelVersionIdentifier;
5253
private DateTime? _updateTime;
5354

5455
/// <summary>
@@ -335,6 +336,25 @@ internal bool IsSetTrainedModelInferenceJobArn()
335336
return this._trainedModelInferenceJobArn != null;
336337
}
337338

339+
/// <summary>
340+
/// Gets and sets the property TrainedModelVersionIdentifier.
341+
/// <para>
342+
/// The version identifier of the trained model that was used for inference in this job.
343+
/// </para>
344+
/// </summary>
345+
[AWSProperty(Min=36, Max=36)]
346+
public string TrainedModelVersionIdentifier
347+
{
348+
get { return this._trainedModelVersionIdentifier; }
349+
set { this._trainedModelVersionIdentifier = value; }
350+
}
351+
352+
// Check to see if TrainedModelVersionIdentifier property is set
353+
internal bool IsSetTrainedModelVersionIdentifier()
354+
{
355+
return this._trainedModelVersionIdentifier != null;
356+
}
357+
338358
/// <summary>
339359
/// Gets and sets the property UpdateTime.
340360
/// <para>

sdk/src/Services/CleanRoomsML/Generated/Model/CollaborationTrainedModelSummary.cs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ public partial class CollaborationTrainedModelSummary
3939
private DateTime? _createTime;
4040
private string _creatorAccountId;
4141
private string _description;
42+
private List<IncrementalTrainingDataChannelOutput> _incrementalTrainingDataChannels = AWSConfigs.InitializeCollections ? new List<IncrementalTrainingDataChannelOutput>() : null;
4243
private string _membershipIdentifier;
4344
private string _name;
4445
private TrainedModelStatus _status;
4546
private string _trainedModelArn;
4647
private DateTime? _updateTime;
48+
private string _versionIdentifier;
4749

4850
/// <summary>
4951
/// Gets and sets the property CollaborationIdentifier.
@@ -141,6 +143,26 @@ internal bool IsSetDescription()
141143
return this._description != null;
142144
}
143145

146+
/// <summary>
147+
/// Gets and sets the property IncrementalTrainingDataChannels.
148+
/// <para>
149+
/// Information about the incremental training data channels used to create this version
150+
/// of the trained model.
151+
/// </para>
152+
/// </summary>
153+
[AWSProperty(Min=1, Max=1)]
154+
public List<IncrementalTrainingDataChannelOutput> IncrementalTrainingDataChannels
155+
{
156+
get { return this._incrementalTrainingDataChannels; }
157+
set { this._incrementalTrainingDataChannels = value; }
158+
}
159+
160+
// Check to see if IncrementalTrainingDataChannels property is set
161+
internal bool IsSetIncrementalTrainingDataChannels()
162+
{
163+
return this._incrementalTrainingDataChannels != null && (this._incrementalTrainingDataChannels.Count > 0 || !AWSConfigs.InitializeCollections);
164+
}
165+
144166
/// <summary>
145167
/// Gets and sets the property MembershipIdentifier.
146168
/// <para>
@@ -236,5 +258,24 @@ internal bool IsSetUpdateTime()
236258
return this._updateTime.HasValue;
237259
}
238260

261+
/// <summary>
262+
/// Gets and sets the property VersionIdentifier.
263+
/// <para>
264+
/// The version identifier of this trained model version.
265+
/// </para>
266+
/// </summary>
267+
[AWSProperty(Min=36, Max=36)]
268+
public string VersionIdentifier
269+
{
270+
get { return this._versionIdentifier; }
271+
set { this._versionIdentifier = value; }
272+
}
273+
274+
// Check to see if VersionIdentifier property is set
275+
internal bool IsSetVersionIdentifier()
276+
{
277+
return this._versionIdentifier != null;
278+
}
279+
239280
}
240281
}

sdk/src/Services/CleanRoomsML/Generated/Model/ContainerConfig.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ internal bool IsSetEntrypoint()
8989
/// Gets and sets the property ImageUri.
9090
/// <para>
9191
/// The registry path of the docker image that contains the algorithm. Clean Rooms ML
92-
/// supports both <c>registry/repository[:tag]</c> and <c>registry/repositry[@digest]</c>
93-
/// image path formats. For more information about using images in Clean Rooms ML, see
94-
/// the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AlgorithmSpecification.html#sagemaker-Type-AlgorithmSpecification-TrainingImage">Sagemaker
92+
/// currently only supports the <c>registry/repository[:tag]</c> image path format. For
93+
/// more information about using images in Clean Rooms ML, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AlgorithmSpecification.html#sagemaker-Type-AlgorithmSpecification-TrainingImage">Sagemaker
9594
/// API reference</a>.
9695
/// </para>
9796
/// </summary>

0 commit comments

Comments
 (0)