aws-sdk-sagemaker 1.397.0 → 1.399.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.
@@ -4988,6 +4988,31 @@ module Aws::SageMaker
4988
4988
  include Aws::Structure
4989
4989
  end
4990
4990
 
4991
+ # The billable token usage for a training session, broken down by
4992
+ # operation type.
4993
+ #
4994
+ # @!attribute [rw] prefill_token_count
4995
+ # The number of prefill tokens consumed.
4996
+ # @return [Integer]
4997
+ #
4998
+ # @!attribute [rw] sample_token_count
4999
+ # The number of sample tokens consumed.
5000
+ # @return [Integer]
5001
+ #
5002
+ # @!attribute [rw] training_token_count
5003
+ # The number of training tokens consumed.
5004
+ # @return [Integer]
5005
+ #
5006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BillableTokenUsage AWS API Documentation
5007
+ #
5008
+ class BillableTokenUsage < Struct.new(
5009
+ :prefill_token_count,
5010
+ :sample_token_count,
5011
+ :training_token_count)
5012
+ SENSITIVE = []
5013
+ include Aws::Structure
5014
+ end
5015
+
4991
5016
  # Update policy for a blue/green deployment. If this update policy is
4992
5017
  # specified, SageMaker creates a new fleet during the deployment while
4993
5018
  # maintaining the old fleet. SageMaker flips traffic to the new fleet
@@ -10045,7 +10070,9 @@ module Aws::SageMaker
10045
10070
  end
10046
10071
 
10047
10072
  # @!attribute [rw] name
10048
- # Name for the cluster policy.
10073
+ # The name for the cluster policy. The name must be unique within the
10074
+ # SageMaker AI HyperPod cluster specified by `ClusterArn`. You can use
10075
+ # the same name in other clusters within a Region or across Regions.
10049
10076
  # @return [String]
10050
10077
  #
10051
10078
  # @!attribute [rw] cluster_arn
@@ -10250,7 +10277,10 @@ module Aws::SageMaker
10250
10277
  end
10251
10278
 
10252
10279
  # @!attribute [rw] name
10253
- # Name to the compute allocation definition.
10280
+ # The name of the compute allocation definition. The name must be
10281
+ # unique within the SageMaker AI HyperPod cluster specified by
10282
+ # `ClusterArn`. You can use the same name in other clusters within a
10283
+ # Region or across Regions.
10254
10284
  # @return [String]
10255
10285
  #
10256
10286
  # @!attribute [rw] description
@@ -14713,6 +14743,79 @@ module Aws::SageMaker
14713
14743
  include Aws::Structure
14714
14744
  end
14715
14745
 
14746
+ # @!attribute [rw] training_session_name
14747
+ # The name of the training session.
14748
+ # @return [String]
14749
+ #
14750
+ # @!attribute [rw] model_package_group_arn
14751
+ # The Amazon Resource Name (ARN) of the model package group where
14752
+ # checkpoints and fine-tuned model artifacts are published.
14753
+ # @return [String]
14754
+ #
14755
+ # @!attribute [rw] lora_config
14756
+ # The Low-Rank Adaptation (LoRA) configuration for the training
14757
+ # session, including the rank and alpha parameters.
14758
+ # @return [Types::LoraConfig]
14759
+ #
14760
+ # @!attribute [rw] role_arn
14761
+ # The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
14762
+ # assumes to access resources on your behalf. The role must have
14763
+ # permissions to access the output S3 path and model package group.
14764
+ # @return [String]
14765
+ #
14766
+ # @!attribute [rw] vpc_config
14767
+ # The Virtual Private Cloud (VPC) configuration for the training
14768
+ # session. Specify subnets and security groups to run the training
14769
+ # session in your VPC.
14770
+ # @return [Types::VpcConfig]
14771
+ #
14772
+ # @!attribute [rw] model_config
14773
+ # The configuration for the base model, including the model ARN and
14774
+ # end-user license agreement (EULA) acceptance.
14775
+ # @return [Types::TrainingSessionModelConfig]
14776
+ #
14777
+ # @!attribute [rw] output_config
14778
+ # The output configuration for the training session, including the S3
14779
+ # location and optional encryption settings.
14780
+ # @return [Types::TrainingSessionOutputConfig]
14781
+ #
14782
+ # @!attribute [rw] tags
14783
+ # An array of key-value pairs to apply to the training session as
14784
+ # tags. For more information, see [Tagging Amazon Web Services
14785
+ # Resources][1].
14786
+ #
14787
+ #
14788
+ #
14789
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
14790
+ # @return [Array<Types::Tag>]
14791
+ #
14792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingSessionRequest AWS API Documentation
14793
+ #
14794
+ class CreateTrainingSessionRequest < Struct.new(
14795
+ :training_session_name,
14796
+ :model_package_group_arn,
14797
+ :lora_config,
14798
+ :role_arn,
14799
+ :vpc_config,
14800
+ :model_config,
14801
+ :output_config,
14802
+ :tags)
14803
+ SENSITIVE = []
14804
+ include Aws::Structure
14805
+ end
14806
+
14807
+ # @!attribute [rw] training_session_arn
14808
+ # The Amazon Resource Name (ARN) of the training session.
14809
+ # @return [String]
14810
+ #
14811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingSessionResponse AWS API Documentation
14812
+ #
14813
+ class CreateTrainingSessionResponse < Struct.new(
14814
+ :training_session_arn)
14815
+ SENSITIVE = []
14816
+ include Aws::Structure
14817
+ end
14818
+
14716
14819
  # @!attribute [rw] transform_job_name
14717
14820
  # The name of the transform job. The name must be unique within an
14718
14821
  # Amazon Web Services Region in an Amazon Web Services account.
@@ -17053,6 +17156,22 @@ module Aws::SageMaker
17053
17156
  include Aws::Structure
17054
17157
  end
17055
17158
 
17159
+ # @!attribute [rw] training_session_name
17160
+ # The name of the training session to delete.
17161
+ # @return [String]
17162
+ #
17163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingSessionRequest AWS API Documentation
17164
+ #
17165
+ class DeleteTrainingSessionRequest < Struct.new(
17166
+ :training_session_name)
17167
+ SENSITIVE = []
17168
+ include Aws::Structure
17169
+ end
17170
+
17171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingSessionResponse AWS API Documentation
17172
+ #
17173
+ class DeleteTrainingSessionResponse < Aws::EmptyStructure; end
17174
+
17056
17175
  # @!attribute [rw] trial_component_name
17057
17176
  # The name of the component to delete.
17058
17177
  # @return [String]
@@ -24626,6 +24745,30 @@ module Aws::SageMaker
24626
24745
  include Aws::Structure
24627
24746
  end
24628
24747
 
24748
+ # @!attribute [rw] training_session_name
24749
+ # The name of the training session to describe.
24750
+ # @return [String]
24751
+ #
24752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingSessionRequest AWS API Documentation
24753
+ #
24754
+ class DescribeTrainingSessionRequest < Struct.new(
24755
+ :training_session_name)
24756
+ SENSITIVE = []
24757
+ include Aws::Structure
24758
+ end
24759
+
24760
+ # @!attribute [rw] training_session_detail
24761
+ # The detailed information about the training session.
24762
+ # @return [Types::TrainingSessionDetail]
24763
+ #
24764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingSessionResponse AWS API Documentation
24765
+ #
24766
+ class DescribeTrainingSessionResponse < Struct.new(
24767
+ :training_session_detail)
24768
+ SENSITIVE = []
24769
+ include Aws::Structure
24770
+ end
24771
+
24629
24772
  # @!attribute [rw] transform_job_name
24630
24773
  # The name of the transform job that you want to view details of.
24631
24774
  # @return [String]
@@ -40294,6 +40437,67 @@ module Aws::SageMaker
40294
40437
  include Aws::Structure
40295
40438
  end
40296
40439
 
40440
+ # @!attribute [rw] next_token
40441
+ # If the response was truncated, use the token returned in the
40442
+ # previous response to retrieve the next page of results.
40443
+ # @return [String]
40444
+ #
40445
+ # @!attribute [rw] max_results
40446
+ # The maximum number of training sessions to return in the response.
40447
+ # @return [Integer]
40448
+ #
40449
+ # @!attribute [rw] creation_time_after
40450
+ # A filter that returns only training sessions created after the
40451
+ # specified time.
40452
+ # @return [Time]
40453
+ #
40454
+ # @!attribute [rw] creation_time_before
40455
+ # A filter that returns only training sessions created before the
40456
+ # specified time.
40457
+ # @return [Time]
40458
+ #
40459
+ # @!attribute [rw] name_contains
40460
+ # A string in the training session name to filter results. Only
40461
+ # sessions whose name contains the specified string are returned.
40462
+ # @return [String]
40463
+ #
40464
+ # @!attribute [rw] status_equals
40465
+ # A filter that returns only training sessions with the specified
40466
+ # status.
40467
+ # @return [String]
40468
+ #
40469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingSessionsRequest AWS API Documentation
40470
+ #
40471
+ class ListTrainingSessionsRequest < Struct.new(
40472
+ :next_token,
40473
+ :max_results,
40474
+ :creation_time_after,
40475
+ :creation_time_before,
40476
+ :name_contains,
40477
+ :status_equals)
40478
+ SENSITIVE = []
40479
+ include Aws::Structure
40480
+ end
40481
+
40482
+ # @!attribute [rw] next_token
40483
+ # If the response is truncated, this token retrieves the next set of
40484
+ # results.
40485
+ # @return [String]
40486
+ #
40487
+ # @!attribute [rw] training_session_summaries
40488
+ # An array of `TrainingSessionSummary` objects that provide summary
40489
+ # information about the training sessions.
40490
+ # @return [Array<Types::TrainingSessionSummary>]
40491
+ #
40492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingSessionsResponse AWS API Documentation
40493
+ #
40494
+ class ListTrainingSessionsResponse < Struct.new(
40495
+ :next_token,
40496
+ :training_session_summaries)
40497
+ SENSITIVE = []
40498
+ include Aws::Structure
40499
+ end
40500
+
40297
40501
  # @!attribute [rw] creation_time_after
40298
40502
  # A filter that returns only transform jobs created after the
40299
40503
  # specified time.
@@ -40739,6 +40943,26 @@ module Aws::SageMaker
40739
40943
  include Aws::Structure
40740
40944
  end
40741
40945
 
40946
+ # The Low-Rank Adaptation (LoRA) configuration for a training session,
40947
+ # including the rank and alpha parameters.
40948
+ #
40949
+ # @!attribute [rw] rank
40950
+ # The rank of the Low-Rank Adaptation (LoRA) adapter matrices.
40951
+ # @return [Integer]
40952
+ #
40953
+ # @!attribute [rw] alpha
40954
+ # The Low-Rank Adaptation (LoRA) scaling factor.
40955
+ # @return [Integer]
40956
+ #
40957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LoraConfig AWS API Documentation
40958
+ #
40959
+ class LoraConfig < Struct.new(
40960
+ :rank,
40961
+ :alpha)
40962
+ SENSITIVE = []
40963
+ include Aws::Structure
40964
+ end
40965
+
40742
40966
  # The MLflow configuration.
40743
40967
  #
40744
40968
  # @!attribute [rw] mlflow_resource_arn
@@ -52995,6 +53219,22 @@ module Aws::SageMaker
52995
53219
  include Aws::Structure
52996
53220
  end
52997
53221
 
53222
+ # @!attribute [rw] training_session_name
53223
+ # The name of the training session to stop.
53224
+ # @return [String]
53225
+ #
53226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingSessionRequest AWS API Documentation
53227
+ #
53228
+ class StopTrainingSessionRequest < Struct.new(
53229
+ :training_session_name)
53230
+ SENSITIVE = []
53231
+ include Aws::Structure
53232
+ end
53233
+
53234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingSessionResponse AWS API Documentation
53235
+ #
53236
+ class StopTrainingSessionResponse < Aws::EmptyStructure; end
53237
+
52998
53238
  # @!attribute [rw] transform_job_name
52999
53239
  # The name of the batch transform job to stop.
53000
53240
  # @return [String]
@@ -55211,6 +55451,190 @@ module Aws::SageMaker
55211
55451
  include Aws::Structure
55212
55452
  end
55213
55453
 
55454
+ # Contains detailed information about a training session.
55455
+ #
55456
+ # @!attribute [rw] training_session_arn
55457
+ # The Amazon Resource Name (ARN) of the training session.
55458
+ # @return [String]
55459
+ #
55460
+ # @!attribute [rw] training_session_name
55461
+ # The name of the training session.
55462
+ # @return [String]
55463
+ #
55464
+ # @!attribute [rw] training_session_status
55465
+ # The current status of the training session.
55466
+ # @return [String]
55467
+ #
55468
+ # @!attribute [rw] model_package_group_arn
55469
+ # The Amazon Resource Name (ARN) of the model package group where
55470
+ # checkpoints are published.
55471
+ # @return [String]
55472
+ #
55473
+ # @!attribute [rw] creation_time
55474
+ # The date and time that the training session was created.
55475
+ # @return [Time]
55476
+ #
55477
+ # @!attribute [rw] last_modified_time
55478
+ # The date and time that the training session was last modified.
55479
+ # @return [Time]
55480
+ #
55481
+ # @!attribute [rw] end_time
55482
+ # The date and time that the training session ended.
55483
+ # @return [Time]
55484
+ #
55485
+ # @!attribute [rw] error_details
55486
+ # If the training session failed or is blocked, detailed error
55487
+ # information.
55488
+ # @return [String]
55489
+ #
55490
+ # @!attribute [rw] last_received_sequence_number
55491
+ # The sequence number of the last training operation received by the
55492
+ # session.
55493
+ # @return [Integer]
55494
+ #
55495
+ # @!attribute [rw] billable_token_usage
55496
+ # The billable token usage for the training session.
55497
+ # @return [Types::BillableTokenUsage]
55498
+ #
55499
+ # @!attribute [rw] vpc_config
55500
+ # The Virtual Private Cloud (VPC) configuration for the training
55501
+ # session.
55502
+ # @return [Types::VpcConfig]
55503
+ #
55504
+ # @!attribute [rw] role_arn
55505
+ # The Amazon Resource Name (ARN) of the IAM role associated with the
55506
+ # training session.
55507
+ # @return [String]
55508
+ #
55509
+ # @!attribute [rw] lora_config
55510
+ # The Low-Rank Adaptation (LoRA) configuration for the training
55511
+ # session.
55512
+ # @return [Types::LoraConfig]
55513
+ #
55514
+ # @!attribute [rw] model_config
55515
+ # The configuration for the base model.
55516
+ # @return [Types::TrainingSessionModelConfig]
55517
+ #
55518
+ # @!attribute [rw] output_config
55519
+ # The output configuration for the training session.
55520
+ # @return [Types::TrainingSessionOutputConfig]
55521
+ #
55522
+ # @!attribute [rw] tags
55523
+ # The tags associated with the training session.
55524
+ # @return [Array<Types::Tag>]
55525
+ #
55526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionDetail AWS API Documentation
55527
+ #
55528
+ class TrainingSessionDetail < Struct.new(
55529
+ :training_session_arn,
55530
+ :training_session_name,
55531
+ :training_session_status,
55532
+ :model_package_group_arn,
55533
+ :creation_time,
55534
+ :last_modified_time,
55535
+ :end_time,
55536
+ :error_details,
55537
+ :last_received_sequence_number,
55538
+ :billable_token_usage,
55539
+ :vpc_config,
55540
+ :role_arn,
55541
+ :lora_config,
55542
+ :model_config,
55543
+ :output_config,
55544
+ :tags)
55545
+ SENSITIVE = []
55546
+ include Aws::Structure
55547
+ end
55548
+
55549
+ # The configuration for the base model used in a training session.
55550
+ #
55551
+ # @!attribute [rw] base_model_arn
55552
+ # The Amazon Resource Name (ARN) of the base foundation model from
55553
+ # SageMaker Hub.
55554
+ # @return [String]
55555
+ #
55556
+ # @!attribute [rw] accept_eula
55557
+ # Specifies whether you accept the end-user license agreement (EULA)
55558
+ # for gated models.
55559
+ # @return [Boolean]
55560
+ #
55561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionModelConfig AWS API Documentation
55562
+ #
55563
+ class TrainingSessionModelConfig < Struct.new(
55564
+ :base_model_arn,
55565
+ :accept_eula)
55566
+ SENSITIVE = []
55567
+ include Aws::Structure
55568
+ end
55569
+
55570
+ # The output configuration for a training session, including the Amazon
55571
+ # S3 location for checkpoints and model artifacts, and optional
55572
+ # encryption settings.
55573
+ #
55574
+ # @!attribute [rw] s3_location
55575
+ # The Amazon S3 location where training session outputs, including
55576
+ # checkpoints and model artifacts, are stored.
55577
+ # @return [Types::TrainingSessionS3Location]
55578
+ #
55579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionOutputConfig AWS API Documentation
55580
+ #
55581
+ class TrainingSessionOutputConfig < Struct.new(
55582
+ :s3_location)
55583
+ SENSITIVE = []
55584
+ include Aws::Structure
55585
+ end
55586
+
55587
+ # Specifies the Amazon S3 path and optional encryption settings for
55588
+ # training session output data, including checkpoints, model artifacts,
55589
+ # and invocation results.
55590
+ #
55591
+ # @!attribute [rw] path
55592
+ # The Amazon S3 path where training session outputs are stored.
55593
+ # @return [String]
55594
+ #
55595
+ # @!attribute [rw] kms_key_arn
55596
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt output
55597
+ # data. If not specified, the default Amazon S3 encryption is used.
55598
+ # @return [String]
55599
+ #
55600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionS3Location AWS API Documentation
55601
+ #
55602
+ class TrainingSessionS3Location < Struct.new(
55603
+ :path,
55604
+ :kms_key_arn)
55605
+ SENSITIVE = []
55606
+ include Aws::Structure
55607
+ end
55608
+
55609
+ # Contains summary information about a training session.
55610
+ #
55611
+ # @!attribute [rw] training_session_arn
55612
+ # The Amazon Resource Name (ARN) of the training session.
55613
+ # @return [String]
55614
+ #
55615
+ # @!attribute [rw] training_session_status
55616
+ # The current status of the training session.
55617
+ # @return [String]
55618
+ #
55619
+ # @!attribute [rw] creation_time
55620
+ # The date and time that the training session was created.
55621
+ # @return [Time]
55622
+ #
55623
+ # @!attribute [rw] last_modified_time
55624
+ # The date and time that the training session was last modified.
55625
+ # @return [Time]
55626
+ #
55627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionSummary AWS API Documentation
55628
+ #
55629
+ class TrainingSessionSummary < Struct.new(
55630
+ :training_session_arn,
55631
+ :training_session_status,
55632
+ :creation_time,
55633
+ :last_modified_time)
55634
+ SENSITIVE = []
55635
+ include Aws::Structure
55636
+ end
55637
+
55214
55638
  # Defines how the algorithm is used for a training job.
55215
55639
  #
55216
55640
  # @!attribute [rw] training_image
@@ -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.397.0'
58
+ GEM_VERSION = '1.399.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -166,7 +166,7 @@ module Aws
166
166
  instance_group_name: ::String,
167
167
  increment_target_count_by: ::Integer,
168
168
  availability_zones: Array[::String]?,
169
- instance_types: Array[("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.p5.4xlarge" | "ml.p6e-gb200.36xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.c5n.large" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.16xlarge" | "ml.g6.12xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.gr6.4xlarge" | "ml.gr6.8xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.16xlarge" | "ml.g6e.12xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.p6-b200.48xlarge" | "ml.trn2.3xlarge" | "ml.trn2.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.i3en.large" | "ml.i3en.xlarge" | "ml.i3en.2xlarge" | "ml.i3en.3xlarge" | "ml.i3en.6xlarge" | "ml.i3en.12xlarge" | "ml.i3en.24xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.r5d.16xlarge" | "ml.g7e.2xlarge" | "ml.g7e.4xlarge" | "ml.g7e.8xlarge" | "ml.g7e.12xlarge" | "ml.g7e.24xlarge" | "ml.g7e.48xlarge" | "ml.p6-b300.48xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.c6g.medium" | "ml.c6g.large" | "ml.c6g.xlarge" | "ml.c6g.2xlarge" | "ml.c6g.4xlarge" | "ml.c6g.8xlarge" | "ml.c6g.12xlarge" | "ml.c6g.16xlarge" | "ml.c7g.medium" | "ml.c7g.large" | "ml.c7g.xlarge" | "ml.c7g.2xlarge" | "ml.c7g.4xlarge" | "ml.c7g.8xlarge" | "ml.c7g.12xlarge" | "ml.c7g.16xlarge" | "ml.c8g.medium" | "ml.c8g.large" | "ml.c8g.xlarge" | "ml.c8g.2xlarge" | "ml.c8g.4xlarge" | "ml.c8g.8xlarge" | "ml.c8g.12xlarge" | "ml.c8g.16xlarge" | "ml.c8g.24xlarge" | "ml.c8g.48xlarge" | "ml.c6a.large" | "ml.c6a.xlarge" | "ml.c6a.2xlarge" | "ml.c6a.4xlarge" | "ml.c6a.8xlarge" | "ml.c6a.12xlarge" | "ml.c6a.16xlarge" | "ml.c6a.24xlarge" | "ml.c6a.32xlarge" | "ml.c6a.48xlarge" | "ml.m6a.large" | "ml.m6a.xlarge" | "ml.m6a.2xlarge" | "ml.m6a.4xlarge" | "ml.m6a.8xlarge" | "ml.m6a.12xlarge" | "ml.m6a.16xlarge" | "ml.m6a.24xlarge" | "ml.m6a.32xlarge" | "ml.m6a.48xlarge" | "ml.m6g.medium" | "ml.m6g.large" | "ml.m6g.xlarge" | "ml.m6g.2xlarge" | "ml.m6g.4xlarge" | "ml.m6g.8xlarge" | "ml.m6g.12xlarge" | "ml.m6g.16xlarge" | "ml.m7g.medium" | "ml.m7g.large" | "ml.m7g.xlarge" | "ml.m7g.2xlarge" | "ml.m7g.4xlarge" | "ml.m7g.8xlarge" | "ml.m7g.12xlarge" | "ml.m7g.16xlarge" | "ml.m8g.medium" | "ml.m8g.large" | "ml.m8g.xlarge" | "ml.m8g.2xlarge" | "ml.m8g.4xlarge" | "ml.m8g.8xlarge" | "ml.m8g.12xlarge" | "ml.m8g.16xlarge" | "ml.m8g.24xlarge" | "ml.m8g.48xlarge" | "ml.g7.2xlarge" | "ml.g7.4xlarge" | "ml.g7.8xlarge" | "ml.g7.12xlarge" | "ml.g7.24xlarge" | "ml.g7.48xlarge")]?
169
+ instance_types: Array[("ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.p5.4xlarge" | "ml.p6e-gb200.36xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.c5n.large" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.16xlarge" | "ml.g6.12xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.gr6.4xlarge" | "ml.gr6.8xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.16xlarge" | "ml.g6e.12xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.p6-b200.48xlarge" | "ml.trn2.3xlarge" | "ml.trn2.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.i3en.large" | "ml.i3en.xlarge" | "ml.i3en.2xlarge" | "ml.i3en.3xlarge" | "ml.i3en.6xlarge" | "ml.i3en.12xlarge" | "ml.i3en.24xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.r5d.16xlarge" | "ml.g7e.2xlarge" | "ml.g7e.4xlarge" | "ml.g7e.8xlarge" | "ml.g7e.12xlarge" | "ml.g7e.24xlarge" | "ml.g7e.48xlarge" | "ml.p6-b300.48xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.c6g.medium" | "ml.c6g.large" | "ml.c6g.xlarge" | "ml.c6g.2xlarge" | "ml.c6g.4xlarge" | "ml.c6g.8xlarge" | "ml.c6g.12xlarge" | "ml.c6g.16xlarge" | "ml.c7g.medium" | "ml.c7g.large" | "ml.c7g.xlarge" | "ml.c7g.2xlarge" | "ml.c7g.4xlarge" | "ml.c7g.8xlarge" | "ml.c7g.12xlarge" | "ml.c7g.16xlarge" | "ml.c8g.medium" | "ml.c8g.large" | "ml.c8g.xlarge" | "ml.c8g.2xlarge" | "ml.c8g.4xlarge" | "ml.c8g.8xlarge" | "ml.c8g.12xlarge" | "ml.c8g.16xlarge" | "ml.c8g.24xlarge" | "ml.c8g.48xlarge" | "ml.c6a.large" | "ml.c6a.xlarge" | "ml.c6a.2xlarge" | "ml.c6a.4xlarge" | "ml.c6a.8xlarge" | "ml.c6a.12xlarge" | "ml.c6a.16xlarge" | "ml.c6a.24xlarge" | "ml.c6a.32xlarge" | "ml.c6a.48xlarge" | "ml.m6a.large" | "ml.m6a.xlarge" | "ml.m6a.2xlarge" | "ml.m6a.4xlarge" | "ml.m6a.8xlarge" | "ml.m6a.12xlarge" | "ml.m6a.16xlarge" | "ml.m6a.24xlarge" | "ml.m6a.32xlarge" | "ml.m6a.48xlarge" | "ml.m6g.medium" | "ml.m6g.large" | "ml.m6g.xlarge" | "ml.m6g.2xlarge" | "ml.m6g.4xlarge" | "ml.m6g.8xlarge" | "ml.m6g.12xlarge" | "ml.m6g.16xlarge" | "ml.m7g.medium" | "ml.m7g.large" | "ml.m7g.xlarge" | "ml.m7g.2xlarge" | "ml.m7g.4xlarge" | "ml.m7g.8xlarge" | "ml.m7g.12xlarge" | "ml.m7g.16xlarge" | "ml.m8g.medium" | "ml.m8g.large" | "ml.m8g.xlarge" | "ml.m8g.2xlarge" | "ml.m8g.4xlarge" | "ml.m8g.8xlarge" | "ml.m8g.12xlarge" | "ml.m8g.16xlarge" | "ml.m8g.24xlarge" | "ml.m8g.48xlarge" | "ml.g7.2xlarge" | "ml.g7.4xlarge" | "ml.g7.8xlarge" | "ml.g7.12xlarge" | "ml.g7.24xlarge" | "ml.g7.48xlarge" | "ml.c8a.16xlarge" | "ml.m8a.16xlarge")]?
170
170
  }
171
171
  ]
172
172
  ) -> _BatchAddClusterNodesResponseSuccess
@@ -2845,6 +2845,42 @@ module Aws
2845
2845
  ) -> _CreateTrainingPlanResponseSuccess
2846
2846
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrainingPlanResponseSuccess
2847
2847
 
2848
+ interface _CreateTrainingSessionResponseSuccess
2849
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrainingSessionResponse]
2850
+ def training_session_arn: () -> ::String
2851
+ end
2852
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_training_session-instance_method
2853
+ def create_training_session: (
2854
+ training_session_name: ::String,
2855
+ ?model_package_group_arn: ::String,
2856
+ lora_config: {
2857
+ rank: ::Integer,
2858
+ alpha: ::Integer
2859
+ },
2860
+ role_arn: ::String,
2861
+ ?vpc_config: {
2862
+ security_group_ids: Array[::String],
2863
+ subnets: Array[::String]
2864
+ },
2865
+ model_config: {
2866
+ base_model_arn: ::String,
2867
+ accept_eula: bool?
2868
+ },
2869
+ output_config: {
2870
+ s3_location: {
2871
+ path: ::String,
2872
+ kms_key_arn: ::String?
2873
+ }
2874
+ },
2875
+ ?tags: Array[
2876
+ {
2877
+ key: ::String,
2878
+ value: ::String
2879
+ }
2880
+ ]
2881
+ ) -> _CreateTrainingSessionResponseSuccess
2882
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrainingSessionResponseSuccess
2883
+
2848
2884
  interface _CreateTransformJobResponseSuccess
2849
2885
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateTransformJobResponse]
2850
2886
  def transform_job_arn: () -> ::String
@@ -3486,6 +3522,15 @@ module Aws
3486
3522
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3487
3523
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3488
3524
 
3525
+ interface _DeleteTrainingSessionResponseSuccess
3526
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrainingSessionResponse]
3527
+ end
3528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_training_session-instance_method
3529
+ def delete_training_session: (
3530
+ training_session_name: ::String
3531
+ ) -> _DeleteTrainingSessionResponseSuccess
3532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTrainingSessionResponseSuccess
3533
+
3489
3534
  interface _DeleteTrialResponseSuccess
3490
3535
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrialResponse]
3491
3536
  def trial_arn: () -> ::String
@@ -5116,6 +5161,16 @@ module Aws
5116
5161
  ) -> _DescribeTrainingPlanExtensionHistoryResponseSuccess
5117
5162
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTrainingPlanExtensionHistoryResponseSuccess
5118
5163
 
5164
+ interface _DescribeTrainingSessionResponseSuccess
5165
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrainingSessionResponse]
5166
+ def training_session_detail: () -> Types::TrainingSessionDetail
5167
+ end
5168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_training_session-instance_method
5169
+ def describe_training_session: (
5170
+ training_session_name: ::String
5171
+ ) -> _DescribeTrainingSessionResponseSuccess
5172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTrainingSessionResponseSuccess
5173
+
5119
5174
  interface _DescribeTransformJobResponseSuccess
5120
5175
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTransformJobResponse]
5121
5176
  def transform_job_name: () -> ::String
@@ -6906,6 +6961,22 @@ module Aws
6906
6961
  ) -> _ListTrainingPlansResponseSuccess
6907
6962
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrainingPlansResponseSuccess
6908
6963
 
6964
+ interface _ListTrainingSessionsResponseSuccess
6965
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrainingSessionsResponse]
6966
+ def next_token: () -> ::String
6967
+ def training_session_summaries: () -> ::Array[Types::TrainingSessionSummary]
6968
+ end
6969
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_training_sessions-instance_method
6970
+ def list_training_sessions: (
6971
+ ?next_token: ::String,
6972
+ ?max_results: ::Integer,
6973
+ ?creation_time_after: ::Time,
6974
+ ?creation_time_before: ::Time,
6975
+ ?name_contains: ::String,
6976
+ ?status_equals: ("Created" | "Blocked" | "Running" | "Failed" | "Scheduled" | "Stopping" | "Stopped" | "Expired" | "Deleting" | "DeletionFailed")
6977
+ ) -> _ListTrainingSessionsResponseSuccess
6978
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrainingSessionsResponseSuccess
6979
+
6909
6980
  interface _ListTransformJobsResponseSuccess
6910
6981
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTransformJobsResponse]
6911
6982
  def transform_job_summaries: () -> ::Array[Types::TransformJobSummary]
@@ -7422,6 +7493,15 @@ module Aws
7422
7493
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
7423
7494
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
7424
7495
 
7496
+ interface _StopTrainingSessionResponseSuccess
7497
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopTrainingSessionResponse]
7498
+ end
7499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#stop_training_session-instance_method
7500
+ def stop_training_session: (
7501
+ training_session_name: ::String
7502
+ ) -> _StopTrainingSessionResponseSuccess
7503
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTrainingSessionResponseSuccess
7504
+
7425
7505
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#stop_transform_job-instance_method
7426
7506
  def stop_transform_job: (
7427
7507
  transform_job_name: ::String