aws-sdk-sagemaker 1.156.0 → 1.158.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 +249 -16
- data/lib/aws-sdk-sagemaker/client_api.rb +86 -1
- data/lib/aws-sdk-sagemaker/endpoints.rb +28 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-sagemaker/types.rb +488 -86
- data/lib/aws-sdk-sagemaker.rb +1 -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: afa3d9aad52d2754e4e54670bff15a1be4f111158df8df74341671fa4f4a5573
|
4
|
+
data.tar.gz: 609ae29dcd112366ce30892884bafc2ea3c5d7a8dea344374783928d7865582a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036e5c82c6a7a42f3e10141e8c00a2687011434939868f4990b847474b04ec3a4ddd35a3307eb3c44a864ef0bd140836b2bf11223078ccc43aecf02f26c81d75
|
7
|
+
data.tar.gz: c557948a687fe872b8c85c3ba5084c2ac42717fc3f811171d1ea3ecd220f7ae5a714807fb6f285372168f7618b9168d6e9c4a2bda7ea19f125c5668ddf62d54e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.158.0 (2022-12-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SageMaker Autopilot adds support for new objective metrics in CreateAutoMLJob API.
|
8
|
+
|
9
|
+
1.157.0 (2022-12-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Sagemaker - Sagemaker Images now supports Aliases as secondary identifiers for ImageVersions. SageMaker Images now supports additional metadata for ImageVersions for better images management.
|
13
|
+
|
4
14
|
1.156.0 (2022-12-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.158.0
|
@@ -1260,7 +1260,7 @@ module Aws::SageMaker
|
|
1260
1260
|
# },
|
1261
1261
|
# problem_type: "BinaryClassification", # accepts BinaryClassification, MulticlassClassification, Regression
|
1262
1262
|
# auto_ml_job_objective: {
|
1263
|
-
# metric_name: "Accuracy", # required, accepts Accuracy, MSE, F1, F1macro, AUC
|
1263
|
+
# metric_name: "Accuracy", # required, accepts Accuracy, MSE, F1, F1macro, AUC, RMSE, MAE, R2, BalancedAccuracy, Precision, PrecisionMacro, Recall, RecallMacro
|
1264
1264
|
# },
|
1265
1265
|
# auto_ml_job_config: {
|
1266
1266
|
# completion_criteria: {
|
@@ -2702,11 +2702,16 @@ module Aws::SageMaker
|
|
2702
2702
|
req.send_request(options)
|
2703
2703
|
end
|
2704
2704
|
|
2705
|
-
# Creates
|
2705
|
+
# Creates a SageMaker *experiment*. An experiment is a collection of
|
2706
2706
|
# *trials* that are observed, compared and evaluated as a group. A trial
|
2707
2707
|
# is a set of steps, called *trial components*, that produce a machine
|
2708
2708
|
# learning model.
|
2709
2709
|
#
|
2710
|
+
# <note markdown="1"> In the Studio UI, trials are referred to as *run groups* and trial
|
2711
|
+
# components are referred to as *runs*.
|
2712
|
+
#
|
2713
|
+
# </note>
|
2714
|
+
#
|
2710
2715
|
# The goal of an experiment is to determine the components that produce
|
2711
2716
|
# the best model. Multiple trials are performed, each one isolating and
|
2712
2717
|
# measuring the impact of a change to one or more inputs, while keeping
|
@@ -3587,8 +3592,8 @@ module Aws::SageMaker
|
|
3587
3592
|
# The name of the image. Must be unique to your account.
|
3588
3593
|
#
|
3589
3594
|
# @option params [required, String] :role_arn
|
3590
|
-
# The
|
3591
|
-
#
|
3595
|
+
# The ARN of an IAM role that enables Amazon SageMaker to perform tasks
|
3596
|
+
# on your behalf.
|
3592
3597
|
#
|
3593
3598
|
# @option params [Array<Types::Tag>] :tags
|
3594
3599
|
# A list of tags to apply to the image.
|
@@ -3648,6 +3653,55 @@ module Aws::SageMaker
|
|
3648
3653
|
# @option params [required, String] :image_name
|
3649
3654
|
# The `ImageName` of the `Image` to create a version of.
|
3650
3655
|
#
|
3656
|
+
# @option params [Array<String>] :aliases
|
3657
|
+
# A list of aliases created with the image version.
|
3658
|
+
#
|
3659
|
+
# @option params [String] :vendor_guidance
|
3660
|
+
# The stability of the image version, specified by the maintainer.
|
3661
|
+
#
|
3662
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for image
|
3663
|
+
# version stability.
|
3664
|
+
#
|
3665
|
+
# * `STABLE`\: The image version is stable.
|
3666
|
+
#
|
3667
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
3668
|
+
# image versions that are set to be archived are automatically
|
3669
|
+
# archived after three months.
|
3670
|
+
#
|
3671
|
+
# * `ARCHIVED`\: The image version is archived. Archived image versions
|
3672
|
+
# are not searchable and are no longer actively supported.
|
3673
|
+
#
|
3674
|
+
# @option params [String] :job_type
|
3675
|
+
# Indicates SageMaker job type compatibility.
|
3676
|
+
#
|
3677
|
+
# * `TRAINING`\: The image version is compatible with SageMaker training
|
3678
|
+
# jobs.
|
3679
|
+
#
|
3680
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
3681
|
+
# inference jobs.
|
3682
|
+
#
|
3683
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
3684
|
+
# notebook kernels.
|
3685
|
+
#
|
3686
|
+
# @option params [String] :ml_framework
|
3687
|
+
# The machine learning framework vended in the image version.
|
3688
|
+
#
|
3689
|
+
# @option params [String] :programming_lang
|
3690
|
+
# The supported programming language and its version.
|
3691
|
+
#
|
3692
|
+
# @option params [String] :processor
|
3693
|
+
# Indicates CPU or GPU compatibility.
|
3694
|
+
#
|
3695
|
+
# * `CPU`\: The image version is compatible with CPU.
|
3696
|
+
#
|
3697
|
+
# * `GPU`\: The image version is compatible with GPU.
|
3698
|
+
#
|
3699
|
+
# @option params [Boolean] :horovod
|
3700
|
+
# Indicates Horovod compatibility.
|
3701
|
+
#
|
3702
|
+
# @option params [String] :release_notes
|
3703
|
+
# The maintainer description of the image version.
|
3704
|
+
#
|
3651
3705
|
# @return [Types::CreateImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3652
3706
|
#
|
3653
3707
|
# * {Types::CreateImageVersionResponse#image_version_arn #image_version_arn} => String
|
@@ -3658,6 +3712,14 @@ module Aws::SageMaker
|
|
3658
3712
|
# base_image: "ImageBaseImage", # required
|
3659
3713
|
# client_token: "ClientToken", # required
|
3660
3714
|
# image_name: "ImageName", # required
|
3715
|
+
# aliases: ["SageMakerImageVersionAlias"],
|
3716
|
+
# vendor_guidance: "NOT_PROVIDED", # accepts NOT_PROVIDED, STABLE, TO_BE_ARCHIVED, ARCHIVED
|
3717
|
+
# job_type: "TRAINING", # accepts TRAINING, INFERENCE, NOTEBOOK_KERNEL
|
3718
|
+
# ml_framework: "MLFramework",
|
3719
|
+
# programming_lang: "ProgrammingLang",
|
3720
|
+
# processor: "CPU", # accepts CPU, GPU
|
3721
|
+
# horovod: false,
|
3722
|
+
# release_notes: "ReleaseNotes",
|
3661
3723
|
# })
|
3662
3724
|
#
|
3663
3725
|
# @example Response structure
|
@@ -8394,18 +8456,22 @@ module Aws::SageMaker
|
|
8394
8456
|
# version represents isn't deleted.
|
8395
8457
|
#
|
8396
8458
|
# @option params [required, String] :image_name
|
8397
|
-
# The name of the image.
|
8459
|
+
# The name of the image to delete.
|
8398
8460
|
#
|
8399
|
-
# @option params [
|
8461
|
+
# @option params [Integer] :version
|
8400
8462
|
# The version to delete.
|
8401
8463
|
#
|
8464
|
+
# @option params [String] :alias
|
8465
|
+
# The alias of the image to delete.
|
8466
|
+
#
|
8402
8467
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8403
8468
|
#
|
8404
8469
|
# @example Request syntax with placeholder values
|
8405
8470
|
#
|
8406
8471
|
# resp = client.delete_image_version({
|
8407
8472
|
# image_name: "ImageName", # required
|
8408
|
-
# version: 1,
|
8473
|
+
# version: 1,
|
8474
|
+
# alias: "SageMakerImageVersionAlias",
|
8409
8475
|
# })
|
8410
8476
|
#
|
8411
8477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion AWS API Documentation
|
@@ -9484,7 +9550,7 @@ module Aws::SageMaker
|
|
9484
9550
|
# resp.output_data_config.kms_key_id #=> String
|
9485
9551
|
# resp.output_data_config.s3_output_path #=> String
|
9486
9552
|
# resp.role_arn #=> String
|
9487
|
-
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
9553
|
+
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9488
9554
|
# resp.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
9489
9555
|
# resp.auto_ml_job_config.completion_criteria.max_candidates #=> Integer
|
9490
9556
|
# resp.auto_ml_job_config.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -9506,7 +9572,7 @@ module Aws::SageMaker
|
|
9506
9572
|
# resp.partial_failure_reasons[0].partial_failure_message #=> String
|
9507
9573
|
# resp.best_candidate.candidate_name #=> String
|
9508
9574
|
# resp.best_candidate.final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
9509
|
-
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
9575
|
+
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9510
9576
|
# resp.best_candidate.final_auto_ml_job_objective_metric.value #=> Float
|
9511
9577
|
# resp.best_candidate.objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
9512
9578
|
# resp.best_candidate.candidate_steps #=> Array
|
@@ -9526,7 +9592,7 @@ module Aws::SageMaker
|
|
9526
9592
|
# resp.best_candidate.candidate_properties.candidate_artifact_locations.explainability #=> String
|
9527
9593
|
# resp.best_candidate.candidate_properties.candidate_artifact_locations.model_insights #=> String
|
9528
9594
|
# resp.best_candidate.candidate_properties.candidate_metrics #=> Array
|
9529
|
-
# resp.best_candidate.candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
9595
|
+
# resp.best_candidate.candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9530
9596
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].value #=> Float
|
9531
9597
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
|
9532
9598
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss", "InferenceLatency"
|
@@ -9535,7 +9601,7 @@ module Aws::SageMaker
|
|
9535
9601
|
# resp.generate_candidate_definitions_only #=> Boolean
|
9536
9602
|
# resp.auto_ml_job_artifacts.candidate_definition_notebook_location #=> String
|
9537
9603
|
# resp.auto_ml_job_artifacts.data_exploration_notebook_location #=> String
|
9538
|
-
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
9604
|
+
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9539
9605
|
# resp.resolved_attributes.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
9540
9606
|
# resp.resolved_attributes.completion_criteria.max_candidates #=> Integer
|
9541
9607
|
# resp.resolved_attributes.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -11189,6 +11255,9 @@ module Aws::SageMaker
|
|
11189
11255
|
# The version of the image. If not specified, the latest version is
|
11190
11256
|
# described.
|
11191
11257
|
#
|
11258
|
+
# @option params [String] :alias
|
11259
|
+
# The alias of the image version.
|
11260
|
+
#
|
11192
11261
|
# @return [Types::DescribeImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11193
11262
|
#
|
11194
11263
|
# * {Types::DescribeImageVersionResponse#base_image #base_image} => String
|
@@ -11200,12 +11269,20 @@ module Aws::SageMaker
|
|
11200
11269
|
# * {Types::DescribeImageVersionResponse#image_version_status #image_version_status} => String
|
11201
11270
|
# * {Types::DescribeImageVersionResponse#last_modified_time #last_modified_time} => Time
|
11202
11271
|
# * {Types::DescribeImageVersionResponse#version #version} => Integer
|
11272
|
+
# * {Types::DescribeImageVersionResponse#vendor_guidance #vendor_guidance} => String
|
11273
|
+
# * {Types::DescribeImageVersionResponse#job_type #job_type} => String
|
11274
|
+
# * {Types::DescribeImageVersionResponse#ml_framework #ml_framework} => String
|
11275
|
+
# * {Types::DescribeImageVersionResponse#programming_lang #programming_lang} => String
|
11276
|
+
# * {Types::DescribeImageVersionResponse#processor #processor} => String
|
11277
|
+
# * {Types::DescribeImageVersionResponse#horovod #horovod} => Boolean
|
11278
|
+
# * {Types::DescribeImageVersionResponse#release_notes #release_notes} => String
|
11203
11279
|
#
|
11204
11280
|
# @example Request syntax with placeholder values
|
11205
11281
|
#
|
11206
11282
|
# resp = client.describe_image_version({
|
11207
11283
|
# image_name: "ImageName", # required
|
11208
11284
|
# version: 1,
|
11285
|
+
# alias: "SageMakerImageVersionAlias",
|
11209
11286
|
# })
|
11210
11287
|
#
|
11211
11288
|
# @example Response structure
|
@@ -11219,6 +11296,13 @@ module Aws::SageMaker
|
|
11219
11296
|
# resp.image_version_status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
|
11220
11297
|
# resp.last_modified_time #=> Time
|
11221
11298
|
# resp.version #=> Integer
|
11299
|
+
# resp.vendor_guidance #=> String, one of "NOT_PROVIDED", "STABLE", "TO_BE_ARCHIVED", "ARCHIVED"
|
11300
|
+
# resp.job_type #=> String, one of "TRAINING", "INFERENCE", "NOTEBOOK_KERNEL"
|
11301
|
+
# resp.ml_framework #=> String
|
11302
|
+
# resp.programming_lang #=> String
|
11303
|
+
# resp.processor #=> String, one of "CPU", "GPU"
|
11304
|
+
# resp.horovod #=> Boolean
|
11305
|
+
# resp.release_notes #=> String
|
11222
11306
|
#
|
11223
11307
|
#
|
11224
11308
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -14067,6 +14151,58 @@ module Aws::SageMaker
|
|
14067
14151
|
req.send_request(options)
|
14068
14152
|
end
|
14069
14153
|
|
14154
|
+
# Lists the aliases of a specified image or image version.
|
14155
|
+
#
|
14156
|
+
# @option params [required, String] :image_name
|
14157
|
+
# The name of the image.
|
14158
|
+
#
|
14159
|
+
# @option params [String] :alias
|
14160
|
+
# The alias of the image version.
|
14161
|
+
#
|
14162
|
+
# @option params [Integer] :version
|
14163
|
+
# The version of the image. If image version is not specified, the
|
14164
|
+
# aliases of all versions of the image are listed.
|
14165
|
+
#
|
14166
|
+
# @option params [Integer] :max_results
|
14167
|
+
# The maximum number of aliases to return.
|
14168
|
+
#
|
14169
|
+
# @option params [String] :next_token
|
14170
|
+
# If the previous call to `ListAliases` didn't return the full set of
|
14171
|
+
# aliases, the call returns a token for retrieving the next set of
|
14172
|
+
# aliases.
|
14173
|
+
#
|
14174
|
+
# @return [Types::ListAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14175
|
+
#
|
14176
|
+
# * {Types::ListAliasesResponse#sage_maker_image_version_aliases #sage_maker_image_version_aliases} => Array<String>
|
14177
|
+
# * {Types::ListAliasesResponse#next_token #next_token} => String
|
14178
|
+
#
|
14179
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
14180
|
+
#
|
14181
|
+
# @example Request syntax with placeholder values
|
14182
|
+
#
|
14183
|
+
# resp = client.list_aliases({
|
14184
|
+
# image_name: "ImageName", # required
|
14185
|
+
# alias: "SageMakerImageVersionAlias",
|
14186
|
+
# version: 1,
|
14187
|
+
# max_results: 1,
|
14188
|
+
# next_token: "NextToken",
|
14189
|
+
# })
|
14190
|
+
#
|
14191
|
+
# @example Response structure
|
14192
|
+
#
|
14193
|
+
# resp.sage_maker_image_version_aliases #=> Array
|
14194
|
+
# resp.sage_maker_image_version_aliases[0] #=> String
|
14195
|
+
# resp.next_token #=> String
|
14196
|
+
#
|
14197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliases AWS API Documentation
|
14198
|
+
#
|
14199
|
+
# @overload list_aliases(params = {})
|
14200
|
+
# @param [Hash] params ({})
|
14201
|
+
def list_aliases(params = {}, options = {})
|
14202
|
+
req = build_request(:list_aliases, params)
|
14203
|
+
req.send_request(options)
|
14204
|
+
end
|
14205
|
+
|
14070
14206
|
# Lists the AppImageConfigs in your account and their properties. The
|
14071
14207
|
# list can be filtered by creation time or modified time, and whether
|
14072
14208
|
# the AppImageConfig name contains a specified string.
|
@@ -14514,7 +14650,7 @@ module Aws::SageMaker
|
|
14514
14650
|
# resp.candidates #=> Array
|
14515
14651
|
# resp.candidates[0].candidate_name #=> String
|
14516
14652
|
# resp.candidates[0].final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
14517
|
-
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
14653
|
+
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
14518
14654
|
# resp.candidates[0].final_auto_ml_job_objective_metric.value #=> Float
|
14519
14655
|
# resp.candidates[0].objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
14520
14656
|
# resp.candidates[0].candidate_steps #=> Array
|
@@ -14534,7 +14670,7 @@ module Aws::SageMaker
|
|
14534
14670
|
# resp.candidates[0].candidate_properties.candidate_artifact_locations.explainability #=> String
|
14535
14671
|
# resp.candidates[0].candidate_properties.candidate_artifact_locations.model_insights #=> String
|
14536
14672
|
# resp.candidates[0].candidate_properties.candidate_metrics #=> Array
|
14537
|
-
# resp.candidates[0].candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
14673
|
+
# resp.candidates[0].candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
14538
14674
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].value #=> Float
|
14539
14675
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
|
14540
14676
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss", "InferenceLatency"
|
@@ -21060,8 +21196,8 @@ module Aws::SageMaker
|
|
21060
21196
|
# The name of the image to update.
|
21061
21197
|
#
|
21062
21198
|
# @option params [String] :role_arn
|
21063
|
-
# The new
|
21064
|
-
#
|
21199
|
+
# The new ARN for the IAM role that enables Amazon SageMaker to perform
|
21200
|
+
# tasks on your behalf.
|
21065
21201
|
#
|
21066
21202
|
# @return [Types::UpdateImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21067
21203
|
#
|
@@ -21090,6 +21226,103 @@ module Aws::SageMaker
|
|
21090
21226
|
req.send_request(options)
|
21091
21227
|
end
|
21092
21228
|
|
21229
|
+
# Updates the properties of a SageMaker image version.
|
21230
|
+
#
|
21231
|
+
# @option params [required, String] :image_name
|
21232
|
+
# The name of the image.
|
21233
|
+
#
|
21234
|
+
# @option params [String] :alias
|
21235
|
+
# The alias of the image version.
|
21236
|
+
#
|
21237
|
+
# @option params [Integer] :version
|
21238
|
+
# The version of the image.
|
21239
|
+
#
|
21240
|
+
# @option params [Array<String>] :aliases_to_add
|
21241
|
+
# A list of aliases to add.
|
21242
|
+
#
|
21243
|
+
# @option params [Array<String>] :aliases_to_delete
|
21244
|
+
# A list of aliases to delete.
|
21245
|
+
#
|
21246
|
+
# @option params [String] :vendor_guidance
|
21247
|
+
# The availability of the image version specified by the maintainer.
|
21248
|
+
#
|
21249
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for image
|
21250
|
+
# version stability.
|
21251
|
+
#
|
21252
|
+
# * `STABLE`\: The image version is stable.
|
21253
|
+
#
|
21254
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
21255
|
+
# image versions that are set to be archived are automatically
|
21256
|
+
# archived after three months.
|
21257
|
+
#
|
21258
|
+
# * `ARCHIVED`\: The image version is archived. Archived image versions
|
21259
|
+
# are not searchable and are no longer actively supported.
|
21260
|
+
#
|
21261
|
+
# @option params [String] :job_type
|
21262
|
+
# Indicates SageMaker job type compatibility.
|
21263
|
+
#
|
21264
|
+
# * `TRAINING`\: The image version is compatible with SageMaker training
|
21265
|
+
# jobs.
|
21266
|
+
#
|
21267
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
21268
|
+
# inference jobs.
|
21269
|
+
#
|
21270
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
21271
|
+
# notebook kernels.
|
21272
|
+
#
|
21273
|
+
# @option params [String] :ml_framework
|
21274
|
+
# The machine learning framework vended in the image version.
|
21275
|
+
#
|
21276
|
+
# @option params [String] :programming_lang
|
21277
|
+
# The supported programming language and its version.
|
21278
|
+
#
|
21279
|
+
# @option params [String] :processor
|
21280
|
+
# Indicates CPU or GPU compatibility.
|
21281
|
+
#
|
21282
|
+
# * `CPU`\: The image version is compatible with CPU.
|
21283
|
+
#
|
21284
|
+
# * `GPU`\: The image version is compatible with GPU.
|
21285
|
+
#
|
21286
|
+
# @option params [Boolean] :horovod
|
21287
|
+
# Indicates Horovod compatibility.
|
21288
|
+
#
|
21289
|
+
# @option params [String] :release_notes
|
21290
|
+
# The maintainer description of the image version.
|
21291
|
+
#
|
21292
|
+
# @return [Types::UpdateImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21293
|
+
#
|
21294
|
+
# * {Types::UpdateImageVersionResponse#image_version_arn #image_version_arn} => String
|
21295
|
+
#
|
21296
|
+
# @example Request syntax with placeholder values
|
21297
|
+
#
|
21298
|
+
# resp = client.update_image_version({
|
21299
|
+
# image_name: "ImageName", # required
|
21300
|
+
# alias: "SageMakerImageVersionAlias",
|
21301
|
+
# version: 1,
|
21302
|
+
# aliases_to_add: ["SageMakerImageVersionAlias"],
|
21303
|
+
# aliases_to_delete: ["SageMakerImageVersionAlias"],
|
21304
|
+
# vendor_guidance: "NOT_PROVIDED", # accepts NOT_PROVIDED, STABLE, TO_BE_ARCHIVED, ARCHIVED
|
21305
|
+
# job_type: "TRAINING", # accepts TRAINING, INFERENCE, NOTEBOOK_KERNEL
|
21306
|
+
# ml_framework: "MLFramework",
|
21307
|
+
# programming_lang: "ProgrammingLang",
|
21308
|
+
# processor: "CPU", # accepts CPU, GPU
|
21309
|
+
# horovod: false,
|
21310
|
+
# release_notes: "ReleaseNotes",
|
21311
|
+
# })
|
21312
|
+
#
|
21313
|
+
# @example Response structure
|
21314
|
+
#
|
21315
|
+
# resp.image_version_arn #=> String
|
21316
|
+
#
|
21317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersion AWS API Documentation
|
21318
|
+
#
|
21319
|
+
# @overload update_image_version(params = {})
|
21320
|
+
# @param [Hash] params ({})
|
21321
|
+
def update_image_version(params = {}, options = {})
|
21322
|
+
req = build_request(:update_image_version, params)
|
21323
|
+
req.send_request(options)
|
21324
|
+
end
|
21325
|
+
|
21093
21326
|
# Updates an inference experiment that you created. The status of the
|
21094
21327
|
# inference experiment has to be either `Created`, `Running`. For more
|
21095
21328
|
# information on the status of an inference experiment, see
|
@@ -22472,7 +22705,7 @@ module Aws::SageMaker
|
|
22472
22705
|
params: params,
|
22473
22706
|
config: config)
|
22474
22707
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
22475
|
-
context[:gem_version] = '1.
|
22708
|
+
context[:gem_version] = '1.158.0'
|
22476
22709
|
Seahorse::Client::Request.new(handlers, context)
|
22477
22710
|
end
|
22478
22711
|
|