aws-sdk-sagemaker 1.189.0 → 1.191.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +21 -2
- data/lib/aws-sdk-sagemaker/client_api.rb +14 -0
- data/lib/aws-sdk-sagemaker/types.rb +84 -9
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5a11a92ae9b1f7dd4576c7bb6eae1b62aa9a1c0ed7ae60f9e9ed65530576e78
|
4
|
+
data.tar.gz: 20605cdbe5d1510b493fc76073591c26216eda6e4f87c492a119b07981bde826
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff5009d9104e86b816c8d1e5c888b5a62685dde25be5409dff164ecefb2f1e12bc3f45d48eb09871d0bd2913235b361230a8dfd13328def19821dc6e30953e4f
|
7
|
+
data.tar.gz: ae8df2ffe98ba597b35358eb42a32387d2371c05192aa72630445205b11fe68018b1d9f79f52ffa1052139abf3c452fb6dd5b4869da308e9ce294d6f06d0688e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.191.0 (2023-06-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Model Cards Model Registry integration.
|
8
|
+
|
9
|
+
1.190.0 (2023-06-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introducing TTL for online store records in feature groups.
|
13
|
+
|
4
14
|
1.189.0 (2023-06-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.191.0
|
@@ -3240,6 +3240,10 @@ module Aws::SageMaker
|
|
3240
3240
|
# kms_key_id: "KmsKeyId",
|
3241
3241
|
# },
|
3242
3242
|
# enable_online_store: false,
|
3243
|
+
# ttl_duration: {
|
3244
|
+
# unit: "Seconds", # accepts Seconds, Minutes, Hours, Days, Weeks
|
3245
|
+
# value: 1,
|
3246
|
+
# },
|
3243
3247
|
# },
|
3244
3248
|
# offline_store_config: {
|
3245
3249
|
# s3_storage_config: { # required
|
@@ -6455,7 +6459,11 @@ module Aws::SageMaker
|
|
6455
6459
|
# The display name of the pipeline.
|
6456
6460
|
#
|
6457
6461
|
# @option params [String] :pipeline_definition
|
6458
|
-
# The JSON pipeline definition of the pipeline.
|
6462
|
+
# The [JSON pipeline definition][1] of the pipeline.
|
6463
|
+
#
|
6464
|
+
#
|
6465
|
+
#
|
6466
|
+
# [1]: https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/
|
6459
6467
|
#
|
6460
6468
|
# @option params [Types::PipelineDefinitionS3Location] :pipeline_definition_s3_location
|
6461
6469
|
# The location of the pipeline definition stored in Amazon S3. If
|
@@ -11361,6 +11369,8 @@ module Aws::SageMaker
|
|
11361
11369
|
# resp.last_modified_time #=> Time
|
11362
11370
|
# resp.online_store_config.security_config.kms_key_id #=> String
|
11363
11371
|
# resp.online_store_config.enable_online_store #=> Boolean
|
11372
|
+
# resp.online_store_config.ttl_duration.unit #=> String, one of "Seconds", "Minutes", "Hours", "Days", "Weeks"
|
11373
|
+
# resp.online_store_config.ttl_duration.value #=> Integer
|
11364
11374
|
# resp.offline_store_config.s3_storage_config.s3_uri #=> String
|
11365
11375
|
# resp.offline_store_config.s3_storage_config.kms_key_id #=> String
|
11366
11376
|
# resp.offline_store_config.s3_storage_config.resolved_output_s3_uri #=> String
|
@@ -22069,6 +22079,9 @@ module Aws::SageMaker
|
|
22069
22079
|
# request. It takes some time after you've made a valid request for
|
22070
22080
|
# Feature Store to update the feature group.
|
22071
22081
|
#
|
22082
|
+
# @option params [Types::OnlineStoreConfigUpdate] :online_store_config
|
22083
|
+
# Updates the feature group online store configuration.
|
22084
|
+
#
|
22072
22085
|
# @return [Types::UpdateFeatureGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22073
22086
|
#
|
22074
22087
|
# * {Types::UpdateFeatureGroupResponse#feature_group_arn #feature_group_arn} => String
|
@@ -22083,6 +22096,12 @@ module Aws::SageMaker
|
|
22083
22096
|
# feature_type: "Integral", # accepts Integral, Fractional, String
|
22084
22097
|
# },
|
22085
22098
|
# ],
|
22099
|
+
# online_store_config: {
|
22100
|
+
# ttl_duration: {
|
22101
|
+
# unit: "Seconds", # accepts Seconds, Minutes, Hours, Days, Weeks
|
22102
|
+
# value: 1,
|
22103
|
+
# },
|
22104
|
+
# },
|
22086
22105
|
# })
|
22087
22106
|
#
|
22088
22107
|
# @example Response structure
|
@@ -23743,7 +23762,7 @@ module Aws::SageMaker
|
|
23743
23762
|
params: params,
|
23744
23763
|
config: config)
|
23745
23764
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23746
|
-
context[:gem_version] = '1.
|
23765
|
+
context[:gem_version] = '1.191.0'
|
23747
23766
|
Seahorse::Client::Request.new(handlers, context)
|
23748
23767
|
end
|
23749
23768
|
|
@@ -1423,6 +1423,7 @@ module Aws::SageMaker
|
|
1423
1423
|
OidcEndpoint = Shapes::StringShape.new(name: 'OidcEndpoint')
|
1424
1424
|
OidcMemberDefinition = Shapes::StructureShape.new(name: 'OidcMemberDefinition')
|
1425
1425
|
OnlineStoreConfig = Shapes::StructureShape.new(name: 'OnlineStoreConfig')
|
1426
|
+
OnlineStoreConfigUpdate = Shapes::StructureShape.new(name: 'OnlineStoreConfigUpdate')
|
1426
1427
|
OnlineStoreSecurityConfig = Shapes::StructureShape.new(name: 'OnlineStoreSecurityConfig')
|
1427
1428
|
OnlineStoreTotalSizeBytes = Shapes::IntegerShape.new(name: 'OnlineStoreTotalSizeBytes')
|
1428
1429
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
@@ -1911,6 +1912,9 @@ module Aws::SageMaker
|
|
1911
1912
|
TrialSourceArn = Shapes::StringShape.new(name: 'TrialSourceArn')
|
1912
1913
|
TrialSummaries = Shapes::ListShape.new(name: 'TrialSummaries')
|
1913
1914
|
TrialSummary = Shapes::StructureShape.new(name: 'TrialSummary')
|
1915
|
+
TtlDuration = Shapes::StructureShape.new(name: 'TtlDuration')
|
1916
|
+
TtlDurationUnit = Shapes::StringShape.new(name: 'TtlDurationUnit')
|
1917
|
+
TtlDurationValue = Shapes::IntegerShape.new(name: 'TtlDurationValue')
|
1914
1918
|
TuningJobCompletionCriteria = Shapes::StructureShape.new(name: 'TuningJobCompletionCriteria')
|
1915
1919
|
TuningJobStepMetaData = Shapes::StructureShape.new(name: 'TuningJobStepMetaData')
|
1916
1920
|
USD = Shapes::StructureShape.new(name: 'USD')
|
@@ -6758,6 +6762,7 @@ module Aws::SageMaker
|
|
6758
6762
|
ModelCard.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
6759
6763
|
ModelCard.add_member(:model_id, Shapes::ShapeRef.new(shape: String, location_name: "ModelId"))
|
6760
6764
|
ModelCard.add_member(:risk_rating, Shapes::ShapeRef.new(shape: String, location_name: "RiskRating"))
|
6765
|
+
ModelCard.add_member(:model_package_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ModelPackageGroupName"))
|
6761
6766
|
ModelCard.struct_class = Types::ModelCard
|
6762
6767
|
|
6763
6768
|
ModelCardExportArtifacts.add_member(:s3_export_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ExportArtifacts"))
|
@@ -7332,8 +7337,12 @@ module Aws::SageMaker
|
|
7332
7337
|
|
7333
7338
|
OnlineStoreConfig.add_member(:security_config, Shapes::ShapeRef.new(shape: OnlineStoreSecurityConfig, location_name: "SecurityConfig"))
|
7334
7339
|
OnlineStoreConfig.add_member(:enable_online_store, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableOnlineStore"))
|
7340
|
+
OnlineStoreConfig.add_member(:ttl_duration, Shapes::ShapeRef.new(shape: TtlDuration, location_name: "TtlDuration"))
|
7335
7341
|
OnlineStoreConfig.struct_class = Types::OnlineStoreConfig
|
7336
7342
|
|
7343
|
+
OnlineStoreConfigUpdate.add_member(:ttl_duration, Shapes::ShapeRef.new(shape: TtlDuration, location_name: "TtlDuration"))
|
7344
|
+
OnlineStoreConfigUpdate.struct_class = Types::OnlineStoreConfigUpdate
|
7345
|
+
|
7337
7346
|
OnlineStoreSecurityConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
7338
7347
|
OnlineStoreSecurityConfig.struct_class = Types::OnlineStoreSecurityConfig
|
7339
7348
|
|
@@ -8582,6 +8591,10 @@ module Aws::SageMaker
|
|
8582
8591
|
TrialSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
8583
8592
|
TrialSummary.struct_class = Types::TrialSummary
|
8584
8593
|
|
8594
|
+
TtlDuration.add_member(:unit, Shapes::ShapeRef.new(shape: TtlDurationUnit, location_name: "Unit"))
|
8595
|
+
TtlDuration.add_member(:value, Shapes::ShapeRef.new(shape: TtlDurationValue, location_name: "Value"))
|
8596
|
+
TtlDuration.struct_class = Types::TtlDuration
|
8597
|
+
|
8585
8598
|
TuningJobCompletionCriteria.add_member(:target_objective_metric_value, Shapes::ShapeRef.new(shape: TargetObjectiveMetricValue, location_name: "TargetObjectiveMetricValue"))
|
8586
8599
|
TuningJobCompletionCriteria.add_member(:best_objective_not_improving, Shapes::ShapeRef.new(shape: BestObjectiveNotImproving, location_name: "BestObjectiveNotImproving"))
|
8587
8600
|
TuningJobCompletionCriteria.add_member(:convergence_detected, Shapes::ShapeRef.new(shape: ConvergenceDetected, location_name: "ConvergenceDetected"))
|
@@ -8697,6 +8710,7 @@ module Aws::SageMaker
|
|
8697
8710
|
|
8698
8711
|
UpdateFeatureGroupRequest.add_member(:feature_group_name, Shapes::ShapeRef.new(shape: FeatureGroupName, required: true, location_name: "FeatureGroupName"))
|
8699
8712
|
UpdateFeatureGroupRequest.add_member(:feature_additions, Shapes::ShapeRef.new(shape: FeatureAdditions, location_name: "FeatureAdditions"))
|
8713
|
+
UpdateFeatureGroupRequest.add_member(:online_store_config, Shapes::ShapeRef.new(shape: OnlineStoreConfigUpdate, location_name: "OnlineStoreConfig"))
|
8700
8714
|
UpdateFeatureGroupRequest.struct_class = Types::UpdateFeatureGroupRequest
|
8701
8715
|
|
8702
8716
|
UpdateFeatureGroupResponse.add_member(:feature_group_arn, Shapes::ShapeRef.new(shape: FeatureGroupArn, required: true, location_name: "FeatureGroupArn"))
|
@@ -4102,7 +4102,7 @@ module Aws::SageMaker
|
|
4102
4102
|
# @!attribute [rw] model_data_source
|
4103
4103
|
# Specifies the location of ML model data to deploy.
|
4104
4104
|
#
|
4105
|
-
# <note markdown="1"> Currently you cannot use `ModelDataSource` in
|
4105
|
+
# <note markdown="1"> Currently you cannot use `ModelDataSource` in conjunction with
|
4106
4106
|
# SageMaker batch transform, SageMaker serverless endpoints, SageMaker
|
4107
4107
|
# multi-model endpoints, and SageMaker Marketplace.
|
4108
4108
|
#
|
@@ -7566,7 +7566,11 @@ module Aws::SageMaker
|
|
7566
7566
|
# @return [String]
|
7567
7567
|
#
|
7568
7568
|
# @!attribute [rw] pipeline_definition
|
7569
|
-
# The JSON pipeline definition of the pipeline.
|
7569
|
+
# The [JSON pipeline definition][1] of the pipeline.
|
7570
|
+
#
|
7571
|
+
#
|
7572
|
+
#
|
7573
|
+
# [1]: https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/
|
7570
7574
|
# @return [String]
|
7571
7575
|
#
|
7572
7576
|
# @!attribute [rw] pipeline_definition_s3_location
|
@@ -27982,6 +27986,12 @@ module Aws::SageMaker
|
|
27982
27986
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards-risk-rating.html
|
27983
27987
|
# @return [String]
|
27984
27988
|
#
|
27989
|
+
# @!attribute [rw] model_package_group_name
|
27990
|
+
# The model package group that contains the model package. Only
|
27991
|
+
# relevant for model cards created for model packages in the Amazon
|
27992
|
+
# SageMaker Model Registry.
|
27993
|
+
# @return [String]
|
27994
|
+
#
|
27985
27995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelCard AWS API Documentation
|
27986
27996
|
#
|
27987
27997
|
class ModelCard < Struct.new(
|
@@ -27997,7 +28007,8 @@ module Aws::SageMaker
|
|
27997
28007
|
:last_modified_by,
|
27998
28008
|
:tags,
|
27999
28009
|
:model_id,
|
28000
|
-
:risk_rating
|
28010
|
+
:risk_rating,
|
28011
|
+
:model_package_group_name)
|
28001
28012
|
SENSITIVE = [:content]
|
28002
28013
|
include Aws::Structure
|
28003
28014
|
end
|
@@ -30896,11 +30907,44 @@ module Aws::SageMaker
|
|
30896
30907
|
# The default value is `False`.
|
30897
30908
|
# @return [Boolean]
|
30898
30909
|
#
|
30910
|
+
# @!attribute [rw] ttl_duration
|
30911
|
+
# Time to live duration, where the record is hard deleted after the
|
30912
|
+
# expiration time is reached; `ExpiresAt` = `EventTime` +
|
30913
|
+
# `TtlDuration`. For information on HardDelete, see the
|
30914
|
+
# [DeleteRecord][1] API in the Amazon SageMaker API Reference guide.
|
30915
|
+
#
|
30916
|
+
#
|
30917
|
+
#
|
30918
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
|
30919
|
+
# @return [Types::TtlDuration]
|
30920
|
+
#
|
30899
30921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OnlineStoreConfig AWS API Documentation
|
30900
30922
|
#
|
30901
30923
|
class OnlineStoreConfig < Struct.new(
|
30902
30924
|
:security_config,
|
30903
|
-
:enable_online_store
|
30925
|
+
:enable_online_store,
|
30926
|
+
:ttl_duration)
|
30927
|
+
SENSITIVE = []
|
30928
|
+
include Aws::Structure
|
30929
|
+
end
|
30930
|
+
|
30931
|
+
# Updates the feature group online store configuration.
|
30932
|
+
#
|
30933
|
+
# @!attribute [rw] ttl_duration
|
30934
|
+
# Time to live duration, where the record is hard deleted after the
|
30935
|
+
# expiration time is reached; `ExpiresAt` = `EventTime` +
|
30936
|
+
# `TtlDuration`. For information on HardDelete, see the
|
30937
|
+
# [DeleteRecord][1] API in the Amazon SageMaker API Reference guide.
|
30938
|
+
#
|
30939
|
+
#
|
30940
|
+
#
|
30941
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
|
30942
|
+
# @return [Types::TtlDuration]
|
30943
|
+
#
|
30944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OnlineStoreConfigUpdate AWS API Documentation
|
30945
|
+
#
|
30946
|
+
class OnlineStoreConfigUpdate < Struct.new(
|
30947
|
+
:ttl_duration)
|
30904
30948
|
SENSITIVE = []
|
30905
30949
|
include Aws::Structure
|
30906
30950
|
end
|
@@ -35048,8 +35092,8 @@ module Aws::SageMaker
|
|
35048
35092
|
# as part of the ML model data to deploy. A valid key name prefix
|
35049
35093
|
# identified by `S3Uri` always ends with a forward slash (/).
|
35050
35094
|
#
|
35051
|
-
# If you choose S3Object
|
35052
|
-
# model data to deploy.
|
35095
|
+
# If you choose `S3Object`, `S3Uri` identifies an object that is the
|
35096
|
+
# ML model data to deploy.
|
35053
35097
|
# @return [String]
|
35054
35098
|
#
|
35055
35099
|
# @!attribute [rw] compression_type
|
@@ -35103,8 +35147,8 @@ module Aws::SageMaker
|
|
35103
35147
|
# `s3://mybucket/model/weights` and
|
35104
35148
|
# `s3://mybucket/model/weights/part1` and you specify
|
35105
35149
|
# `s3://mybucket/model/` as the value of `S3Uri` and `S3Prefix` as
|
35106
|
-
# the value of S3DataType
|
35107
|
-
# `/opt/ml/model/weights` (a regular file) and
|
35150
|
+
# the value of `S3DataType`, then it will result in name clash
|
35151
|
+
# between `/opt/ml/model/weights` (a regular file) and
|
35108
35152
|
# `/opt/ml/model/weights/` (a directory).
|
35109
35153
|
#
|
35110
35154
|
# * Do not organize the model artifacts in [S3 console using
|
@@ -38802,6 +38846,32 @@ module Aws::SageMaker
|
|
38802
38846
|
include Aws::Structure
|
38803
38847
|
end
|
38804
38848
|
|
38849
|
+
# Time to live duration, where the record is hard deleted after the
|
38850
|
+
# expiration time is reached; `ExpiresAt` = `EventTime` + `TtlDuration`.
|
38851
|
+
# For information on HardDelete, see the [DeleteRecord][1] API in the
|
38852
|
+
# Amazon SageMaker API Reference guide.
|
38853
|
+
#
|
38854
|
+
#
|
38855
|
+
#
|
38856
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html
|
38857
|
+
#
|
38858
|
+
# @!attribute [rw] unit
|
38859
|
+
# `TtlDuration` time unit.
|
38860
|
+
# @return [String]
|
38861
|
+
#
|
38862
|
+
# @!attribute [rw] value
|
38863
|
+
# `TtlDuration` time value.
|
38864
|
+
# @return [Integer]
|
38865
|
+
#
|
38866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TtlDuration AWS API Documentation
|
38867
|
+
#
|
38868
|
+
class TtlDuration < Struct.new(
|
38869
|
+
:unit,
|
38870
|
+
:value)
|
38871
|
+
SENSITIVE = []
|
38872
|
+
include Aws::Structure
|
38873
|
+
end
|
38874
|
+
|
38805
38875
|
# The job completion criteria.
|
38806
38876
|
#
|
38807
38877
|
# @!attribute [rw] target_objective_metric_value
|
@@ -39429,11 +39499,16 @@ module Aws::SageMaker
|
|
39429
39499
|
# request for Feature Store to update the feature group.
|
39430
39500
|
# @return [Array<Types::FeatureDefinition>]
|
39431
39501
|
#
|
39502
|
+
# @!attribute [rw] online_store_config
|
39503
|
+
# Updates the feature group online store configuration.
|
39504
|
+
# @return [Types::OnlineStoreConfigUpdate]
|
39505
|
+
#
|
39432
39506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateFeatureGroupRequest AWS API Documentation
|
39433
39507
|
#
|
39434
39508
|
class UpdateFeatureGroupRequest < Struct.new(
|
39435
39509
|
:feature_group_name,
|
39436
|
-
:feature_additions
|
39510
|
+
:feature_additions,
|
39511
|
+
:online_store_config)
|
39437
39512
|
SENSITIVE = []
|
39438
39513
|
include Aws::Structure
|
39439
39514
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.191.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.176.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.176.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|