aws-sdk-sagemaker 1.156.0 → 1.157.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ea5a222e15f74abae62c3449bfdaf0d50003065a7fd2eaa8124a99adce444f7
4
- data.tar.gz: 9e8fff8720cf17fb07496681ea3a073dd1afe0e5aa0c1d7897042a5c37630df2
3
+ metadata.gz: b082ca52f03d7d82732093787abd9b675047c9a234b33d06420bcdf21719061e
4
+ data.tar.gz: c2cf439c12b984fb3a8593b8ead44ea6e8d5359f97d6c155d51a4b6716cf6bce
5
5
  SHA512:
6
- metadata.gz: 7ea7af4b20725ca41e4e95c3adce517e443b181aad2e6ca2a9c45eb75de68c66cfd2dda9ba2b9e924ab30245ecea33e776c80c2fceaca1c89fb7b2736317470e
7
- data.tar.gz: 8e2a6cce64c07e97470ff35b21dae7c45435af198553e734c5d04147e83fffd126d80d7a8a78f9a2fa444331650e948c98433282f6ec469a98715b6f6c01ff8c
6
+ metadata.gz: ccc8fa1c3a21c62ad46ccbd3e9908d6955a2382fa656ea2a56a894950c457bb5a3afce895b537dc8f47cdd717211da5d1731a6d5cfd1b9a3eef86c0c9732703f
7
+ data.tar.gz: a1a16740daeb725a07b7b695b2e59f2c0a919dca9d943bed10c373fe6864af213387af2b994188869624bc2aca0197768ac87b772261ae03d91bb9527329ddea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.156.0 (2022-12-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.156.0
1
+ 1.157.0
@@ -3587,8 +3587,8 @@ module Aws::SageMaker
3587
3587
  # The name of the image. Must be unique to your account.
3588
3588
  #
3589
3589
  # @option params [required, String] :role_arn
3590
- # The Amazon Resource Name (ARN) of an IAM role that enables Amazon
3591
- # SageMaker to perform tasks on your behalf.
3590
+ # The ARN of an IAM role that enables Amazon SageMaker to perform tasks
3591
+ # on your behalf.
3592
3592
  #
3593
3593
  # @option params [Array<Types::Tag>] :tags
3594
3594
  # A list of tags to apply to the image.
@@ -3648,6 +3648,55 @@ module Aws::SageMaker
3648
3648
  # @option params [required, String] :image_name
3649
3649
  # The `ImageName` of the `Image` to create a version of.
3650
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
+ #
3651
3700
  # @return [Types::CreateImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3652
3701
  #
3653
3702
  # * {Types::CreateImageVersionResponse#image_version_arn #image_version_arn} => String
@@ -3658,6 +3707,14 @@ module Aws::SageMaker
3658
3707
  # base_image: "ImageBaseImage", # required
3659
3708
  # client_token: "ClientToken", # required
3660
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",
3661
3718
  # })
3662
3719
  #
3663
3720
  # @example Response structure
@@ -8394,18 +8451,22 @@ module Aws::SageMaker
8394
8451
  # version represents isn't deleted.
8395
8452
  #
8396
8453
  # @option params [required, String] :image_name
8397
- # The name of the image.
8454
+ # The name of the image to delete.
8398
8455
  #
8399
- # @option params [required, Integer] :version
8456
+ # @option params [Integer] :version
8400
8457
  # The version to delete.
8401
8458
  #
8459
+ # @option params [String] :alias
8460
+ # The alias of the image to delete.
8461
+ #
8402
8462
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8403
8463
  #
8404
8464
  # @example Request syntax with placeholder values
8405
8465
  #
8406
8466
  # resp = client.delete_image_version({
8407
8467
  # image_name: "ImageName", # required
8408
- # version: 1, # required
8468
+ # version: 1,
8469
+ # alias: "SageMakerImageVersionAlias",
8409
8470
  # })
8410
8471
  #
8411
8472
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion AWS API Documentation
@@ -11189,6 +11250,9 @@ module Aws::SageMaker
11189
11250
  # The version of the image. If not specified, the latest version is
11190
11251
  # described.
11191
11252
  #
11253
+ # @option params [String] :alias
11254
+ # The alias of the image version.
11255
+ #
11192
11256
  # @return [Types::DescribeImageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11193
11257
  #
11194
11258
  # * {Types::DescribeImageVersionResponse#base_image #base_image} => String
@@ -11200,12 +11264,20 @@ module Aws::SageMaker
11200
11264
  # * {Types::DescribeImageVersionResponse#image_version_status #image_version_status} => String
11201
11265
  # * {Types::DescribeImageVersionResponse#last_modified_time #last_modified_time} => Time
11202
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
11203
11274
  #
11204
11275
  # @example Request syntax with placeholder values
11205
11276
  #
11206
11277
  # resp = client.describe_image_version({
11207
11278
  # image_name: "ImageName", # required
11208
11279
  # version: 1,
11280
+ # alias: "SageMakerImageVersionAlias",
11209
11281
  # })
11210
11282
  #
11211
11283
  # @example Response structure
@@ -11219,6 +11291,13 @@ module Aws::SageMaker
11219
11291
  # resp.image_version_status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
11220
11292
  # resp.last_modified_time #=> Time
11221
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
11222
11301
  #
11223
11302
  #
11224
11303
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -14067,6 +14146,58 @@ module Aws::SageMaker
14067
14146
  req.send_request(options)
14068
14147
  end
14069
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&lt;String&gt;
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
+
14070
14201
  # Lists the AppImageConfigs in your account and their properties. The
14071
14202
  # list can be filtered by creation time or modified time, and whether
14072
14203
  # the AppImageConfig name contains a specified string.
@@ -21060,8 +21191,8 @@ module Aws::SageMaker
21060
21191
  # The name of the image to update.
21061
21192
  #
21062
21193
  # @option params [String] :role_arn
21063
- # The new Amazon Resource Name (ARN) for the IAM role that enables
21064
- # Amazon SageMaker to perform tasks on your behalf.
21194
+ # The new ARN for the IAM role that enables Amazon SageMaker to perform
21195
+ # tasks on your behalf.
21065
21196
  #
21066
21197
  # @return [Types::UpdateImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21067
21198
  #
@@ -21090,6 +21221,103 @@ module Aws::SageMaker
21090
21221
  req.send_request(options)
21091
21222
  end
21092
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
+
21093
21321
  # Updates an inference experiment that you created. The status of the
21094
21322
  # inference experiment has to be either `Created`, `Running`. For more
21095
21323
  # information on the status of an inference experiment, see
@@ -22472,7 +22700,7 @@ module Aws::SageMaker
22472
22700
  params: params,
22473
22701
  config: config)
22474
22702
  context[:gem_name] = 'aws-sdk-sagemaker'
22475
- context[:gem_version] = '1.156.0'
22703
+ context[:gem_version] = '1.157.0'
22476
22704
  Seahorse::Client::Request.new(handlers, context)
22477
22705
  end
22478
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')
@@ -1564,6 +1571,7 @@ module Aws::SageMaker
1564
1571
  RedshiftUserName = Shapes::StringShape.new(name: 'RedshiftUserName')
1565
1572
  RegisterDevicesRequest = Shapes::StructureShape.new(name: 'RegisterDevicesRequest')
1566
1573
  RegisterModelStepMetadata = Shapes::StructureShape.new(name: 'RegisterModelStepMetadata')
1574
+ ReleaseNotes = Shapes::StringShape.new(name: 'ReleaseNotes')
1567
1575
  RenderUiTemplateRequest = Shapes::StructureShape.new(name: 'RenderUiTemplateRequest')
1568
1576
  RenderUiTemplateResponse = Shapes::StructureShape.new(name: 'RenderUiTemplateResponse')
1569
1577
  RenderableTask = Shapes::StructureShape.new(name: 'RenderableTask')
@@ -1605,6 +1613,8 @@ module Aws::SageMaker
1605
1613
  S3OutputPath = Shapes::StringShape.new(name: 'S3OutputPath')
1606
1614
  S3StorageConfig = Shapes::StructureShape.new(name: 'S3StorageConfig')
1607
1615
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
1616
+ SageMakerImageVersionAlias = Shapes::StringShape.new(name: 'SageMakerImageVersionAlias')
1617
+ SageMakerImageVersionAliases = Shapes::ListShape.new(name: 'SageMakerImageVersionAliases')
1608
1618
  SagemakerServicecatalogStatus = Shapes::StringShape.new(name: 'SagemakerServicecatalogStatus')
1609
1619
  SamplingPercentage = Shapes::IntegerShape.new(name: 'SamplingPercentage')
1610
1620
  ScheduleConfig = Shapes::StructureShape.new(name: 'ScheduleConfig')
@@ -1867,6 +1877,8 @@ module Aws::SageMaker
1867
1877
  UpdateHubResponse = Shapes::StructureShape.new(name: 'UpdateHubResponse')
1868
1878
  UpdateImageRequest = Shapes::StructureShape.new(name: 'UpdateImageRequest')
1869
1879
  UpdateImageResponse = Shapes::StructureShape.new(name: 'UpdateImageResponse')
1880
+ UpdateImageVersionRequest = Shapes::StructureShape.new(name: 'UpdateImageVersionRequest')
1881
+ UpdateImageVersionResponse = Shapes::StructureShape.new(name: 'UpdateImageVersionResponse')
1870
1882
  UpdateInferenceExperimentRequest = Shapes::StructureShape.new(name: 'UpdateInferenceExperimentRequest')
1871
1883
  UpdateInferenceExperimentResponse = Shapes::StructureShape.new(name: 'UpdateInferenceExperimentResponse')
1872
1884
  UpdateModelCardRequest = Shapes::StructureShape.new(name: 'UpdateModelCardRequest')
@@ -1918,6 +1930,7 @@ module Aws::SageMaker
1918
1930
  VariantStatus = Shapes::StringShape.new(name: 'VariantStatus')
1919
1931
  VariantStatusMessage = Shapes::StringShape.new(name: 'VariantStatusMessage')
1920
1932
  VariantWeight = Shapes::FloatShape.new(name: 'VariantWeight')
1933
+ VendorGuidance = Shapes::StringShape.new(name: 'VendorGuidance')
1921
1934
  VersionId = Shapes::StringShape.new(name: 'VersionId')
1922
1935
  VersionedArnOrName = Shapes::StringShape.new(name: 'VersionedArnOrName')
1923
1936
  Vertex = Shapes::StructureShape.new(name: 'Vertex')
@@ -2791,6 +2804,14 @@ module Aws::SageMaker
2791
2804
  CreateImageVersionRequest.add_member(:base_image, Shapes::ShapeRef.new(shape: ImageBaseImage, required: true, location_name: "BaseImage"))
2792
2805
  CreateImageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2793
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"))
2794
2815
  CreateImageVersionRequest.struct_class = Types::CreateImageVersionRequest
2795
2816
 
2796
2817
  CreateImageVersionResponse.add_member(:image_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArn, location_name: "ImageVersionArn"))
@@ -3363,7 +3384,8 @@ module Aws::SageMaker
3363
3384
  DeleteImageResponse.struct_class = Types::DeleteImageResponse
3364
3385
 
3365
3386
  DeleteImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
3366
- DeleteImageVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: ImageVersionNumber, required: true, location_name: "Version"))
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"))
3367
3389
  DeleteImageVersionRequest.struct_class = Types::DeleteImageVersionRequest
3368
3390
 
3369
3391
  DeleteImageVersionResponse.struct_class = Types::DeleteImageVersionResponse
@@ -3937,6 +3959,7 @@ module Aws::SageMaker
3937
3959
 
3938
3960
  DescribeImageVersionRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
3939
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"))
3940
3963
  DescribeImageVersionRequest.struct_class = Types::DescribeImageVersionRequest
3941
3964
 
3942
3965
  DescribeImageVersionResponse.add_member(:base_image, Shapes::ShapeRef.new(shape: ImageBaseImage, location_name: "BaseImage"))
@@ -3948,6 +3971,13 @@ module Aws::SageMaker
3948
3971
  DescribeImageVersionResponse.add_member(:image_version_status, Shapes::ShapeRef.new(shape: ImageVersionStatus, location_name: "ImageVersionStatus"))
3949
3972
  DescribeImageVersionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
3950
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"))
3951
3981
  DescribeImageVersionResponse.struct_class = Types::DescribeImageVersionResponse
3952
3982
 
3953
3983
  DescribeInferenceExperimentRequest.add_member(:name, Shapes::ShapeRef.new(shape: InferenceExperimentName, required: true, location_name: "Name"))
@@ -5469,6 +5499,17 @@ module Aws::SageMaker
5469
5499
  ListAlgorithmsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
5470
5500
  ListAlgorithmsOutput.struct_class = Types::ListAlgorithmsOutput
5471
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
+
5472
5513
  ListAppImageConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
5473
5514
  ListAppImageConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
5474
5515
  ListAppImageConfigsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: AppImageConfigName, location_name: "NameContains"))
@@ -7692,6 +7733,8 @@ module Aws::SageMaker
7692
7733
  S3StorageConfig.add_member(:resolved_output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "ResolvedOutputS3Uri"))
7693
7734
  S3StorageConfig.struct_class = Types::S3StorageConfig
7694
7735
 
7736
+ SageMakerImageVersionAliases.member = Shapes::ShapeRef.new(shape: SageMakerImageVersionAlias)
7737
+
7695
7738
  ScheduleConfig.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
7696
7739
  ScheduleConfig.struct_class = Types::ScheduleConfig
7697
7740
 
@@ -8384,6 +8427,23 @@ module Aws::SageMaker
8384
8427
  UpdateImageResponse.add_member(:image_arn, Shapes::ShapeRef.new(shape: ImageArn, location_name: "ImageArn"))
8385
8428
  UpdateImageResponse.struct_class = Types::UpdateImageResponse
8386
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
+
8387
8447
  UpdateInferenceExperimentRequest.add_member(:name, Shapes::ShapeRef.new(shape: InferenceExperimentName, required: true, location_name: "Name"))
8388
8448
  UpdateInferenceExperimentRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: InferenceExperimentSchedule, location_name: "Schedule"))
8389
8449
  UpdateInferenceExperimentRequest.add_member(:description, Shapes::ShapeRef.new(shape: InferenceExperimentDescription, location_name: "Description"))
@@ -10230,6 +10290,21 @@ module Aws::SageMaker
10230
10290
  )
10231
10291
  end)
10232
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
+
10233
10308
  api.add_operation(:list_app_image_configs, Seahorse::Model::Operation.new.tap do |o|
10234
10309
  o.name = "ListAppImageConfigs"
10235
10310
  o.http_method = "POST"
@@ -11578,6 +11653,16 @@ module Aws::SageMaker
11578
11653
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
11579
11654
  end)
11580
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
+
11581
11666
  api.add_operation(:update_inference_experiment, Seahorse::Model::Operation.new.tap do |o|
11582
11667
  o.name = "UpdateInferenceExperiment"
11583
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
@@ -5381,8 +5381,8 @@ module Aws::SageMaker
5381
5381
  # @return [String]
5382
5382
  #
5383
5383
  # @!attribute [rw] role_arn
5384
- # The Amazon Resource Name (ARN) of an IAM role that enables Amazon
5385
- # SageMaker to perform tasks on your behalf.
5384
+ # The ARN of an IAM role that enables Amazon SageMaker to perform
5385
+ # tasks on your behalf.
5386
5386
  # @return [String]
5387
5387
  #
5388
5388
  # @!attribute [rw] tags
@@ -5402,7 +5402,7 @@ module Aws::SageMaker
5402
5402
  end
5403
5403
 
5404
5404
  # @!attribute [rw] image_arn
5405
- # The Amazon Resource Name (ARN) of the image.
5405
+ # The ARN of the image.
5406
5406
  # @return [String]
5407
5407
  #
5408
5408
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageResponse AWS API Documentation
@@ -5435,18 +5435,83 @@ module Aws::SageMaker
5435
5435
  # The `ImageName` of the `Image` to create a version of.
5436
5436
  # @return [String]
5437
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
+ #
5438
5495
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersionRequest AWS API Documentation
5439
5496
  #
5440
5497
  class CreateImageVersionRequest < Struct.new(
5441
5498
  :base_image,
5442
5499
  :client_token,
5443
- :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)
5444
5509
  SENSITIVE = []
5445
5510
  include Aws::Structure
5446
5511
  end
5447
5512
 
5448
5513
  # @!attribute [rw] image_version_arn
5449
- # The Amazon Resource Name (ARN) of the image version.
5514
+ # The ARN of the image version.
5450
5515
  # @return [String]
5451
5516
  #
5452
5517
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersionResponse AWS API Documentation
@@ -8931,18 +8996,23 @@ module Aws::SageMaker
8931
8996
  class DeleteImageResponse < Aws::EmptyStructure; end
8932
8997
 
8933
8998
  # @!attribute [rw] image_name
8934
- # The name of the image.
8999
+ # The name of the image to delete.
8935
9000
  # @return [String]
8936
9001
  #
8937
9002
  # @!attribute [rw] version
8938
9003
  # The version to delete.
8939
9004
  # @return [Integer]
8940
9005
  #
9006
+ # @!attribute [rw] alias
9007
+ # The alias of the image to delete.
9008
+ # @return [String]
9009
+ #
8941
9010
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersionRequest AWS API Documentation
8942
9011
  #
8943
9012
  class DeleteImageVersionRequest < Struct.new(
8944
9013
  :image_name,
8945
- :version)
9014
+ :version,
9015
+ :alias)
8946
9016
  SENSITIVE = []
8947
9017
  include Aws::Structure
8948
9018
  end
@@ -11707,7 +11777,7 @@ module Aws::SageMaker
11707
11777
  # @return [String]
11708
11778
  #
11709
11779
  # @!attribute [rw] image_arn
11710
- # The Amazon Resource Name (ARN) of the image.
11780
+ # The ARN of the image.
11711
11781
  # @return [String]
11712
11782
  #
11713
11783
  # @!attribute [rw] image_name
@@ -11723,8 +11793,8 @@ module Aws::SageMaker
11723
11793
  # @return [Time]
11724
11794
  #
11725
11795
  # @!attribute [rw] role_arn
11726
- # The Amazon Resource Name (ARN) of the IAM role that enables Amazon
11727
- # SageMaker to perform tasks on your behalf.
11796
+ # The ARN of the IAM role that enables Amazon SageMaker to perform
11797
+ # tasks on your behalf.
11728
11798
  # @return [String]
11729
11799
  #
11730
11800
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageResponse AWS API Documentation
@@ -11752,11 +11822,16 @@ module Aws::SageMaker
11752
11822
  # described.
11753
11823
  # @return [Integer]
11754
11824
  #
11825
+ # @!attribute [rw] alias
11826
+ # The alias of the image version.
11827
+ # @return [String]
11828
+ #
11755
11829
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersionRequest AWS API Documentation
11756
11830
  #
11757
11831
  class DescribeImageVersionRequest < Struct.new(
11758
11832
  :image_name,
11759
- :version)
11833
+ :version,
11834
+ :alias)
11760
11835
  SENSITIVE = []
11761
11836
  include Aws::Structure
11762
11837
  end
@@ -11780,7 +11855,7 @@ module Aws::SageMaker
11780
11855
  # @return [String]
11781
11856
  #
11782
11857
  # @!attribute [rw] image_arn
11783
- # The Amazon Resource Name (ARN) of the image the version is based on.
11858
+ # The ARN of the image the version is based on.
11784
11859
  # @return [String]
11785
11860
  #
11786
11861
  # @!attribute [rw] image_version_arn
@@ -11799,6 +11874,59 @@ module Aws::SageMaker
11799
11874
  # The version number.
11800
11875
  # @return [Integer]
11801
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
+ #
11802
11930
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersionResponse AWS API Documentation
11803
11931
  #
11804
11932
  class DescribeImageVersionResponse < Struct.new(
@@ -11810,7 +11938,14 @@ module Aws::SageMaker
11810
11938
  :image_version_arn,
11811
11939
  :image_version_status,
11812
11940
  :last_modified_time,
11813
- :version)
11941
+ :version,
11942
+ :vendor_guidance,
11943
+ :job_type,
11944
+ :ml_framework,
11945
+ :programming_lang,
11946
+ :processor,
11947
+ :horovod,
11948
+ :release_notes)
11814
11949
  SENSITIVE = []
11815
11950
  include Aws::Structure
11816
11951
  end
@@ -19464,7 +19599,7 @@ module Aws::SageMaker
19464
19599
  # @return [String]
19465
19600
  #
19466
19601
  # @!attribute [rw] image_arn
19467
- # The Amazon Resource Name (ARN) of the image.
19602
+ # The ARN of the image.
19468
19603
  # @return [String]
19469
19604
  #
19470
19605
  # @!attribute [rw] image_name
@@ -19536,7 +19671,7 @@ module Aws::SageMaker
19536
19671
  # @return [String]
19537
19672
  #
19538
19673
  # @!attribute [rw] image_arn
19539
- # The Amazon Resource Name (ARN) of the image the version is based on.
19674
+ # The ARN of the image the version is based on.
19540
19675
  # @return [String]
19541
19676
  #
19542
19677
  # @!attribute [rw] image_version_arn
@@ -21163,6 +21298,58 @@ module Aws::SageMaker
21163
21298
  include Aws::Structure
21164
21299
  end
21165
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
+
21166
21353
  # @!attribute [rw] max_results
21167
21354
  # The maximum number of AppImageConfigs to return in the response. The
21168
21355
  # default value is 10.
@@ -37235,8 +37422,8 @@ module Aws::SageMaker
37235
37422
  # @return [String]
37236
37423
  #
37237
37424
  # @!attribute [rw] role_arn
37238
- # The new Amazon Resource Name (ARN) for the IAM role that enables
37239
- # Amazon SageMaker to perform tasks on your behalf.
37425
+ # The new ARN for the IAM role that enables Amazon SageMaker to
37426
+ # perform tasks on your behalf.
37240
37427
  # @return [String]
37241
37428
  #
37242
37429
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageRequest AWS API Documentation
@@ -37252,7 +37439,7 @@ module Aws::SageMaker
37252
37439
  end
37253
37440
 
37254
37441
  # @!attribute [rw] image_arn
37255
- # The Amazon Resource Name (ARN) of the image.
37442
+ # The ARN of the image.
37256
37443
  # @return [String]
37257
37444
  #
37258
37445
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageResponse AWS API Documentation
@@ -37263,6 +37450,110 @@ module Aws::SageMaker
37263
37450
  include Aws::Structure
37264
37451
  end
37265
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
+
37266
37557
  # @!attribute [rw] name
37267
37558
  # The name of the inference experiment to be updated.
37268
37559
  # @return [String]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.156.0'
56
+ GEM_VERSION = '1.157.0'
57
57
 
58
58
  end
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.156.0
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-16 00:00:00.000000000 Z
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