aws-sdk-sagemaker 1.340.0 → 1.342.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.
@@ -5145,6 +5145,26 @@ module Aws::SageMaker
5145
5145
  include Aws::Structure
5146
5146
  end
5147
5147
 
5148
+ # Defines the instance capacity requirements for an instance group,
5149
+ # including configurations for both Spot and On-Demand capacity types.
5150
+ #
5151
+ # @!attribute [rw] spot
5152
+ # Configuration options specific to Spot instances.
5153
+ # @return [Types::ClusterSpotOptions]
5154
+ #
5155
+ # @!attribute [rw] on_demand
5156
+ # Configuration options specific to On-Demand instances.
5157
+ # @return [Types::ClusterOnDemandOptions]
5158
+ #
5159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterCapacityRequirements AWS API Documentation
5160
+ #
5161
+ class ClusterCapacityRequirements < Struct.new(
5162
+ :spot,
5163
+ :on_demand)
5164
+ SENSITIVE = []
5165
+ include Aws::Structure
5166
+ end
5167
+
5148
5168
  # Defines the configuration for attaching an additional Amazon Elastic
5149
5169
  # Block Store (EBS) volume to each instance of the SageMaker HyperPod
5150
5170
  # cluster instance group. To learn more, see [SageMaker HyperPod release
@@ -5329,6 +5349,12 @@ module Aws::SageMaker
5329
5349
  # of a SageMaker HyperPod cluster.
5330
5350
  # @return [Integer]
5331
5351
  #
5352
+ # @!attribute [rw] min_count
5353
+ # The minimum number of instances that must be available in the
5354
+ # instance group of a SageMaker HyperPod cluster before it transitions
5355
+ # to `InService` status.
5356
+ # @return [Integer]
5357
+ #
5332
5358
  # @!attribute [rw] instance_group_name
5333
5359
  # The name of the instance group of a SageMaker HyperPod cluster.
5334
5360
  # @return [String]
@@ -5423,13 +5449,53 @@ module Aws::SageMaker
5423
5449
  # group.
5424
5450
  # @return [String]
5425
5451
  #
5452
+ # @!attribute [rw] active_operations
5453
+ # A map indicating active operations currently in progress for the
5454
+ # instance group of a SageMaker HyperPod cluster. When there is a
5455
+ # scaling operation in progress, this map contains a key `Scaling`
5456
+ # with value 1.
5457
+ # @return [Hash<String,Integer>]
5458
+ #
5459
+ # @!attribute [rw] kubernetes_config
5460
+ # The Kubernetes configuration for the instance group that contains
5461
+ # labels and taints to be applied for the nodes in this instance
5462
+ # group.
5463
+ # @return [Types::ClusterKubernetesConfigDetails]
5464
+ #
5465
+ # @!attribute [rw] capacity_requirements
5466
+ # The instance capacity requirements for the instance group.
5467
+ # @return [Types::ClusterCapacityRequirements]
5468
+ #
5426
5469
  # @!attribute [rw] target_state_count
5427
- # The number of nodes running a specific image ID since the last
5428
- # software update request.
5470
+ # Represents the number of running nodes using the desired Image ID.
5471
+ #
5472
+ # 1. **During software update operations:** This count shows the
5473
+ # number of nodes running on the desired Image ID. If a rollback
5474
+ # occurs, the current image ID and desired image ID (both included
5475
+ # in the describe cluster response) swap values. The
5476
+ # TargetStateCount then shows the number of nodes running on the
5477
+ # newly designated desired image ID (which was previously the
5478
+ # current image ID).
5479
+ #
5480
+ # 2. **During simultaneous scaling and software update operations:**
5481
+ # This count shows the number of instances running on the desired
5482
+ # image ID, including any new instances created as part of the
5483
+ # scaling request. New nodes are always created using the desired
5484
+ # image ID, so TargetStateCount reflects the total count of nodes
5485
+ # running on the desired image ID, even during rollback scenarios.
5429
5486
  # @return [Integer]
5430
5487
  #
5431
5488
  # @!attribute [rw] software_update_status
5432
5489
  # Status of the last software udpate request.
5490
+ #
5491
+ # Status transitions follow these possible sequences:
5492
+ #
5493
+ # * Pending -&gt; InProgress -&gt; Succeeded
5494
+ #
5495
+ # * Pending -&gt; InProgress -&gt; RollbackInProgress -&gt;
5496
+ # RollbackComplete
5497
+ #
5498
+ # * Pending -&gt; InProgress -&gt; RollbackInProgress -&gt; Failed
5433
5499
  # @return [String]
5434
5500
  #
5435
5501
  # @!attribute [rw] active_software_update_config
@@ -5441,6 +5507,7 @@ module Aws::SageMaker
5441
5507
  class ClusterInstanceGroupDetails < Struct.new(
5442
5508
  :current_count,
5443
5509
  :target_count,
5510
+ :min_count,
5444
5511
  :instance_group_name,
5445
5512
  :instance_type,
5446
5513
  :life_cycle_config,
@@ -5455,6 +5522,9 @@ module Aws::SageMaker
5455
5522
  :scheduled_update_config,
5456
5523
  :current_image_id,
5457
5524
  :desired_image_id,
5525
+ :active_operations,
5526
+ :kubernetes_config,
5527
+ :capacity_requirements,
5458
5528
  :target_state_count,
5459
5529
  :software_update_status,
5460
5530
  :active_software_update_config)
@@ -5469,6 +5539,16 @@ module Aws::SageMaker
5469
5539
  # SageMaker HyperPod cluster.
5470
5540
  # @return [Integer]
5471
5541
  #
5542
+ # @!attribute [rw] min_instance_count
5543
+ # Defines the minimum number of instances required for an instance
5544
+ # group to become `InService`. If this threshold isn't met within 3
5545
+ # hours, the instance group rolls back to its previous state - zero
5546
+ # instances for new instance groups, or previous settings for existing
5547
+ # instance groups. `MinInstanceCount` only affects the initial
5548
+ # transition to `InService` and does not guarantee maintaining this
5549
+ # minimum afterward.
5550
+ # @return [Integer]
5551
+ #
5472
5552
  # @!attribute [rw] instance_group_name
5473
5553
  # Specifies the name of the instance group.
5474
5554
  # @return [String]
@@ -5596,10 +5676,22 @@ module Aws::SageMaker
5596
5676
  # patched with the specified image.
5597
5677
  # @return [String]
5598
5678
  #
5679
+ # @!attribute [rw] kubernetes_config
5680
+ # Specifies the Kubernetes configuration for the instance group. You
5681
+ # describe what you want the labels and taints to look like, and the
5682
+ # cluster works to reconcile the actual state with the declared state
5683
+ # for nodes in this instance group.
5684
+ # @return [Types::ClusterKubernetesConfig]
5685
+ #
5686
+ # @!attribute [rw] capacity_requirements
5687
+ # Specifies the capacity requirements for the instance group.
5688
+ # @return [Types::ClusterCapacityRequirements]
5689
+ #
5599
5690
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterInstanceGroupSpecification AWS API Documentation
5600
5691
  #
5601
5692
  class ClusterInstanceGroupSpecification < Struct.new(
5602
5693
  :instance_count,
5694
+ :min_instance_count,
5603
5695
  :instance_group_name,
5604
5696
  :instance_type,
5605
5697
  :life_cycle_config,
@@ -5610,7 +5702,9 @@ module Aws::SageMaker
5610
5702
  :training_plan_arn,
5611
5703
  :override_vpc_config,
5612
5704
  :scheduled_update_config,
5613
- :image_id)
5705
+ :image_id,
5706
+ :kubernetes_config,
5707
+ :capacity_requirements)
5614
5708
  SENSITIVE = []
5615
5709
  include Aws::Structure
5616
5710
  end
@@ -5690,6 +5784,113 @@ module Aws::SageMaker
5690
5784
  class Unknown < ClusterInstanceStorageConfig; end
5691
5785
  end
5692
5786
 
5787
+ # Kubernetes configuration that specifies labels and taints to be
5788
+ # applied to cluster nodes in an instance group.
5789
+ #
5790
+ # @!attribute [rw] labels
5791
+ # Key-value pairs of labels to be applied to cluster nodes.
5792
+ # @return [Hash<String,String>]
5793
+ #
5794
+ # @!attribute [rw] taints
5795
+ # List of taints to be applied to cluster nodes.
5796
+ # @return [Array<Types::ClusterKubernetesTaint>]
5797
+ #
5798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterKubernetesConfig AWS API Documentation
5799
+ #
5800
+ class ClusterKubernetesConfig < Struct.new(
5801
+ :labels,
5802
+ :taints)
5803
+ SENSITIVE = []
5804
+ include Aws::Structure
5805
+ end
5806
+
5807
+ # Detailed Kubernetes configuration showing both the current and desired
5808
+ # state of labels and taints for cluster nodes.
5809
+ #
5810
+ # @!attribute [rw] current_labels
5811
+ # The current labels applied to cluster nodes of an instance group.
5812
+ # @return [Hash<String,String>]
5813
+ #
5814
+ # @!attribute [rw] desired_labels
5815
+ # The desired labels to be applied to cluster nodes of an instance
5816
+ # group.
5817
+ # @return [Hash<String,String>]
5818
+ #
5819
+ # @!attribute [rw] current_taints
5820
+ # The current taints applied to cluster nodes of an instance group.
5821
+ # @return [Array<Types::ClusterKubernetesTaint>]
5822
+ #
5823
+ # @!attribute [rw] desired_taints
5824
+ # The desired taints to be applied to cluster nodes of an instance
5825
+ # group.
5826
+ # @return [Array<Types::ClusterKubernetesTaint>]
5827
+ #
5828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterKubernetesConfigDetails AWS API Documentation
5829
+ #
5830
+ class ClusterKubernetesConfigDetails < Struct.new(
5831
+ :current_labels,
5832
+ :desired_labels,
5833
+ :current_taints,
5834
+ :desired_taints)
5835
+ SENSITIVE = []
5836
+ include Aws::Structure
5837
+ end
5838
+
5839
+ # Node-specific Kubernetes configuration showing both current and
5840
+ # desired state of labels and taints for an individual cluster node.
5841
+ #
5842
+ # @!attribute [rw] current_labels
5843
+ # The current labels applied to the cluster node.
5844
+ # @return [Hash<String,String>]
5845
+ #
5846
+ # @!attribute [rw] desired_labels
5847
+ # The desired labels to be applied to the cluster node.
5848
+ # @return [Hash<String,String>]
5849
+ #
5850
+ # @!attribute [rw] current_taints
5851
+ # The current taints applied to the cluster node.
5852
+ # @return [Array<Types::ClusterKubernetesTaint>]
5853
+ #
5854
+ # @!attribute [rw] desired_taints
5855
+ # The desired taints to be applied to the cluster node.
5856
+ # @return [Array<Types::ClusterKubernetesTaint>]
5857
+ #
5858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterKubernetesConfigNodeDetails AWS API Documentation
5859
+ #
5860
+ class ClusterKubernetesConfigNodeDetails < Struct.new(
5861
+ :current_labels,
5862
+ :desired_labels,
5863
+ :current_taints,
5864
+ :desired_taints)
5865
+ SENSITIVE = []
5866
+ include Aws::Structure
5867
+ end
5868
+
5869
+ # A Kubernetes taint that can be applied to cluster nodes.
5870
+ #
5871
+ # @!attribute [rw] key
5872
+ # The key of the taint.
5873
+ # @return [String]
5874
+ #
5875
+ # @!attribute [rw] value
5876
+ # The value of the taint.
5877
+ # @return [String]
5878
+ #
5879
+ # @!attribute [rw] effect
5880
+ # The effect of the taint. Valid values are `NoSchedule`,
5881
+ # `PreferNoSchedule`, and `NoExecute`.
5882
+ # @return [String]
5883
+ #
5884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterKubernetesTaint AWS API Documentation
5885
+ #
5886
+ class ClusterKubernetesTaint < Struct.new(
5887
+ :key,
5888
+ :value,
5889
+ :effect)
5890
+ SENSITIVE = []
5891
+ include Aws::Structure
5892
+ end
5893
+
5693
5894
  # The lifecycle configuration for a SageMaker HyperPod cluster.
5694
5895
  #
5695
5896
  # @!attribute [rw] source_s3_uri
@@ -5839,6 +6040,19 @@ module Aws::SageMaker
5839
6040
  # Contains information about the UltraServer.
5840
6041
  # @return [Types::UltraServerInfo]
5841
6042
  #
6043
+ # @!attribute [rw] kubernetes_config
6044
+ # The Kubernetes configuration applied to this node, showing both the
6045
+ # current and desired state of labels and taints. The cluster works to
6046
+ # reconcile the actual state with the declared state.
6047
+ # @return [Types::ClusterKubernetesConfigNodeDetails]
6048
+ #
6049
+ # @!attribute [rw] capacity_type
6050
+ # The capacity type of the node. Valid values are `OnDemand` and
6051
+ # `Spot`. When set to `OnDemand`, the node is launched as an On-Demand
6052
+ # instance. When set to `Spot`, the node is launched as a Spot
6053
+ # instance.
6054
+ # @return [String]
6055
+ #
5842
6056
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterNodeDetails AWS API Documentation
5843
6057
  #
5844
6058
  class ClusterNodeDetails < Struct.new(
@@ -5859,7 +6073,9 @@ module Aws::SageMaker
5859
6073
  :placement,
5860
6074
  :current_image_id,
5861
6075
  :desired_image_id,
5862
- :ultra_server_info)
6076
+ :ultra_server_info,
6077
+ :kubernetes_config,
6078
+ :capacity_type)
5863
6079
  SENSITIVE = []
5864
6080
  include Aws::Structure
5865
6081
  end
@@ -5925,6 +6141,14 @@ module Aws::SageMaker
5925
6141
  include Aws::Structure
5926
6142
  end
5927
6143
 
6144
+ # Configuration options specific to On-Demand instances.
6145
+ #
6146
+ # @api private
6147
+ #
6148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterOnDemandOptions AWS API Documentation
6149
+ #
6150
+ class ClusterOnDemandOptions < Aws::EmptyStructure; end
6151
+
5928
6152
  # The type of orchestrator used for the SageMaker HyperPod cluster.
5929
6153
  #
5930
6154
  # @!attribute [rw] eks
@@ -6221,6 +6445,14 @@ module Aws::SageMaker
6221
6445
  include Aws::Structure
6222
6446
  end
6223
6447
 
6448
+ # Configuration options specific to Spot instances.
6449
+ #
6450
+ # @api private
6451
+ #
6452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterSpotOptions AWS API Documentation
6453
+ #
6454
+ class ClusterSpotOptions < Aws::EmptyStructure; end
6455
+
6224
6456
  # Lists a summary of the properties of a SageMaker HyperPod cluster.
6225
6457
  #
6226
6458
  # @!attribute [rw] cluster_arn
@@ -10078,6 +10310,80 @@ module Aws::SageMaker
10078
10310
  include Aws::Structure
10079
10311
  end
10080
10312
 
10313
+ # @!attribute [rw] name
10314
+ # A string identifying the MLflow app name. This string is not part of
10315
+ # the tracking server ARN.
10316
+ # @return [String]
10317
+ #
10318
+ # @!attribute [rw] artifact_store_uri
10319
+ # The S3 URI for a general purpose bucket to use as the MLflow App
10320
+ # artifact store.
10321
+ # @return [String]
10322
+ #
10323
+ # @!attribute [rw] role_arn
10324
+ # The Amazon Resource Name (ARN) for an IAM role in your account that
10325
+ # the MLflow App uses to access the artifact store in Amazon S3. The
10326
+ # role should have the `AmazonS3FullAccess` permission.
10327
+ # @return [String]
10328
+ #
10329
+ # @!attribute [rw] model_registration_mode
10330
+ # Whether to enable or disable automatic registration of new MLflow
10331
+ # models to the SageMaker Model Registry. To enable automatic model
10332
+ # registration, set this value to `AutoModelRegistrationEnabled`. To
10333
+ # disable automatic model registration, set this value to
10334
+ # `AutoModelRegistrationDisabled`. If not specified,
10335
+ # `AutomaticModelRegistration` defaults to
10336
+ # `AutoModelRegistrationDisabled`.
10337
+ # @return [String]
10338
+ #
10339
+ # @!attribute [rw] weekly_maintenance_window_start
10340
+ # The day and time of the week in Coordinated Universal Time (UTC)
10341
+ # 24-hour standard time that weekly maintenance updates are scheduled.
10342
+ # For example: TUE:03:30.
10343
+ # @return [String]
10344
+ #
10345
+ # @!attribute [rw] account_default_status
10346
+ # Indicates whether this MLflow app is the default for the entire
10347
+ # account.
10348
+ # @return [String]
10349
+ #
10350
+ # @!attribute [rw] default_domain_id_list
10351
+ # List of SageMaker domain IDs for which this MLflow App is used as
10352
+ # the default.
10353
+ # @return [Array<String>]
10354
+ #
10355
+ # @!attribute [rw] tags
10356
+ # Tags consisting of key-value pairs used to manage metadata for the
10357
+ # MLflow App.
10358
+ # @return [Array<Types::Tag>]
10359
+ #
10360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMlflowAppRequest AWS API Documentation
10361
+ #
10362
+ class CreateMlflowAppRequest < Struct.new(
10363
+ :name,
10364
+ :artifact_store_uri,
10365
+ :role_arn,
10366
+ :model_registration_mode,
10367
+ :weekly_maintenance_window_start,
10368
+ :account_default_status,
10369
+ :default_domain_id_list,
10370
+ :tags)
10371
+ SENSITIVE = []
10372
+ include Aws::Structure
10373
+ end
10374
+
10375
+ # @!attribute [rw] arn
10376
+ # The ARN of the MLflow App.
10377
+ # @return [String]
10378
+ #
10379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMlflowAppResponse AWS API Documentation
10380
+ #
10381
+ class CreateMlflowAppResponse < Struct.new(
10382
+ :arn)
10383
+ SENSITIVE = []
10384
+ include Aws::Structure
10385
+ end
10386
+
10081
10387
  # @!attribute [rw] tracking_server_name
10082
10388
  # A unique string identifying the tracking server name. This string is
10083
10389
  # part of the tracking server ARN.
@@ -11189,6 +11495,10 @@ module Aws::SageMaker
11189
11495
  # with the optimization job.
11190
11496
  # @return [String]
11191
11497
  #
11498
+ # @!attribute [rw] max_instance_count
11499
+ # The maximum number of instances to use for the optimization job.
11500
+ # @return [Integer]
11501
+ #
11192
11502
  # @!attribute [rw] optimization_environment
11193
11503
  # The environment variables to set in the model container.
11194
11504
  # @return [Hash<String,String>]
@@ -11248,6 +11558,7 @@ module Aws::SageMaker
11248
11558
  :role_arn,
11249
11559
  :model_source,
11250
11560
  :deployment_instance_type,
11561
+ :max_instance_count,
11251
11562
  :optimization_environment,
11252
11563
  :optimization_configs,
11253
11564
  :output_config,
@@ -11552,6 +11863,42 @@ module Aws::SageMaker
11552
11863
  include Aws::Structure
11553
11864
  end
11554
11865
 
11866
+ # @!attribute [rw] arn
11867
+ # The ARN of the MLflow App to connect to your MLflow UI.
11868
+ # @return [String]
11869
+ #
11870
+ # @!attribute [rw] expires_in_seconds
11871
+ # The duration in seconds that your presigned URL is valid. The
11872
+ # presigned URL can be used only once.
11873
+ # @return [Integer]
11874
+ #
11875
+ # @!attribute [rw] session_expiration_duration_in_seconds
11876
+ # The duration in seconds that your presigned URL is valid. The
11877
+ # presigned URL can be used only once.
11878
+ # @return [Integer]
11879
+ #
11880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedMlflowAppUrlRequest AWS API Documentation
11881
+ #
11882
+ class CreatePresignedMlflowAppUrlRequest < Struct.new(
11883
+ :arn,
11884
+ :expires_in_seconds,
11885
+ :session_expiration_duration_in_seconds)
11886
+ SENSITIVE = []
11887
+ include Aws::Structure
11888
+ end
11889
+
11890
+ # @!attribute [rw] authorized_url
11891
+ # A presigned URL with an authorization token.
11892
+ # @return [String]
11893
+ #
11894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedMlflowAppUrlResponse AWS API Documentation
11895
+ #
11896
+ class CreatePresignedMlflowAppUrlResponse < Struct.new(
11897
+ :authorized_url)
11898
+ SENSITIVE = []
11899
+ include Aws::Structure
11900
+ end
11901
+
11555
11902
  # @!attribute [rw] tracking_server_name
11556
11903
  # The name of the tracking server to connect to your MLflow UI.
11557
11904
  # @return [String]
@@ -14106,6 +14453,30 @@ module Aws::SageMaker
14106
14453
  include Aws::Structure
14107
14454
  end
14108
14455
 
14456
+ # @!attribute [rw] arn
14457
+ # The ARN of the MLflow App to delete.
14458
+ # @return [String]
14459
+ #
14460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMlflowAppRequest AWS API Documentation
14461
+ #
14462
+ class DeleteMlflowAppRequest < Struct.new(
14463
+ :arn)
14464
+ SENSITIVE = []
14465
+ include Aws::Structure
14466
+ end
14467
+
14468
+ # @!attribute [rw] arn
14469
+ # The ARN of the deleted MLflow App.
14470
+ # @return [String]
14471
+ #
14472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMlflowAppResponse AWS API Documentation
14473
+ #
14474
+ class DeleteMlflowAppResponse < Struct.new(
14475
+ :arn)
14476
+ SENSITIVE = []
14477
+ include Aws::Structure
14478
+ end
14479
+
14109
14480
  # @!attribute [rw] tracking_server_name
14110
14481
  # The name of the the tracking server to delete.
14111
14482
  # @return [String]
@@ -18484,6 +18855,107 @@ module Aws::SageMaker
18484
18855
  include Aws::Structure
18485
18856
  end
18486
18857
 
18858
+ # @!attribute [rw] arn
18859
+ # The ARN of the MLflow App for which to get information.
18860
+ # @return [String]
18861
+ #
18862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMlflowAppRequest AWS API Documentation
18863
+ #
18864
+ class DescribeMlflowAppRequest < Struct.new(
18865
+ :arn)
18866
+ SENSITIVE = []
18867
+ include Aws::Structure
18868
+ end
18869
+
18870
+ # @!attribute [rw] arn
18871
+ # The ARN of the MLflow App.
18872
+ # @return [String]
18873
+ #
18874
+ # @!attribute [rw] name
18875
+ # The name of the MLflow App.
18876
+ # @return [String]
18877
+ #
18878
+ # @!attribute [rw] artifact_store_uri
18879
+ # The S3 URI of the general purpose bucket used as the MLflow App
18880
+ # artifact store.
18881
+ # @return [String]
18882
+ #
18883
+ # @!attribute [rw] mlflow_version
18884
+ # The MLflow version used.
18885
+ # @return [String]
18886
+ #
18887
+ # @!attribute [rw] role_arn
18888
+ # The Amazon Resource Name (ARN) for an IAM role in your account that
18889
+ # the MLflow App uses to access the artifact store in Amazon S3.
18890
+ # @return [String]
18891
+ #
18892
+ # @!attribute [rw] status
18893
+ # The current creation status of the described MLflow App.
18894
+ # @return [String]
18895
+ #
18896
+ # @!attribute [rw] model_registration_mode
18897
+ # Whether automatic registration of new MLflow models to the SageMaker
18898
+ # Model Registry is enabled.
18899
+ # @return [String]
18900
+ #
18901
+ # @!attribute [rw] account_default_status
18902
+ # Indicates whether this MLflow app is the default for the entire
18903
+ # account.
18904
+ # @return [String]
18905
+ #
18906
+ # @!attribute [rw] default_domain_id_list
18907
+ # List of SageMaker Domain IDs for which this MLflow App is the
18908
+ # default.
18909
+ # @return [Array<String>]
18910
+ #
18911
+ # @!attribute [rw] creation_time
18912
+ # The timestamp when the MLflow App was created.
18913
+ # @return [Time]
18914
+ #
18915
+ # @!attribute [rw] created_by
18916
+ # Information about the user who created or modified a SageMaker
18917
+ # resource.
18918
+ # @return [Types::UserContext]
18919
+ #
18920
+ # @!attribute [rw] last_modified_time
18921
+ # The timestamp when the MLflow App was last modified.
18922
+ # @return [Time]
18923
+ #
18924
+ # @!attribute [rw] last_modified_by
18925
+ # Information about the user who created or modified a SageMaker
18926
+ # resource.
18927
+ # @return [Types::UserContext]
18928
+ #
18929
+ # @!attribute [rw] weekly_maintenance_window_start
18930
+ # The day and time of the week when weekly maintenance occurs.
18931
+ # @return [String]
18932
+ #
18933
+ # @!attribute [rw] maintenance_status
18934
+ # Current maintenance status of the MLflow App.
18935
+ # @return [String]
18936
+ #
18937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMlflowAppResponse AWS API Documentation
18938
+ #
18939
+ class DescribeMlflowAppResponse < Struct.new(
18940
+ :arn,
18941
+ :name,
18942
+ :artifact_store_uri,
18943
+ :mlflow_version,
18944
+ :role_arn,
18945
+ :status,
18946
+ :model_registration_mode,
18947
+ :account_default_status,
18948
+ :default_domain_id_list,
18949
+ :creation_time,
18950
+ :created_by,
18951
+ :last_modified_time,
18952
+ :last_modified_by,
18953
+ :weekly_maintenance_window_start,
18954
+ :maintenance_status)
18955
+ SENSITIVE = []
18956
+ include Aws::Structure
18957
+ end
18958
+
18487
18959
  # @!attribute [rw] tracking_server_name
18488
18960
  # The name of the MLflow Tracking Server to describe.
18489
18961
  # @return [String]
@@ -19760,6 +20232,10 @@ module Aws::SageMaker
19760
20232
  # with the optimization job.
19761
20233
  # @return [String]
19762
20234
  #
20235
+ # @!attribute [rw] max_instance_count
20236
+ # The maximum number of instances to use for the optimization job.
20237
+ # @return [Integer]
20238
+ #
19763
20239
  # @!attribute [rw] optimization_configs
19764
20240
  # Settings for each of the optimization techniques that the job
19765
20241
  # applies.
@@ -19820,6 +20296,7 @@ module Aws::SageMaker
19820
20296
  :model_source,
19821
20297
  :optimization_environment,
19822
20298
  :deployment_instance_type,
20299
+ :max_instance_count,
19823
20300
  :optimization_configs,
19824
20301
  :output_config,
19825
20302
  :optimization_output,
@@ -29039,6 +29516,10 @@ module Aws::SageMaker
29039
29516
  # The desired number of instances for the group after scaling.
29040
29517
  # @return [Integer]
29041
29518
  #
29519
+ # @!attribute [rw] min_count
29520
+ # Minimum instance count of the instance group.
29521
+ # @return [Integer]
29522
+ #
29042
29523
  # @!attribute [rw] failure_message
29043
29524
  # An error message describing why the scaling operation failed, if
29044
29525
  # applicable.
@@ -29049,6 +29530,7 @@ module Aws::SageMaker
29049
29530
  class InstanceGroupScalingMetadata < Struct.new(
29050
29531
  :instance_count,
29051
29532
  :target_count,
29533
+ :min_count,
29052
29534
  :failure_message)
29053
29535
  SENSITIVE = []
29054
29536
  include Aws::Structure
@@ -33230,6 +33712,92 @@ module Aws::SageMaker
33230
33712
  include Aws::Structure
33231
33713
  end
33232
33714
 
33715
+ # @!attribute [rw] created_after
33716
+ # Use the `CreatedAfter` filter to only list MLflow Apps created after
33717
+ # a specific date and time. Listed MLflow Apps are shown with a date
33718
+ # and time such as `"2024-03-16T01:46:56+00:00"`. The `CreatedAfter`
33719
+ # parameter takes in a Unix timestamp.
33720
+ # @return [Time]
33721
+ #
33722
+ # @!attribute [rw] created_before
33723
+ # Use the `CreatedBefore` filter to only list MLflow Apps created
33724
+ # before a specific date and time. Listed MLflow Apps are shown with a
33725
+ # date and time such as `"2024-03-16T01:46:56+00:00"`. The
33726
+ # `CreatedAfter` parameter takes in a Unix timestamp.
33727
+ # @return [Time]
33728
+ #
33729
+ # @!attribute [rw] status
33730
+ # Filter for Mlflow apps with a specific creation status.
33731
+ # @return [String]
33732
+ #
33733
+ # @!attribute [rw] mlflow_version
33734
+ # Filter for Mlflow Apps with the specified version.
33735
+ # @return [String]
33736
+ #
33737
+ # @!attribute [rw] default_for_domain_id
33738
+ # Filter for MLflow Apps with the specified default SageMaker Domain
33739
+ # ID.
33740
+ # @return [String]
33741
+ #
33742
+ # @!attribute [rw] account_default_status
33743
+ # Filter for MLflow Apps with the specified `AccountDefaultStatus`.
33744
+ # @return [String]
33745
+ #
33746
+ # @!attribute [rw] sort_by
33747
+ # Filter for MLflow Apps sorting by name, creation time, or creation
33748
+ # status.
33749
+ # @return [String]
33750
+ #
33751
+ # @!attribute [rw] sort_order
33752
+ # Change the order of the listed MLflow Apps. By default, MLflow Apps
33753
+ # are listed in `Descending` order by creation time. To change the
33754
+ # list order, specify `SortOrder` to be `Ascending`.
33755
+ # @return [String]
33756
+ #
33757
+ # @!attribute [rw] next_token
33758
+ # If the previous response was truncated, use this token in your next
33759
+ # request to receive the next set of results.
33760
+ # @return [String]
33761
+ #
33762
+ # @!attribute [rw] max_results
33763
+ # The maximum number of MLflow Apps to list.
33764
+ # @return [Integer]
33765
+ #
33766
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMlflowAppsRequest AWS API Documentation
33767
+ #
33768
+ class ListMlflowAppsRequest < Struct.new(
33769
+ :created_after,
33770
+ :created_before,
33771
+ :status,
33772
+ :mlflow_version,
33773
+ :default_for_domain_id,
33774
+ :account_default_status,
33775
+ :sort_by,
33776
+ :sort_order,
33777
+ :next_token,
33778
+ :max_results)
33779
+ SENSITIVE = []
33780
+ include Aws::Structure
33781
+ end
33782
+
33783
+ # @!attribute [rw] summaries
33784
+ # A list of MLflow Apps according to chosen filters.
33785
+ # @return [Array<Types::MlflowAppSummary>]
33786
+ #
33787
+ # @!attribute [rw] next_token
33788
+ # If the previous response was truncated, you will receive this token.
33789
+ # Use it in your next request to receive the next set of results.
33790
+ # @return [String]
33791
+ #
33792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMlflowAppsResponse AWS API Documentation
33793
+ #
33794
+ class ListMlflowAppsResponse < Struct.new(
33795
+ :summaries,
33796
+ :next_token)
33797
+ SENSITIVE = []
33798
+ include Aws::Structure
33799
+ end
33800
+
33233
33801
  # @!attribute [rw] created_after
33234
33802
  # Use the `CreatedAfter` filter to only list tracking servers created
33235
33803
  # after a specific date and time. Listed tracking servers are shown
@@ -36406,6 +36974,45 @@ module Aws::SageMaker
36406
36974
  include Aws::Structure
36407
36975
  end
36408
36976
 
36977
+ # The summary of the Mlflow App to list.
36978
+ #
36979
+ # @!attribute [rw] arn
36980
+ # The ARN of a listed MLflow App.
36981
+ # @return [String]
36982
+ #
36983
+ # @!attribute [rw] name
36984
+ # The name of the MLflow App.
36985
+ # @return [String]
36986
+ #
36987
+ # @!attribute [rw] status
36988
+ # The status of the MLflow App.
36989
+ # @return [String]
36990
+ #
36991
+ # @!attribute [rw] creation_time
36992
+ # The creation time of a listed MLflow App.
36993
+ # @return [Time]
36994
+ #
36995
+ # @!attribute [rw] last_modified_time
36996
+ # The last modified time of a listed MLflow App.
36997
+ # @return [Time]
36998
+ #
36999
+ # @!attribute [rw] mlflow_version
37000
+ # The version of a listed MLflow App.
37001
+ # @return [String]
37002
+ #
37003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MlflowAppSummary AWS API Documentation
37004
+ #
37005
+ class MlflowAppSummary < Struct.new(
37006
+ :arn,
37007
+ :name,
37008
+ :status,
37009
+ :creation_time,
37010
+ :last_modified_time,
37011
+ :mlflow_version)
37012
+ SENSITIVE = []
37013
+ include Aws::Structure
37014
+ end
37015
+
36409
37016
  # The properties of a model as returned by the [Search][1] API.
36410
37017
  #
36411
37018
  #
@@ -38430,6 +39037,53 @@ module Aws::SageMaker
38430
39037
  include Aws::Structure
38431
39038
  end
38432
39039
 
39040
+ # Settings for the model speculative decoding technique that's applied
39041
+ # by a model optimization job.
39042
+ #
39043
+ # @!attribute [rw] technique
39044
+ # The speculative decoding technique to apply during model
39045
+ # optimization.
39046
+ # @return [String]
39047
+ #
39048
+ # @!attribute [rw] training_data_source
39049
+ # The location of the training data to use for speculative decoding.
39050
+ # The data must be formatted as ShareGPT, OpenAI Completions or OpenAI
39051
+ # Chat Completions. The input can also be unencrypted captured data
39052
+ # from a SageMaker endpoint as long as the endpoint uses one of the
39053
+ # above formats.
39054
+ # @return [Types::ModelSpeculativeDecodingTrainingDataSource]
39055
+ #
39056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelSpeculativeDecodingConfig AWS API Documentation
39057
+ #
39058
+ class ModelSpeculativeDecodingConfig < Struct.new(
39059
+ :technique,
39060
+ :training_data_source)
39061
+ SENSITIVE = []
39062
+ include Aws::Structure
39063
+ end
39064
+
39065
+ # Contains information about the training data source for speculative
39066
+ # decoding.
39067
+ #
39068
+ # @!attribute [rw] s3_uri
39069
+ # The Amazon S3 URI that points to the training data for speculative
39070
+ # decoding.
39071
+ # @return [String]
39072
+ #
39073
+ # @!attribute [rw] s3_data_type
39074
+ # The type of data stored in the Amazon S3 location. Valid values are
39075
+ # `S3Prefix` or `ManifestFile`.
39076
+ # @return [String]
39077
+ #
39078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelSpeculativeDecodingTrainingDataSource AWS API Documentation
39079
+ #
39080
+ class ModelSpeculativeDecodingTrainingDataSource < Struct.new(
39081
+ :s3_uri,
39082
+ :s3_data_type)
39083
+ SENSITIVE = []
39084
+ include Aws::Structure
39085
+ end
39086
+
38433
39087
  # Metadata for Model steps.
38434
39088
  #
38435
39089
  # @!attribute [rw] arn
@@ -40042,12 +40696,18 @@ module Aws::SageMaker
40042
40696
  # optimization job.
40043
40697
  # @return [Types::ModelShardingConfig]
40044
40698
  #
40699
+ # @!attribute [rw] model_speculative_decoding_config
40700
+ # Settings for the model speculative decoding technique that's
40701
+ # applied by a model optimization job.
40702
+ # @return [Types::ModelSpeculativeDecodingConfig]
40703
+ #
40045
40704
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OptimizationConfig AWS API Documentation
40046
40705
  #
40047
40706
  class OptimizationConfig < Struct.new(
40048
40707
  :model_quantization_config,
40049
40708
  :model_compilation_config,
40050
40709
  :model_sharding_config,
40710
+ :model_speculative_decoding_config,
40051
40711
  :unknown)
40052
40712
  SENSITIVE = []
40053
40713
  include Aws::Structure
@@ -40056,6 +40716,7 @@ module Aws::SageMaker
40056
40716
  class ModelQuantizationConfig < OptimizationConfig; end
40057
40717
  class ModelCompilationConfig < OptimizationConfig; end
40058
40718
  class ModelShardingConfig < OptimizationConfig; end
40719
+ class ModelSpeculativeDecodingConfig < OptimizationConfig; end
40059
40720
  class Unknown < OptimizationConfig; end
40060
40721
  end
40061
40722
 
@@ -40066,10 +40727,16 @@ module Aws::SageMaker
40066
40727
  # optimization job.
40067
40728
  # @return [Types::OptimizationJobModelSourceS3]
40068
40729
  #
40730
+ # @!attribute [rw] sage_maker_model
40731
+ # The name of an existing SageMaker model to optimize with an
40732
+ # optimization job.
40733
+ # @return [Types::OptimizationSageMakerModel]
40734
+ #
40069
40735
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OptimizationJobModelSource AWS API Documentation
40070
40736
  #
40071
40737
  class OptimizationJobModelSource < Struct.new(
40072
- :s3)
40738
+ :s3,
40739
+ :sage_maker_model)
40073
40740
  SENSITIVE = []
40074
40741
  include Aws::Structure
40075
40742
  end
@@ -40111,11 +40778,17 @@ module Aws::SageMaker
40111
40778
  # create with an optimization job.
40112
40779
  # @return [String]
40113
40780
  #
40781
+ # @!attribute [rw] sage_maker_model
40782
+ # The name of a SageMaker model to use as the output destination for
40783
+ # an optimization job.
40784
+ # @return [Types::OptimizationSageMakerModel]
40785
+ #
40114
40786
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OptimizationJobOutputConfig AWS API Documentation
40115
40787
  #
40116
40788
  class OptimizationJobOutputConfig < Struct.new(
40117
40789
  :kms_key_id,
40118
- :s3_output_location)
40790
+ :s3_output_location,
40791
+ :sage_maker_model)
40119
40792
  SENSITIVE = []
40120
40793
  include Aws::Structure
40121
40794
  end
@@ -40156,6 +40829,10 @@ module Aws::SageMaker
40156
40829
  # with the optimization job.
40157
40830
  # @return [String]
40158
40831
  #
40832
+ # @!attribute [rw] max_instance_count
40833
+ # The maximum number of instances to use for the optimization job.
40834
+ # @return [Integer]
40835
+ #
40159
40836
  # @!attribute [rw] optimization_types
40160
40837
  # The optimization techniques that are applied by the optimization
40161
40838
  # job.
@@ -40172,6 +40849,7 @@ module Aws::SageMaker
40172
40849
  :optimization_end_time,
40173
40850
  :last_modified_time,
40174
40851
  :deployment_instance_type,
40852
+ :max_instance_count,
40175
40853
  :optimization_types)
40176
40854
  SENSITIVE = []
40177
40855
  include Aws::Structure
@@ -40213,6 +40891,21 @@ module Aws::SageMaker
40213
40891
  include Aws::Structure
40214
40892
  end
40215
40893
 
40894
+ # A SageMaker model to use as the source or destination for an
40895
+ # optimization job.
40896
+ #
40897
+ # @!attribute [rw] model_name
40898
+ # The name of a SageMaker model.
40899
+ # @return [String]
40900
+ #
40901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OptimizationSageMakerModel AWS API Documentation
40902
+ #
40903
+ class OptimizationSageMakerModel < Struct.new(
40904
+ :model_name)
40905
+ SENSITIVE = []
40906
+ include Aws::Structure
40907
+ end
40908
+
40216
40909
  # A VPC in Amazon VPC that's accessible to an optimized that you create
40217
40910
  # with an optimization job. You can control access to and from your
40218
40911
  # resources by configuring a VPC. For more information, see [Give
@@ -52480,6 +53173,71 @@ module Aws::SageMaker
52480
53173
  include Aws::Structure
52481
53174
  end
52482
53175
 
53176
+ # @!attribute [rw] arn
53177
+ # The ARN of the MLflow App to update.
53178
+ # @return [String]
53179
+ #
53180
+ # @!attribute [rw] name
53181
+ # The name of the MLflow App to update.
53182
+ # @return [String]
53183
+ #
53184
+ # @!attribute [rw] artifact_store_uri
53185
+ # The new S3 URI for the general purpose bucket to use as the artifact
53186
+ # store for the MLflow App.
53187
+ # @return [String]
53188
+ #
53189
+ # @!attribute [rw] model_registration_mode
53190
+ # Whether to enable or disable automatic registration of new MLflow
53191
+ # models to the SageMaker Model Registry. To enable automatic model
53192
+ # registration, set this value to `AutoModelRegistrationEnabled`. To
53193
+ # disable automatic model registration, set this value to
53194
+ # `AutoModelRegistrationDisabled`. If not specified,
53195
+ # `AutomaticModelRegistration` defaults to
53196
+ # `AutoModelRegistrationEnabled`
53197
+ # @return [String]
53198
+ #
53199
+ # @!attribute [rw] weekly_maintenance_window_start
53200
+ # The new weekly maintenance window start day and time to update. The
53201
+ # maintenance window day and time should be in Coordinated Universal
53202
+ # Time (UTC) 24-hour standard time. For example: TUE:03:30.
53203
+ # @return [String]
53204
+ #
53205
+ # @!attribute [rw] default_domain_id_list
53206
+ # List of SageMaker Domain IDs for which this MLflow App is the
53207
+ # default.
53208
+ # @return [Array<String>]
53209
+ #
53210
+ # @!attribute [rw] account_default_status
53211
+ # Indicates whether this this MLflow App is the default for the
53212
+ # account.
53213
+ # @return [String]
53214
+ #
53215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMlflowAppRequest AWS API Documentation
53216
+ #
53217
+ class UpdateMlflowAppRequest < Struct.new(
53218
+ :arn,
53219
+ :name,
53220
+ :artifact_store_uri,
53221
+ :model_registration_mode,
53222
+ :weekly_maintenance_window_start,
53223
+ :default_domain_id_list,
53224
+ :account_default_status)
53225
+ SENSITIVE = []
53226
+ include Aws::Structure
53227
+ end
53228
+
53229
+ # @!attribute [rw] arn
53230
+ # The ARN of the updated MLflow App.
53231
+ # @return [String]
53232
+ #
53233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMlflowAppResponse AWS API Documentation
53234
+ #
53235
+ class UpdateMlflowAppResponse < Struct.new(
53236
+ :arn)
53237
+ SENSITIVE = []
53238
+ include Aws::Structure
53239
+ end
53240
+
52483
53241
  # @!attribute [rw] tracking_server_name
52484
53242
  # The name of the MLflow Tracking Server to update.
52485
53243
  # @return [String]