aws-sdk-sagemaker 1.242.0 → 1.243.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +75 -9
- data/lib/aws-sdk-sagemaker/client_api.rb +17 -0
- data/lib/aws-sdk-sagemaker/types.rb +261 -65
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +25 -5
- data/sig/types.rbs +20 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbcf1c71edfc557a3bdb2624057b01c4b01d042d55a3974be24771bf10b169fc
|
4
|
+
data.tar.gz: ae099617b91d40f345c4de4b06709334766af37ffa26ce12465c7a3285ac55d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbe31d67c631e43f3445560736e9c9bad11db72b1feefe89fe760fa1ae25c5f256e71d997b00540d0ee3178a11dd0e2f07d0c94b95d39b3553e6d63d93a2c51e
|
7
|
+
data.tar.gz: 75558bf18d85a6ee570d633c6fbfa1b96243f6239ad4ccffc63825536c0e29ba23c3d07b2d5e84d9fb332dbce7e2b63c930188d0d608a1e6b3e464e3046bc4fe
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.243.0 (2024-05-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm.
|
8
|
+
|
4
9
|
1.242.0 (2024-05-16)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.243.0
|
@@ -1436,7 +1436,7 @@ module Aws::SageMaker
|
|
1436
1436
|
# feature_specification_s3_uri: "S3Uri",
|
1437
1437
|
# algorithms_config: [
|
1438
1438
|
# {
|
1439
|
-
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai
|
1439
|
+
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai, cnn-qr, deepar, prophet, npts, arima, ets
|
1440
1440
|
# },
|
1441
1441
|
# ],
|
1442
1442
|
# },
|
@@ -1674,12 +1674,19 @@ module Aws::SageMaker
|
|
1674
1674
|
# country_code: "CountryCode",
|
1675
1675
|
# },
|
1676
1676
|
# ],
|
1677
|
+
# candidate_generation_config: {
|
1678
|
+
# algorithms_config: [
|
1679
|
+
# {
|
1680
|
+
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai, cnn-qr, deepar, prophet, npts, arima, ets
|
1681
|
+
# },
|
1682
|
+
# ],
|
1683
|
+
# },
|
1677
1684
|
# },
|
1678
1685
|
# tabular_job_config: {
|
1679
1686
|
# candidate_generation_config: {
|
1680
1687
|
# algorithms_config: [
|
1681
1688
|
# {
|
1682
|
-
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai
|
1689
|
+
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai, cnn-qr, deepar, prophet, npts, arima, ets
|
1683
1690
|
# },
|
1684
1691
|
# ],
|
1685
1692
|
# },
|
@@ -6161,6 +6168,24 @@ module Aws::SageMaker
|
|
6161
6168
|
# model package, set it to the model package Amazon Resource Name (ARN).
|
6162
6169
|
# If you want to register a model, set it to the model ARN.
|
6163
6170
|
#
|
6171
|
+
# @option params [Types::ModelPackageSecurityConfig] :security_config
|
6172
|
+
# The KMS Key ID (`KMSKeyId`) used for encryption of model package
|
6173
|
+
# information.
|
6174
|
+
#
|
6175
|
+
# @option params [Types::ModelPackageModelCard] :model_card
|
6176
|
+
# The model card associated with the model package. Since
|
6177
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
6178
|
+
# usage of a model card and its schema is simplified compared to the
|
6179
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
6180
|
+
# include `model_package_details`, and `model_overview` is composed of
|
6181
|
+
# the `model_creator` and `model_artifact` properties. For more
|
6182
|
+
# information about the model card associated with the model package,
|
6183
|
+
# see [View the Details of a Model Version][1].
|
6184
|
+
#
|
6185
|
+
#
|
6186
|
+
#
|
6187
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
6188
|
+
#
|
6164
6189
|
# @return [Types::CreateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6165
6190
|
#
|
6166
6191
|
# * {Types::CreateModelPackageOutput#model_package_arn #model_package_arn} => String
|
@@ -6437,6 +6462,13 @@ module Aws::SageMaker
|
|
6437
6462
|
# ],
|
6438
6463
|
# skip_model_validation: "All", # accepts All, None
|
6439
6464
|
# source_uri: "ModelPackageSourceUri",
|
6465
|
+
# security_config: {
|
6466
|
+
# kms_key_id: "KmsKeyId", # required
|
6467
|
+
# },
|
6468
|
+
# model_card: {
|
6469
|
+
# model_card_content: "ModelCardContent",
|
6470
|
+
# model_card_status: "Draft", # accepts Draft, PendingReview, Approved, Archived
|
6471
|
+
# },
|
6440
6472
|
# })
|
6441
6473
|
#
|
6442
6474
|
# @example Response structure
|
@@ -11113,7 +11145,7 @@ module Aws::SageMaker
|
|
11113
11145
|
# resp.auto_ml_job_config.candidate_generation_config.feature_specification_s3_uri #=> String
|
11114
11146
|
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config #=> Array
|
11115
11147
|
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms #=> Array
|
11116
|
-
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai"
|
11148
|
+
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai", "cnn-qr", "deepar", "prophet", "npts", "arima", "ets"
|
11117
11149
|
# resp.auto_ml_job_config.data_split_config.validation_fraction #=> Float
|
11118
11150
|
# resp.auto_ml_job_config.mode #=> String, one of "AUTO", "ENSEMBLING", "HYPERPARAMETER_TUNING"
|
11119
11151
|
# resp.creation_time #=> Time
|
@@ -11263,9 +11295,12 @@ module Aws::SageMaker
|
|
11263
11295
|
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.time_series_config.grouping_attribute_names[0] #=> String
|
11264
11296
|
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.holiday_config #=> Array
|
11265
11297
|
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.holiday_config[0].country_code #=> String
|
11298
|
+
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.candidate_generation_config.algorithms_config #=> Array
|
11299
|
+
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms #=> Array
|
11300
|
+
# resp.auto_ml_problem_type_config.time_series_forecasting_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai", "cnn-qr", "deepar", "prophet", "npts", "arima", "ets"
|
11266
11301
|
# resp.auto_ml_problem_type_config.tabular_job_config.candidate_generation_config.algorithms_config #=> Array
|
11267
11302
|
# resp.auto_ml_problem_type_config.tabular_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms #=> Array
|
11268
|
-
# resp.auto_ml_problem_type_config.tabular_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai"
|
11303
|
+
# resp.auto_ml_problem_type_config.tabular_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai", "cnn-qr", "deepar", "prophet", "npts", "arima", "ets"
|
11269
11304
|
# resp.auto_ml_problem_type_config.tabular_job_config.completion_criteria.max_candidates #=> Integer
|
11270
11305
|
# resp.auto_ml_problem_type_config.tabular_job_config.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
11271
11306
|
# resp.auto_ml_problem_type_config.tabular_job_config.completion_criteria.max_auto_ml_job_runtime_in_seconds #=> Integer
|
@@ -14147,9 +14182,17 @@ module Aws::SageMaker
|
|
14147
14182
|
# create SageMaker models or list them on Amazon Web Services
|
14148
14183
|
# Marketplace.
|
14149
14184
|
#
|
14185
|
+
# If you provided a KMS Key ID when you created your model package, you
|
14186
|
+
# will see the [KMS Decrypt][1] API call in your CloudTrail logs when
|
14187
|
+
# you use this API.
|
14188
|
+
#
|
14150
14189
|
# To create models in SageMaker, buyers can subscribe to model packages
|
14151
14190
|
# listed on Amazon Web Services Marketplace.
|
14152
14191
|
#
|
14192
|
+
#
|
14193
|
+
#
|
14194
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html
|
14195
|
+
#
|
14153
14196
|
# @option params [required, String] :model_package_name
|
14154
14197
|
# The name or Amazon Resource Name (ARN) of the model package to
|
14155
14198
|
# describe.
|
@@ -14186,6 +14229,8 @@ module Aws::SageMaker
|
|
14186
14229
|
# * {Types::DescribeModelPackageOutput#additional_inference_specifications #additional_inference_specifications} => Array<Types::AdditionalInferenceSpecificationDefinition>
|
14187
14230
|
# * {Types::DescribeModelPackageOutput#skip_model_validation #skip_model_validation} => String
|
14188
14231
|
# * {Types::DescribeModelPackageOutput#source_uri #source_uri} => String
|
14232
|
+
# * {Types::DescribeModelPackageOutput#security_config #security_config} => Types::ModelPackageSecurityConfig
|
14233
|
+
# * {Types::DescribeModelPackageOutput#model_card #model_card} => Types::ModelPackageModelCard
|
14189
14234
|
#
|
14190
14235
|
# @example Request syntax with placeholder values
|
14191
14236
|
#
|
@@ -14372,6 +14417,9 @@ module Aws::SageMaker
|
|
14372
14417
|
# resp.additional_inference_specifications[0].supported_response_mime_types[0] #=> String
|
14373
14418
|
# resp.skip_model_validation #=> String, one of "All", "None"
|
14374
14419
|
# resp.source_uri #=> String
|
14420
|
+
# resp.security_config.kms_key_id #=> String
|
14421
|
+
# resp.model_card.model_card_content #=> String
|
14422
|
+
# resp.model_card.model_card_status #=> String, one of "Draft", "PendingReview", "Approved", "Archived"
|
14375
14423
|
#
|
14376
14424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage AWS API Documentation
|
14377
14425
|
#
|
@@ -16712,7 +16760,7 @@ module Aws::SageMaker
|
|
16712
16760
|
#
|
16713
16761
|
# @option params [Integer] :max_results
|
16714
16762
|
# This parameter defines the maximum number of results that can be
|
16715
|
-
#
|
16763
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
16716
16764
|
# bound, not a target. If there are more results available than the
|
16717
16765
|
# value specified, a `NextToken` is provided in the response. The
|
16718
16766
|
# `NextToken` indicates that the user should get the next set of results
|
@@ -17782,7 +17830,7 @@ module Aws::SageMaker
|
|
17782
17830
|
#
|
17783
17831
|
# @option params [Integer] :max_results
|
17784
17832
|
# This parameter defines the maximum number of results that can be
|
17785
|
-
#
|
17833
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
17786
17834
|
# bound, not a target. If there are more results available than the
|
17787
17835
|
# value specified, a `NextToken` is provided in the response. The
|
17788
17836
|
# `NextToken` indicates that the user should get the next set of results
|
@@ -21251,7 +21299,7 @@ module Aws::SageMaker
|
|
21251
21299
|
#
|
21252
21300
|
# @option params [Integer] :max_results
|
21253
21301
|
# This parameter defines the maximum number of results that can be
|
21254
|
-
#
|
21302
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
21255
21303
|
# bound, not a target. If there are more results available than the
|
21256
21304
|
# value specified, a `NextToken` is provided in the response. The
|
21257
21305
|
# `NextToken` indicates that the user should get the next set of results
|
@@ -22023,7 +22071,7 @@ module Aws::SageMaker
|
|
22023
22071
|
#
|
22024
22072
|
# @option params [Integer] :max_results
|
22025
22073
|
# This parameter defines the maximum number of results that can be
|
22026
|
-
#
|
22074
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
22027
22075
|
# bound, not a target. If there are more results available than the
|
22028
22076
|
# value specified, a `NextToken` is provided in the response. The
|
22029
22077
|
# `NextToken` indicates that the user should get the next set of results
|
@@ -24928,6 +24976,20 @@ module Aws::SageMaker
|
|
24928
24976
|
# @option params [String] :source_uri
|
24929
24977
|
# The URI of the source for the model package.
|
24930
24978
|
#
|
24979
|
+
# @option params [Types::ModelPackageModelCard] :model_card
|
24980
|
+
# The model card associated with the model package. Since
|
24981
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
24982
|
+
# usage of a model card and its schema is simplified compared to the
|
24983
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
24984
|
+
# include `model_package_details`, and `model_overview` is composed of
|
24985
|
+
# the `model_creator` and `model_artifact` properties. For more
|
24986
|
+
# information about the model card associated with the model package,
|
24987
|
+
# see [View the Details of a Model Version][1].
|
24988
|
+
#
|
24989
|
+
#
|
24990
|
+
#
|
24991
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
24992
|
+
#
|
24931
24993
|
# @return [Types::UpdateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24932
24994
|
#
|
24933
24995
|
# * {Types::UpdateModelPackageOutput#model_package_arn #model_package_arn} => String
|
@@ -25025,6 +25087,10 @@ module Aws::SageMaker
|
|
25025
25087
|
# supported_response_mime_types: ["ResponseMIMEType"],
|
25026
25088
|
# },
|
25027
25089
|
# source_uri: "ModelPackageSourceUri",
|
25090
|
+
# model_card: {
|
25091
|
+
# model_card_content: "ModelCardContent",
|
25092
|
+
# model_card_status: "Draft", # accepts Draft, PendingReview, Approved, Archived
|
25093
|
+
# },
|
25028
25094
|
# })
|
25029
25095
|
#
|
25030
25096
|
# @example Response structure
|
@@ -26371,7 +26437,7 @@ module Aws::SageMaker
|
|
26371
26437
|
params: params,
|
26372
26438
|
config: config)
|
26373
26439
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
26374
|
-
context[:gem_version] = '1.
|
26440
|
+
context[:gem_version] = '1.243.0'
|
26375
26441
|
Seahorse::Client::Request.new(handlers, context)
|
26376
26442
|
end
|
26377
26443
|
|
@@ -1436,6 +1436,8 @@ module Aws::SageMaker
|
|
1436
1436
|
ModelPackageGroupStatus = Shapes::StringShape.new(name: 'ModelPackageGroupStatus')
|
1437
1437
|
ModelPackageGroupSummary = Shapes::StructureShape.new(name: 'ModelPackageGroupSummary')
|
1438
1438
|
ModelPackageGroupSummaryList = Shapes::ListShape.new(name: 'ModelPackageGroupSummaryList')
|
1439
|
+
ModelPackageModelCard = Shapes::StructureShape.new(name: 'ModelPackageModelCard')
|
1440
|
+
ModelPackageSecurityConfig = Shapes::StructureShape.new(name: 'ModelPackageSecurityConfig')
|
1439
1441
|
ModelPackageSortBy = Shapes::StringShape.new(name: 'ModelPackageSortBy')
|
1440
1442
|
ModelPackageSourceUri = Shapes::StringShape.new(name: 'ModelPackageSourceUri')
|
1441
1443
|
ModelPackageStatus = Shapes::StringShape.new(name: 'ModelPackageStatus')
|
@@ -3462,6 +3464,8 @@ module Aws::SageMaker
|
|
3462
3464
|
CreateModelPackageInput.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
|
3463
3465
|
CreateModelPackageInput.add_member(:skip_model_validation, Shapes::ShapeRef.new(shape: SkipModelValidation, location_name: "SkipModelValidation"))
|
3464
3466
|
CreateModelPackageInput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
|
3467
|
+
CreateModelPackageInput.add_member(:security_config, Shapes::ShapeRef.new(shape: ModelPackageSecurityConfig, location_name: "SecurityConfig"))
|
3468
|
+
CreateModelPackageInput.add_member(:model_card, Shapes::ShapeRef.new(shape: ModelPackageModelCard, location_name: "ModelCard"))
|
3465
3469
|
CreateModelPackageInput.struct_class = Types::CreateModelPackageInput
|
3466
3470
|
|
3467
3471
|
CreateModelPackageOutput.add_member(:model_package_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageArn"))
|
@@ -4836,6 +4840,8 @@ module Aws::SageMaker
|
|
4836
4840
|
DescribeModelPackageOutput.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
|
4837
4841
|
DescribeModelPackageOutput.add_member(:skip_model_validation, Shapes::ShapeRef.new(shape: SkipModelValidation, location_name: "SkipModelValidation"))
|
4838
4842
|
DescribeModelPackageOutput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
|
4843
|
+
DescribeModelPackageOutput.add_member(:security_config, Shapes::ShapeRef.new(shape: ModelPackageSecurityConfig, location_name: "SecurityConfig"))
|
4844
|
+
DescribeModelPackageOutput.add_member(:model_card, Shapes::ShapeRef.new(shape: ModelPackageModelCard, location_name: "ModelCard"))
|
4839
4845
|
DescribeModelPackageOutput.struct_class = Types::DescribeModelPackageOutput
|
4840
4846
|
|
4841
4847
|
DescribeModelQualityJobDefinitionRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: MonitoringJobDefinitionName, required: true, location_name: "JobDefinitionName"))
|
@@ -7644,6 +7650,8 @@ module Aws::SageMaker
|
|
7644
7650
|
ModelPackage.add_member(:sample_payload_url, Shapes::ShapeRef.new(shape: String, location_name: "SamplePayloadUrl"))
|
7645
7651
|
ModelPackage.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
|
7646
7652
|
ModelPackage.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
|
7653
|
+
ModelPackage.add_member(:security_config, Shapes::ShapeRef.new(shape: ModelPackageSecurityConfig, location_name: "SecurityConfig"))
|
7654
|
+
ModelPackage.add_member(:model_card, Shapes::ShapeRef.new(shape: ModelPackageModelCard, location_name: "ModelCard"))
|
7647
7655
|
ModelPackage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
7648
7656
|
ModelPackage.add_member(:customer_metadata_properties, Shapes::ShapeRef.new(shape: CustomerMetadataMap, location_name: "CustomerMetadataProperties"))
|
7649
7657
|
ModelPackage.add_member(:drift_check_baselines, Shapes::ShapeRef.new(shape: DriftCheckBaselines, location_name: "DriftCheckBaselines"))
|
@@ -7686,6 +7694,13 @@ module Aws::SageMaker
|
|
7686
7694
|
|
7687
7695
|
ModelPackageGroupSummaryList.member = Shapes::ShapeRef.new(shape: ModelPackageGroupSummary)
|
7688
7696
|
|
7697
|
+
ModelPackageModelCard.add_member(:model_card_content, Shapes::ShapeRef.new(shape: ModelCardContent, location_name: "ModelCardContent"))
|
7698
|
+
ModelPackageModelCard.add_member(:model_card_status, Shapes::ShapeRef.new(shape: ModelCardStatus, location_name: "ModelCardStatus"))
|
7699
|
+
ModelPackageModelCard.struct_class = Types::ModelPackageModelCard
|
7700
|
+
|
7701
|
+
ModelPackageSecurityConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
|
7702
|
+
ModelPackageSecurityConfig.struct_class = Types::ModelPackageSecurityConfig
|
7703
|
+
|
7689
7704
|
ModelPackageStatusDetails.add_member(:validation_statuses, Shapes::ShapeRef.new(shape: ModelPackageStatusItemList, required: true, location_name: "ValidationStatuses"))
|
7690
7705
|
ModelPackageStatusDetails.add_member(:image_scan_statuses, Shapes::ShapeRef.new(shape: ModelPackageStatusItemList, location_name: "ImageScanStatuses"))
|
7691
7706
|
ModelPackageStatusDetails.struct_class = Types::ModelPackageStatusDetails
|
@@ -9145,6 +9160,7 @@ module Aws::SageMaker
|
|
9145
9160
|
TimeSeriesForecastingJobConfig.add_member(:transformations, Shapes::ShapeRef.new(shape: TimeSeriesTransformations, location_name: "Transformations"))
|
9146
9161
|
TimeSeriesForecastingJobConfig.add_member(:time_series_config, Shapes::ShapeRef.new(shape: TimeSeriesConfig, required: true, location_name: "TimeSeriesConfig"))
|
9147
9162
|
TimeSeriesForecastingJobConfig.add_member(:holiday_config, Shapes::ShapeRef.new(shape: HolidayConfig, location_name: "HolidayConfig"))
|
9163
|
+
TimeSeriesForecastingJobConfig.add_member(:candidate_generation_config, Shapes::ShapeRef.new(shape: CandidateGenerationConfig, location_name: "CandidateGenerationConfig"))
|
9148
9164
|
TimeSeriesForecastingJobConfig.struct_class = Types::TimeSeriesForecastingJobConfig
|
9149
9165
|
|
9150
9166
|
TimeSeriesForecastingSettings.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "Status"))
|
@@ -9684,6 +9700,7 @@ module Aws::SageMaker
|
|
9684
9700
|
UpdateModelPackageInput.add_member(:additional_inference_specifications_to_add, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecificationsToAdd"))
|
9685
9701
|
UpdateModelPackageInput.add_member(:inference_specification, Shapes::ShapeRef.new(shape: InferenceSpecification, location_name: "InferenceSpecification"))
|
9686
9702
|
UpdateModelPackageInput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
|
9703
|
+
UpdateModelPackageInput.add_member(:model_card, Shapes::ShapeRef.new(shape: ModelPackageModelCard, location_name: "ModelCard"))
|
9687
9704
|
UpdateModelPackageInput.struct_class = Types::UpdateModelPackageInput
|
9688
9705
|
|
9689
9706
|
UpdateModelPackageOutput.add_member(:model_package_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageArn"))
|
@@ -1707,44 +1707,63 @@ module Aws::SageMaker
|
|
1707
1707
|
include Aws::Structure
|
1708
1708
|
end
|
1709
1709
|
|
1710
|
-
# The
|
1711
|
-
# candidates
|
1710
|
+
# The selection of algorithms trained on your dataset to generate the
|
1711
|
+
# model candidates for an Autopilot job.
|
1712
1712
|
#
|
1713
1713
|
# @!attribute [rw] auto_ml_algorithms
|
1714
|
-
# The selection of algorithms
|
1715
|
-
# candidates
|
1714
|
+
# The selection of algorithms trained on your dataset to generate the
|
1715
|
+
# model candidates for an Autopilot job.
|
1716
1716
|
#
|
1717
|
-
#
|
1718
|
-
# training mode set in [AutoMLJobConfig.Mode][1] (`ENSEMBLING` or
|
1719
|
-
# `HYPERPARAMETER_TUNING`). Choose a minimum of 1 algorithm.
|
1717
|
+
# * **For the tabular problem type `TabularJobConfig`:**
|
1720
1718
|
#
|
1721
|
-
#
|
1719
|
+
# <note markdown="1"> Selected algorithms must belong to the list corresponding to the
|
1720
|
+
# training mode set in [AutoMLJobConfig.Mode][1] (`ENSEMBLING` or
|
1721
|
+
# `HYPERPARAMETER_TUNING`). Choose a minimum of 1 algorithm.
|
1722
|
+
#
|
1723
|
+
# </note>
|
1724
|
+
#
|
1725
|
+
# * In `ENSEMBLING` mode:
|
1726
|
+
#
|
1727
|
+
# * "catboost"
|
1728
|
+
#
|
1729
|
+
# * "extra-trees"
|
1730
|
+
#
|
1731
|
+
# * "fastai"
|
1732
|
+
#
|
1733
|
+
# * "lightgbm"
|
1722
1734
|
#
|
1723
|
-
#
|
1735
|
+
# * "linear-learner"
|
1724
1736
|
#
|
1725
|
-
#
|
1737
|
+
# * "nn-torch"
|
1726
1738
|
#
|
1727
|
-
#
|
1739
|
+
# * "randomforest"
|
1728
1740
|
#
|
1729
|
-
#
|
1741
|
+
# * "xgboost"
|
1730
1742
|
#
|
1731
|
-
# *
|
1743
|
+
# * In `HYPERPARAMETER_TUNING` mode:
|
1732
1744
|
#
|
1733
|
-
#
|
1745
|
+
# * "linear-learner"
|
1734
1746
|
#
|
1735
|
-
#
|
1747
|
+
# * "mlp"
|
1736
1748
|
#
|
1737
|
-
#
|
1749
|
+
# * "xgboost"
|
1738
1750
|
#
|
1739
|
-
#
|
1751
|
+
# * **For the time-series forecasting problem type
|
1752
|
+
# `TimeSeriesForecastingJobConfig`:**
|
1740
1753
|
#
|
1741
|
-
#
|
1754
|
+
# * Choose your algorithms from this list.
|
1742
1755
|
#
|
1743
|
-
#
|
1756
|
+
# * "cnn-qr"
|
1744
1757
|
#
|
1745
|
-
#
|
1758
|
+
# * "deepar"
|
1746
1759
|
#
|
1747
|
-
#
|
1760
|
+
# * "prophet"
|
1761
|
+
#
|
1762
|
+
# * "arima"
|
1763
|
+
#
|
1764
|
+
# * "npts"
|
1765
|
+
#
|
1766
|
+
# * "ets"
|
1748
1767
|
#
|
1749
1768
|
#
|
1750
1769
|
#
|
@@ -1874,33 +1893,34 @@ module Aws::SageMaker
|
|
1874
1893
|
#
|
1875
1894
|
# @!attribute [rw] algorithms_config
|
1876
1895
|
# Stores the configuration information for the selection of algorithms
|
1877
|
-
#
|
1896
|
+
# trained on tabular data.
|
1878
1897
|
#
|
1879
1898
|
# The list of available algorithms to choose from depends on the
|
1880
|
-
# training mode set in [ `
|
1899
|
+
# training mode set in [ `TabularJobConfig.Mode` ][1].
|
1881
1900
|
#
|
1882
|
-
# * `AlgorithmsConfig` should not be set
|
1901
|
+
# * `AlgorithmsConfig` should not be set if the training mode is set
|
1902
|
+
# on `AUTO`.
|
1883
1903
|
#
|
1884
1904
|
# * When `AlgorithmsConfig` is provided, one `AutoMLAlgorithms`
|
1885
1905
|
# attribute must be set and one only.
|
1886
1906
|
#
|
1887
1907
|
# If the list of algorithms provided as values for
|
1888
|
-
# `AutoMLAlgorithms` is empty, `
|
1889
|
-
#
|
1908
|
+
# `AutoMLAlgorithms` is empty, `CandidateGenerationConfig` uses the
|
1909
|
+
# full set of algorithms for the given training mode.
|
1890
1910
|
#
|
1891
1911
|
# * When `AlgorithmsConfig` is not provided,
|
1892
|
-
# `
|
1893
|
-
#
|
1912
|
+
# `CandidateGenerationConfig` uses the full set of algorithms for
|
1913
|
+
# the given training mode.
|
1894
1914
|
#
|
1895
|
-
# For the list of all algorithms per training mode,
|
1896
|
-
# AutoMLAlgorithmConfig][2].
|
1915
|
+
# For the list of all algorithms per problem type and training mode,
|
1916
|
+
# see [ AutoMLAlgorithmConfig][2].
|
1897
1917
|
#
|
1898
1918
|
# For more information on each algorithm, see the [Algorithm
|
1899
1919
|
# support][3] section in Autopilot developer guide.
|
1900
1920
|
#
|
1901
1921
|
#
|
1902
1922
|
#
|
1903
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/
|
1923
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TabularJobConfig.html
|
1904
1924
|
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html
|
1905
1925
|
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support
|
1906
1926
|
# @return [Array<Types::AutoMLAlgorithmConfig>]
|
@@ -3153,36 +3173,63 @@ module Aws::SageMaker
|
|
3153
3173
|
# generated using an AutoML job V2.
|
3154
3174
|
#
|
3155
3175
|
# @!attribute [rw] algorithms_config
|
3156
|
-
#
|
3157
|
-
#
|
3176
|
+
# Your Autopilot job trains a default set of algorithms on your
|
3177
|
+
# dataset. For tabular and time-series data, you can customize the
|
3178
|
+
# algorithm list by selecting a subset of algorithms for your problem
|
3179
|
+
# type.
|
3158
3180
|
#
|
3159
|
-
#
|
3160
|
-
#
|
3181
|
+
# `AlgorithmsConfig` stores the customized selection of algorithms to
|
3182
|
+
# train on your data.
|
3161
3183
|
#
|
3162
|
-
# *
|
3184
|
+
# * **For the tabular problem type `TabularJobConfig`,** the list of
|
3185
|
+
# available algorithms to choose from depends on the training mode
|
3186
|
+
# set in [ `AutoMLJobConfig.Mode` ][1].
|
3163
3187
|
#
|
3164
|
-
#
|
3165
|
-
#
|
3188
|
+
# * `AlgorithmsConfig` should not be set when the training mode
|
3189
|
+
# `AutoMLJobConfig.Mode` is set to `AUTO`.
|
3166
3190
|
#
|
3167
|
-
#
|
3168
|
-
#
|
3169
|
-
# full set of algorithms for the given training mode.
|
3191
|
+
# * When `AlgorithmsConfig` is provided, one `AutoMLAlgorithms`
|
3192
|
+
# attribute must be set and one only.
|
3170
3193
|
#
|
3171
|
-
#
|
3172
|
-
#
|
3173
|
-
#
|
3194
|
+
# If the list of algorithms provided as values for
|
3195
|
+
# `AutoMLAlgorithms` is empty, `CandidateGenerationConfig` uses
|
3196
|
+
# the full set of algorithms for the given training mode.
|
3174
3197
|
#
|
3175
|
-
#
|
3176
|
-
#
|
3198
|
+
# * When `AlgorithmsConfig` is not provided,
|
3199
|
+
# `CandidateGenerationConfig` uses the full set of algorithms for
|
3200
|
+
# the given training mode.
|
3177
3201
|
#
|
3178
|
-
#
|
3179
|
-
#
|
3202
|
+
# For the list of all algorithms per training mode, see [
|
3203
|
+
# AlgorithmConfig][2].
|
3180
3204
|
#
|
3205
|
+
# For more information on each algorithm, see the [Algorithm
|
3206
|
+
# support][3] section in the Autopilot developer guide.
|
3181
3207
|
#
|
3208
|
+
# * **For the time-series forecasting problem type
|
3209
|
+
# `TimeSeriesForecastingJobConfig`,** choose your algorithms from
|
3210
|
+
# the list provided in [ AlgorithmConfig][2].
|
3182
3211
|
#
|
3183
|
-
#
|
3212
|
+
# For more information on each algorithm, see the [Algorithms
|
3213
|
+
# support for time-series forecasting][4] section in the Autopilot
|
3214
|
+
# developer guide.
|
3215
|
+
#
|
3216
|
+
# * When `AlgorithmsConfig` is provided, one `AutoMLAlgorithms`
|
3217
|
+
# attribute must be set and one only.
|
3218
|
+
#
|
3219
|
+
# If the list of algorithms provided as values for
|
3220
|
+
# `AutoMLAlgorithms` is empty, `CandidateGenerationConfig` uses
|
3221
|
+
# the full set of algorithms for time-series forecasting.
|
3222
|
+
#
|
3223
|
+
# * When `AlgorithmsConfig` is not provided,
|
3224
|
+
# `CandidateGenerationConfig` uses the full set of algorithms for
|
3225
|
+
# time-series forecasting.
|
3226
|
+
#
|
3227
|
+
#
|
3228
|
+
#
|
3229
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobConfig.html
|
3184
3230
|
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html
|
3185
3231
|
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support
|
3232
|
+
# [4]: https://docs.aws.amazon.com/sagemaker/latest/dg/timeseries-forecasting-algorithms.html
|
3186
3233
|
# @return [Array<Types::AutoMLAlgorithmConfig>]
|
3187
3234
|
#
|
3188
3235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CandidateGenerationConfig AWS API Documentation
|
@@ -7967,6 +8014,26 @@ module Aws::SageMaker
|
|
7967
8014
|
# (ARN). If you want to register a model, set it to the model ARN.
|
7968
8015
|
# @return [String]
|
7969
8016
|
#
|
8017
|
+
# @!attribute [rw] security_config
|
8018
|
+
# The KMS Key ID (`KMSKeyId`) used for encryption of model package
|
8019
|
+
# information.
|
8020
|
+
# @return [Types::ModelPackageSecurityConfig]
|
8021
|
+
#
|
8022
|
+
# @!attribute [rw] model_card
|
8023
|
+
# The model card associated with the model package. Since
|
8024
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
8025
|
+
# usage of a model card and its schema is simplified compared to the
|
8026
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
8027
|
+
# include `model_package_details`, and `model_overview` is composed of
|
8028
|
+
# the `model_creator` and `model_artifact` properties. For more
|
8029
|
+
# information about the model card associated with the model package,
|
8030
|
+
# see [View the Details of a Model Version][1].
|
8031
|
+
#
|
8032
|
+
#
|
8033
|
+
#
|
8034
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
8035
|
+
# @return [Types::ModelPackageModelCard]
|
8036
|
+
#
|
7970
8037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageInput AWS API Documentation
|
7971
8038
|
#
|
7972
8039
|
class CreateModelPackageInput < Struct.new(
|
@@ -7989,7 +8056,9 @@ module Aws::SageMaker
|
|
7989
8056
|
:drift_check_baselines,
|
7990
8057
|
:additional_inference_specifications,
|
7991
8058
|
:skip_model_validation,
|
7992
|
-
:source_uri
|
8059
|
+
:source_uri,
|
8060
|
+
:security_config,
|
8061
|
+
:model_card)
|
7993
8062
|
SENSITIVE = []
|
7994
8063
|
include Aws::Structure
|
7995
8064
|
end
|
@@ -15380,6 +15449,26 @@ module Aws::SageMaker
|
|
15380
15449
|
# The URI of the source for the model package.
|
15381
15450
|
# @return [String]
|
15382
15451
|
#
|
15452
|
+
# @!attribute [rw] security_config
|
15453
|
+
# The KMS Key ID (`KMSKeyId`) used for encryption of model package
|
15454
|
+
# information.
|
15455
|
+
# @return [Types::ModelPackageSecurityConfig]
|
15456
|
+
#
|
15457
|
+
# @!attribute [rw] model_card
|
15458
|
+
# The model card associated with the model package. Since
|
15459
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
15460
|
+
# usage of a model card and its schema is simplified compared to the
|
15461
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
15462
|
+
# include `model_package_details`, and `model_overview` is composed of
|
15463
|
+
# the `model_creator` and `model_artifact` properties. For more
|
15464
|
+
# information about the model card associated with the model package,
|
15465
|
+
# see [View the Details of a Model Version][1].
|
15466
|
+
#
|
15467
|
+
#
|
15468
|
+
#
|
15469
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
15470
|
+
# @return [Types::ModelPackageModelCard]
|
15471
|
+
#
|
15383
15472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageOutput AWS API Documentation
|
15384
15473
|
#
|
15385
15474
|
class DescribeModelPackageOutput < Struct.new(
|
@@ -15409,7 +15498,9 @@ module Aws::SageMaker
|
|
15409
15498
|
:drift_check_baselines,
|
15410
15499
|
:additional_inference_specifications,
|
15411
15500
|
:skip_model_validation,
|
15412
|
-
:source_uri
|
15501
|
+
:source_uri,
|
15502
|
+
:security_config,
|
15503
|
+
:model_card)
|
15413
15504
|
SENSITIVE = []
|
15414
15505
|
include Aws::Structure
|
15415
15506
|
end
|
@@ -24939,9 +25030,9 @@ module Aws::SageMaker
|
|
24939
25030
|
#
|
24940
25031
|
# @!attribute [rw] max_results
|
24941
25032
|
# This parameter defines the maximum number of results that can be
|
24942
|
-
#
|
24943
|
-
#
|
24944
|
-
#
|
25033
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
25034
|
+
# bound, not a target. If there are more results available than the
|
25035
|
+
# value specified, a `NextToken` is provided in the response. The
|
24945
25036
|
# `NextToken` indicates that the user should get the next set of
|
24946
25037
|
# results by providing this token as a part of a subsequent call. The
|
24947
25038
|
# default value for `MaxResults` is 10.
|
@@ -25957,9 +26048,9 @@ module Aws::SageMaker
|
|
25957
26048
|
#
|
25958
26049
|
# @!attribute [rw] max_results
|
25959
26050
|
# This parameter defines the maximum number of results that can be
|
25960
|
-
#
|
25961
|
-
#
|
25962
|
-
#
|
26051
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
26052
|
+
# bound, not a target. If there are more results available than the
|
26053
|
+
# value specified, a `NextToken` is provided in the response. The
|
25963
26054
|
# `NextToken` indicates that the user should get the next set of
|
25964
26055
|
# results by providing this token as a part of a subsequent call. The
|
25965
26056
|
# default value for `MaxResults` is 10.
|
@@ -29283,9 +29374,9 @@ module Aws::SageMaker
|
|
29283
29374
|
#
|
29284
29375
|
# @!attribute [rw] max_results
|
29285
29376
|
# This parameter defines the maximum number of results that can be
|
29286
|
-
#
|
29287
|
-
#
|
29288
|
-
#
|
29377
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
29378
|
+
# bound, not a target. If there are more results available than the
|
29379
|
+
# value specified, a `NextToken` is provided in the response. The
|
29289
29380
|
# `NextToken` indicates that the user should get the next set of
|
29290
29381
|
# results by providing this token as a part of a subsequent call. The
|
29291
29382
|
# default value for `MaxResults` is 10.
|
@@ -29969,9 +30060,9 @@ module Aws::SageMaker
|
|
29969
30060
|
#
|
29970
30061
|
# @!attribute [rw] max_results
|
29971
30062
|
# This parameter defines the maximum number of results that can be
|
29972
|
-
#
|
29973
|
-
#
|
29974
|
-
#
|
30063
|
+
# return in a single response. The `MaxResults` parameter is an upper
|
30064
|
+
# bound, not a target. If there are more results available than the
|
30065
|
+
# value specified, a `NextToken` is provided in the response. The
|
29975
30066
|
# `NextToken` indicates that the user should get the next set of
|
29976
30067
|
# results by providing this token as a part of a subsequent call. The
|
29977
30068
|
# default value for `MaxResults` is 10.
|
@@ -31594,6 +31685,27 @@ module Aws::SageMaker
|
|
31594
31685
|
# The URI of the source for the model package.
|
31595
31686
|
# @return [String]
|
31596
31687
|
#
|
31688
|
+
# @!attribute [rw] security_config
|
31689
|
+
# An optional Key Management Service key to encrypt, decrypt, and
|
31690
|
+
# re-encrypt model package information for regulated workloads with
|
31691
|
+
# highly sensitive data.
|
31692
|
+
# @return [Types::ModelPackageSecurityConfig]
|
31693
|
+
#
|
31694
|
+
# @!attribute [rw] model_card
|
31695
|
+
# The model card associated with the model package. Since
|
31696
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
31697
|
+
# usage of a model card and its schema is simplified compared to the
|
31698
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
31699
|
+
# include `model_package_details`, and `model_overview` is composed of
|
31700
|
+
# the `model_creator` and `model_artifact` properties. For more
|
31701
|
+
# information about the model card associated with the model package,
|
31702
|
+
# see [View the Details of a Model Version][1].
|
31703
|
+
#
|
31704
|
+
#
|
31705
|
+
#
|
31706
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
31707
|
+
# @return [Types::ModelPackageModelCard]
|
31708
|
+
#
|
31597
31709
|
# @!attribute [rw] tags
|
31598
31710
|
# A list of the tags associated with the model package. For more
|
31599
31711
|
# information, see [Tagging Amazon Web Services resources][1] in the
|
@@ -31644,6 +31756,8 @@ module Aws::SageMaker
|
|
31644
31756
|
:sample_payload_url,
|
31645
31757
|
:additional_inference_specifications,
|
31646
31758
|
:source_uri,
|
31759
|
+
:security_config,
|
31760
|
+
:model_card,
|
31647
31761
|
:tags,
|
31648
31762
|
:customer_metadata_properties,
|
31649
31763
|
:drift_check_baselines,
|
@@ -31847,6 +31961,66 @@ module Aws::SageMaker
|
|
31847
31961
|
include Aws::Structure
|
31848
31962
|
end
|
31849
31963
|
|
31964
|
+
# The model card associated with the model package. Since
|
31965
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
31966
|
+
# usage of a model card and its schema is simplified compared to the
|
31967
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
31968
|
+
# include `model_package_details`, and `model_overview` is composed of
|
31969
|
+
# the `model_creator` and `model_artifact` properties. For more
|
31970
|
+
# information about the model card associated with the model package,
|
31971
|
+
# see [View the Details of a Model Version][1].
|
31972
|
+
#
|
31973
|
+
#
|
31974
|
+
#
|
31975
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
31976
|
+
#
|
31977
|
+
# @!attribute [rw] model_card_content
|
31978
|
+
# The content of the model card.
|
31979
|
+
# @return [String]
|
31980
|
+
#
|
31981
|
+
# @!attribute [rw] model_card_status
|
31982
|
+
# The approval status of the model card within your organization.
|
31983
|
+
# Different organizations might have different criteria for model card
|
31984
|
+
# review and approval.
|
31985
|
+
#
|
31986
|
+
# * `Draft`: The model card is a work in progress.
|
31987
|
+
#
|
31988
|
+
# * `PendingReview`: The model card is pending review.
|
31989
|
+
#
|
31990
|
+
# * `Approved`: The model card is approved.
|
31991
|
+
#
|
31992
|
+
# * `Archived`: The model card is archived. No more updates can be
|
31993
|
+
# made to the model card content. If you try to update the model
|
31994
|
+
# card content, you will receive the message `Model Card is in
|
31995
|
+
# Archived state`.
|
31996
|
+
# @return [String]
|
31997
|
+
#
|
31998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackageModelCard AWS API Documentation
|
31999
|
+
#
|
32000
|
+
class ModelPackageModelCard < Struct.new(
|
32001
|
+
:model_card_content,
|
32002
|
+
:model_card_status)
|
32003
|
+
SENSITIVE = [:model_card_content]
|
32004
|
+
include Aws::Structure
|
32005
|
+
end
|
32006
|
+
|
32007
|
+
# An optional Key Management Service key to encrypt, decrypt, and
|
32008
|
+
# re-encrypt model package information for regulated workloads with
|
32009
|
+
# highly sensitive data.
|
32010
|
+
#
|
32011
|
+
# @!attribute [rw] kms_key_id
|
32012
|
+
# The KMS Key ID (`KMSKeyId`) used for encryption of model package
|
32013
|
+
# information.
|
32014
|
+
# @return [String]
|
32015
|
+
#
|
32016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackageSecurityConfig AWS API Documentation
|
32017
|
+
#
|
32018
|
+
class ModelPackageSecurityConfig < Struct.new(
|
32019
|
+
:kms_key_id)
|
32020
|
+
SENSITIVE = []
|
32021
|
+
include Aws::Structure
|
32022
|
+
end
|
32023
|
+
|
31850
32024
|
# Specifies the validation and image scan statuses of the model package.
|
31851
32025
|
#
|
31852
32026
|
# @!attribute [rw] validation_statuses
|
@@ -40683,6 +40857,11 @@ module Aws::SageMaker
|
|
40683
40857
|
# model.
|
40684
40858
|
# @return [Array<Types::HolidayConfigAttributes>]
|
40685
40859
|
#
|
40860
|
+
# @!attribute [rw] candidate_generation_config
|
40861
|
+
# Stores the configuration information for how model candidates are
|
40862
|
+
# generated using an AutoML job V2.
|
40863
|
+
# @return [Types::CandidateGenerationConfig]
|
40864
|
+
#
|
40686
40865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TimeSeriesForecastingJobConfig AWS API Documentation
|
40687
40866
|
#
|
40688
40867
|
class TimeSeriesForecastingJobConfig < Struct.new(
|
@@ -40693,7 +40872,8 @@ module Aws::SageMaker
|
|
40693
40872
|
:forecast_quantiles,
|
40694
40873
|
:transformations,
|
40695
40874
|
:time_series_config,
|
40696
|
-
:holiday_config
|
40875
|
+
:holiday_config,
|
40876
|
+
:candidate_generation_config)
|
40697
40877
|
SENSITIVE = []
|
40698
40878
|
include Aws::Structure
|
40699
40879
|
end
|
@@ -43929,6 +44109,21 @@ module Aws::SageMaker
|
|
43929
44109
|
# The URI of the source for the model package.
|
43930
44110
|
# @return [String]
|
43931
44111
|
#
|
44112
|
+
# @!attribute [rw] model_card
|
44113
|
+
# The model card associated with the model package. Since
|
44114
|
+
# `ModelPackageModelCard` is tied to a model package, it is a specific
|
44115
|
+
# usage of a model card and its schema is simplified compared to the
|
44116
|
+
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
44117
|
+
# include `model_package_details`, and `model_overview` is composed of
|
44118
|
+
# the `model_creator` and `model_artifact` properties. For more
|
44119
|
+
# information about the model card associated with the model package,
|
44120
|
+
# see [View the Details of a Model Version][1].
|
44121
|
+
#
|
44122
|
+
#
|
44123
|
+
#
|
44124
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
44125
|
+
# @return [Types::ModelPackageModelCard]
|
44126
|
+
#
|
43932
44127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackageInput AWS API Documentation
|
43933
44128
|
#
|
43934
44129
|
class UpdateModelPackageInput < Struct.new(
|
@@ -43939,7 +44134,8 @@ module Aws::SageMaker
|
|
43939
44134
|
:customer_metadata_properties_to_remove,
|
43940
44135
|
:additional_inference_specifications_to_add,
|
43941
44136
|
:inference_specification,
|
43942
|
-
:source_uri
|
44137
|
+
:source_uri,
|
44138
|
+
:model_card)
|
43943
44139
|
SENSITIVE = []
|
43944
44140
|
include Aws::Structure
|
43945
44141
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -519,7 +519,7 @@ module Aws
|
|
519
519
|
feature_specification_s3_uri: ::String?,
|
520
520
|
algorithms_config: Array[
|
521
521
|
{
|
522
|
-
auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
|
522
|
+
auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
|
523
523
|
},
|
524
524
|
]?
|
525
525
|
}?,
|
@@ -608,13 +608,20 @@ module Aws
|
|
608
608
|
{
|
609
609
|
country_code: ::String?
|
610
610
|
},
|
611
|
-
]
|
611
|
+
]?,
|
612
|
+
candidate_generation_config: {
|
613
|
+
algorithms_config: Array[
|
614
|
+
{
|
615
|
+
auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
|
616
|
+
},
|
617
|
+
]?
|
618
|
+
}?
|
612
619
|
}?,
|
613
620
|
tabular_job_config: {
|
614
621
|
candidate_generation_config: {
|
615
622
|
algorithms_config: Array[
|
616
623
|
{
|
617
|
-
auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
|
624
|
+
auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
|
618
625
|
},
|
619
626
|
]?
|
620
627
|
}?,
|
@@ -2887,7 +2894,14 @@ module Aws
|
|
2887
2894
|
},
|
2888
2895
|
],
|
2889
2896
|
?skip_model_validation: ("All" | "None"),
|
2890
|
-
?source_uri: ::String
|
2897
|
+
?source_uri: ::String,
|
2898
|
+
?security_config: {
|
2899
|
+
kms_key_id: ::String
|
2900
|
+
},
|
2901
|
+
?model_card: {
|
2902
|
+
model_card_content: ::String?,
|
2903
|
+
model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")?
|
2904
|
+
}
|
2891
2905
|
) -> _CreateModelPackageResponseSuccess
|
2892
2906
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelPackageResponseSuccess
|
2893
2907
|
|
@@ -5307,6 +5321,8 @@ module Aws
|
|
5307
5321
|
def additional_inference_specifications: () -> ::Array[Types::AdditionalInferenceSpecificationDefinition]
|
5308
5322
|
def skip_model_validation: () -> ("All" | "None")
|
5309
5323
|
def source_uri: () -> ::String
|
5324
|
+
def security_config: () -> Types::ModelPackageSecurityConfig
|
5325
|
+
def model_card: () -> Types::ModelPackageModelCard
|
5310
5326
|
end
|
5311
5327
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_model_package-instance_method
|
5312
5328
|
def describe_model_package: (
|
@@ -8362,7 +8378,11 @@ module Aws
|
|
8362
8378
|
supported_content_types: Array[::String]?,
|
8363
8379
|
supported_response_mime_types: Array[::String]?
|
8364
8380
|
},
|
8365
|
-
?source_uri: ::String
|
8381
|
+
?source_uri: ::String,
|
8382
|
+
?model_card: {
|
8383
|
+
model_card_content: ::String?,
|
8384
|
+
model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")?
|
8385
|
+
}
|
8366
8386
|
) -> _UpdateModelPackageResponseSuccess
|
8367
8387
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateModelPackageResponseSuccess
|
8368
8388
|
|
data/sig/types.rbs
CHANGED
@@ -247,7 +247,7 @@ module Aws::SageMaker
|
|
247
247
|
end
|
248
248
|
|
249
249
|
class AutoMLAlgorithmConfig
|
250
|
-
attr_accessor auto_ml_algorithms: ::Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
|
250
|
+
attr_accessor auto_ml_algorithms: ::Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
|
251
251
|
SENSITIVE: []
|
252
252
|
end
|
253
253
|
|
@@ -1473,6 +1473,8 @@ module Aws::SageMaker
|
|
1473
1473
|
attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
|
1474
1474
|
attr_accessor skip_model_validation: ("All" | "None")
|
1475
1475
|
attr_accessor source_uri: ::String
|
1476
|
+
attr_accessor security_config: Types::ModelPackageSecurityConfig
|
1477
|
+
attr_accessor model_card: Types::ModelPackageModelCard
|
1476
1478
|
SENSITIVE: []
|
1477
1479
|
end
|
1478
1480
|
|
@@ -3245,6 +3247,8 @@ module Aws::SageMaker
|
|
3245
3247
|
attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
|
3246
3248
|
attr_accessor skip_model_validation: ("All" | "None")
|
3247
3249
|
attr_accessor source_uri: ::String
|
3250
|
+
attr_accessor security_config: Types::ModelPackageSecurityConfig
|
3251
|
+
attr_accessor model_card: Types::ModelPackageModelCard
|
3248
3252
|
SENSITIVE: []
|
3249
3253
|
end
|
3250
3254
|
|
@@ -6667,6 +6671,8 @@ module Aws::SageMaker
|
|
6667
6671
|
attr_accessor sample_payload_url: ::String
|
6668
6672
|
attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
|
6669
6673
|
attr_accessor source_uri: ::String
|
6674
|
+
attr_accessor security_config: Types::ModelPackageSecurityConfig
|
6675
|
+
attr_accessor model_card: Types::ModelPackageModelCard
|
6670
6676
|
attr_accessor tags: ::Array[Types::Tag]
|
6671
6677
|
attr_accessor customer_metadata_properties: ::Hash[::String, ::String]
|
6672
6678
|
attr_accessor drift_check_baselines: Types::DriftCheckBaselines
|
@@ -6710,6 +6716,17 @@ module Aws::SageMaker
|
|
6710
6716
|
SENSITIVE: []
|
6711
6717
|
end
|
6712
6718
|
|
6719
|
+
class ModelPackageModelCard
|
6720
|
+
attr_accessor model_card_content: ::String
|
6721
|
+
attr_accessor model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")
|
6722
|
+
SENSITIVE: [:model_card_content]
|
6723
|
+
end
|
6724
|
+
|
6725
|
+
class ModelPackageSecurityConfig
|
6726
|
+
attr_accessor kms_key_id: ::String
|
6727
|
+
SENSITIVE: []
|
6728
|
+
end
|
6729
|
+
|
6713
6730
|
class ModelPackageStatusDetails
|
6714
6731
|
attr_accessor validation_statuses: ::Array[Types::ModelPackageStatusItem]
|
6715
6732
|
attr_accessor image_scan_statuses: ::Array[Types::ModelPackageStatusItem]
|
@@ -8476,6 +8493,7 @@ module Aws::SageMaker
|
|
8476
8493
|
attr_accessor transformations: Types::TimeSeriesTransformations
|
8477
8494
|
attr_accessor time_series_config: Types::TimeSeriesConfig
|
8478
8495
|
attr_accessor holiday_config: ::Array[Types::HolidayConfigAttributes]
|
8496
|
+
attr_accessor candidate_generation_config: Types::CandidateGenerationConfig
|
8479
8497
|
SENSITIVE: []
|
8480
8498
|
end
|
8481
8499
|
|
@@ -9145,6 +9163,7 @@ module Aws::SageMaker
|
|
9145
9163
|
attr_accessor additional_inference_specifications_to_add: ::Array[Types::AdditionalInferenceSpecificationDefinition]
|
9146
9164
|
attr_accessor inference_specification: Types::InferenceSpecification
|
9147
9165
|
attr_accessor source_uri: ::String
|
9166
|
+
attr_accessor model_card: Types::ModelPackageModelCard
|
9148
9167
|
SENSITIVE: []
|
9149
9168
|
end
|
9150
9169
|
|
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.243.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: 2024-05-
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|