aws-sdk-sagemaker 1.371.0 → 1.372.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +17 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +13 -0
- data/lib/aws-sdk-sagemaker/types.rb +52 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +12 -2
- data/sig/types.rbs +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6399d5cfc5d2d703e98f466dd3d1899884b3f50cd13ec05b5789b0071b1413f
|
|
4
|
+
data.tar.gz: 48b38958f579fb434e67ec60888f91effcd6df6d7149da6c02f873bcc5ef4470
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f04335adbc52e3257790d17db0b45ae4647872a5c49481ab650d1b83eb6b99409b30e99e750d9b5ff53ca1731f61768d82edf67d8ef490790ac179ab54a4b5a
|
|
7
|
+
data.tar.gz: 70f6d4de733005162ad7083a3af6e89b236c9b42d4f8f6e7299e3503d37e96cede2dc65204c2f201261b2c75ac066181fe42944a33267bb0524055fd3d7a394e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.372.0 (2026-06-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for MLflow experiment tracking in SageMaker inference optimization. CreateAIRecommendationJob and CreateAIBenchmarkJob now accept an optional OutputConfig.MlflowConfig (MLflow App ARN, experiment, run name) to stream benchmark metrics and artifacts to your own MLflow App.
|
|
8
|
+
|
|
4
9
|
1.371.0 (2026-06-04)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.372.0
|
|
@@ -1231,6 +1231,11 @@ module Aws::SageMaker
|
|
|
1231
1231
|
# },
|
|
1232
1232
|
# output_config: { # required
|
|
1233
1233
|
# s3_output_location: "S3Uri", # required
|
|
1234
|
+
# mlflow_config: {
|
|
1235
|
+
# mlflow_resource_arn: "AIMlflowResourceArn", # required
|
|
1236
|
+
# mlflow_experiment_name: "AIMlflowExperimentName",
|
|
1237
|
+
# mlflow_run_name: "AIMlflowRunName",
|
|
1238
|
+
# },
|
|
1234
1239
|
# },
|
|
1235
1240
|
# ai_workload_config_identifier: "AIResourceIdentifier", # required
|
|
1236
1241
|
# role_arn: "RoleArn", # required
|
|
@@ -1328,6 +1333,11 @@ module Aws::SageMaker
|
|
|
1328
1333
|
# output_config: { # required
|
|
1329
1334
|
# s3_output_location: "S3Uri",
|
|
1330
1335
|
# model_package_group_identifier: "AIResourceIdentifier",
|
|
1336
|
+
# mlflow_config: {
|
|
1337
|
+
# mlflow_resource_arn: "AIMlflowResourceArn", # required
|
|
1338
|
+
# mlflow_experiment_name: "AIMlflowExperimentName",
|
|
1339
|
+
# mlflow_run_name: "AIMlflowRunName",
|
|
1340
|
+
# },
|
|
1331
1341
|
# },
|
|
1332
1342
|
# ai_workload_config_identifier: "AIResourceIdentifier", # required
|
|
1333
1343
|
# performance_target: { # required
|
|
@@ -13884,6 +13894,9 @@ module Aws::SageMaker
|
|
|
13884
13894
|
# resp.output_config.cloud_watch_logs #=> Array
|
|
13885
13895
|
# resp.output_config.cloud_watch_logs[0].log_group_arn #=> String
|
|
13886
13896
|
# resp.output_config.cloud_watch_logs[0].log_stream_name #=> String
|
|
13897
|
+
# resp.output_config.mlflow_config.mlflow_resource_arn #=> String
|
|
13898
|
+
# resp.output_config.mlflow_config.mlflow_experiment_name #=> String
|
|
13899
|
+
# resp.output_config.mlflow_config.mlflow_run_name #=> String
|
|
13887
13900
|
# resp.ai_workload_config_identifier #=> String
|
|
13888
13901
|
# resp.role_arn #=> String
|
|
13889
13902
|
# resp.network_config.vpc_config.security_group_ids #=> Array
|
|
@@ -13948,6 +13961,9 @@ module Aws::SageMaker
|
|
|
13948
13961
|
# resp.model_source.s3.s3_uri #=> String
|
|
13949
13962
|
# resp.output_config.s3_output_location #=> String
|
|
13950
13963
|
# resp.output_config.model_package_group_identifier #=> String
|
|
13964
|
+
# resp.output_config.mlflow_config.mlflow_resource_arn #=> String
|
|
13965
|
+
# resp.output_config.mlflow_config.mlflow_experiment_name #=> String
|
|
13966
|
+
# resp.output_config.mlflow_config.mlflow_run_name #=> String
|
|
13951
13967
|
# resp.inference_specification.framework #=> String, one of "LMI", "VLLM"
|
|
13952
13968
|
# resp.ai_workload_config_identifier #=> String
|
|
13953
13969
|
# resp.optimize_model #=> Boolean
|
|
@@ -34363,7 +34379,7 @@ module Aws::SageMaker
|
|
|
34363
34379
|
tracer: tracer
|
|
34364
34380
|
)
|
|
34365
34381
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
34366
|
-
context[:gem_version] = '1.
|
|
34382
|
+
context[:gem_version] = '1.372.0'
|
|
34367
34383
|
Seahorse::Client::Request.new(handlers, context)
|
|
34368
34384
|
end
|
|
34369
34385
|
|
|
@@ -35,6 +35,10 @@ module Aws::SageMaker
|
|
|
35
35
|
AIInferenceSpecificationName = Shapes::StringShape.new(name: 'AIInferenceSpecificationName')
|
|
36
36
|
AIMlReservationArn = Shapes::StringShape.new(name: 'AIMlReservationArn')
|
|
37
37
|
AIMlReservationArnList = Shapes::ListShape.new(name: 'AIMlReservationArnList')
|
|
38
|
+
AIMlflowConfig = Shapes::StructureShape.new(name: 'AIMlflowConfig')
|
|
39
|
+
AIMlflowExperimentName = Shapes::StringShape.new(name: 'AIMlflowExperimentName')
|
|
40
|
+
AIMlflowResourceArn = Shapes::StringShape.new(name: 'AIMlflowResourceArn')
|
|
41
|
+
AIMlflowRunName = Shapes::StringShape.new(name: 'AIMlflowRunName')
|
|
38
42
|
AIModelSource = Shapes::UnionShape.new(name: 'AIModelSource')
|
|
39
43
|
AIModelSourceS3 = Shapes::StructureShape.new(name: 'AIModelSourceS3')
|
|
40
44
|
AIRecommendation = Shapes::StructureShape.new(name: 'AIRecommendation')
|
|
@@ -3040,10 +3044,12 @@ module Aws::SageMaker
|
|
|
3040
3044
|
AIBenchmarkNetworkConfig.struct_class = Types::AIBenchmarkNetworkConfig
|
|
3041
3045
|
|
|
3042
3046
|
AIBenchmarkOutputConfig.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputLocation"))
|
|
3047
|
+
AIBenchmarkOutputConfig.add_member(:mlflow_config, Shapes::ShapeRef.new(shape: AIMlflowConfig, location_name: "MlflowConfig"))
|
|
3043
3048
|
AIBenchmarkOutputConfig.struct_class = Types::AIBenchmarkOutputConfig
|
|
3044
3049
|
|
|
3045
3050
|
AIBenchmarkOutputResult.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputLocation"))
|
|
3046
3051
|
AIBenchmarkOutputResult.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: AICloudWatchLogsList, location_name: "CloudWatchLogs"))
|
|
3052
|
+
AIBenchmarkOutputResult.add_member(:mlflow_config, Shapes::ShapeRef.new(shape: AIMlflowConfig, location_name: "MlflowConfig"))
|
|
3047
3053
|
AIBenchmarkOutputResult.struct_class = Types::AIBenchmarkOutputResult
|
|
3048
3054
|
|
|
3049
3055
|
AIBenchmarkTarget.add_member(:endpoint, Shapes::ShapeRef.new(shape: AIBenchmarkEndpoint, location_name: "Endpoint"))
|
|
@@ -3070,6 +3076,11 @@ module Aws::SageMaker
|
|
|
3070
3076
|
|
|
3071
3077
|
AIMlReservationArnList.member = Shapes::ShapeRef.new(shape: AIMlReservationArn)
|
|
3072
3078
|
|
|
3079
|
+
AIMlflowConfig.add_member(:mlflow_resource_arn, Shapes::ShapeRef.new(shape: AIMlflowResourceArn, required: true, location_name: "MlflowResourceArn"))
|
|
3080
|
+
AIMlflowConfig.add_member(:mlflow_experiment_name, Shapes::ShapeRef.new(shape: AIMlflowExperimentName, location_name: "MlflowExperimentName"))
|
|
3081
|
+
AIMlflowConfig.add_member(:mlflow_run_name, Shapes::ShapeRef.new(shape: AIMlflowRunName, location_name: "MlflowRunName"))
|
|
3082
|
+
AIMlflowConfig.struct_class = Types::AIMlflowConfig
|
|
3083
|
+
|
|
3073
3084
|
AIModelSource.add_member(:s3, Shapes::ShapeRef.new(shape: AIModelSourceS3, location_name: "S3"))
|
|
3074
3085
|
AIModelSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
3075
3086
|
AIModelSource.add_member_subclass(:s3, Types::AIModelSource::S3)
|
|
@@ -3149,10 +3160,12 @@ module Aws::SageMaker
|
|
|
3149
3160
|
|
|
3150
3161
|
AIRecommendationOutputConfig.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputLocation"))
|
|
3151
3162
|
AIRecommendationOutputConfig.add_member(:model_package_group_identifier, Shapes::ShapeRef.new(shape: AIResourceIdentifier, location_name: "ModelPackageGroupIdentifier"))
|
|
3163
|
+
AIRecommendationOutputConfig.add_member(:mlflow_config, Shapes::ShapeRef.new(shape: AIMlflowConfig, location_name: "MlflowConfig"))
|
|
3152
3164
|
AIRecommendationOutputConfig.struct_class = Types::AIRecommendationOutputConfig
|
|
3153
3165
|
|
|
3154
3166
|
AIRecommendationOutputResult.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputLocation"))
|
|
3155
3167
|
AIRecommendationOutputResult.add_member(:model_package_group_identifier, Shapes::ShapeRef.new(shape: AIResourceIdentifier, location_name: "ModelPackageGroupIdentifier"))
|
|
3168
|
+
AIRecommendationOutputResult.add_member(:mlflow_config, Shapes::ShapeRef.new(shape: AIMlflowConfig, location_name: "MlflowConfig"))
|
|
3156
3169
|
AIRecommendationOutputResult.struct_class = Types::AIRecommendationOutputResult
|
|
3157
3170
|
|
|
3158
3171
|
AIRecommendationPerformanceMetric.add_member(:metric, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Metric"))
|
|
@@ -109,10 +109,16 @@ module Aws::SageMaker
|
|
|
109
109
|
# The Amazon S3 URI where benchmark results are stored.
|
|
110
110
|
# @return [String]
|
|
111
111
|
#
|
|
112
|
+
# @!attribute [rw] mlflow_config
|
|
113
|
+
# The MLflow tracking configuration for the job. If you don't specify
|
|
114
|
+
# this parameter, MLflow tracking is disabled.
|
|
115
|
+
# @return [Types::AIMlflowConfig]
|
|
116
|
+
#
|
|
112
117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AIBenchmarkOutputConfig AWS API Documentation
|
|
113
118
|
#
|
|
114
119
|
class AIBenchmarkOutputConfig < Struct.new(
|
|
115
|
-
:s3_output_location
|
|
120
|
+
:s3_output_location,
|
|
121
|
+
:mlflow_config)
|
|
116
122
|
SENSITIVE = []
|
|
117
123
|
include Aws::Structure
|
|
118
124
|
end
|
|
@@ -128,11 +134,16 @@ module Aws::SageMaker
|
|
|
128
134
|
# The CloudWatch log information for the benchmark job.
|
|
129
135
|
# @return [Array<Types::AICloudWatchLogs>]
|
|
130
136
|
#
|
|
137
|
+
# @!attribute [rw] mlflow_config
|
|
138
|
+
# The MLflow tracking configuration for the job.
|
|
139
|
+
# @return [Types::AIMlflowConfig]
|
|
140
|
+
#
|
|
131
141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AIBenchmarkOutputResult AWS API Documentation
|
|
132
142
|
#
|
|
133
143
|
class AIBenchmarkOutputResult < Struct.new(
|
|
134
144
|
:s3_output_location,
|
|
135
|
-
:cloud_watch_logs
|
|
145
|
+
:cloud_watch_logs,
|
|
146
|
+
:mlflow_config)
|
|
136
147
|
SENSITIVE = []
|
|
137
148
|
include Aws::Structure
|
|
138
149
|
end
|
|
@@ -224,6 +235,32 @@ module Aws::SageMaker
|
|
|
224
235
|
class Unknown < AIDatasetConfig; end
|
|
225
236
|
end
|
|
226
237
|
|
|
238
|
+
# The MLflow tracking configuration for logging metrics and parameters
|
|
239
|
+
# to a SageMaker managed MLflow tracking server.
|
|
240
|
+
#
|
|
241
|
+
# @!attribute [rw] mlflow_resource_arn
|
|
242
|
+
# The Amazon Resource Name (ARN) of the SageMaker managed MLflow
|
|
243
|
+
# resource.
|
|
244
|
+
# @return [String]
|
|
245
|
+
#
|
|
246
|
+
# @!attribute [rw] mlflow_experiment_name
|
|
247
|
+
# The MLflow experiment name used for tracking.
|
|
248
|
+
# @return [String]
|
|
249
|
+
#
|
|
250
|
+
# @!attribute [rw] mlflow_run_name
|
|
251
|
+
# The MLflow run name used for tracking.
|
|
252
|
+
# @return [String]
|
|
253
|
+
#
|
|
254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AIMlflowConfig AWS API Documentation
|
|
255
|
+
#
|
|
256
|
+
class AIMlflowConfig < Struct.new(
|
|
257
|
+
:mlflow_resource_arn,
|
|
258
|
+
:mlflow_experiment_name,
|
|
259
|
+
:mlflow_run_name)
|
|
260
|
+
SENSITIVE = []
|
|
261
|
+
include Aws::Structure
|
|
262
|
+
end
|
|
263
|
+
|
|
227
264
|
# The source of the model for an AI recommendation job. This is a union
|
|
228
265
|
# type.
|
|
229
266
|
#
|
|
@@ -527,11 +564,17 @@ module Aws::SageMaker
|
|
|
527
564
|
# version.
|
|
528
565
|
# @return [String]
|
|
529
566
|
#
|
|
567
|
+
# @!attribute [rw] mlflow_config
|
|
568
|
+
# The MLflow tracking configuration for the job. If you don't specify
|
|
569
|
+
# this parameter, MLflow tracking is disabled.
|
|
570
|
+
# @return [Types::AIMlflowConfig]
|
|
571
|
+
#
|
|
530
572
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AIRecommendationOutputConfig AWS API Documentation
|
|
531
573
|
#
|
|
532
574
|
class AIRecommendationOutputConfig < Struct.new(
|
|
533
575
|
:s3_output_location,
|
|
534
|
-
:model_package_group_identifier
|
|
576
|
+
:model_package_group_identifier,
|
|
577
|
+
:mlflow_config)
|
|
535
578
|
SENSITIVE = []
|
|
536
579
|
include Aws::Structure
|
|
537
580
|
end
|
|
@@ -549,11 +592,16 @@ module Aws::SageMaker
|
|
|
549
592
|
# where deployment-ready model packages are registered.
|
|
550
593
|
# @return [String]
|
|
551
594
|
#
|
|
595
|
+
# @!attribute [rw] mlflow_config
|
|
596
|
+
# The MLflow tracking configuration for the job.
|
|
597
|
+
# @return [Types::AIMlflowConfig]
|
|
598
|
+
#
|
|
552
599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AIRecommendationOutputResult AWS API Documentation
|
|
553
600
|
#
|
|
554
601
|
class AIRecommendationOutputResult < Struct.new(
|
|
555
602
|
:s3_output_location,
|
|
556
|
-
:model_package_group_identifier
|
|
603
|
+
:model_package_group_identifier,
|
|
604
|
+
:mlflow_config)
|
|
557
605
|
SENSITIVE = []
|
|
558
606
|
include Aws::Structure
|
|
559
607
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -232,7 +232,12 @@ module Aws
|
|
|
232
232
|
}?
|
|
233
233
|
},
|
|
234
234
|
output_config: {
|
|
235
|
-
s3_output_location: ::String
|
|
235
|
+
s3_output_location: ::String,
|
|
236
|
+
mlflow_config: {
|
|
237
|
+
mlflow_resource_arn: ::String,
|
|
238
|
+
mlflow_experiment_name: ::String?,
|
|
239
|
+
mlflow_run_name: ::String?
|
|
240
|
+
}?
|
|
236
241
|
},
|
|
237
242
|
ai_workload_config_identifier: ::String,
|
|
238
243
|
role_arn: ::String,
|
|
@@ -265,7 +270,12 @@ module Aws
|
|
|
265
270
|
},
|
|
266
271
|
output_config: {
|
|
267
272
|
s3_output_location: ::String?,
|
|
268
|
-
model_package_group_identifier: ::String
|
|
273
|
+
model_package_group_identifier: ::String?,
|
|
274
|
+
mlflow_config: {
|
|
275
|
+
mlflow_resource_arn: ::String,
|
|
276
|
+
mlflow_experiment_name: ::String?,
|
|
277
|
+
mlflow_run_name: ::String?
|
|
278
|
+
}?
|
|
269
279
|
},
|
|
270
280
|
ai_workload_config_identifier: ::String,
|
|
271
281
|
performance_target: {
|
data/sig/types.rbs
CHANGED
|
@@ -37,12 +37,14 @@ module Aws::SageMaker
|
|
|
37
37
|
|
|
38
38
|
class AIBenchmarkOutputConfig
|
|
39
39
|
attr_accessor s3_output_location: ::String
|
|
40
|
+
attr_accessor mlflow_config: Types::AIMlflowConfig
|
|
40
41
|
SENSITIVE: []
|
|
41
42
|
end
|
|
42
43
|
|
|
43
44
|
class AIBenchmarkOutputResult
|
|
44
45
|
attr_accessor s3_output_location: ::String
|
|
45
46
|
attr_accessor cloud_watch_logs: ::Array[Types::AICloudWatchLogs]
|
|
47
|
+
attr_accessor mlflow_config: Types::AIMlflowConfig
|
|
46
48
|
SENSITIVE: []
|
|
47
49
|
end
|
|
48
50
|
|
|
@@ -80,6 +82,13 @@ module Aws::SageMaker
|
|
|
80
82
|
end
|
|
81
83
|
end
|
|
82
84
|
|
|
85
|
+
class AIMlflowConfig
|
|
86
|
+
attr_accessor mlflow_resource_arn: ::String
|
|
87
|
+
attr_accessor mlflow_experiment_name: ::String
|
|
88
|
+
attr_accessor mlflow_run_name: ::String
|
|
89
|
+
SENSITIVE: []
|
|
90
|
+
end
|
|
91
|
+
|
|
83
92
|
class AIModelSource
|
|
84
93
|
attr_accessor s3: Types::AIModelSourceS3
|
|
85
94
|
attr_accessor unknown: untyped
|
|
@@ -170,12 +179,14 @@ module Aws::SageMaker
|
|
|
170
179
|
class AIRecommendationOutputConfig
|
|
171
180
|
attr_accessor s3_output_location: ::String
|
|
172
181
|
attr_accessor model_package_group_identifier: ::String
|
|
182
|
+
attr_accessor mlflow_config: Types::AIMlflowConfig
|
|
173
183
|
SENSITIVE: []
|
|
174
184
|
end
|
|
175
185
|
|
|
176
186
|
class AIRecommendationOutputResult
|
|
177
187
|
attr_accessor s3_output_location: ::String
|
|
178
188
|
attr_accessor model_package_group_identifier: ::String
|
|
189
|
+
attr_accessor mlflow_config: Types::AIMlflowConfig
|
|
179
190
|
SENSITIVE: []
|
|
180
191
|
end
|
|
181
192
|
|