aws-sdk-sagemaker 1.155.0 → 1.157.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 +252 -15
- data/lib/aws-sdk-sagemaker/client_api.rb +88 -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 +342 -31
- 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: b082ca52f03d7d82732093787abd9b675047c9a234b33d06420bcdf21719061e
|
4
|
+
data.tar.gz: c2cf439c12b984fb3a8593b8ead44ea6e8d5359f97d6c155d51a4b6716cf6bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccc8fa1c3a21c62ad46ccbd3e9908d6955a2382fa656ea2a56a894950c457bb5a3afce895b537dc8f47cdd717211da5d1731a6d5cfd1b9a3eef86c0c9732703f
|
7
|
+
data.tar.gz: a1a16740daeb725a07b7b695b2e59f2c0a919dca9d943bed10c373fe6864af213387af2b994188869624bc2aca0197768ac87b772261ae03d91bb9527329ddea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.157.0 (2022-12-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.156.0 (2022-12-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS sagemaker - Features: This release adds support for random seed, it's an integer value used to initialize a pseudo-random number generator. Setting a random seed will allow the hyperparameter tuning search strategies to produce more consistent configurations for the same tuning job.
|
13
|
+
|
4
14
|
1.155.0 (2022-12-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.157.0
|
@@ -967,7 +967,8 @@ module Aws::SageMaker
|
|
967
967
|
# The domain ID.
|
968
968
|
#
|
969
969
|
# @option params [String] :user_profile_name
|
970
|
-
# The user profile name.
|
970
|
+
# The user profile name. If this value is not set, then `SpaceName` must
|
971
|
+
# be set.
|
971
972
|
#
|
972
973
|
# @option params [required, String] :app_type
|
973
974
|
# The type of app.
|
@@ -993,7 +994,8 @@ module Aws::SageMaker
|
|
993
994
|
# </note>
|
994
995
|
#
|
995
996
|
# @option params [String] :space_name
|
996
|
-
# The name of the space.
|
997
|
+
# The name of the space. If this value is not set, then
|
998
|
+
# `UserProfileName` must be set.
|
997
999
|
#
|
998
1000
|
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
999
1001
|
#
|
@@ -3286,6 +3288,7 @@ module Aws::SageMaker
|
|
3286
3288
|
# tuning_job_completion_criteria: {
|
3287
3289
|
# target_objective_metric_value: 1.0, # required
|
3288
3290
|
# },
|
3291
|
+
# random_seed: 1,
|
3289
3292
|
# },
|
3290
3293
|
# training_job_definition: {
|
3291
3294
|
# definition_name: "HyperParameterTrainingJobDefinitionName",
|
@@ -3584,8 +3587,8 @@ module Aws::SageMaker
|
|
3584
3587
|
# The name of the image. Must be unique to your account.
|
3585
3588
|
#
|
3586
3589
|
# @option params [required, String] :role_arn
|
3587
|
-
# The
|
3588
|
-
#
|
3590
|
+
# The ARN of an IAM role that enables Amazon SageMaker to perform tasks
|
3591
|
+
# on your behalf.
|
3589
3592
|
#
|
3590
3593
|
# @option params [Array<Types::Tag>] :tags
|
3591
3594
|
# A list of tags to apply to the image.
|
@@ -3645,6 +3648,55 @@ module Aws::SageMaker
|
|
3645
3648
|
# @option params [required, String] :image_name
|
3646
3649
|
# The `ImageName` of the `Image` to create a version of.
|
3647
3650
|
#
|
3651
|
+
# @option params [Array<String>] :aliases
|
3652
|
+
# A list of aliases created with the image version.
|
3653
|
+
#
|
3654
|
+
# @option params [String] :vendor_guidance
|
3655
|
+
# The stability of the image version, specified by the maintainer.
|
3656
|
+
#
|
3657
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for image
|
3658
|
+
# version stability.
|
3659
|
+
#
|
3660
|
+
# * `STABLE`\: The image version is stable.
|
3661
|
+
#
|
3662
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
3663
|
+
# image versions that are set to be archived are automatically
|
3664
|
+
# archived after three months.
|
3665
|
+
#
|
3666
|
+
# * `ARCHIVED`\: The image version is archived. Archived image versions
|
3667
|
+
# are not searchable and are no longer actively supported.
|
3668
|
+
#
|
3669
|
+
# @option params [String] :job_type
|
3670
|
+
# Indicates SageMaker job type compatibility.
|
3671
|
+
#
|
3672
|
+
# * `TRAINING`\: The image version is compatible with SageMaker training
|
3673
|
+
# jobs.
|
3674
|
+
#
|
3675
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
3676
|
+
# inference jobs.
|
3677
|
+
#
|
3678
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
3679
|
+
# notebook kernels.
|
3680
|
+
#
|
3681
|
+
# @option params [String] :ml_framework
|
3682
|
+
# The machine learning framework vended in the image version.
|
3683
|
+
#
|
3684
|
+
# @option params [String] :programming_lang
|
3685
|
+
# The supported programming language and its version.
|
3686
|
+
#
|
3687
|
+
# @option params [String] :processor
|
3688
|
+
# Indicates CPU or GPU compatibility.
|
3689
|
+
#
|
3690
|
+
# * `CPU`\: The image version is compatible with CPU.
|
3691
|
+
#
|
3692
|
+
# * `GPU`\: The image version is compatible with GPU.
|
3693
|
+
#
|
3694
|
+
# @option params [Boolean] :horovod
|
3695
|
+
# Indicates Horovod compatibility.
|
3696
|
+
#
|
3697
|
+
# @option params [String] :release_notes
|
3698
|
+
# The maintainer description of the image version.
|
3699
|
+
#
|
3648
3700
|
# @return [Types::CreateImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3649
3701
|
#
|
3650
3702
|
# * {Types::CreateImageVersionResponse#image_version_arn #image_version_arn} => String
|
@@ -3655,6 +3707,14 @@ module Aws::SageMaker
|
|
3655
3707
|
# base_image: "ImageBaseImage", # required
|
3656
3708
|
# client_token: "ClientToken", # required
|
3657
3709
|
# image_name: "ImageName", # required
|
3710
|
+
# aliases: ["SageMakerImageVersionAlias"],
|
3711
|
+
# vendor_guidance: "NOT_PROVIDED", # accepts NOT_PROVIDED, STABLE, TO_BE_ARCHIVED, ARCHIVED
|
3712
|
+
# job_type: "TRAINING", # accepts TRAINING, INFERENCE, NOTEBOOK_KERNEL
|
3713
|
+
# ml_framework: "MLFramework",
|
3714
|
+
# programming_lang: "ProgrammingLang",
|
3715
|
+
# processor: "CPU", # accepts CPU, GPU
|
3716
|
+
# horovod: false,
|
3717
|
+
# release_notes: "ReleaseNotes",
|
3658
3718
|
# })
|
3659
3719
|
#
|
3660
3720
|
# @example Response structure
|
@@ -7821,7 +7881,8 @@ module Aws::SageMaker
|
|
7821
7881
|
# The domain ID.
|
7822
7882
|
#
|
7823
7883
|
# @option params [String] :user_profile_name
|
7824
|
-
# The user profile name.
|
7884
|
+
# The user profile name. If this value is not set, then `SpaceName` must
|
7885
|
+
# be set.
|
7825
7886
|
#
|
7826
7887
|
# @option params [required, String] :app_type
|
7827
7888
|
# The type of app.
|
@@ -7830,7 +7891,8 @@ module Aws::SageMaker
|
|
7830
7891
|
# The name of the app.
|
7831
7892
|
#
|
7832
7893
|
# @option params [String] :space_name
|
7833
|
-
# The name of the space.
|
7894
|
+
# The name of the space. If this value is not set, then
|
7895
|
+
# `UserProfileName` must be set.
|
7834
7896
|
#
|
7835
7897
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7836
7898
|
#
|
@@ -8389,18 +8451,22 @@ module Aws::SageMaker
|
|
8389
8451
|
# version represents isn't deleted.
|
8390
8452
|
#
|
8391
8453
|
# @option params [required, String] :image_name
|
8392
|
-
# The name of the image.
|
8454
|
+
# The name of the image to delete.
|
8393
8455
|
#
|
8394
|
-
# @option params [
|
8456
|
+
# @option params [Integer] :version
|
8395
8457
|
# The version to delete.
|
8396
8458
|
#
|
8459
|
+
# @option params [String] :alias
|
8460
|
+
# The alias of the image to delete.
|
8461
|
+
#
|
8397
8462
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8398
8463
|
#
|
8399
8464
|
# @example Request syntax with placeholder values
|
8400
8465
|
#
|
8401
8466
|
# resp = client.delete_image_version({
|
8402
8467
|
# image_name: "ImageName", # required
|
8403
|
-
# version: 1,
|
8468
|
+
# version: 1,
|
8469
|
+
# alias: "SageMakerImageVersionAlias",
|
8404
8470
|
# })
|
8405
8471
|
#
|
8406
8472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion AWS API Documentation
|
@@ -9266,7 +9332,8 @@ module Aws::SageMaker
|
|
9266
9332
|
# The domain ID.
|
9267
9333
|
#
|
9268
9334
|
# @option params [String] :user_profile_name
|
9269
|
-
# The user profile name.
|
9335
|
+
# The user profile name. If this value is not set, then `SpaceName` must
|
9336
|
+
# be set.
|
9270
9337
|
#
|
9271
9338
|
# @option params [required, String] :app_type
|
9272
9339
|
# The type of app.
|
@@ -10913,6 +10980,7 @@ module Aws::SageMaker
|
|
10913
10980
|
# resp.hyper_parameter_tuning_job_config.parameter_ranges.categorical_parameter_ranges[0].values[0] #=> String
|
10914
10981
|
# resp.hyper_parameter_tuning_job_config.training_job_early_stopping_type #=> String, one of "Off", "Auto"
|
10915
10982
|
# resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.target_objective_metric_value #=> Float
|
10983
|
+
# resp.hyper_parameter_tuning_job_config.random_seed #=> Integer
|
10916
10984
|
# resp.training_job_definition.definition_name #=> String
|
10917
10985
|
# resp.training_job_definition.tuning_objective.type #=> String, one of "Maximize", "Minimize"
|
10918
10986
|
# resp.training_job_definition.tuning_objective.metric_name #=> String
|
@@ -11182,6 +11250,9 @@ module Aws::SageMaker
|
|
11182
11250
|
# The version of the image. If not specified, the latest version is
|
11183
11251
|
# described.
|
11184
11252
|
#
|
11253
|
+
# @option params [String] :alias
|
11254
|
+
# The alias of the image version.
|
11255
|
+
#
|
11185
11256
|
# @return [Types::DescribeImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11186
11257
|
#
|
11187
11258
|
# * {Types::DescribeImageVersionResponse#base_image #base_image} => String
|
@@ -11193,12 +11264,20 @@ module Aws::SageMaker
|
|
11193
11264
|
# * {Types::DescribeImageVersionResponse#image_version_status #image_version_status} => String
|
11194
11265
|
# * {Types::DescribeImageVersionResponse#last_modified_time #last_modified_time} => Time
|
11195
11266
|
# * {Types::DescribeImageVersionResponse#version #version} => Integer
|
11267
|
+
# * {Types::DescribeImageVersionResponse#vendor_guidance #vendor_guidance} => String
|
11268
|
+
# * {Types::DescribeImageVersionResponse#job_type #job_type} => String
|
11269
|
+
# * {Types::DescribeImageVersionResponse#ml_framework #ml_framework} => String
|
11270
|
+
# * {Types::DescribeImageVersionResponse#programming_lang #programming_lang} => String
|
11271
|
+
# * {Types::DescribeImageVersionResponse#processor #processor} => String
|
11272
|
+
# * {Types::DescribeImageVersionResponse#horovod #horovod} => Boolean
|
11273
|
+
# * {Types::DescribeImageVersionResponse#release_notes #release_notes} => String
|
11196
11274
|
#
|
11197
11275
|
# @example Request syntax with placeholder values
|
11198
11276
|
#
|
11199
11277
|
# resp = client.describe_image_version({
|
11200
11278
|
# image_name: "ImageName", # required
|
11201
11279
|
# version: 1,
|
11280
|
+
# alias: "SageMakerImageVersionAlias",
|
11202
11281
|
# })
|
11203
11282
|
#
|
11204
11283
|
# @example Response structure
|
@@ -11212,6 +11291,13 @@ module Aws::SageMaker
|
|
11212
11291
|
# resp.image_version_status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
|
11213
11292
|
# resp.last_modified_time #=> Time
|
11214
11293
|
# resp.version #=> Integer
|
11294
|
+
# resp.vendor_guidance #=> String, one of "NOT_PROVIDED", "STABLE", "TO_BE_ARCHIVED", "ARCHIVED"
|
11295
|
+
# resp.job_type #=> String, one of "TRAINING", "INFERENCE", "NOTEBOOK_KERNEL"
|
11296
|
+
# resp.ml_framework #=> String
|
11297
|
+
# resp.programming_lang #=> String
|
11298
|
+
# resp.processor #=> String, one of "CPU", "GPU"
|
11299
|
+
# resp.horovod #=> Boolean
|
11300
|
+
# resp.release_notes #=> String
|
11215
11301
|
#
|
11216
11302
|
#
|
11217
11303
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -14060,6 +14146,58 @@ module Aws::SageMaker
|
|
14060
14146
|
req.send_request(options)
|
14061
14147
|
end
|
14062
14148
|
|
14149
|
+
# Lists the aliases of a specified image or image version.
|
14150
|
+
#
|
14151
|
+
# @option params [required, String] :image_name
|
14152
|
+
# The name of the image.
|
14153
|
+
#
|
14154
|
+
# @option params [String] :alias
|
14155
|
+
# The alias of the image version.
|
14156
|
+
#
|
14157
|
+
# @option params [Integer] :version
|
14158
|
+
# The version of the image. If image version is not specified, the
|
14159
|
+
# aliases of all versions of the image are listed.
|
14160
|
+
#
|
14161
|
+
# @option params [Integer] :max_results
|
14162
|
+
# The maximum number of aliases to return.
|
14163
|
+
#
|
14164
|
+
# @option params [String] :next_token
|
14165
|
+
# If the previous call to `ListAliases` didn't return the full set of
|
14166
|
+
# aliases, the call returns a token for retrieving the next set of
|
14167
|
+
# aliases.
|
14168
|
+
#
|
14169
|
+
# @return [Types::ListAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14170
|
+
#
|
14171
|
+
# * {Types::ListAliasesResponse#sage_maker_image_version_aliases #sage_maker_image_version_aliases} => Array<String>
|
14172
|
+
# * {Types::ListAliasesResponse#next_token #next_token} => String
|
14173
|
+
#
|
14174
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
14175
|
+
#
|
14176
|
+
# @example Request syntax with placeholder values
|
14177
|
+
#
|
14178
|
+
# resp = client.list_aliases({
|
14179
|
+
# image_name: "ImageName", # required
|
14180
|
+
# alias: "SageMakerImageVersionAlias",
|
14181
|
+
# version: 1,
|
14182
|
+
# max_results: 1,
|
14183
|
+
# next_token: "NextToken",
|
14184
|
+
# })
|
14185
|
+
#
|
14186
|
+
# @example Response structure
|
14187
|
+
#
|
14188
|
+
# resp.sage_maker_image_version_aliases #=> Array
|
14189
|
+
# resp.sage_maker_image_version_aliases[0] #=> String
|
14190
|
+
# resp.next_token #=> String
|
14191
|
+
#
|
14192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliases AWS API Documentation
|
14193
|
+
#
|
14194
|
+
# @overload list_aliases(params = {})
|
14195
|
+
# @param [Hash] params ({})
|
14196
|
+
def list_aliases(params = {}, options = {})
|
14197
|
+
req = build_request(:list_aliases, params)
|
14198
|
+
req.send_request(options)
|
14199
|
+
end
|
14200
|
+
|
14063
14201
|
# Lists the AppImageConfigs in your account and their properties. The
|
14064
14202
|
# list can be filtered by creation time or modified time, and whether
|
14065
14203
|
# the AppImageConfig name contains a specified string.
|
@@ -14165,10 +14303,12 @@ module Aws::SageMaker
|
|
14165
14303
|
# A parameter to search for the domain ID.
|
14166
14304
|
#
|
14167
14305
|
# @option params [String] :user_profile_name_equals
|
14168
|
-
# A parameter to search by user profile name.
|
14306
|
+
# A parameter to search by user profile name. If `SpaceNameEquals` is
|
14307
|
+
# set, then this value cannot be set.
|
14169
14308
|
#
|
14170
14309
|
# @option params [String] :space_name_equals
|
14171
|
-
# A parameter to search by space name.
|
14310
|
+
# A parameter to search by space name. If `UserProfileNameEquals` is
|
14311
|
+
# set, then this value cannot be set.
|
14172
14312
|
#
|
14173
14313
|
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14174
14314
|
#
|
@@ -21051,8 +21191,8 @@ module Aws::SageMaker
|
|
21051
21191
|
# The name of the image to update.
|
21052
21192
|
#
|
21053
21193
|
# @option params [String] :role_arn
|
21054
|
-
# The new
|
21055
|
-
#
|
21194
|
+
# The new ARN for the IAM role that enables Amazon SageMaker to perform
|
21195
|
+
# tasks on your behalf.
|
21056
21196
|
#
|
21057
21197
|
# @return [Types::UpdateImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21058
21198
|
#
|
@@ -21081,6 +21221,103 @@ module Aws::SageMaker
|
|
21081
21221
|
req.send_request(options)
|
21082
21222
|
end
|
21083
21223
|
|
21224
|
+
# Updates the properties of a SageMaker image version.
|
21225
|
+
#
|
21226
|
+
# @option params [required, String] :image_name
|
21227
|
+
# The name of the image.
|
21228
|
+
#
|
21229
|
+
# @option params [String] :alias
|
21230
|
+
# The alias of the image version.
|
21231
|
+
#
|
21232
|
+
# @option params [Integer] :version
|
21233
|
+
# The version of the image.
|
21234
|
+
#
|
21235
|
+
# @option params [Array<String>] :aliases_to_add
|
21236
|
+
# A list of aliases to add.
|
21237
|
+
#
|
21238
|
+
# @option params [Array<String>] :aliases_to_delete
|
21239
|
+
# A list of aliases to delete.
|
21240
|
+
#
|
21241
|
+
# @option params [String] :vendor_guidance
|
21242
|
+
# The availability of the image version specified by the maintainer.
|
21243
|
+
#
|
21244
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for image
|
21245
|
+
# version stability.
|
21246
|
+
#
|
21247
|
+
# * `STABLE`\: The image version is stable.
|
21248
|
+
#
|
21249
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
21250
|
+
# image versions that are set to be archived are automatically
|
21251
|
+
# archived after three months.
|
21252
|
+
#
|
21253
|
+
# * `ARCHIVED`\: The image version is archived. Archived image versions
|
21254
|
+
# are not searchable and are no longer actively supported.
|
21255
|
+
#
|
21256
|
+
# @option params [String] :job_type
|
21257
|
+
# Indicates SageMaker job type compatibility.
|
21258
|
+
#
|
21259
|
+
# * `TRAINING`\: The image version is compatible with SageMaker training
|
21260
|
+
# jobs.
|
21261
|
+
#
|
21262
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
21263
|
+
# inference jobs.
|
21264
|
+
#
|
21265
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
21266
|
+
# notebook kernels.
|
21267
|
+
#
|
21268
|
+
# @option params [String] :ml_framework
|
21269
|
+
# The machine learning framework vended in the image version.
|
21270
|
+
#
|
21271
|
+
# @option params [String] :programming_lang
|
21272
|
+
# The supported programming language and its version.
|
21273
|
+
#
|
21274
|
+
# @option params [String] :processor
|
21275
|
+
# Indicates CPU or GPU compatibility.
|
21276
|
+
#
|
21277
|
+
# * `CPU`\: The image version is compatible with CPU.
|
21278
|
+
#
|
21279
|
+
# * `GPU`\: The image version is compatible with GPU.
|
21280
|
+
#
|
21281
|
+
# @option params [Boolean] :horovod
|
21282
|
+
# Indicates Horovod compatibility.
|
21283
|
+
#
|
21284
|
+
# @option params [String] :release_notes
|
21285
|
+
# The maintainer description of the image version.
|
21286
|
+
#
|
21287
|
+
# @return [Types::UpdateImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21288
|
+
#
|
21289
|
+
# * {Types::UpdateImageVersionResponse#image_version_arn #image_version_arn} => String
|
21290
|
+
#
|
21291
|
+
# @example Request syntax with placeholder values
|
21292
|
+
#
|
21293
|
+
# resp = client.update_image_version({
|
21294
|
+
# image_name: "ImageName", # required
|
21295
|
+
# alias: "SageMakerImageVersionAlias",
|
21296
|
+
# version: 1,
|
21297
|
+
# aliases_to_add: ["SageMakerImageVersionAlias"],
|
21298
|
+
# aliases_to_delete: ["SageMakerImageVersionAlias"],
|
21299
|
+
# vendor_guidance: "NOT_PROVIDED", # accepts NOT_PROVIDED, STABLE, TO_BE_ARCHIVED, ARCHIVED
|
21300
|
+
# job_type: "TRAINING", # accepts TRAINING, INFERENCE, NOTEBOOK_KERNEL
|
21301
|
+
# ml_framework: "MLFramework",
|
21302
|
+
# programming_lang: "ProgrammingLang",
|
21303
|
+
# processor: "CPU", # accepts CPU, GPU
|
21304
|
+
# horovod: false,
|
21305
|
+
# release_notes: "ReleaseNotes",
|
21306
|
+
# })
|
21307
|
+
#
|
21308
|
+
# @example Response structure
|
21309
|
+
#
|
21310
|
+
# resp.image_version_arn #=> String
|
21311
|
+
#
|
21312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersion AWS API Documentation
|
21313
|
+
#
|
21314
|
+
# @overload update_image_version(params = {})
|
21315
|
+
# @param [Hash] params ({})
|
21316
|
+
def update_image_version(params = {}, options = {})
|
21317
|
+
req = build_request(:update_image_version, params)
|
21318
|
+
req.send_request(options)
|
21319
|
+
end
|
21320
|
+
|
21084
21321
|
# Updates an inference experiment that you created. The status of the
|
21085
21322
|
# inference experiment has to be either `Created`, `Running`. For more
|
21086
21323
|
# information on the status of an inference experiment, see
|
@@ -22463,7 +22700,7 @@ module Aws::SageMaker
|
|
22463
22700
|
params: params,
|
22464
22701
|
config: config)
|
22465
22702
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
22466
|
-
context[:gem_version] = '1.
|
22703
|
+
context[:gem_version] = '1.157.0'
|
22467
22704
|
Seahorse::Client::Request.new(handlers, context)
|
22468
22705
|
end
|
22469
22706
|
|
@@ -792,6 +792,7 @@ module Aws::SageMaker
|
|
792
792
|
Group = Shapes::StringShape.new(name: 'Group')
|
793
793
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
794
794
|
HookParameters = Shapes::MapShape.new(name: 'HookParameters')
|
795
|
+
Horovod = Shapes::BooleanShape.new(name: 'Horovod')
|
795
796
|
HubArn = Shapes::StringShape.new(name: 'HubArn')
|
796
797
|
HubContentArn = Shapes::StringShape.new(name: 'HubContentArn')
|
797
798
|
HubContentDependency = Shapes::StructureShape.new(name: 'HubContentDependency')
|
@@ -936,6 +937,7 @@ module Aws::SageMaker
|
|
936
937
|
JobDurationInSeconds = Shapes::IntegerShape.new(name: 'JobDurationInSeconds')
|
937
938
|
JobReferenceCode = Shapes::StringShape.new(name: 'JobReferenceCode')
|
938
939
|
JobReferenceCodeContains = Shapes::StringShape.new(name: 'JobReferenceCodeContains')
|
940
|
+
JobType = Shapes::StringShape.new(name: 'JobType')
|
939
941
|
JoinSource = Shapes::StringShape.new(name: 'JoinSource')
|
940
942
|
JsonContentType = Shapes::StringShape.new(name: 'JsonContentType')
|
941
943
|
JsonContentTypes = Shapes::ListShape.new(name: 'JsonContentTypes')
|
@@ -988,6 +990,8 @@ module Aws::SageMaker
|
|
988
990
|
ListActionsResponse = Shapes::StructureShape.new(name: 'ListActionsResponse')
|
989
991
|
ListAlgorithmsInput = Shapes::StructureShape.new(name: 'ListAlgorithmsInput')
|
990
992
|
ListAlgorithmsOutput = Shapes::StructureShape.new(name: 'ListAlgorithmsOutput')
|
993
|
+
ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
|
994
|
+
ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
|
991
995
|
ListAppImageConfigsRequest = Shapes::StructureShape.new(name: 'ListAppImageConfigsRequest')
|
992
996
|
ListAppImageConfigsResponse = Shapes::StructureShape.new(name: 'ListAppImageConfigsResponse')
|
993
997
|
ListAppsRequest = Shapes::StructureShape.new(name: 'ListAppsRequest')
|
@@ -1137,6 +1141,7 @@ module Aws::SageMaker
|
|
1137
1141
|
ListWorkteamsResponse = Shapes::StructureShape.new(name: 'ListWorkteamsResponse')
|
1138
1142
|
ListWorkteamsSortByOptions = Shapes::StringShape.new(name: 'ListWorkteamsSortByOptions')
|
1139
1143
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
1144
|
+
MLFramework = Shapes::StringShape.new(name: 'MLFramework')
|
1140
1145
|
MaxAutoMLJobRuntimeInSeconds = Shapes::IntegerShape.new(name: 'MaxAutoMLJobRuntimeInSeconds')
|
1141
1146
|
MaxCandidates = Shapes::IntegerShape.new(name: 'MaxCandidates')
|
1142
1147
|
MaxConcurrentInvocationsPerInstance = Shapes::IntegerShape.new(name: 'MaxConcurrentInvocationsPerInstance')
|
@@ -1467,6 +1472,7 @@ module Aws::SageMaker
|
|
1467
1472
|
ProcessingS3UploadMode = Shapes::StringShape.new(name: 'ProcessingS3UploadMode')
|
1468
1473
|
ProcessingStoppingCondition = Shapes::StructureShape.new(name: 'ProcessingStoppingCondition')
|
1469
1474
|
ProcessingVolumeSizeInGB = Shapes::IntegerShape.new(name: 'ProcessingVolumeSizeInGB')
|
1475
|
+
Processor = Shapes::StringShape.new(name: 'Processor')
|
1470
1476
|
ProductId = Shapes::StringShape.new(name: 'ProductId')
|
1471
1477
|
ProductListings = Shapes::ListShape.new(name: 'ProductListings')
|
1472
1478
|
ProductionVariant = Shapes::StructureShape.new(name: 'ProductionVariant')
|
@@ -1491,6 +1497,7 @@ module Aws::SageMaker
|
|
1491
1497
|
ProfilingIntervalInMilliseconds = Shapes::IntegerShape.new(name: 'ProfilingIntervalInMilliseconds')
|
1492
1498
|
ProfilingParameters = Shapes::MapShape.new(name: 'ProfilingParameters')
|
1493
1499
|
ProfilingStatus = Shapes::StringShape.new(name: 'ProfilingStatus')
|
1500
|
+
ProgrammingLang = Shapes::StringShape.new(name: 'ProgrammingLang')
|
1494
1501
|
Project = Shapes::StructureShape.new(name: 'Project')
|
1495
1502
|
ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
|
1496
1503
|
ProjectEntityName = Shapes::StringShape.new(name: 'ProjectEntityName')
|
@@ -1528,6 +1535,7 @@ module Aws::SageMaker
|
|
1528
1535
|
RStudioServerProDomainSettings = Shapes::StructureShape.new(name: 'RStudioServerProDomainSettings')
|
1529
1536
|
RStudioServerProDomainSettingsForUpdate = Shapes::StructureShape.new(name: 'RStudioServerProDomainSettingsForUpdate')
|
1530
1537
|
RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
|
1538
|
+
RandomSeed = Shapes::IntegerShape.new(name: 'RandomSeed')
|
1531
1539
|
RealTimeInferenceConfig = Shapes::StructureShape.new(name: 'RealTimeInferenceConfig')
|
1532
1540
|
RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
|
1533
1541
|
RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
|
@@ -1563,6 +1571,7 @@ module Aws::SageMaker
|
|
1563
1571
|
RedshiftUserName = Shapes::StringShape.new(name: 'RedshiftUserName')
|
1564
1572
|
RegisterDevicesRequest = Shapes::StructureShape.new(name: 'RegisterDevicesRequest')
|
1565
1573
|
RegisterModelStepMetadata = Shapes::StructureShape.new(name: 'RegisterModelStepMetadata')
|
1574
|
+
ReleaseNotes = Shapes::StringShape.new(name: 'ReleaseNotes')
|
1566
1575
|
RenderUiTemplateRequest = Shapes::StructureShape.new(name: 'RenderUiTemplateRequest')
|
1567
1576
|
RenderUiTemplateResponse = Shapes::StructureShape.new(name: 'RenderUiTemplateResponse')
|
1568
1577
|
RenderableTask = Shapes::StructureShape.new(name: 'RenderableTask')
|
@@ -1604,6 +1613,8 @@ module Aws::SageMaker
|
|
1604
1613
|
S3OutputPath = Shapes::StringShape.new(name: 'S3OutputPath')
|
1605
1614
|
S3StorageConfig = Shapes::StructureShape.new(name: 'S3StorageConfig')
|
1606
1615
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
1616
|
+
SageMakerImageVersionAlias = Shapes::StringShape.new(name: 'SageMakerImageVersionAlias')
|
1617
|
+
SageMakerImageVersionAliases = Shapes::ListShape.new(name: 'SageMakerImageVersionAliases')
|
1607
1618
|
SagemakerServicecatalogStatus = Shapes::StringShape.new(name: 'SagemakerServicecatalogStatus')
|
1608
1619
|
SamplingPercentage = Shapes::IntegerShape.new(name: 'SamplingPercentage')
|
1609
1620
|
ScheduleConfig = Shapes::StructureShape.new(name: 'ScheduleConfig')
|
@@ -1866,6 +1877,8 @@ module Aws::SageMaker
|
|
1866
1877
|
UpdateHubResponse = Shapes::StructureShape.new(name: 'UpdateHubResponse')
|
1867
1878
|
UpdateImageRequest = Shapes::StructureShape.new(name: 'UpdateImageRequest')
|
1868
1879
|
UpdateImageResponse = Shapes::StructureShape.new(name: 'UpdateImageResponse')
|
1880
|
+
UpdateImageVersionRequest = Shapes::StructureShape.new(name: 'UpdateImageVersionRequest')
|
1881
|
+
UpdateImageVersionResponse = Shapes::StructureShape.new(name: 'UpdateImageVersionResponse')
|
1869
1882
|
UpdateInferenceExperimentRequest = Shapes::StructureShape.new(name: 'UpdateInferenceExperimentRequest')
|
1870
1883
|
UpdateInferenceExperimentResponse = Shapes::StructureShape.new(name: 'UpdateInferenceExperimentResponse')
|
1871
1884
|
UpdateModelCardRequest = Shapes::StructureShape.new(name: 'UpdateModelCardRequest')
|
@@ -1917,6 +1930,7 @@ module Aws::SageMaker
|
|
1917
1930
|
VariantStatus = Shapes::StringShape.new(name: 'VariantStatus')
|
1918
1931
|
VariantStatusMessage = Shapes::StringShape.new(name: 'VariantStatusMessage')
|
1919
1932
|
VariantWeight = Shapes::FloatShape.new(name: 'VariantWeight')
|
1933
|
+
VendorGuidance = Shapes::StringShape.new(name: 'VendorGuidance')
|
1920
1934
|
VersionId = Shapes::StringShape.new(name: 'VersionId')
|
1921
1935
|
VersionedArnOrName = Shapes::StringShape.new(name: 'VersionedArnOrName')
|
1922
1936
|
Vertex = Shapes::StructureShape.new(name: 'Vertex')
|
@@ -2790,6 +2804,14 @@ module Aws::SageMaker
|
|
2790
2804
|
CreateImageVersionRequest.add_member(:base_image, Shapes::ShapeRef.new(shape: ImageBaseImage, required: true, location_name: "BaseImage"))
|
2791
2805
|
CreateImageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2792
2806
|
CreateImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
2807
|
+
CreateImageVersionRequest.add_member(:aliases, Shapes::ShapeRef.new(shape: SageMakerImageVersionAliases, location_name: "Aliases"))
|
2808
|
+
CreateImageVersionRequest.add_member(:vendor_guidance, Shapes::ShapeRef.new(shape: VendorGuidance, location_name: "VendorGuidance"))
|
2809
|
+
CreateImageVersionRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
2810
|
+
CreateImageVersionRequest.add_member(:ml_framework, Shapes::ShapeRef.new(shape: MLFramework, location_name: "MLFramework"))
|
2811
|
+
CreateImageVersionRequest.add_member(:programming_lang, Shapes::ShapeRef.new(shape: ProgrammingLang, location_name: "ProgrammingLang"))
|
2812
|
+
CreateImageVersionRequest.add_member(:processor, Shapes::ShapeRef.new(shape: Processor, location_name: "Processor"))
|
2813
|
+
CreateImageVersionRequest.add_member(:horovod, Shapes::ShapeRef.new(shape: Horovod, location_name: "Horovod"))
|
2814
|
+
CreateImageVersionRequest.add_member(:release_notes, Shapes::ShapeRef.new(shape: ReleaseNotes, location_name: "ReleaseNotes"))
|
2793
2815
|
CreateImageVersionRequest.struct_class = Types::CreateImageVersionRequest
|
2794
2816
|
|
2795
2817
|
CreateImageVersionResponse.add_member(:image_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArn, location_name: "ImageVersionArn"))
|
@@ -3362,7 +3384,8 @@ module Aws::SageMaker
|
|
3362
3384
|
DeleteImageResponse.struct_class = Types::DeleteImageResponse
|
3363
3385
|
|
3364
3386
|
DeleteImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
3365
|
-
DeleteImageVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber,
|
3387
|
+
DeleteImageVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "Version"))
|
3388
|
+
DeleteImageVersionRequest.add_member(:alias, Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias, location_name: "Alias"))
|
3366
3389
|
DeleteImageVersionRequest.struct_class = Types::DeleteImageVersionRequest
|
3367
3390
|
|
3368
3391
|
DeleteImageVersionResponse.struct_class = Types::DeleteImageVersionResponse
|
@@ -3936,6 +3959,7 @@ module Aws::SageMaker
|
|
3936
3959
|
|
3937
3960
|
DescribeImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
3938
3961
|
DescribeImageVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "Version"))
|
3962
|
+
DescribeImageVersionRequest.add_member(:alias, Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias, location_name: "Alias"))
|
3939
3963
|
DescribeImageVersionRequest.struct_class = Types::DescribeImageVersionRequest
|
3940
3964
|
|
3941
3965
|
DescribeImageVersionResponse.add_member(:base_image, Shapes::ShapeRef.new(shape: ImageBaseImage, location_name: "BaseImage"))
|
@@ -3947,6 +3971,13 @@ module Aws::SageMaker
|
|
3947
3971
|
DescribeImageVersionResponse.add_member(:image_version_status, Shapes::ShapeRef.new(shape: ImageVersionStatus, location_name: "ImageVersionStatus"))
|
3948
3972
|
DescribeImageVersionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
3949
3973
|
DescribeImageVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "Version"))
|
3974
|
+
DescribeImageVersionResponse.add_member(:vendor_guidance, Shapes::ShapeRef.new(shape: VendorGuidance, location_name: "VendorGuidance"))
|
3975
|
+
DescribeImageVersionResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
3976
|
+
DescribeImageVersionResponse.add_member(:ml_framework, Shapes::ShapeRef.new(shape: MLFramework, location_name: "MLFramework"))
|
3977
|
+
DescribeImageVersionResponse.add_member(:programming_lang, Shapes::ShapeRef.new(shape: ProgrammingLang, location_name: "ProgrammingLang"))
|
3978
|
+
DescribeImageVersionResponse.add_member(:processor, Shapes::ShapeRef.new(shape: Processor, location_name: "Processor"))
|
3979
|
+
DescribeImageVersionResponse.add_member(:horovod, Shapes::ShapeRef.new(shape: Horovod, location_name: "Horovod"))
|
3980
|
+
DescribeImageVersionResponse.add_member(:release_notes, Shapes::ShapeRef.new(shape: ReleaseNotes, location_name: "ReleaseNotes"))
|
3950
3981
|
DescribeImageVersionResponse.struct_class = Types::DescribeImageVersionResponse
|
3951
3982
|
|
3952
3983
|
DescribeInferenceExperimentRequest.add_member(:name, Shapes::ShapeRef.new(shape: InferenceExperimentName, required: true, location_name: "Name"))
|
@@ -5111,6 +5142,7 @@ module Aws::SageMaker
|
|
5111
5142
|
HyperParameterTuningJobConfig.add_member(:parameter_ranges, Shapes::ShapeRef.new(shape: ParameterRanges, location_name: "ParameterRanges"))
|
5112
5143
|
HyperParameterTuningJobConfig.add_member(:training_job_early_stopping_type, Shapes::ShapeRef.new(shape: TrainingJobEarlyStoppingType, location_name: "TrainingJobEarlyStoppingType"))
|
5113
5144
|
HyperParameterTuningJobConfig.add_member(:tuning_job_completion_criteria, Shapes::ShapeRef.new(shape: TuningJobCompletionCriteria, location_name: "TuningJobCompletionCriteria"))
|
5145
|
+
HyperParameterTuningJobConfig.add_member(:random_seed, Shapes::ShapeRef.new(shape: RandomSeed, location_name: "RandomSeed"))
|
5114
5146
|
HyperParameterTuningJobConfig.struct_class = Types::HyperParameterTuningJobConfig
|
5115
5147
|
|
5116
5148
|
HyperParameterTuningJobObjective.add_member(:type, Shapes::ShapeRef.new(shape: HyperParameterTuningJobObjectiveType, required: true, location_name: "Type"))
|
@@ -5467,6 +5499,17 @@ module Aws::SageMaker
|
|
5467
5499
|
ListAlgorithmsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5468
5500
|
ListAlgorithmsOutput.struct_class = Types::ListAlgorithmsOutput
|
5469
5501
|
|
5502
|
+
ListAliasesRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
5503
|
+
ListAliasesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias, location_name: "Alias"))
|
5504
|
+
ListAliasesRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "Version"))
|
5505
|
+
ListAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
5506
|
+
ListAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5507
|
+
ListAliasesRequest.struct_class = Types::ListAliasesRequest
|
5508
|
+
|
5509
|
+
ListAliasesResponse.add_member(:sage_maker_image_version_aliases, Shapes::ShapeRef.new(shape: SageMakerImageVersionAliases, location_name: "SageMakerImageVersionAliases"))
|
5510
|
+
ListAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5511
|
+
ListAliasesResponse.struct_class = Types::ListAliasesResponse
|
5512
|
+
|
5470
5513
|
ListAppImageConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
5471
5514
|
ListAppImageConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5472
5515
|
ListAppImageConfigsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: AppImageConfigName, location_name: "NameContains"))
|
@@ -7690,6 +7733,8 @@ module Aws::SageMaker
|
|
7690
7733
|
S3StorageConfig.add_member(:resolved_output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "ResolvedOutputS3Uri"))
|
7691
7734
|
S3StorageConfig.struct_class = Types::S3StorageConfig
|
7692
7735
|
|
7736
|
+
SageMakerImageVersionAliases.member = Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias)
|
7737
|
+
|
7693
7738
|
ScheduleConfig.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
7694
7739
|
ScheduleConfig.struct_class = Types::ScheduleConfig
|
7695
7740
|
|
@@ -8382,6 +8427,23 @@ module Aws::SageMaker
|
|
8382
8427
|
UpdateImageResponse.add_member(:image_arn, Shapes::ShapeRef.new(shape: ImageArn, location_name: "ImageArn"))
|
8383
8428
|
UpdateImageResponse.struct_class = Types::UpdateImageResponse
|
8384
8429
|
|
8430
|
+
UpdateImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
8431
|
+
UpdateImageVersionRequest.add_member(:alias, Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias, location_name: "Alias"))
|
8432
|
+
UpdateImageVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "Version"))
|
8433
|
+
UpdateImageVersionRequest.add_member(:aliases_to_add, Shapes::ShapeRef.new(shape: SageMakerImageVersionAliases, location_name: "AliasesToAdd"))
|
8434
|
+
UpdateImageVersionRequest.add_member(:aliases_to_delete, Shapes::ShapeRef.new(shape: SageMakerImageVersionAliases, location_name: "AliasesToDelete"))
|
8435
|
+
UpdateImageVersionRequest.add_member(:vendor_guidance, Shapes::ShapeRef.new(shape: VendorGuidance, location_name: "VendorGuidance"))
|
8436
|
+
UpdateImageVersionRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
8437
|
+
UpdateImageVersionRequest.add_member(:ml_framework, Shapes::ShapeRef.new(shape: MLFramework, location_name: "MLFramework"))
|
8438
|
+
UpdateImageVersionRequest.add_member(:programming_lang, Shapes::ShapeRef.new(shape: ProgrammingLang, location_name: "ProgrammingLang"))
|
8439
|
+
UpdateImageVersionRequest.add_member(:processor, Shapes::ShapeRef.new(shape: Processor, location_name: "Processor"))
|
8440
|
+
UpdateImageVersionRequest.add_member(:horovod, Shapes::ShapeRef.new(shape: Horovod, location_name: "Horovod"))
|
8441
|
+
UpdateImageVersionRequest.add_member(:release_notes, Shapes::ShapeRef.new(shape: ReleaseNotes, location_name: "ReleaseNotes"))
|
8442
|
+
UpdateImageVersionRequest.struct_class = Types::UpdateImageVersionRequest
|
8443
|
+
|
8444
|
+
UpdateImageVersionResponse.add_member(:image_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArn, location_name: "ImageVersionArn"))
|
8445
|
+
UpdateImageVersionResponse.struct_class = Types::UpdateImageVersionResponse
|
8446
|
+
|
8385
8447
|
UpdateInferenceExperimentRequest.add_member(:name, Shapes::ShapeRef.new(shape: InferenceExperimentName, required: true, location_name: "Name"))
|
8386
8448
|
UpdateInferenceExperimentRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: InferenceExperimentSchedule, location_name: "Schedule"))
|
8387
8449
|
UpdateInferenceExperimentRequest.add_member(:description, Shapes::ShapeRef.new(shape: InferenceExperimentDescription, location_name: "Description"))
|
@@ -10228,6 +10290,21 @@ module Aws::SageMaker
|
|
10228
10290
|
)
|
10229
10291
|
end)
|
10230
10292
|
|
10293
|
+
api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
|
10294
|
+
o.name = "ListAliases"
|
10295
|
+
o.http_method = "POST"
|
10296
|
+
o.http_request_uri = "/"
|
10297
|
+
o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
|
10298
|
+
o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
|
10299
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
10300
|
+
o[:pager] = Aws::Pager.new(
|
10301
|
+
limit_key: "max_results",
|
10302
|
+
tokens: {
|
10303
|
+
"next_token" => "next_token"
|
10304
|
+
}
|
10305
|
+
)
|
10306
|
+
end)
|
10307
|
+
|
10231
10308
|
api.add_operation(:list_app_image_configs, Seahorse::Model::Operation.new.tap do |o|
|
10232
10309
|
o.name = "ListAppImageConfigs"
|
10233
10310
|
o.http_method = "POST"
|
@@ -11576,6 +11653,16 @@ module Aws::SageMaker
|
|
11576
11653
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
11577
11654
|
end)
|
11578
11655
|
|
11656
|
+
api.add_operation(:update_image_version, Seahorse::Model::Operation.new.tap do |o|
|
11657
|
+
o.name = "UpdateImageVersion"
|
11658
|
+
o.http_method = "POST"
|
11659
|
+
o.http_request_uri = "/"
|
11660
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateImageVersionRequest)
|
11661
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateImageVersionResponse)
|
11662
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
11663
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
11664
|
+
end)
|
11665
|
+
|
11579
11666
|
api.add_operation(:update_inference_experiment, Seahorse::Model::Operation.new.tap do |o|
|
11580
11667
|
o.name = "UpdateInferenceExperiment"
|
11581
11668
|
o.http_method = "POST"
|
@@ -2405,6 +2405,20 @@ module Aws::SageMaker
|
|
2405
2405
|
end
|
2406
2406
|
end
|
2407
2407
|
|
2408
|
+
class ListAliases
|
2409
|
+
def self.build(context)
|
2410
|
+
unless context.config.regional_endpoint
|
2411
|
+
endpoint = context.config.endpoint.to_s
|
2412
|
+
end
|
2413
|
+
Aws::SageMaker::EndpointParameters.new(
|
2414
|
+
region: context.config.region,
|
2415
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2416
|
+
use_fips: context.config.use_fips_endpoint,
|
2417
|
+
endpoint: endpoint,
|
2418
|
+
)
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2408
2422
|
class ListAppImageConfigs
|
2409
2423
|
def self.build(context)
|
2410
2424
|
unless context.config.regional_endpoint
|
@@ -3945,6 +3959,20 @@ module Aws::SageMaker
|
|
3945
3959
|
end
|
3946
3960
|
end
|
3947
3961
|
|
3962
|
+
class UpdateImageVersion
|
3963
|
+
def self.build(context)
|
3964
|
+
unless context.config.regional_endpoint
|
3965
|
+
endpoint = context.config.endpoint.to_s
|
3966
|
+
end
|
3967
|
+
Aws::SageMaker::EndpointParameters.new(
|
3968
|
+
region: context.config.region,
|
3969
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3970
|
+
use_fips: context.config.use_fips_endpoint,
|
3971
|
+
endpoint: endpoint,
|
3972
|
+
)
|
3973
|
+
end
|
3974
|
+
end
|
3975
|
+
|
3948
3976
|
class UpdateInferenceExperiment
|
3949
3977
|
def self.build(context)
|
3950
3978
|
unless context.config.regional_endpoint
|
@@ -398,6 +398,8 @@ module Aws::SageMaker
|
|
398
398
|
Aws::SageMaker::Endpoints::ListActions.build(context)
|
399
399
|
when :list_algorithms
|
400
400
|
Aws::SageMaker::Endpoints::ListAlgorithms.build(context)
|
401
|
+
when :list_aliases
|
402
|
+
Aws::SageMaker::Endpoints::ListAliases.build(context)
|
401
403
|
when :list_app_image_configs
|
402
404
|
Aws::SageMaker::Endpoints::ListAppImageConfigs.build(context)
|
403
405
|
when :list_apps
|
@@ -618,6 +620,8 @@ module Aws::SageMaker
|
|
618
620
|
Aws::SageMaker::Endpoints::UpdateHub.build(context)
|
619
621
|
when :update_image
|
620
622
|
Aws::SageMaker::Endpoints::UpdateImage.build(context)
|
623
|
+
when :update_image_version
|
624
|
+
Aws::SageMaker::Endpoints::UpdateImageVersion.build(context)
|
621
625
|
when :update_inference_experiment
|
622
626
|
Aws::SageMaker::Endpoints::UpdateInferenceExperiment.build(context)
|
623
627
|
when :update_model_card
|
@@ -4011,7 +4011,8 @@ module Aws::SageMaker
|
|
4011
4011
|
# @return [String]
|
4012
4012
|
#
|
4013
4013
|
# @!attribute [rw] user_profile_name
|
4014
|
-
# The user profile name.
|
4014
|
+
# The user profile name. If this value is not set, then `SpaceName`
|
4015
|
+
# must be set.
|
4015
4016
|
# @return [String]
|
4016
4017
|
#
|
4017
4018
|
# @!attribute [rw] app_type
|
@@ -4042,7 +4043,8 @@ module Aws::SageMaker
|
|
4042
4043
|
# @return [Types::ResourceSpec]
|
4043
4044
|
#
|
4044
4045
|
# @!attribute [rw] space_name
|
4045
|
-
# The name of the space.
|
4046
|
+
# The name of the space. If this value is not set, then
|
4047
|
+
# `UserProfileName` must be set.
|
4046
4048
|
# @return [String]
|
4047
4049
|
#
|
4048
4050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppRequest AWS API Documentation
|
@@ -5379,8 +5381,8 @@ module Aws::SageMaker
|
|
5379
5381
|
# @return [String]
|
5380
5382
|
#
|
5381
5383
|
# @!attribute [rw] role_arn
|
5382
|
-
# The
|
5383
|
-
#
|
5384
|
+
# The ARN of an IAM role that enables Amazon SageMaker to perform
|
5385
|
+
# tasks on your behalf.
|
5384
5386
|
# @return [String]
|
5385
5387
|
#
|
5386
5388
|
# @!attribute [rw] tags
|
@@ -5400,7 +5402,7 @@ module Aws::SageMaker
|
|
5400
5402
|
end
|
5401
5403
|
|
5402
5404
|
# @!attribute [rw] image_arn
|
5403
|
-
# The
|
5405
|
+
# The ARN of the image.
|
5404
5406
|
# @return [String]
|
5405
5407
|
#
|
5406
5408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageResponse AWS API Documentation
|
@@ -5433,18 +5435,83 @@ module Aws::SageMaker
|
|
5433
5435
|
# The `ImageName` of the `Image` to create a version of.
|
5434
5436
|
# @return [String]
|
5435
5437
|
#
|
5438
|
+
# @!attribute [rw] aliases
|
5439
|
+
# A list of aliases created with the image version.
|
5440
|
+
# @return [Array<String>]
|
5441
|
+
#
|
5442
|
+
# @!attribute [rw] vendor_guidance
|
5443
|
+
# The stability of the image version, specified by the maintainer.
|
5444
|
+
#
|
5445
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for
|
5446
|
+
# image version stability.
|
5447
|
+
#
|
5448
|
+
# * `STABLE`\: The image version is stable.
|
5449
|
+
#
|
5450
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
5451
|
+
# image versions that are set to be archived are automatically
|
5452
|
+
# archived after three months.
|
5453
|
+
#
|
5454
|
+
# * `ARCHIVED`\: The image version is archived. Archived image
|
5455
|
+
# versions are not searchable and are no longer actively supported.
|
5456
|
+
# @return [String]
|
5457
|
+
#
|
5458
|
+
# @!attribute [rw] job_type
|
5459
|
+
# Indicates SageMaker job type compatibility.
|
5460
|
+
#
|
5461
|
+
# * `TRAINING`\: The image version is compatible with SageMaker
|
5462
|
+
# training jobs.
|
5463
|
+
#
|
5464
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
5465
|
+
# inference jobs.
|
5466
|
+
#
|
5467
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
5468
|
+
# notebook kernels.
|
5469
|
+
# @return [String]
|
5470
|
+
#
|
5471
|
+
# @!attribute [rw] ml_framework
|
5472
|
+
# The machine learning framework vended in the image version.
|
5473
|
+
# @return [String]
|
5474
|
+
#
|
5475
|
+
# @!attribute [rw] programming_lang
|
5476
|
+
# The supported programming language and its version.
|
5477
|
+
# @return [String]
|
5478
|
+
#
|
5479
|
+
# @!attribute [rw] processor
|
5480
|
+
# Indicates CPU or GPU compatibility.
|
5481
|
+
#
|
5482
|
+
# * `CPU`\: The image version is compatible with CPU.
|
5483
|
+
#
|
5484
|
+
# * `GPU`\: The image version is compatible with GPU.
|
5485
|
+
# @return [String]
|
5486
|
+
#
|
5487
|
+
# @!attribute [rw] horovod
|
5488
|
+
# Indicates Horovod compatibility.
|
5489
|
+
# @return [Boolean]
|
5490
|
+
#
|
5491
|
+
# @!attribute [rw] release_notes
|
5492
|
+
# The maintainer description of the image version.
|
5493
|
+
# @return [String]
|
5494
|
+
#
|
5436
5495
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersionRequest AWS API Documentation
|
5437
5496
|
#
|
5438
5497
|
class CreateImageVersionRequest < Struct.new(
|
5439
5498
|
:base_image,
|
5440
5499
|
:client_token,
|
5441
|
-
:image_name
|
5500
|
+
:image_name,
|
5501
|
+
:aliases,
|
5502
|
+
:vendor_guidance,
|
5503
|
+
:job_type,
|
5504
|
+
:ml_framework,
|
5505
|
+
:programming_lang,
|
5506
|
+
:processor,
|
5507
|
+
:horovod,
|
5508
|
+
:release_notes)
|
5442
5509
|
SENSITIVE = []
|
5443
5510
|
include Aws::Structure
|
5444
5511
|
end
|
5445
5512
|
|
5446
5513
|
# @!attribute [rw] image_version_arn
|
5447
|
-
# The
|
5514
|
+
# The ARN of the image version.
|
5448
5515
|
# @return [String]
|
5449
5516
|
#
|
5450
5517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersionResponse AWS API Documentation
|
@@ -8576,7 +8643,8 @@ module Aws::SageMaker
|
|
8576
8643
|
# @return [String]
|
8577
8644
|
#
|
8578
8645
|
# @!attribute [rw] user_profile_name
|
8579
|
-
# The user profile name.
|
8646
|
+
# The user profile name. If this value is not set, then `SpaceName`
|
8647
|
+
# must be set.
|
8580
8648
|
# @return [String]
|
8581
8649
|
#
|
8582
8650
|
# @!attribute [rw] app_type
|
@@ -8588,7 +8656,8 @@ module Aws::SageMaker
|
|
8588
8656
|
# @return [String]
|
8589
8657
|
#
|
8590
8658
|
# @!attribute [rw] space_name
|
8591
|
-
# The name of the space.
|
8659
|
+
# The name of the space. If this value is not set, then
|
8660
|
+
# `UserProfileName` must be set.
|
8592
8661
|
# @return [String]
|
8593
8662
|
#
|
8594
8663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppRequest AWS API Documentation
|
@@ -8927,18 +8996,23 @@ module Aws::SageMaker
|
|
8927
8996
|
class DeleteImageResponse < Aws::EmptyStructure; end
|
8928
8997
|
|
8929
8998
|
# @!attribute [rw] image_name
|
8930
|
-
# The name of the image.
|
8999
|
+
# The name of the image to delete.
|
8931
9000
|
# @return [String]
|
8932
9001
|
#
|
8933
9002
|
# @!attribute [rw] version
|
8934
9003
|
# The version to delete.
|
8935
9004
|
# @return [Integer]
|
8936
9005
|
#
|
9006
|
+
# @!attribute [rw] alias
|
9007
|
+
# The alias of the image to delete.
|
9008
|
+
# @return [String]
|
9009
|
+
#
|
8937
9010
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersionRequest AWS API Documentation
|
8938
9011
|
#
|
8939
9012
|
class DeleteImageVersionRequest < Struct.new(
|
8940
9013
|
:image_name,
|
8941
|
-
:version
|
9014
|
+
:version,
|
9015
|
+
:alias)
|
8942
9016
|
SENSITIVE = []
|
8943
9017
|
include Aws::Structure
|
8944
9018
|
end
|
@@ -9658,7 +9732,8 @@ module Aws::SageMaker
|
|
9658
9732
|
# @return [String]
|
9659
9733
|
#
|
9660
9734
|
# @!attribute [rw] user_profile_name
|
9661
|
-
# The user profile name.
|
9735
|
+
# The user profile name. If this value is not set, then `SpaceName`
|
9736
|
+
# must be set.
|
9662
9737
|
# @return [String]
|
9663
9738
|
#
|
9664
9739
|
# @!attribute [rw] app_type
|
@@ -9734,7 +9809,8 @@ module Aws::SageMaker
|
|
9734
9809
|
# @return [Types::ResourceSpec]
|
9735
9810
|
#
|
9736
9811
|
# @!attribute [rw] space_name
|
9737
|
-
# The name of the space.
|
9812
|
+
# The name of the space. If this value is not set, then
|
9813
|
+
# `UserProfileName` must be set.
|
9738
9814
|
# @return [String]
|
9739
9815
|
#
|
9740
9816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppResponse AWS API Documentation
|
@@ -11701,7 +11777,7 @@ module Aws::SageMaker
|
|
11701
11777
|
# @return [String]
|
11702
11778
|
#
|
11703
11779
|
# @!attribute [rw] image_arn
|
11704
|
-
# The
|
11780
|
+
# The ARN of the image.
|
11705
11781
|
# @return [String]
|
11706
11782
|
#
|
11707
11783
|
# @!attribute [rw] image_name
|
@@ -11717,8 +11793,8 @@ module Aws::SageMaker
|
|
11717
11793
|
# @return [Time]
|
11718
11794
|
#
|
11719
11795
|
# @!attribute [rw] role_arn
|
11720
|
-
# The
|
11721
|
-
#
|
11796
|
+
# The ARN of the IAM role that enables Amazon SageMaker to perform
|
11797
|
+
# tasks on your behalf.
|
11722
11798
|
# @return [String]
|
11723
11799
|
#
|
11724
11800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageResponse AWS API Documentation
|
@@ -11746,11 +11822,16 @@ module Aws::SageMaker
|
|
11746
11822
|
# described.
|
11747
11823
|
# @return [Integer]
|
11748
11824
|
#
|
11825
|
+
# @!attribute [rw] alias
|
11826
|
+
# The alias of the image version.
|
11827
|
+
# @return [String]
|
11828
|
+
#
|
11749
11829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersionRequest AWS API Documentation
|
11750
11830
|
#
|
11751
11831
|
class DescribeImageVersionRequest < Struct.new(
|
11752
11832
|
:image_name,
|
11753
|
-
:version
|
11833
|
+
:version,
|
11834
|
+
:alias)
|
11754
11835
|
SENSITIVE = []
|
11755
11836
|
include Aws::Structure
|
11756
11837
|
end
|
@@ -11774,7 +11855,7 @@ module Aws::SageMaker
|
|
11774
11855
|
# @return [String]
|
11775
11856
|
#
|
11776
11857
|
# @!attribute [rw] image_arn
|
11777
|
-
# The
|
11858
|
+
# The ARN of the image the version is based on.
|
11778
11859
|
# @return [String]
|
11779
11860
|
#
|
11780
11861
|
# @!attribute [rw] image_version_arn
|
@@ -11793,6 +11874,59 @@ module Aws::SageMaker
|
|
11793
11874
|
# The version number.
|
11794
11875
|
# @return [Integer]
|
11795
11876
|
#
|
11877
|
+
# @!attribute [rw] vendor_guidance
|
11878
|
+
# The stability of the image version specified by the maintainer.
|
11879
|
+
#
|
11880
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for
|
11881
|
+
# image version stability.
|
11882
|
+
#
|
11883
|
+
# * `STABLE`\: The image version is stable.
|
11884
|
+
#
|
11885
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
11886
|
+
# image versions that are set to be archived are automatically
|
11887
|
+
# archived after three months.
|
11888
|
+
#
|
11889
|
+
# * `ARCHIVED`\: The image version is archived. Archived image
|
11890
|
+
# versions are not searchable and are no longer actively supported.
|
11891
|
+
# @return [String]
|
11892
|
+
#
|
11893
|
+
# @!attribute [rw] job_type
|
11894
|
+
# Indicates SageMaker job type compatibility.
|
11895
|
+
#
|
11896
|
+
# * `TRAINING`\: The image version is compatible with SageMaker
|
11897
|
+
# training jobs.
|
11898
|
+
#
|
11899
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
11900
|
+
# inference jobs.
|
11901
|
+
#
|
11902
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
11903
|
+
# notebook kernels.
|
11904
|
+
# @return [String]
|
11905
|
+
#
|
11906
|
+
# @!attribute [rw] ml_framework
|
11907
|
+
# The machine learning framework vended in the image version.
|
11908
|
+
# @return [String]
|
11909
|
+
#
|
11910
|
+
# @!attribute [rw] programming_lang
|
11911
|
+
# The supported programming language and its version.
|
11912
|
+
# @return [String]
|
11913
|
+
#
|
11914
|
+
# @!attribute [rw] processor
|
11915
|
+
# Indicates CPU or GPU compatibility.
|
11916
|
+
#
|
11917
|
+
# * `CPU`\: The image version is compatible with CPU.
|
11918
|
+
#
|
11919
|
+
# * `GPU`\: The image version is compatible with GPU.
|
11920
|
+
# @return [String]
|
11921
|
+
#
|
11922
|
+
# @!attribute [rw] horovod
|
11923
|
+
# Indicates Horovod compatibility.
|
11924
|
+
# @return [Boolean]
|
11925
|
+
#
|
11926
|
+
# @!attribute [rw] release_notes
|
11927
|
+
# The maintainer description of the image version.
|
11928
|
+
# @return [String]
|
11929
|
+
#
|
11796
11930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersionResponse AWS API Documentation
|
11797
11931
|
#
|
11798
11932
|
class DescribeImageVersionResponse < Struct.new(
|
@@ -11804,7 +11938,14 @@ module Aws::SageMaker
|
|
11804
11938
|
:image_version_arn,
|
11805
11939
|
:image_version_status,
|
11806
11940
|
:last_modified_time,
|
11807
|
-
:version
|
11941
|
+
:version,
|
11942
|
+
:vendor_guidance,
|
11943
|
+
:job_type,
|
11944
|
+
:ml_framework,
|
11945
|
+
:programming_lang,
|
11946
|
+
:processor,
|
11947
|
+
:horovod,
|
11948
|
+
:release_notes)
|
11808
11949
|
SENSITIVE = []
|
11809
11950
|
include Aws::Structure
|
11810
11951
|
end
|
@@ -18879,18 +19020,22 @@ module Aws::SageMaker
|
|
18879
19020
|
# @return [Types::HyperParameterTuningJobStrategyConfig]
|
18880
19021
|
#
|
18881
19022
|
# @!attribute [rw] hyper_parameter_tuning_job_objective
|
18882
|
-
# The HyperParameterTuningJobObjective
|
18883
|
-
#
|
19023
|
+
# The HyperParameterTuningJobObjective specifies the objective metric
|
19024
|
+
# used to evaluate the performance of training jobs launched by this
|
19025
|
+
# tuning job.
|
18884
19026
|
# @return [Types::HyperParameterTuningJobObjective]
|
18885
19027
|
#
|
18886
19028
|
# @!attribute [rw] resource_limits
|
18887
19029
|
# The ResourceLimits object that specifies the maximum number of
|
18888
|
-
# training
|
19030
|
+
# training and parallel training jobs that can be used for this
|
19031
|
+
# hyperparameter tuning job.
|
18889
19032
|
# @return [Types::ResourceLimits]
|
18890
19033
|
#
|
18891
19034
|
# @!attribute [rw] parameter_ranges
|
18892
19035
|
# The ParameterRanges object that specifies the ranges of
|
18893
|
-
# hyperparameters that this tuning job searches
|
19036
|
+
# hyperparameters that this tuning job searches over to find the
|
19037
|
+
# optimal configuration for the highest model performance against
|
19038
|
+
# .your chosen objective metric.
|
18894
19039
|
# @return [Types::ParameterRanges]
|
18895
19040
|
#
|
18896
19041
|
# @!attribute [rw] training_job_early_stopping_type
|
@@ -18922,6 +19067,13 @@ module Aws::SageMaker
|
|
18922
19067
|
# The tuning job's completion criteria.
|
18923
19068
|
# @return [Types::TuningJobCompletionCriteria]
|
18924
19069
|
#
|
19070
|
+
# @!attribute [rw] random_seed
|
19071
|
+
# A value used to initialize a pseudo-random number generator. Setting
|
19072
|
+
# a random seed and using the same seed later for the same tuning job
|
19073
|
+
# will allow hyperparameter optimization to find more a consistent
|
19074
|
+
# hyperparameter configuration between the two runs.
|
19075
|
+
# @return [Integer]
|
19076
|
+
#
|
18925
19077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobConfig AWS API Documentation
|
18926
19078
|
#
|
18927
19079
|
class HyperParameterTuningJobConfig < Struct.new(
|
@@ -18931,7 +19083,8 @@ module Aws::SageMaker
|
|
18931
19083
|
:resource_limits,
|
18932
19084
|
:parameter_ranges,
|
18933
19085
|
:training_job_early_stopping_type,
|
18934
|
-
:tuning_job_completion_criteria
|
19086
|
+
:tuning_job_completion_criteria,
|
19087
|
+
:random_seed)
|
18935
19088
|
SENSITIVE = []
|
18936
19089
|
include Aws::Structure
|
18937
19090
|
end
|
@@ -19446,7 +19599,7 @@ module Aws::SageMaker
|
|
19446
19599
|
# @return [String]
|
19447
19600
|
#
|
19448
19601
|
# @!attribute [rw] image_arn
|
19449
|
-
# The
|
19602
|
+
# The ARN of the image.
|
19450
19603
|
# @return [String]
|
19451
19604
|
#
|
19452
19605
|
# @!attribute [rw] image_name
|
@@ -19518,7 +19671,7 @@ module Aws::SageMaker
|
|
19518
19671
|
# @return [String]
|
19519
19672
|
#
|
19520
19673
|
# @!attribute [rw] image_arn
|
19521
|
-
# The
|
19674
|
+
# The ARN of the image the version is based on.
|
19522
19675
|
# @return [String]
|
19523
19676
|
#
|
19524
19677
|
# @!attribute [rw] image_version_arn
|
@@ -21145,6 +21298,58 @@ module Aws::SageMaker
|
|
21145
21298
|
include Aws::Structure
|
21146
21299
|
end
|
21147
21300
|
|
21301
|
+
# @!attribute [rw] image_name
|
21302
|
+
# The name of the image.
|
21303
|
+
# @return [String]
|
21304
|
+
#
|
21305
|
+
# @!attribute [rw] alias
|
21306
|
+
# The alias of the image version.
|
21307
|
+
# @return [String]
|
21308
|
+
#
|
21309
|
+
# @!attribute [rw] version
|
21310
|
+
# The version of the image. If image version is not specified, the
|
21311
|
+
# aliases of all versions of the image are listed.
|
21312
|
+
# @return [Integer]
|
21313
|
+
#
|
21314
|
+
# @!attribute [rw] max_results
|
21315
|
+
# The maximum number of aliases to return.
|
21316
|
+
# @return [Integer]
|
21317
|
+
#
|
21318
|
+
# @!attribute [rw] next_token
|
21319
|
+
# If the previous call to `ListAliases` didn't return the full set of
|
21320
|
+
# aliases, the call returns a token for retrieving the next set of
|
21321
|
+
# aliases.
|
21322
|
+
# @return [String]
|
21323
|
+
#
|
21324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliasesRequest AWS API Documentation
|
21325
|
+
#
|
21326
|
+
class ListAliasesRequest < Struct.new(
|
21327
|
+
:image_name,
|
21328
|
+
:alias,
|
21329
|
+
:version,
|
21330
|
+
:max_results,
|
21331
|
+
:next_token)
|
21332
|
+
SENSITIVE = []
|
21333
|
+
include Aws::Structure
|
21334
|
+
end
|
21335
|
+
|
21336
|
+
# @!attribute [rw] sage_maker_image_version_aliases
|
21337
|
+
# A list of SageMaker image version aliases.
|
21338
|
+
# @return [Array<String>]
|
21339
|
+
#
|
21340
|
+
# @!attribute [rw] next_token
|
21341
|
+
# A token for getting the next set of aliases, if more aliases exist.
|
21342
|
+
# @return [String]
|
21343
|
+
#
|
21344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliasesResponse AWS API Documentation
|
21345
|
+
#
|
21346
|
+
class ListAliasesResponse < Struct.new(
|
21347
|
+
:sage_maker_image_version_aliases,
|
21348
|
+
:next_token)
|
21349
|
+
SENSITIVE = []
|
21350
|
+
include Aws::Structure
|
21351
|
+
end
|
21352
|
+
|
21148
21353
|
# @!attribute [rw] max_results
|
21149
21354
|
# The maximum number of AppImageConfigs to return in the response. The
|
21150
21355
|
# default value is 10.
|
@@ -21247,11 +21452,13 @@ module Aws::SageMaker
|
|
21247
21452
|
# @return [String]
|
21248
21453
|
#
|
21249
21454
|
# @!attribute [rw] user_profile_name_equals
|
21250
|
-
# A parameter to search by user profile name.
|
21455
|
+
# A parameter to search by user profile name. If `SpaceNameEquals` is
|
21456
|
+
# set, then this value cannot be set.
|
21251
21457
|
# @return [String]
|
21252
21458
|
#
|
21253
21459
|
# @!attribute [rw] space_name_equals
|
21254
|
-
# A parameter to search by space name.
|
21460
|
+
# A parameter to search by space name. If `UserProfileNameEquals` is
|
21461
|
+
# set, then this value cannot be set.
|
21255
21462
|
# @return [String]
|
21256
21463
|
#
|
21257
21464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppsRequest AWS API Documentation
|
@@ -37215,8 +37422,8 @@ module Aws::SageMaker
|
|
37215
37422
|
# @return [String]
|
37216
37423
|
#
|
37217
37424
|
# @!attribute [rw] role_arn
|
37218
|
-
# The new
|
37219
|
-
#
|
37425
|
+
# The new ARN for the IAM role that enables Amazon SageMaker to
|
37426
|
+
# perform tasks on your behalf.
|
37220
37427
|
# @return [String]
|
37221
37428
|
#
|
37222
37429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageRequest AWS API Documentation
|
@@ -37232,7 +37439,7 @@ module Aws::SageMaker
|
|
37232
37439
|
end
|
37233
37440
|
|
37234
37441
|
# @!attribute [rw] image_arn
|
37235
|
-
# The
|
37442
|
+
# The ARN of the image.
|
37236
37443
|
# @return [String]
|
37237
37444
|
#
|
37238
37445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageResponse AWS API Documentation
|
@@ -37243,6 +37450,110 @@ module Aws::SageMaker
|
|
37243
37450
|
include Aws::Structure
|
37244
37451
|
end
|
37245
37452
|
|
37453
|
+
# @!attribute [rw] image_name
|
37454
|
+
# The name of the image.
|
37455
|
+
# @return [String]
|
37456
|
+
#
|
37457
|
+
# @!attribute [rw] alias
|
37458
|
+
# The alias of the image version.
|
37459
|
+
# @return [String]
|
37460
|
+
#
|
37461
|
+
# @!attribute [rw] version
|
37462
|
+
# The version of the image.
|
37463
|
+
# @return [Integer]
|
37464
|
+
#
|
37465
|
+
# @!attribute [rw] aliases_to_add
|
37466
|
+
# A list of aliases to add.
|
37467
|
+
# @return [Array<String>]
|
37468
|
+
#
|
37469
|
+
# @!attribute [rw] aliases_to_delete
|
37470
|
+
# A list of aliases to delete.
|
37471
|
+
# @return [Array<String>]
|
37472
|
+
#
|
37473
|
+
# @!attribute [rw] vendor_guidance
|
37474
|
+
# The availability of the image version specified by the maintainer.
|
37475
|
+
#
|
37476
|
+
# * `NOT_PROVIDED`\: The maintainers did not provide a status for
|
37477
|
+
# image version stability.
|
37478
|
+
#
|
37479
|
+
# * `STABLE`\: The image version is stable.
|
37480
|
+
#
|
37481
|
+
# * `TO_BE_ARCHIVED`\: The image version is set to be archived. Custom
|
37482
|
+
# image versions that are set to be archived are automatically
|
37483
|
+
# archived after three months.
|
37484
|
+
#
|
37485
|
+
# * `ARCHIVED`\: The image version is archived. Archived image
|
37486
|
+
# versions are not searchable and are no longer actively supported.
|
37487
|
+
# @return [String]
|
37488
|
+
#
|
37489
|
+
# @!attribute [rw] job_type
|
37490
|
+
# Indicates SageMaker job type compatibility.
|
37491
|
+
#
|
37492
|
+
# * `TRAINING`\: The image version is compatible with SageMaker
|
37493
|
+
# training jobs.
|
37494
|
+
#
|
37495
|
+
# * `INFERENCE`\: The image version is compatible with SageMaker
|
37496
|
+
# inference jobs.
|
37497
|
+
#
|
37498
|
+
# * `NOTEBOOK_KERNEL`\: The image version is compatible with SageMaker
|
37499
|
+
# notebook kernels.
|
37500
|
+
# @return [String]
|
37501
|
+
#
|
37502
|
+
# @!attribute [rw] ml_framework
|
37503
|
+
# The machine learning framework vended in the image version.
|
37504
|
+
# @return [String]
|
37505
|
+
#
|
37506
|
+
# @!attribute [rw] programming_lang
|
37507
|
+
# The supported programming language and its version.
|
37508
|
+
# @return [String]
|
37509
|
+
#
|
37510
|
+
# @!attribute [rw] processor
|
37511
|
+
# Indicates CPU or GPU compatibility.
|
37512
|
+
#
|
37513
|
+
# * `CPU`\: The image version is compatible with CPU.
|
37514
|
+
#
|
37515
|
+
# * `GPU`\: The image version is compatible with GPU.
|
37516
|
+
# @return [String]
|
37517
|
+
#
|
37518
|
+
# @!attribute [rw] horovod
|
37519
|
+
# Indicates Horovod compatibility.
|
37520
|
+
# @return [Boolean]
|
37521
|
+
#
|
37522
|
+
# @!attribute [rw] release_notes
|
37523
|
+
# The maintainer description of the image version.
|
37524
|
+
# @return [String]
|
37525
|
+
#
|
37526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersionRequest AWS API Documentation
|
37527
|
+
#
|
37528
|
+
class UpdateImageVersionRequest < Struct.new(
|
37529
|
+
:image_name,
|
37530
|
+
:alias,
|
37531
|
+
:version,
|
37532
|
+
:aliases_to_add,
|
37533
|
+
:aliases_to_delete,
|
37534
|
+
:vendor_guidance,
|
37535
|
+
:job_type,
|
37536
|
+
:ml_framework,
|
37537
|
+
:programming_lang,
|
37538
|
+
:processor,
|
37539
|
+
:horovod,
|
37540
|
+
:release_notes)
|
37541
|
+
SENSITIVE = []
|
37542
|
+
include Aws::Structure
|
37543
|
+
end
|
37544
|
+
|
37545
|
+
# @!attribute [rw] image_version_arn
|
37546
|
+
# The ARN of the image version.
|
37547
|
+
# @return [String]
|
37548
|
+
#
|
37549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersionResponse AWS API Documentation
|
37550
|
+
#
|
37551
|
+
class UpdateImageVersionResponse < Struct.new(
|
37552
|
+
:image_version_arn)
|
37553
|
+
SENSITIVE = []
|
37554
|
+
include Aws::Structure
|
37555
|
+
end
|
37556
|
+
|
37246
37557
|
# @!attribute [rw] name
|
37247
37558
|
# The name of the inference experiment to be updated.
|
37248
37559
|
# @return [String]
|
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.157.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: 2022-12-
|
11
|
+
date: 2022-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|