aws-sdk-sagemaker 1.301.0 → 1.303.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.
@@ -312,6 +312,20 @@ module Aws::SageMaker
312
312
  include Aws::Structure
313
313
  end
314
314
 
315
+ # The details of the alarm to monitor during the AMI update.
316
+ #
317
+ # @!attribute [rw] alarm_name
318
+ # The name of the alarm.
319
+ # @return [String]
320
+ #
321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlarmDetails AWS API Documentation
322
+ #
323
+ class AlarmDetails < Struct.new(
324
+ :alarm_name)
325
+ SENSITIVE = []
326
+ include Aws::Structure
327
+ end
328
+
315
329
  # Specifies the training algorithm to use in a [CreateTrainingJob][1]
316
330
  # request.
317
331
  #
@@ -3534,6 +3548,29 @@ module Aws::SageMaker
3534
3548
  include Aws::Structure
3535
3549
  end
3536
3550
 
3551
+ # The configuration of the size measurements of the AMI update. Using
3552
+ # this configuration, you can specify whether SageMaker should update
3553
+ # your instance group by an amount or percentage of instances.
3554
+ #
3555
+ # @!attribute [rw] type
3556
+ # Specifies whether SageMaker should process the update by amount or
3557
+ # percentage of instances.
3558
+ # @return [String]
3559
+ #
3560
+ # @!attribute [rw] value
3561
+ # Specifies the amount or percentage of instances SageMaker updates at
3562
+ # a time.
3563
+ # @return [Integer]
3564
+ #
3565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacitySizeConfig AWS API Documentation
3566
+ #
3567
+ class CapacitySizeConfig < Struct.new(
3568
+ :type,
3569
+ :value)
3570
+ SENSITIVE = []
3571
+ include Aws::Structure
3572
+ end
3573
+
3537
3574
  # Configuration specifying how to treat different headers. If no headers
3538
3575
  # are specified Amazon SageMaker AI will by default base64 encode when
3539
3576
  # capturing the data.
@@ -4294,6 +4331,11 @@ module Aws::SageMaker
4294
4331
  # HyperPod cluster.
4295
4332
  # @return [Types::VpcConfig]
4296
4333
  #
4334
+ # @!attribute [rw] scheduled_update_config
4335
+ # The configuration object of the schedule that SageMaker follows when
4336
+ # updating the AMI.
4337
+ # @return [Types::ScheduledUpdateConfig]
4338
+ #
4297
4339
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterInstanceGroupDetails AWS API Documentation
4298
4340
  #
4299
4341
  class ClusterInstanceGroupDetails < Struct.new(
@@ -4309,7 +4351,8 @@ module Aws::SageMaker
4309
4351
  :status,
4310
4352
  :training_plan_arn,
4311
4353
  :training_plan_status,
4312
- :override_vpc_config)
4354
+ :override_vpc_config,
4355
+ :scheduled_update_config)
4313
4356
  SENSITIVE = []
4314
4357
  include Aws::Structure
4315
4358
  end
@@ -4414,6 +4457,11 @@ module Aws::SageMaker
4414
4457
  # [5]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-optional-vpc
4415
4458
  # @return [Types::VpcConfig]
4416
4459
  #
4460
+ # @!attribute [rw] scheduled_update_config
4461
+ # The configuration object of the schedule that SageMaker uses to
4462
+ # update the AMI.
4463
+ # @return [Types::ScheduledUpdateConfig]
4464
+ #
4417
4465
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterInstanceGroupSpecification AWS API Documentation
4418
4466
  #
4419
4467
  class ClusterInstanceGroupSpecification < Struct.new(
@@ -4426,7 +4474,8 @@ module Aws::SageMaker
4426
4474
  :instance_storage_configs,
4427
4475
  :on_start_deep_health_checks,
4428
4476
  :training_plan_arn,
4429
- :override_vpc_config)
4477
+ :override_vpc_config,
4478
+ :scheduled_update_config)
4430
4479
  SENSITIVE = []
4431
4480
  include Aws::Structure
4432
4481
  end
@@ -4559,6 +4608,10 @@ module Aws::SageMaker
4559
4608
  # The time when the instance is launched.
4560
4609
  # @return [Time]
4561
4610
  #
4611
+ # @!attribute [rw] last_software_update_time
4612
+ # The time of when the cluster was last updated.
4613
+ # @return [Time]
4614
+ #
4562
4615
  # @!attribute [rw] life_cycle_config
4563
4616
  # The LifeCycle configuration applied to the instance.
4564
4617
  # @return [Types::ClusterLifeCycleConfig]
@@ -4608,6 +4661,7 @@ module Aws::SageMaker
4608
4661
  :instance_status,
4609
4662
  :instance_type,
4610
4663
  :launch_time,
4664
+ :last_software_update_time,
4611
4665
  :life_cycle_config,
4612
4666
  :override_vpc_config,
4613
4667
  :threads_per_core,
@@ -4639,6 +4693,11 @@ module Aws::SageMaker
4639
4693
  # The time when the instance is launched.
4640
4694
  # @return [Time]
4641
4695
  #
4696
+ # @!attribute [rw] last_software_update_time
4697
+ # The time of when SageMaker last updated the software of the
4698
+ # instances in the cluster.
4699
+ # @return [Time]
4700
+ #
4642
4701
  # @!attribute [rw] instance_status
4643
4702
  # The status of the instance.
4644
4703
  # @return [Types::ClusterInstanceStatusDetails]
@@ -4650,6 +4709,7 @@ module Aws::SageMaker
4650
4709
  :instance_id,
4651
4710
  :instance_type,
4652
4711
  :launch_time,
4712
+ :last_software_update_time,
4653
4713
  :instance_status)
4654
4714
  SENSITIVE = []
4655
4715
  include Aws::Structure
@@ -9951,6 +10011,13 @@ module Aws::SageMaker
9951
10011
  # @!attribute [rw] environment
9952
10012
  # The environment variables to set in the Docker container. Up to 100
9953
10013
  # key and values entries in the map are supported.
10014
+ #
10015
+ # Do not include any security-sensitive information including account
10016
+ # access IDs, secrets, or tokens in any environment fields. As part of
10017
+ # the shared responsibility model, you are responsible for any
10018
+ # potential exposure, unauthorized access, or compromise of your
10019
+ # sensitive data if caused by security-sensitive information included
10020
+ # in the request environment variable or plain text fields.
9954
10021
  # @return [Hash<String,String>]
9955
10022
  #
9956
10023
  # @!attribute [rw] network_config
@@ -9970,6 +10037,13 @@ module Aws::SageMaker
9970
10037
  # [Using Cost Allocation Tags][1] in the *Amazon Web Services Billing
9971
10038
  # and Cost Management User Guide*.
9972
10039
  #
10040
+ # Do not include any security-sensitive information including account
10041
+ # access IDs, secrets, or tokens in any tags. As part of the shared
10042
+ # responsibility model, you are responsible for any potential
10043
+ # exposure, unauthorized access, or compromise of your sensitive data
10044
+ # if caused by security-sensitive information included in the request
10045
+ # tag variable or plain text fields.
10046
+ #
9973
10047
  #
9974
10048
  #
9975
10049
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL
@@ -10196,9 +10270,12 @@ module Aws::SageMaker
10196
10270
  # 256 characters, as specified by the `Length Constraint`.
10197
10271
  #
10198
10272
  # Do not include any security-sensitive information including account
10199
- # access IDs, secrets or tokens in any hyperparameter field. If the
10200
- # use of security-sensitive credentials are detected, SageMaker will
10201
- # reject your training job request and return an exception error.
10273
+ # access IDs, secrets, or tokens in any hyperparameter fields. As part
10274
+ # of the shared responsibility model, you are responsible for any
10275
+ # potential exposure, unauthorized access, or compromise of your
10276
+ # sensitive data if caused by any security-sensitive information
10277
+ # included in the request hyperparameter variable or plain text
10278
+ # fields.
10202
10279
  #
10203
10280
  #
10204
10281
  #
@@ -10310,6 +10387,13 @@ module Aws::SageMaker
10310
10387
  # purpose, owner, or environment. For more information, see [Tagging
10311
10388
  # Amazon Web Services Resources][1].
10312
10389
  #
10390
+ # Do not include any security-sensitive information including account
10391
+ # access IDs, secrets, or tokens in any tags. As part of the shared
10392
+ # responsibility model, you are responsible for any potential
10393
+ # exposure, unauthorized access, or compromise of your sensitive data
10394
+ # if caused by any security-sensitive information included in the
10395
+ # request tag variable or plain text fields.
10396
+ #
10313
10397
  #
10314
10398
  #
10315
10399
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
@@ -10410,6 +10494,13 @@ module Aws::SageMaker
10410
10494
  #
10411
10495
  # @!attribute [rw] environment
10412
10496
  # The environment variables to set in the Docker container.
10497
+ #
10498
+ # Do not include any security-sensitive information including account
10499
+ # access IDs, secrets, or tokens in any environment fields. As part of
10500
+ # the shared responsibility model, you are responsible for any
10501
+ # potential exposure, unauthorized access, or compromise of your
10502
+ # sensitive data if caused by security-sensitive information included
10503
+ # in the request environment variable or plain text fields.
10413
10504
  # @return [Hash<String,String>]
10414
10505
  #
10415
10506
  # @!attribute [rw] retry_strategy
@@ -12814,6 +12905,33 @@ module Aws::SageMaker
12814
12905
  include Aws::Structure
12815
12906
  end
12816
12907
 
12908
+ # The configuration to use when updating the AMI versions.
12909
+ #
12910
+ # @!attribute [rw] rolling_update_policy
12911
+ # The policy that SageMaker uses when updating the AMI versions of the
12912
+ # cluster.
12913
+ # @return [Types::RollingDeploymentPolicy]
12914
+ #
12915
+ # @!attribute [rw] wait_interval_in_seconds
12916
+ # The duration in seconds that SageMaker waits before updating more
12917
+ # instances in the cluster.
12918
+ # @return [Integer]
12919
+ #
12920
+ # @!attribute [rw] auto_rollback_configuration
12921
+ # An array that contains the alarms that SageMaker monitors to know
12922
+ # whether to roll back the AMI update.
12923
+ # @return [Array<Types::AlarmDetails>]
12924
+ #
12925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeploymentConfiguration AWS API Documentation
12926
+ #
12927
+ class DeploymentConfiguration < Struct.new(
12928
+ :rolling_update_policy,
12929
+ :wait_interval_in_seconds,
12930
+ :auto_rollback_configuration)
12931
+ SENSITIVE = []
12932
+ include Aws::Structure
12933
+ end
12934
+
12817
12935
  # A set of recommended deployment configurations for the model. To get
12818
12936
  # more advanced recommendations, see
12819
12937
  # [CreateInferenceRecommendationsJob][1] to create an inference
@@ -18940,6 +19058,13 @@ module Aws::SageMaker
18940
19058
  #
18941
19059
  # @!attribute [rw] environment
18942
19060
  # The environment variables to set in the Docker container.
19061
+ #
19062
+ # Do not include any security-sensitive information including account
19063
+ # access IDs, secrets, or tokens in any environment fields. As part of
19064
+ # the shared responsibility model, you are responsible for any
19065
+ # potential exposure, unauthorized access, or compromise of your
19066
+ # sensitive data if caused by security-sensitive information included
19067
+ # in the request environment variable or plain text fields.
18943
19068
  # @return [Hash<String,String>]
18944
19069
  #
18945
19070
  # @!attribute [rw] retry_strategy
@@ -41934,6 +42059,27 @@ module Aws::SageMaker
41934
42059
  include Aws::Structure
41935
42060
  end
41936
42061
 
42062
+ # The configurations that SageMaker uses when updating the AMI versions.
42063
+ #
42064
+ # @!attribute [rw] maximum_batch_size
42065
+ # The maximum amount of instances in the cluster that SageMaker can
42066
+ # update at a time.
42067
+ # @return [Types::CapacitySizeConfig]
42068
+ #
42069
+ # @!attribute [rw] rollback_maximum_batch_size
42070
+ # The maximum amount of instances in the cluster that SageMaker can
42071
+ # roll back at a time.
42072
+ # @return [Types::CapacitySizeConfig]
42073
+ #
42074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RollingDeploymentPolicy AWS API Documentation
42075
+ #
42076
+ class RollingDeploymentPolicy < Struct.new(
42077
+ :maximum_batch_size,
42078
+ :rollback_maximum_batch_size)
42079
+ SENSITIVE = []
42080
+ include Aws::Structure
42081
+ end
42082
+
41937
42083
  # Specifies a rolling deployment strategy for updating a SageMaker
41938
42084
  # endpoint.
41939
42085
  #
@@ -42468,6 +42614,27 @@ module Aws::SageMaker
42468
42614
  include Aws::Structure
42469
42615
  end
42470
42616
 
42617
+ # The configuration object of the schedule that SageMaker follows when
42618
+ # updating the AMI.
42619
+ #
42620
+ # @!attribute [rw] schedule_expression
42621
+ # A cron expression that specifies the schedule that SageMaker follows
42622
+ # when updating the AMI.
42623
+ # @return [String]
42624
+ #
42625
+ # @!attribute [rw] deployment_config
42626
+ # The configuration to use when updating the AMI versions.
42627
+ # @return [Types::DeploymentConfiguration]
42628
+ #
42629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ScheduledUpdateConfig AWS API Documentation
42630
+ #
42631
+ class ScheduledUpdateConfig < Struct.new(
42632
+ :schedule_expression,
42633
+ :deployment_config)
42634
+ SENSITIVE = []
42635
+ include Aws::Structure
42636
+ end
42637
+
42471
42638
  # Cluster policy configuration. This policy is used for task
42472
42639
  # prioritization and fair-share allocation. This helps prioritize
42473
42640
  # critical workloads and distributes idle compute across entities.
@@ -47825,15 +47992,40 @@ module Aws::SageMaker
47825
47992
  include Aws::Structure
47826
47993
  end
47827
47994
 
47995
+ # The configuration that describes specifications of the instance groups
47996
+ # to update.
47997
+ #
47998
+ # @!attribute [rw] instance_group_name
47999
+ # The name of the instance group to update.
48000
+ # @return [String]
48001
+ #
48002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateClusterSoftwareInstanceGroupSpecification AWS API Documentation
48003
+ #
48004
+ class UpdateClusterSoftwareInstanceGroupSpecification < Struct.new(
48005
+ :instance_group_name)
48006
+ SENSITIVE = []
48007
+ include Aws::Structure
48008
+ end
48009
+
47828
48010
  # @!attribute [rw] cluster_name
47829
48011
  # Specify the name or the Amazon Resource Name (ARN) of the SageMaker
47830
48012
  # HyperPod cluster you want to update for security patching.
47831
48013
  # @return [String]
47832
48014
  #
48015
+ # @!attribute [rw] instance_groups
48016
+ # The array of instance groups for which to update AMI versions.
48017
+ # @return [Array<Types::UpdateClusterSoftwareInstanceGroupSpecification>]
48018
+ #
48019
+ # @!attribute [rw] deployment_config
48020
+ # The configuration to use when updating the AMI versions.
48021
+ # @return [Types::DeploymentConfiguration]
48022
+ #
47833
48023
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateClusterSoftwareRequest AWS API Documentation
47834
48024
  #
47835
48025
  class UpdateClusterSoftwareRequest < Struct.new(
47836
- :cluster_name)
48026
+ :cluster_name,
48027
+ :instance_groups,
48028
+ :deployment_config)
47837
48029
  SENSITIVE = []
47838
48030
  include Aws::Structure
47839
48031
  end
@@ -55,7 +55,7 @@ module Aws::SageMaker
55
55
  autoload :EndpointProvider, 'aws-sdk-sagemaker/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-sagemaker/endpoints'
57
57
 
58
- GEM_VERSION = '1.301.0'
58
+ GEM_VERSION = '1.303.0'
59
59
 
60
60
  end
61
61