aws-sdk-sagemaker 1.370.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +75 -4
- data/lib/aws-sdk-sagemaker/client_api.rb +34 -0
- data/lib/aws-sdk-sagemaker/types.rb +240 -8
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +18 -6
- data/sig/types.rbs +34 -2
- 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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.371.0 (2026-06-04)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds the IncludedData parameter to DescribeModelCard and DescribeModelPackage. Set it to MetadataOnly to retrieve a model card without decrypt permission on the customer managed AWS KMS key (default AllData returns full content). Adds support for the MTRL Job resource in SageMaker Search.
|
|
13
|
+
|
|
4
14
|
1.370.0 (2026-06-02)
|
|
5
15
|
------------------
|
|
6
16
|
|
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
|
|
@@ -18334,6 +18350,12 @@ module Aws::SageMaker
|
|
|
18334
18350
|
# Describes the content, creation time, and security configuration of an
|
|
18335
18351
|
# Amazon SageMaker Model Card.
|
|
18336
18352
|
#
|
|
18353
|
+
# To retrieve only metadata about a model card without requiring
|
|
18354
|
+
# `kms:Decrypt` permission on the associated customer-managed Amazon Web
|
|
18355
|
+
# Services KMS key, set `IncludedData` to `MetadataOnly`. The default is
|
|
18356
|
+
# `AllData`, which returns the full model card `Content` and requires
|
|
18357
|
+
# `kms:Decrypt` permission when a customer-managed key is configured.
|
|
18358
|
+
#
|
|
18337
18359
|
# @option params [required, String] :model_card_name
|
|
18338
18360
|
# The name or Amazon Resource Name (ARN) of the model card to describe.
|
|
18339
18361
|
#
|
|
@@ -18341,6 +18363,23 @@ module Aws::SageMaker
|
|
|
18341
18363
|
# The version of the model card to describe. If a version is not
|
|
18342
18364
|
# provided, then the latest version of the model card is described.
|
|
18343
18365
|
#
|
|
18366
|
+
# @option params [String] :included_data
|
|
18367
|
+
# Specifies the level of model card data to include in the response. Use
|
|
18368
|
+
# this parameter to call `DescribeModelCard` without requiring
|
|
18369
|
+
# `kms:Decrypt` permission on the customer-managed Amazon Web Services
|
|
18370
|
+
# KMS key.
|
|
18371
|
+
#
|
|
18372
|
+
# * `AllData`: Returns the full model card `Content`. This option
|
|
18373
|
+
# requires `kms:Decrypt` permission on the customer-managed key, if
|
|
18374
|
+
# one is associated with the model card. This is the default.
|
|
18375
|
+
#
|
|
18376
|
+
# * `MetadataOnly`: Returns the model card with sanitized `Content` that
|
|
18377
|
+
# includes only a small set of unencrypted metadata fields. This
|
|
18378
|
+
# option does not require `kms:Decrypt` permission. For the list of
|
|
18379
|
+
# fields preserved in the response, see `Content`.
|
|
18380
|
+
#
|
|
18381
|
+
# If you don't specify a value, SageMaker returns `AllData`.
|
|
18382
|
+
#
|
|
18344
18383
|
# @return [Types::DescribeModelCardResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
18345
18384
|
#
|
|
18346
18385
|
# * {Types::DescribeModelCardResponse#model_card_arn #model_card_arn} => String
|
|
@@ -18360,6 +18399,7 @@ module Aws::SageMaker
|
|
|
18360
18399
|
# resp = client.describe_model_card({
|
|
18361
18400
|
# model_card_name: "ModelCardNameOrArn", # required
|
|
18362
18401
|
# model_card_version: 1,
|
|
18402
|
+
# included_data: "AllData", # accepts AllData, MetadataOnly
|
|
18363
18403
|
# })
|
|
18364
18404
|
#
|
|
18365
18405
|
# @example Response structure
|
|
@@ -18537,7 +18577,10 @@ module Aws::SageMaker
|
|
|
18537
18577
|
#
|
|
18538
18578
|
# If you provided a KMS Key ID when you created your model package, you
|
|
18539
18579
|
# will see the [KMS Decrypt][1] API call in your CloudTrail logs when
|
|
18540
|
-
# you use this API.
|
|
18580
|
+
# you use this API. To call this operation without requiring
|
|
18581
|
+
# `kms:Decrypt` permission on the customer-managed key, set
|
|
18582
|
+
# `IncludedData` to `MetadataOnly`; the response is returned with the
|
|
18583
|
+
# embedded `ModelCard.ModelCardContent` field sanitized.
|
|
18541
18584
|
#
|
|
18542
18585
|
# To create models in SageMaker, buyers can subscribe to model packages
|
|
18543
18586
|
# listed on Amazon Web Services Marketplace.
|
|
@@ -18553,6 +18596,33 @@ module Aws::SageMaker
|
|
|
18553
18596
|
# When you specify a name, the name must have 1 to 63 characters. Valid
|
|
18554
18597
|
# characters are a-z, A-Z, 0-9, and - (hyphen).
|
|
18555
18598
|
#
|
|
18599
|
+
# @option params [String] :included_data
|
|
18600
|
+
# Specifies the level of model package data to include in the response.
|
|
18601
|
+
# Use this parameter to call `DescribeModelPackage` on a model package
|
|
18602
|
+
# that has an associated model card without requiring `kms:Decrypt`
|
|
18603
|
+
# permission on the customer-managed KMS key associated with the
|
|
18604
|
+
# embedded model card.
|
|
18605
|
+
#
|
|
18606
|
+
# * `AllData`: Returns the full model package response, including the
|
|
18607
|
+
# unredacted `ModelCard.ModelCardContent`. This option requires
|
|
18608
|
+
# `kms:Decrypt` permission on the customer-managed key, if one is
|
|
18609
|
+
# associated with the embedded model card. This is the default.
|
|
18610
|
+
#
|
|
18611
|
+
# * `MetadataOnly`: Returns the full model package response, but with
|
|
18612
|
+
# the embedded `ModelCard.ModelCardContent` sanitized to include only
|
|
18613
|
+
# a small set of unencrypted metadata fields. This option does not
|
|
18614
|
+
# require `kms:Decrypt` permission. All other top-level response
|
|
18615
|
+
# fields, including `InferenceSpecification`, `ModelMetrics`,
|
|
18616
|
+
# `DriftCheckBaselines`, and `SecurityConfig`, are returned unchanged.
|
|
18617
|
+
# For the list of fields preserved within `ModelCardContent`, see
|
|
18618
|
+
# [ModelCard][1].
|
|
18619
|
+
#
|
|
18620
|
+
# If you don't specify a value, SageMaker returns `AllData`.
|
|
18621
|
+
#
|
|
18622
|
+
#
|
|
18623
|
+
#
|
|
18624
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeModelPackage.html#sagemaker-DescribeModelPackage-response-ModelCard
|
|
18625
|
+
#
|
|
18556
18626
|
# @return [Types::DescribeModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
18557
18627
|
#
|
|
18558
18628
|
# * {Types::DescribeModelPackageOutput#model_package_name #model_package_name} => String
|
|
@@ -18592,6 +18662,7 @@ module Aws::SageMaker
|
|
|
18592
18662
|
#
|
|
18593
18663
|
# resp = client.describe_model_package({
|
|
18594
18664
|
# model_package_name: "VersionedArnOrName", # required
|
|
18665
|
+
# included_data: "AllData", # accepts AllData, MetadataOnly
|
|
18595
18666
|
# })
|
|
18596
18667
|
#
|
|
18597
18668
|
# @example Response structure
|
|
@@ -21330,7 +21401,7 @@ module Aws::SageMaker
|
|
|
21330
21401
|
# @example Request syntax with placeholder values
|
|
21331
21402
|
#
|
|
21332
21403
|
# resp = client.get_search_suggestions({
|
|
21333
|
-
# resource: "TrainingJob", # required, accepts TrainingJob, Experiment, ExperimentTrial, ExperimentTrialComponent, Endpoint, Model, ModelPackage, ModelPackageGroup, Pipeline, PipelineExecution, FeatureGroup, FeatureMetadata, Image, ImageVersion, Project, HyperParameterTuningJob, ModelCard, PipelineVersion
|
|
21404
|
+
# resource: "TrainingJob", # required, accepts TrainingJob, Experiment, ExperimentTrial, ExperimentTrialComponent, Endpoint, Model, ModelPackage, ModelPackageGroup, Pipeline, PipelineExecution, FeatureGroup, FeatureMetadata, Image, ImageVersion, Project, HyperParameterTuningJob, ModelCard, PipelineVersion, Job
|
|
21334
21405
|
# suggestion_query: {
|
|
21335
21406
|
# property_name_query: {
|
|
21336
21407
|
# property_name_hint: "PropertyNameHint", # required
|
|
@@ -28846,7 +28917,7 @@ module Aws::SageMaker
|
|
|
28846
28917
|
# @example Request syntax with placeholder values
|
|
28847
28918
|
#
|
|
28848
28919
|
# resp = client.search({
|
|
28849
|
-
# resource: "TrainingJob", # required, accepts TrainingJob, Experiment, ExperimentTrial, ExperimentTrialComponent, Endpoint, Model, ModelPackage, ModelPackageGroup, Pipeline, PipelineExecution, FeatureGroup, FeatureMetadata, Image, ImageVersion, Project, HyperParameterTuningJob, ModelCard, PipelineVersion
|
|
28920
|
+
# resource: "TrainingJob", # required, accepts TrainingJob, Experiment, ExperimentTrial, ExperimentTrialComponent, Endpoint, Model, ModelPackage, ModelPackageGroup, Pipeline, PipelineExecution, FeatureGroup, FeatureMetadata, Image, ImageVersion, Project, HyperParameterTuningJob, ModelCard, PipelineVersion, Job
|
|
28850
28921
|
# search_expression: {
|
|
28851
28922
|
# filters: [
|
|
28852
28923
|
# {
|
|
@@ -34308,7 +34379,7 @@ module Aws::SageMaker
|
|
|
34308
34379
|
tracer: tracer
|
|
34309
34380
|
)
|
|
34310
34381
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
34311
|
-
context[:gem_version] = '1.
|
|
34382
|
+
context[:gem_version] = '1.372.0'
|
|
34312
34383
|
Seahorse::Client::Request.new(handlers, context)
|
|
34313
34384
|
end
|
|
34314
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')
|
|
@@ -1443,6 +1447,7 @@ module Aws::SageMaker
|
|
|
1443
1447
|
ImportHubContentResponse = Shapes::StructureShape.new(name: 'ImportHubContentResponse')
|
|
1444
1448
|
InUseInstanceCount = Shapes::IntegerShape.new(name: 'InUseInstanceCount')
|
|
1445
1449
|
IncludeNodeLogicalIdsBoolean = Shapes::BooleanShape.new(name: 'IncludeNodeLogicalIdsBoolean')
|
|
1450
|
+
IncludedData = Shapes::StringShape.new(name: 'IncludedData')
|
|
1446
1451
|
InferenceComponentArn = Shapes::StringShape.new(name: 'InferenceComponentArn')
|
|
1447
1452
|
InferenceComponentAvailabilityZoneBalance = Shapes::StructureShape.new(name: 'InferenceComponentAvailabilityZoneBalance')
|
|
1448
1453
|
InferenceComponentCapacitySize = Shapes::StructureShape.new(name: 'InferenceComponentCapacitySize')
|
|
@@ -1538,6 +1543,7 @@ module Aws::SageMaker
|
|
|
1538
1543
|
IotRoleAlias = Shapes::StringShape.new(name: 'IotRoleAlias')
|
|
1539
1544
|
IsTrackingServerActive = Shapes::StringShape.new(name: 'IsTrackingServerActive')
|
|
1540
1545
|
ItemIdentifierAttributeName = Shapes::StringShape.new(name: 'ItemIdentifierAttributeName')
|
|
1546
|
+
Job = Shapes::StructureShape.new(name: 'Job')
|
|
1541
1547
|
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
|
1542
1548
|
JobCategory = Shapes::StringShape.new(name: 'JobCategory')
|
|
1543
1549
|
JobConfigDocument = Shapes::StringShape.new(name: 'JobConfigDocument')
|
|
@@ -3038,10 +3044,12 @@ module Aws::SageMaker
|
|
|
3038
3044
|
AIBenchmarkNetworkConfig.struct_class = Types::AIBenchmarkNetworkConfig
|
|
3039
3045
|
|
|
3040
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"))
|
|
3041
3048
|
AIBenchmarkOutputConfig.struct_class = Types::AIBenchmarkOutputConfig
|
|
3042
3049
|
|
|
3043
3050
|
AIBenchmarkOutputResult.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputLocation"))
|
|
3044
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"))
|
|
3045
3053
|
AIBenchmarkOutputResult.struct_class = Types::AIBenchmarkOutputResult
|
|
3046
3054
|
|
|
3047
3055
|
AIBenchmarkTarget.add_member(:endpoint, Shapes::ShapeRef.new(shape: AIBenchmarkEndpoint, location_name: "Endpoint"))
|
|
@@ -3068,6 +3076,11 @@ module Aws::SageMaker
|
|
|
3068
3076
|
|
|
3069
3077
|
AIMlReservationArnList.member = Shapes::ShapeRef.new(shape: AIMlReservationArn)
|
|
3070
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
|
+
|
|
3071
3084
|
AIModelSource.add_member(:s3, Shapes::ShapeRef.new(shape: AIModelSourceS3, location_name: "S3"))
|
|
3072
3085
|
AIModelSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
3073
3086
|
AIModelSource.add_member_subclass(:s3, Types::AIModelSource::S3)
|
|
@@ -3147,10 +3160,12 @@ module Aws::SageMaker
|
|
|
3147
3160
|
|
|
3148
3161
|
AIRecommendationOutputConfig.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputLocation"))
|
|
3149
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"))
|
|
3150
3164
|
AIRecommendationOutputConfig.struct_class = Types::AIRecommendationOutputConfig
|
|
3151
3165
|
|
|
3152
3166
|
AIRecommendationOutputResult.add_member(:s3_output_location, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputLocation"))
|
|
3153
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"))
|
|
3154
3169
|
AIRecommendationOutputResult.struct_class = Types::AIRecommendationOutputResult
|
|
3155
3170
|
|
|
3156
3171
|
AIRecommendationPerformanceMetric.add_member(:metric, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Metric"))
|
|
@@ -6733,6 +6748,7 @@ module Aws::SageMaker
|
|
|
6733
6748
|
|
|
6734
6749
|
DescribeModelCardRequest.add_member(:model_card_name, Shapes::ShapeRef.new(shape: ModelCardNameOrArn, required: true, location_name: "ModelCardName"))
|
|
6735
6750
|
DescribeModelCardRequest.add_member(:model_card_version, Shapes::ShapeRef.new(shape: Integer, location_name: "ModelCardVersion", metadata: {"box" => true}))
|
|
6751
|
+
DescribeModelCardRequest.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "IncludedData"))
|
|
6736
6752
|
DescribeModelCardRequest.struct_class = Types::DescribeModelCardRequest
|
|
6737
6753
|
|
|
6738
6754
|
DescribeModelCardResponse.add_member(:model_card_arn, Shapes::ShapeRef.new(shape: ModelCardArn, required: true, location_name: "ModelCardArn"))
|
|
@@ -6792,6 +6808,7 @@ module Aws::SageMaker
|
|
|
6792
6808
|
DescribeModelPackageGroupOutput.struct_class = Types::DescribeModelPackageGroupOutput
|
|
6793
6809
|
|
|
6794
6810
|
DescribeModelPackageInput.add_member(:model_package_name, Shapes::ShapeRef.new(shape: VersionedArnOrName, required: true, location_name: "ModelPackageName"))
|
|
6811
|
+
DescribeModelPackageInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "IncludedData"))
|
|
6795
6812
|
DescribeModelPackageInput.struct_class = Types::DescribeModelPackageInput
|
|
6796
6813
|
|
|
6797
6814
|
DescribeModelPackageOutput.add_member(:model_package_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "ModelPackageName"))
|
|
@@ -8514,6 +8531,22 @@ module Aws::SageMaker
|
|
|
8514
8531
|
|
|
8515
8532
|
IntegerParameterRanges.member = Shapes::ShapeRef.new(shape: IntegerParameterRange)
|
|
8516
8533
|
|
|
8534
|
+
Job.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
|
8535
|
+
Job.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "JobArn"))
|
|
8536
|
+
Job.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
|
8537
|
+
Job.add_member(:job_category, Shapes::ShapeRef.new(shape: JobCategory, location_name: "JobCategory"))
|
|
8538
|
+
Job.add_member(:job_config_schema_version, Shapes::ShapeRef.new(shape: JobSchemaVersion, location_name: "JobConfigSchemaVersion"))
|
|
8539
|
+
Job.add_member(:job_config_document, Shapes::ShapeRef.new(shape: JobConfigDocument, location_name: "JobConfigDocument"))
|
|
8540
|
+
Job.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
|
8541
|
+
Job.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
|
8542
|
+
Job.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
|
8543
|
+
Job.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
|
8544
|
+
Job.add_member(:secondary_status, Shapes::ShapeRef.new(shape: JobSecondaryStatus, location_name: "SecondaryStatus"))
|
|
8545
|
+
Job.add_member(:secondary_status_transitions, Shapes::ShapeRef.new(shape: JobSecondaryStatusTransitions, location_name: "SecondaryStatusTransitions"))
|
|
8546
|
+
Job.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
|
8547
|
+
Job.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
8548
|
+
Job.struct_class = Types::Job
|
|
8549
|
+
|
|
8517
8550
|
JobConfigSchemaVersionSummary.add_member(:job_config_schema_version, Shapes::ShapeRef.new(shape: JobSchemaVersion, required: true, location_name: "JobConfigSchemaVersion"))
|
|
8518
8551
|
JobConfigSchemaVersionSummary.struct_class = Types::JobConfigSchemaVersionSummary
|
|
8519
8552
|
|
|
@@ -11710,6 +11743,7 @@ module Aws::SageMaker
|
|
|
11710
11743
|
SearchRecord.add_member(:hyper_parameter_tuning_job, Shapes::ShapeRef.new(shape: HyperParameterTuningJobSearchEntity, location_name: "HyperParameterTuningJob"))
|
|
11711
11744
|
SearchRecord.add_member(:model_card, Shapes::ShapeRef.new(shape: ModelCard, location_name: "ModelCard"))
|
|
11712
11745
|
SearchRecord.add_member(:model, Shapes::ShapeRef.new(shape: ModelDashboardModel, location_name: "Model"))
|
|
11746
|
+
SearchRecord.add_member(:job, Shapes::ShapeRef.new(shape: Job, location_name: "Job"))
|
|
11713
11747
|
SearchRecord.struct_class = Types::SearchRecord
|
|
11714
11748
|
|
|
11715
11749
|
SearchRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "Resource"))
|
|
@@ -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
|
|
@@ -21331,11 +21379,30 @@ module Aws::SageMaker
|
|
|
21331
21379
|
# provided, then the latest version of the model card is described.
|
|
21332
21380
|
# @return [Integer]
|
|
21333
21381
|
#
|
|
21382
|
+
# @!attribute [rw] included_data
|
|
21383
|
+
# Specifies the level of model card data to include in the response.
|
|
21384
|
+
# Use this parameter to call `DescribeModelCard` without requiring
|
|
21385
|
+
# `kms:Decrypt` permission on the customer-managed Amazon Web Services
|
|
21386
|
+
# KMS key.
|
|
21387
|
+
#
|
|
21388
|
+
# * `AllData`: Returns the full model card `Content`. This option
|
|
21389
|
+
# requires `kms:Decrypt` permission on the customer-managed key, if
|
|
21390
|
+
# one is associated with the model card. This is the default.
|
|
21391
|
+
#
|
|
21392
|
+
# * `MetadataOnly`: Returns the model card with sanitized `Content`
|
|
21393
|
+
# that includes only a small set of unencrypted metadata fields.
|
|
21394
|
+
# This option does not require `kms:Decrypt` permission. For the
|
|
21395
|
+
# list of fields preserved in the response, see `Content`.
|
|
21396
|
+
#
|
|
21397
|
+
# If you don't specify a value, SageMaker returns `AllData`.
|
|
21398
|
+
# @return [String]
|
|
21399
|
+
#
|
|
21334
21400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelCardRequest AWS API Documentation
|
|
21335
21401
|
#
|
|
21336
21402
|
class DescribeModelCardRequest < Struct.new(
|
|
21337
21403
|
:model_card_name,
|
|
21338
|
-
:model_card_version
|
|
21404
|
+
:model_card_version,
|
|
21405
|
+
:included_data)
|
|
21339
21406
|
SENSITIVE = []
|
|
21340
21407
|
include Aws::Structure
|
|
21341
21408
|
end
|
|
@@ -21353,7 +21420,32 @@ module Aws::SageMaker
|
|
|
21353
21420
|
# @return [Integer]
|
|
21354
21421
|
#
|
|
21355
21422
|
# @!attribute [rw] content
|
|
21356
|
-
# The content of the model card.
|
|
21423
|
+
# The content of the model card. Content is provided as a string in
|
|
21424
|
+
# the [model card JSON schema][1].
|
|
21425
|
+
#
|
|
21426
|
+
# When you set `IncludedData` to `MetadataOnly` in the request,
|
|
21427
|
+
# SageMaker returns a sanitized version of `Content` that includes
|
|
21428
|
+
# only the following JSON paths, when present in the model card:
|
|
21429
|
+
#
|
|
21430
|
+
# * `model_overview.model_id`
|
|
21431
|
+
#
|
|
21432
|
+
# * `model_overview.model_name`
|
|
21433
|
+
#
|
|
21434
|
+
# * `intended_uses.risk_rating`
|
|
21435
|
+
#
|
|
21436
|
+
# * `model_package_details.model_package_group_name`
|
|
21437
|
+
#
|
|
21438
|
+
# * `model_package_details.model_package_arn`
|
|
21439
|
+
#
|
|
21440
|
+
# All other fields are removed from `Content` when `IncludedData` is
|
|
21441
|
+
# `MetadataOnly`, including model description, training details,
|
|
21442
|
+
# evaluation details, business details, and additional information. To
|
|
21443
|
+
# retrieve the complete `Content`, set `IncludedData` to `AllData` or
|
|
21444
|
+
# omit the parameter.
|
|
21445
|
+
#
|
|
21446
|
+
#
|
|
21447
|
+
#
|
|
21448
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema
|
|
21357
21449
|
# @return [String]
|
|
21358
21450
|
#
|
|
21359
21451
|
# @!attribute [rw] model_card_status
|
|
@@ -21656,10 +21748,39 @@ module Aws::SageMaker
|
|
|
21656
21748
|
# Valid characters are a-z, A-Z, 0-9, and - (hyphen).
|
|
21657
21749
|
# @return [String]
|
|
21658
21750
|
#
|
|
21751
|
+
# @!attribute [rw] included_data
|
|
21752
|
+
# Specifies the level of model package data to include in the
|
|
21753
|
+
# response. Use this parameter to call `DescribeModelPackage` on a
|
|
21754
|
+
# model package that has an associated model card without requiring
|
|
21755
|
+
# `kms:Decrypt` permission on the customer-managed KMS key associated
|
|
21756
|
+
# with the embedded model card.
|
|
21757
|
+
#
|
|
21758
|
+
# * `AllData`: Returns the full model package response, including the
|
|
21759
|
+
# unredacted `ModelCard.ModelCardContent`. This option requires
|
|
21760
|
+
# `kms:Decrypt` permission on the customer-managed key, if one is
|
|
21761
|
+
# associated with the embedded model card. This is the default.
|
|
21762
|
+
#
|
|
21763
|
+
# * `MetadataOnly`: Returns the full model package response, but with
|
|
21764
|
+
# the embedded `ModelCard.ModelCardContent` sanitized to include
|
|
21765
|
+
# only a small set of unencrypted metadata fields. This option does
|
|
21766
|
+
# not require `kms:Decrypt` permission. All other top-level response
|
|
21767
|
+
# fields, including `InferenceSpecification`, `ModelMetrics`,
|
|
21768
|
+
# `DriftCheckBaselines`, and `SecurityConfig`, are returned
|
|
21769
|
+
# unchanged. For the list of fields preserved within
|
|
21770
|
+
# `ModelCardContent`, see [ModelCard][1].
|
|
21771
|
+
#
|
|
21772
|
+
# If you don't specify a value, SageMaker returns `AllData`.
|
|
21773
|
+
#
|
|
21774
|
+
#
|
|
21775
|
+
#
|
|
21776
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeModelPackage.html#sagemaker-DescribeModelPackage-response-ModelCard
|
|
21777
|
+
# @return [String]
|
|
21778
|
+
#
|
|
21659
21779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageInput AWS API Documentation
|
|
21660
21780
|
#
|
|
21661
21781
|
class DescribeModelPackageInput < Struct.new(
|
|
21662
|
-
:model_package_name
|
|
21782
|
+
:model_package_name,
|
|
21783
|
+
:included_data)
|
|
21663
21784
|
SENSITIVE = []
|
|
21664
21785
|
include Aws::Structure
|
|
21665
21786
|
end
|
|
@@ -21817,6 +21938,29 @@ module Aws::SageMaker
|
|
|
21817
21938
|
# card associated with the model package, see [View the Details of a
|
|
21818
21939
|
# Model Version][2].
|
|
21819
21940
|
#
|
|
21941
|
+
# When you set `IncludedData` to `MetadataOnly` in the request,
|
|
21942
|
+
# `ModelCardStatus` is preserved and `ModelCardContent` is sanitized
|
|
21943
|
+
# to include only the following JSON paths, when present in the model
|
|
21944
|
+
# card:
|
|
21945
|
+
#
|
|
21946
|
+
# * `model_overview.model_id`
|
|
21947
|
+
#
|
|
21948
|
+
# * `model_overview.model_name`
|
|
21949
|
+
#
|
|
21950
|
+
# * `intended_uses.risk_rating`
|
|
21951
|
+
#
|
|
21952
|
+
# * `model_package_details.model_package_group_name`
|
|
21953
|
+
#
|
|
21954
|
+
# * `model_package_details.model_package_arn`
|
|
21955
|
+
#
|
|
21956
|
+
# Because the `ModelPackageModelCard` schema does not include
|
|
21957
|
+
# `model_package_details` and limits `model_overview` to
|
|
21958
|
+
# `model_creator` and `model_artifact`, the sanitized
|
|
21959
|
+
# `ModelCardContent` for a model package typically contains only
|
|
21960
|
+
# `intended_uses.risk_rating` if it was provided when the model card
|
|
21961
|
+
# was created. To retrieve the complete `ModelCardContent`, set
|
|
21962
|
+
# `IncludedData` to `AllData` or omit the parameter.
|
|
21963
|
+
#
|
|
21820
21964
|
#
|
|
21821
21965
|
#
|
|
21822
21966
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
|
@@ -32179,6 +32323,88 @@ module Aws::SageMaker
|
|
|
32179
32323
|
include Aws::Structure
|
|
32180
32324
|
end
|
|
32181
32325
|
|
|
32326
|
+
# Search shape for Job. Mirrors DescribeJobResponse fields. If you
|
|
32327
|
+
# update DescribeJobResponse, update this structure as well.
|
|
32328
|
+
#
|
|
32329
|
+
# @!attribute [rw] job_name
|
|
32330
|
+
# The name of the job.
|
|
32331
|
+
# @return [String]
|
|
32332
|
+
#
|
|
32333
|
+
# @!attribute [rw] job_arn
|
|
32334
|
+
# The Amazon Resource Name (ARN) of the job.
|
|
32335
|
+
# @return [String]
|
|
32336
|
+
#
|
|
32337
|
+
# @!attribute [rw] role_arn
|
|
32338
|
+
# The ARN of the IAM role associated with the job.
|
|
32339
|
+
# @return [String]
|
|
32340
|
+
#
|
|
32341
|
+
# @!attribute [rw] job_category
|
|
32342
|
+
# The category of the job.
|
|
32343
|
+
# @return [String]
|
|
32344
|
+
#
|
|
32345
|
+
# @!attribute [rw] job_config_schema_version
|
|
32346
|
+
# The schema version used for the job configuration document.
|
|
32347
|
+
# @return [String]
|
|
32348
|
+
#
|
|
32349
|
+
# @!attribute [rw] job_config_document
|
|
32350
|
+
# The JSON configuration document for the job.
|
|
32351
|
+
# @return [String]
|
|
32352
|
+
#
|
|
32353
|
+
# @!attribute [rw] creation_time
|
|
32354
|
+
# The date and time that the job was created.
|
|
32355
|
+
# @return [Time]
|
|
32356
|
+
#
|
|
32357
|
+
# @!attribute [rw] last_modified_time
|
|
32358
|
+
# The date and time that the job was last modified.
|
|
32359
|
+
# @return [Time]
|
|
32360
|
+
#
|
|
32361
|
+
# @!attribute [rw] end_time
|
|
32362
|
+
# The date and time that the job ended.
|
|
32363
|
+
# @return [Time]
|
|
32364
|
+
#
|
|
32365
|
+
# @!attribute [rw] job_status
|
|
32366
|
+
# The current status of the job.
|
|
32367
|
+
# @return [String]
|
|
32368
|
+
#
|
|
32369
|
+
# @!attribute [rw] secondary_status
|
|
32370
|
+
# The detailed secondary status of the job, providing more granular
|
|
32371
|
+
# information about the job's progress.
|
|
32372
|
+
# @return [String]
|
|
32373
|
+
#
|
|
32374
|
+
# @!attribute [rw] secondary_status_transitions
|
|
32375
|
+
# A list of secondary status transitions for the job, with timestamps
|
|
32376
|
+
# and optional status messages.
|
|
32377
|
+
# @return [Array<Types::JobSecondaryStatusTransition>]
|
|
32378
|
+
#
|
|
32379
|
+
# @!attribute [rw] failure_reason
|
|
32380
|
+
# If the job failed, the reason it failed.
|
|
32381
|
+
# @return [String]
|
|
32382
|
+
#
|
|
32383
|
+
# @!attribute [rw] tags
|
|
32384
|
+
# The tags associated with the job.
|
|
32385
|
+
# @return [Array<Types::Tag>]
|
|
32386
|
+
#
|
|
32387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Job AWS API Documentation
|
|
32388
|
+
#
|
|
32389
|
+
class Job < Struct.new(
|
|
32390
|
+
:job_name,
|
|
32391
|
+
:job_arn,
|
|
32392
|
+
:role_arn,
|
|
32393
|
+
:job_category,
|
|
32394
|
+
:job_config_schema_version,
|
|
32395
|
+
:job_config_document,
|
|
32396
|
+
:creation_time,
|
|
32397
|
+
:last_modified_time,
|
|
32398
|
+
:end_time,
|
|
32399
|
+
:job_status,
|
|
32400
|
+
:secondary_status,
|
|
32401
|
+
:secondary_status_transitions,
|
|
32402
|
+
:failure_reason,
|
|
32403
|
+
:tags)
|
|
32404
|
+
SENSITIVE = []
|
|
32405
|
+
include Aws::Structure
|
|
32406
|
+
end
|
|
32407
|
+
|
|
32182
32408
|
# Provides summary information about a job configuration schema version.
|
|
32183
32409
|
#
|
|
32184
32410
|
# @!attribute [rw] job_config_schema_version
|
|
@@ -49884,6 +50110,11 @@ module Aws::SageMaker
|
|
|
49884
50110
|
# A model displayed in the Amazon SageMaker Model Dashboard.
|
|
49885
50111
|
# @return [Types::ModelDashboardModel]
|
|
49886
50112
|
#
|
|
50113
|
+
# @!attribute [rw] job
|
|
50114
|
+
# Search shape for Job. Mirrors DescribeJobResponse fields. If you
|
|
50115
|
+
# update DescribeJobResponse, update this structure as well.
|
|
50116
|
+
# @return [Types::Job]
|
|
50117
|
+
#
|
|
49887
50118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SearchRecord AWS API Documentation
|
|
49888
50119
|
#
|
|
49889
50120
|
class SearchRecord < Struct.new(
|
|
@@ -49902,7 +50133,8 @@ module Aws::SageMaker
|
|
|
49902
50133
|
:project,
|
|
49903
50134
|
:hyper_parameter_tuning_job,
|
|
49904
50135
|
:model_card,
|
|
49905
|
-
:model
|
|
50136
|
+
:model,
|
|
50137
|
+
:job)
|
|
49906
50138
|
SENSITIVE = []
|
|
49907
50139
|
include Aws::Structure
|
|
49908
50140
|
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: {
|
|
@@ -4535,7 +4545,8 @@ module Aws
|
|
|
4535
4545
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_model_card-instance_method
|
|
4536
4546
|
def describe_model_card: (
|
|
4537
4547
|
model_card_name: ::String,
|
|
4538
|
-
?model_card_version: ::Integer
|
|
4548
|
+
?model_card_version: ::Integer,
|
|
4549
|
+
?included_data: ("AllData" | "MetadataOnly")
|
|
4539
4550
|
) -> _DescribeModelCardResponseSuccess
|
|
4540
4551
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeModelCardResponseSuccess
|
|
4541
4552
|
|
|
@@ -4615,7 +4626,8 @@ module Aws
|
|
|
4615
4626
|
end
|
|
4616
4627
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_model_package-instance_method
|
|
4617
4628
|
def describe_model_package: (
|
|
4618
|
-
model_package_name: ::String
|
|
4629
|
+
model_package_name: ::String,
|
|
4630
|
+
?included_data: ("AllData" | "MetadataOnly")
|
|
4619
4631
|
) -> _DescribeModelPackageResponseSuccess
|
|
4620
4632
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeModelPackageResponseSuccess
|
|
4621
4633
|
|
|
@@ -5304,7 +5316,7 @@ module Aws
|
|
|
5304
5316
|
end
|
|
5305
5317
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#get_search_suggestions-instance_method
|
|
5306
5318
|
def get_search_suggestions: (
|
|
5307
|
-
resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion"),
|
|
5319
|
+
resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion" | "Job"),
|
|
5308
5320
|
?suggestion_query: {
|
|
5309
5321
|
property_name_query: {
|
|
5310
5322
|
property_name_hint: ::String
|
|
@@ -7058,7 +7070,7 @@ module Aws
|
|
|
7058
7070
|
end
|
|
7059
7071
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#search-instance_method
|
|
7060
7072
|
def search: (
|
|
7061
|
-
resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion"),
|
|
7073
|
+
resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion" | "Job"),
|
|
7062
7074
|
?search_expression: Params::search_expression,
|
|
7063
7075
|
?sort_by: ::String,
|
|
7064
7076
|
?sort_order: ("Ascending" | "Descending"),
|
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
|
|
|
@@ -4640,6 +4651,7 @@ module Aws::SageMaker
|
|
|
4640
4651
|
class DescribeModelCardRequest
|
|
4641
4652
|
attr_accessor model_card_name: ::String
|
|
4642
4653
|
attr_accessor model_card_version: ::Integer
|
|
4654
|
+
attr_accessor included_data: ("AllData" | "MetadataOnly")
|
|
4643
4655
|
SENSITIVE: []
|
|
4644
4656
|
end
|
|
4645
4657
|
|
|
@@ -4715,6 +4727,7 @@ module Aws::SageMaker
|
|
|
4715
4727
|
|
|
4716
4728
|
class DescribeModelPackageInput
|
|
4717
4729
|
attr_accessor model_package_name: ::String
|
|
4730
|
+
attr_accessor included_data: ("AllData" | "MetadataOnly")
|
|
4718
4731
|
SENSITIVE: []
|
|
4719
4732
|
end
|
|
4720
4733
|
|
|
@@ -6042,7 +6055,7 @@ module Aws::SageMaker
|
|
|
6042
6055
|
end
|
|
6043
6056
|
|
|
6044
6057
|
class GetSearchSuggestionsRequest
|
|
6045
|
-
attr_accessor resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion")
|
|
6058
|
+
attr_accessor resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion" | "Job")
|
|
6046
6059
|
attr_accessor suggestion_query: Types::SuggestionQuery
|
|
6047
6060
|
SENSITIVE: []
|
|
6048
6061
|
end
|
|
@@ -6727,6 +6740,24 @@ module Aws::SageMaker
|
|
|
6727
6740
|
SENSITIVE: []
|
|
6728
6741
|
end
|
|
6729
6742
|
|
|
6743
|
+
class Job
|
|
6744
|
+
attr_accessor job_name: ::String
|
|
6745
|
+
attr_accessor job_arn: ::String
|
|
6746
|
+
attr_accessor role_arn: ::String
|
|
6747
|
+
attr_accessor job_category: ("AgentRFT" | "AgentRFTEvaluation")
|
|
6748
|
+
attr_accessor job_config_schema_version: ::String
|
|
6749
|
+
attr_accessor job_config_document: ::String
|
|
6750
|
+
attr_accessor creation_time: ::Time
|
|
6751
|
+
attr_accessor last_modified_time: ::Time
|
|
6752
|
+
attr_accessor end_time: ::Time
|
|
6753
|
+
attr_accessor job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting" | "DeleteFailed")
|
|
6754
|
+
attr_accessor secondary_status: ("Starting" | "Downloading" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Interrupted" | "Failed" | "Completed" | "Restarting" | "Pending" | "Evaluating" | "Deleting" | "DeleteFailed")
|
|
6755
|
+
attr_accessor secondary_status_transitions: ::Array[Types::JobSecondaryStatusTransition]
|
|
6756
|
+
attr_accessor failure_reason: ::String
|
|
6757
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
6758
|
+
SENSITIVE: []
|
|
6759
|
+
end
|
|
6760
|
+
|
|
6730
6761
|
class JobConfigSchemaVersionSummary
|
|
6731
6762
|
attr_accessor job_config_schema_version: ::String
|
|
6732
6763
|
SENSITIVE: []
|
|
@@ -10627,11 +10658,12 @@ module Aws::SageMaker
|
|
|
10627
10658
|
attr_accessor hyper_parameter_tuning_job: Types::HyperParameterTuningJobSearchEntity
|
|
10628
10659
|
attr_accessor model_card: Types::ModelCard
|
|
10629
10660
|
attr_accessor model: Types::ModelDashboardModel
|
|
10661
|
+
attr_accessor job: Types::Job
|
|
10630
10662
|
SENSITIVE: []
|
|
10631
10663
|
end
|
|
10632
10664
|
|
|
10633
10665
|
class SearchRequest
|
|
10634
|
-
attr_accessor resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion")
|
|
10666
|
+
attr_accessor resource: ("TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion" | "Job")
|
|
10635
10667
|
attr_accessor search_expression: Types::SearchExpression
|
|
10636
10668
|
attr_accessor sort_by: ::String
|
|
10637
10669
|
attr_accessor sort_order: ("Ascending" | "Descending")
|