aws-sdk-sagemaker 1.398.0 → 1.400.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.
@@ -2768,6 +2768,30 @@ module Aws::SageMaker
2768
2768
  include Aws::Structure
2769
2769
  end
2770
2770
 
2771
+ # The query execution identifier and the result output location for the
2772
+ # Amazon Athena query that an Athena step runs.
2773
+ #
2774
+ # @!attribute [rw] query_execution_id
2775
+ # The unique identifier of the Amazon Athena query execution that was
2776
+ # run by this step execution.
2777
+ # @return [String]
2778
+ #
2779
+ # @!attribute [rw] s3_output_location
2780
+ # The Amazon S3 location of the Amazon Athena query results. This is
2781
+ # the effective output location reported by `GetQueryExecution` for
2782
+ # the query. This value can be absent when the query uses Athena
2783
+ # managed query results.
2784
+ # @return [String]
2785
+ #
2786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AthenaStepMetadata AWS API Documentation
2787
+ #
2788
+ class AthenaStepMetadata < Struct.new(
2789
+ :query_execution_id,
2790
+ :s3_output_location)
2791
+ SENSITIVE = []
2792
+ include Aws::Structure
2793
+ end
2794
+
2771
2795
  # @!attribute [rw] cluster_name
2772
2796
  # The name or Amazon Resource Name (ARN) of the SageMaker HyperPod
2773
2797
  # cluster that contains the target node.
@@ -4988,6 +5012,31 @@ module Aws::SageMaker
4988
5012
  include Aws::Structure
4989
5013
  end
4990
5014
 
5015
+ # The billable token usage for a training session, broken down by
5016
+ # operation type.
5017
+ #
5018
+ # @!attribute [rw] prefill_token_count
5019
+ # The number of prefill tokens consumed.
5020
+ # @return [Integer]
5021
+ #
5022
+ # @!attribute [rw] sample_token_count
5023
+ # The number of sample tokens consumed.
5024
+ # @return [Integer]
5025
+ #
5026
+ # @!attribute [rw] training_token_count
5027
+ # The number of training tokens consumed.
5028
+ # @return [Integer]
5029
+ #
5030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BillableTokenUsage AWS API Documentation
5031
+ #
5032
+ class BillableTokenUsage < Struct.new(
5033
+ :prefill_token_count,
5034
+ :sample_token_count,
5035
+ :training_token_count)
5036
+ SENSITIVE = []
5037
+ include Aws::Structure
5038
+ end
5039
+
4991
5040
  # Update policy for a blue/green deployment. If this update policy is
4992
5041
  # specified, SageMaker creates a new fleet during the deployment while
4993
5042
  # maintaining the old fleet. SageMaker flips traffic to the new fleet
@@ -6127,6 +6176,63 @@ module Aws::SageMaker
6127
6176
  include Aws::Structure
6128
6177
  end
6129
6178
 
6179
+ # The Amazon S3 output resources associated with an upstream step that
6180
+ # the Cleanup step could not delete.
6181
+ #
6182
+ # @!attribute [rw] step_name
6183
+ # The name of the upstream step whose Amazon S3 output resources the
6184
+ # Cleanup step could not delete.
6185
+ # @return [String]
6186
+ #
6187
+ # @!attribute [rw] error_code
6188
+ # The error code that identifies why the Cleanup step could not delete
6189
+ # the output resources associated with the upstream step.
6190
+ # @return [String]
6191
+ #
6192
+ # @!attribute [rw] error_message
6193
+ # A message describing why the Cleanup step could not delete the
6194
+ # output resources associated with the upstream step.
6195
+ # @return [String]
6196
+ #
6197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CleanupFailure AWS API Documentation
6198
+ #
6199
+ class CleanupFailure < Struct.new(
6200
+ :step_name,
6201
+ :error_code,
6202
+ :error_message)
6203
+ SENSITIVE = []
6204
+ include Aws::Structure
6205
+ end
6206
+
6207
+ # The cleanup outcomes for Amazon S3 output resources associated with
6208
+ # upstream steps.
6209
+ #
6210
+ # @!attribute [rw] cleaned_steps
6211
+ # The names of upstream steps whose Amazon S3 output resources the
6212
+ # Cleanup step deleted successfully.
6213
+ # @return [Array<String>]
6214
+ #
6215
+ # @!attribute [rw] failed_steps
6216
+ # The upstream steps whose Amazon S3 output resources the Cleanup step
6217
+ # could not delete.
6218
+ # @return [Array<Types::CleanupFailure>]
6219
+ #
6220
+ # @!attribute [rw] skipped_steps
6221
+ # The names of upstream steps that the Cleanup step skipped. The
6222
+ # Cleanup step skips a step when the output properties needed to
6223
+ # locate its resources are unavailable.
6224
+ # @return [Array<String>]
6225
+ #
6226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CleanupStepMetadata AWS API Documentation
6227
+ #
6228
+ class CleanupStepMetadata < Struct.new(
6229
+ :cleaned_steps,
6230
+ :failed_steps,
6231
+ :skipped_steps)
6232
+ SENSITIVE = []
6233
+ include Aws::Structure
6234
+ end
6235
+
6130
6236
  # The external MySQL-compatible database that the Slurm accounting
6131
6237
  # daemon (`slurmdbd`) connects to for a SageMaker HyperPod cluster. You
6132
6238
  # provide the database credentials in an Amazon Web Services Secrets
@@ -14718,6 +14824,79 @@ module Aws::SageMaker
14718
14824
  include Aws::Structure
14719
14825
  end
14720
14826
 
14827
+ # @!attribute [rw] training_session_name
14828
+ # The name of the training session.
14829
+ # @return [String]
14830
+ #
14831
+ # @!attribute [rw] model_package_group_arn
14832
+ # The Amazon Resource Name (ARN) of the model package group where
14833
+ # checkpoints and fine-tuned model artifacts are published.
14834
+ # @return [String]
14835
+ #
14836
+ # @!attribute [rw] lora_config
14837
+ # The Low-Rank Adaptation (LoRA) configuration for the training
14838
+ # session, including the rank and alpha parameters.
14839
+ # @return [Types::LoraConfig]
14840
+ #
14841
+ # @!attribute [rw] role_arn
14842
+ # The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
14843
+ # assumes to access resources on your behalf. The role must have
14844
+ # permissions to access the output S3 path and model package group.
14845
+ # @return [String]
14846
+ #
14847
+ # @!attribute [rw] vpc_config
14848
+ # The Virtual Private Cloud (VPC) configuration for the training
14849
+ # session. Specify subnets and security groups to run the training
14850
+ # session in your VPC.
14851
+ # @return [Types::VpcConfig]
14852
+ #
14853
+ # @!attribute [rw] model_config
14854
+ # The configuration for the base model, including the model ARN and
14855
+ # end-user license agreement (EULA) acceptance.
14856
+ # @return [Types::TrainingSessionModelConfig]
14857
+ #
14858
+ # @!attribute [rw] output_config
14859
+ # The output configuration for the training session, including the S3
14860
+ # location and optional encryption settings.
14861
+ # @return [Types::TrainingSessionOutputConfig]
14862
+ #
14863
+ # @!attribute [rw] tags
14864
+ # An array of key-value pairs to apply to the training session as
14865
+ # tags. For more information, see [Tagging Amazon Web Services
14866
+ # Resources][1].
14867
+ #
14868
+ #
14869
+ #
14870
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
14871
+ # @return [Array<Types::Tag>]
14872
+ #
14873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingSessionRequest AWS API Documentation
14874
+ #
14875
+ class CreateTrainingSessionRequest < Struct.new(
14876
+ :training_session_name,
14877
+ :model_package_group_arn,
14878
+ :lora_config,
14879
+ :role_arn,
14880
+ :vpc_config,
14881
+ :model_config,
14882
+ :output_config,
14883
+ :tags)
14884
+ SENSITIVE = []
14885
+ include Aws::Structure
14886
+ end
14887
+
14888
+ # @!attribute [rw] training_session_arn
14889
+ # The Amazon Resource Name (ARN) of the training session.
14890
+ # @return [String]
14891
+ #
14892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingSessionResponse AWS API Documentation
14893
+ #
14894
+ class CreateTrainingSessionResponse < Struct.new(
14895
+ :training_session_arn)
14896
+ SENSITIVE = []
14897
+ include Aws::Structure
14898
+ end
14899
+
14721
14900
  # @!attribute [rw] transform_job_name
14722
14901
  # The name of the transform job. The name must be unique within an
14723
14902
  # Amazon Web Services Region in an Amazon Web Services account.
@@ -17058,6 +17237,22 @@ module Aws::SageMaker
17058
17237
  include Aws::Structure
17059
17238
  end
17060
17239
 
17240
+ # @!attribute [rw] training_session_name
17241
+ # The name of the training session to delete.
17242
+ # @return [String]
17243
+ #
17244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingSessionRequest AWS API Documentation
17245
+ #
17246
+ class DeleteTrainingSessionRequest < Struct.new(
17247
+ :training_session_name)
17248
+ SENSITIVE = []
17249
+ include Aws::Structure
17250
+ end
17251
+
17252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingSessionResponse AWS API Documentation
17253
+ #
17254
+ class DeleteTrainingSessionResponse < Aws::EmptyStructure; end
17255
+
17061
17256
  # @!attribute [rw] trial_component_name
17062
17257
  # The name of the component to delete.
17063
17258
  # @return [String]
@@ -24631,6 +24826,30 @@ module Aws::SageMaker
24631
24826
  include Aws::Structure
24632
24827
  end
24633
24828
 
24829
+ # @!attribute [rw] training_session_name
24830
+ # The name of the training session to describe.
24831
+ # @return [String]
24832
+ #
24833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingSessionRequest AWS API Documentation
24834
+ #
24835
+ class DescribeTrainingSessionRequest < Struct.new(
24836
+ :training_session_name)
24837
+ SENSITIVE = []
24838
+ include Aws::Structure
24839
+ end
24840
+
24841
+ # @!attribute [rw] training_session_detail
24842
+ # The detailed information about the training session.
24843
+ # @return [Types::TrainingSessionDetail]
24844
+ #
24845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingSessionResponse AWS API Documentation
24846
+ #
24847
+ class DescribeTrainingSessionResponse < Struct.new(
24848
+ :training_session_detail)
24849
+ SENSITIVE = []
24850
+ include Aws::Structure
24851
+ end
24852
+
24634
24853
  # @!attribute [rw] transform_job_name
24635
24854
  # The name of the transform job that you want to view details of.
24636
24855
  # @return [String]
@@ -25921,6 +26140,36 @@ module Aws::SageMaker
25921
26140
  include Aws::Structure
25922
26141
  end
25923
26142
 
26143
+ # The configurations and outcomes of an Amazon EMR Serverless step
26144
+ # execution.
26145
+ #
26146
+ # @!attribute [rw] application_id
26147
+ # The identifier of the Amazon EMR Serverless application.
26148
+ # @return [String]
26149
+ #
26150
+ # @!attribute [rw] job_run_id
26151
+ # The identifier of the Amazon EMR Serverless job run.
26152
+ # @return [String]
26153
+ #
26154
+ # @!attribute [rw] job_run_name
26155
+ # The name of the Amazon EMR Serverless job run.
26156
+ # @return [String]
26157
+ #
26158
+ # @!attribute [rw] log_file_path
26159
+ # The path to the log file for the Amazon EMR Serverless job run.
26160
+ # @return [String]
26161
+ #
26162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EMRServerlessStepMetadata AWS API Documentation
26163
+ #
26164
+ class EMRServerlessStepMetadata < Struct.new(
26165
+ :application_id,
26166
+ :job_run_id,
26167
+ :job_run_name,
26168
+ :log_file_path)
26169
+ SENSITIVE = []
26170
+ include Aws::Structure
26171
+ end
26172
+
25924
26173
  # The configurations and outcomes of an Amazon EMR step execution.
25925
26174
  #
25926
26175
  # @!attribute [rw] cluster_id
@@ -28099,6 +28348,73 @@ module Aws::SageMaker
28099
28348
  include Aws::Structure
28100
28349
  end
28101
28350
 
28351
+ # The result of the selector that identifies an iteration of a ForEach
28352
+ # step.
28353
+ #
28354
+ # @!attribute [rw] step_name
28355
+ # The name of the step associated with the iteration.
28356
+ # @return [String]
28357
+ #
28358
+ # @!attribute [rw] index
28359
+ # The index of the iteration within the ForEach step.
28360
+ # @return [Integer]
28361
+ #
28362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ForEachSelectorResult AWS API Documentation
28363
+ #
28364
+ class ForEachSelectorResult < Struct.new(
28365
+ :step_name,
28366
+ :index)
28367
+ SENSITIVE = []
28368
+ include Aws::Structure
28369
+ end
28370
+
28371
+ # The status, the iteration-step counts, and the selector information
28372
+ # for a ForEach step execution.
28373
+ #
28374
+ # @!attribute [rw] status
28375
+ # The status of the ForEach step execution.
28376
+ # @return [String]
28377
+ #
28378
+ # @!attribute [rw] input_item_count
28379
+ # The number of input items that the ForEach step iterates over.
28380
+ # @return [Integer]
28381
+ #
28382
+ # @!attribute [rw] total_step_count
28383
+ # The total number of steps generated across all iterations of the
28384
+ # ForEach step.
28385
+ # @return [Integer]
28386
+ #
28387
+ # @!attribute [rw] succeeded_step_count
28388
+ # The number of iteration steps that completed successfully.
28389
+ # @return [Integer]
28390
+ #
28391
+ # @!attribute [rw] failed_step_count
28392
+ # The number of iteration steps that failed.
28393
+ # @return [Integer]
28394
+ #
28395
+ # @!attribute [rw] stopped_step_count
28396
+ # The number of iteration steps that were stopped.
28397
+ # @return [Integer]
28398
+ #
28399
+ # @!attribute [rw] selector
28400
+ # Identifies the body step and iteration selected within the ForEach
28401
+ # step.
28402
+ # @return [Types::ForEachSelectorResult]
28403
+ #
28404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ForEachStepMetadata AWS API Documentation
28405
+ #
28406
+ class ForEachStepMetadata < Struct.new(
28407
+ :status,
28408
+ :input_item_count,
28409
+ :total_step_count,
28410
+ :succeeded_step_count,
28411
+ :failed_step_count,
28412
+ :stopped_step_count,
28413
+ :selector)
28414
+ SENSITIVE = []
28415
+ include Aws::Structure
28416
+ end
28417
+
28102
28418
  # The generative AI settings for the SageMaker Canvas application.
28103
28419
  #
28104
28420
  # Configure these settings for Canvas users starting chats with
@@ -33130,6 +33446,30 @@ module Aws::SageMaker
33130
33446
  include Aws::Structure
33131
33447
  end
33132
33448
 
33449
+ # The context for an iteration of a ForEach step.
33450
+ #
33451
+ # @!attribute [rw] parent_step_name
33452
+ # The name of the ForEach step that generated this iteration.
33453
+ # @return [String]
33454
+ #
33455
+ # @!attribute [rw] index
33456
+ # The index of the iteration within the ForEach step.
33457
+ # @return [Integer]
33458
+ #
33459
+ # @!attribute [rw] item
33460
+ # The input item that is being processed in this iteration.
33461
+ # @return [String]
33462
+ #
33463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/IterationContext AWS API Documentation
33464
+ #
33465
+ class IterationContext < Struct.new(
33466
+ :parent_step_name,
33467
+ :index,
33468
+ :item)
33469
+ SENSITIVE = []
33470
+ include Aws::Structure
33471
+ end
33472
+
33133
33473
  # The properties of a job returned by the [Search][1] API.
33134
33474
  #
33135
33475
  #
@@ -40299,6 +40639,67 @@ module Aws::SageMaker
40299
40639
  include Aws::Structure
40300
40640
  end
40301
40641
 
40642
+ # @!attribute [rw] next_token
40643
+ # If the response was truncated, use the token returned in the
40644
+ # previous response to retrieve the next page of results.
40645
+ # @return [String]
40646
+ #
40647
+ # @!attribute [rw] max_results
40648
+ # The maximum number of training sessions to return in the response.
40649
+ # @return [Integer]
40650
+ #
40651
+ # @!attribute [rw] creation_time_after
40652
+ # A filter that returns only training sessions created after the
40653
+ # specified time.
40654
+ # @return [Time]
40655
+ #
40656
+ # @!attribute [rw] creation_time_before
40657
+ # A filter that returns only training sessions created before the
40658
+ # specified time.
40659
+ # @return [Time]
40660
+ #
40661
+ # @!attribute [rw] name_contains
40662
+ # A string in the training session name to filter results. Only
40663
+ # sessions whose name contains the specified string are returned.
40664
+ # @return [String]
40665
+ #
40666
+ # @!attribute [rw] status_equals
40667
+ # A filter that returns only training sessions with the specified
40668
+ # status.
40669
+ # @return [String]
40670
+ #
40671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingSessionsRequest AWS API Documentation
40672
+ #
40673
+ class ListTrainingSessionsRequest < Struct.new(
40674
+ :next_token,
40675
+ :max_results,
40676
+ :creation_time_after,
40677
+ :creation_time_before,
40678
+ :name_contains,
40679
+ :status_equals)
40680
+ SENSITIVE = []
40681
+ include Aws::Structure
40682
+ end
40683
+
40684
+ # @!attribute [rw] next_token
40685
+ # If the response is truncated, this token retrieves the next set of
40686
+ # results.
40687
+ # @return [String]
40688
+ #
40689
+ # @!attribute [rw] training_session_summaries
40690
+ # An array of `TrainingSessionSummary` objects that provide summary
40691
+ # information about the training sessions.
40692
+ # @return [Array<Types::TrainingSessionSummary>]
40693
+ #
40694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingSessionsResponse AWS API Documentation
40695
+ #
40696
+ class ListTrainingSessionsResponse < Struct.new(
40697
+ :next_token,
40698
+ :training_session_summaries)
40699
+ SENSITIVE = []
40700
+ include Aws::Structure
40701
+ end
40702
+
40302
40703
  # @!attribute [rw] creation_time_after
40303
40704
  # A filter that returns only transform jobs created after the
40304
40705
  # specified time.
@@ -40744,6 +41145,26 @@ module Aws::SageMaker
40744
41145
  include Aws::Structure
40745
41146
  end
40746
41147
 
41148
+ # The Low-Rank Adaptation (LoRA) configuration for a training session,
41149
+ # including the rank and alpha parameters.
41150
+ #
41151
+ # @!attribute [rw] rank
41152
+ # The rank of the Low-Rank Adaptation (LoRA) adapter matrices.
41153
+ # @return [Integer]
41154
+ #
41155
+ # @!attribute [rw] alpha
41156
+ # The Low-Rank Adaptation (LoRA) scaling factor.
41157
+ # @return [Integer]
41158
+ #
41159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LoraConfig AWS API Documentation
41160
+ #
41161
+ class LoraConfig < Struct.new(
41162
+ :rank,
41163
+ :alpha)
41164
+ SENSITIVE = []
41165
+ include Aws::Structure
41166
+ end
41167
+
40747
41168
  # The MLflow configuration.
40748
41169
  #
40749
41170
  # @!attribute [rw] mlflow_resource_arn
@@ -46179,6 +46600,11 @@ module Aws::SageMaker
46179
46600
  # are reused for this step.
46180
46601
  # @return [Types::SelectiveExecutionResult]
46181
46602
  #
46603
+ # @!attribute [rw] iteration_context
46604
+ # The context for the iteration of a ForEach step that generated this
46605
+ # step execution.
46606
+ # @return [Types::IterationContext]
46607
+ #
46182
46608
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecutionStep AWS API Documentation
46183
46609
  #
46184
46610
  class PipelineExecutionStep < Struct.new(
@@ -46192,7 +46618,8 @@ module Aws::SageMaker
46192
46618
  :failure_reason,
46193
46619
  :metadata,
46194
46620
  :attempt_count,
46195
- :selective_execution_result)
46621
+ :selective_execution_result,
46622
+ :iteration_context)
46196
46623
  SENSITIVE = []
46197
46624
  include Aws::Structure
46198
46625
  end
@@ -46248,6 +46675,11 @@ module Aws::SageMaker
46248
46675
  # The configurations and outcomes of an Amazon EMR step execution.
46249
46676
  # @return [Types::EMRStepMetadata]
46250
46677
  #
46678
+ # @!attribute [rw] emr_serverless
46679
+ # The configurations and outcomes of an Amazon EMR Serverless step
46680
+ # execution.
46681
+ # @return [Types::EMRServerlessStepMetadata]
46682
+ #
46251
46683
  # @!attribute [rw] quality_check
46252
46684
  # The configurations and outcomes of the check step execution. This
46253
46685
  # includes:
@@ -46350,6 +46782,18 @@ module Aws::SageMaker
46350
46782
  # The metadata for a SageMaker job used in a pipeline execution step.
46351
46783
  # @return [Types::JobStepMetadata]
46352
46784
  #
46785
+ # @!attribute [rw] athena
46786
+ # The metadata for the Athena step execution.
46787
+ # @return [Types::AthenaStepMetadata]
46788
+ #
46789
+ # @!attribute [rw] cleanup
46790
+ # The metadata for the cleanup step execution.
46791
+ # @return [Types::CleanupStepMetadata]
46792
+ #
46793
+ # @!attribute [rw] for_each
46794
+ # The metadata for the ForEach step execution.
46795
+ # @return [Types::ForEachStepMetadata]
46796
+ #
46353
46797
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecutionStepMetadata AWS API Documentation
46354
46798
  #
46355
46799
  class PipelineExecutionStepMetadata < Struct.new(
@@ -46363,6 +46807,7 @@ module Aws::SageMaker
46363
46807
  :callback,
46364
46808
  :lambda,
46365
46809
  :emr,
46810
+ :emr_serverless,
46366
46811
  :quality_check,
46367
46812
  :clarify_check,
46368
46813
  :fail,
@@ -46375,7 +46820,10 @@ module Aws::SageMaker
46375
46820
  :bedrock_model_import,
46376
46821
  :inference_component,
46377
46822
  :lineage,
46378
- :job)
46823
+ :job,
46824
+ :athena,
46825
+ :cleanup,
46826
+ :for_each)
46379
46827
  SENSITIVE = []
46380
46828
  include Aws::Structure
46381
46829
  end
@@ -53000,6 +53448,22 @@ module Aws::SageMaker
53000
53448
  include Aws::Structure
53001
53449
  end
53002
53450
 
53451
+ # @!attribute [rw] training_session_name
53452
+ # The name of the training session to stop.
53453
+ # @return [String]
53454
+ #
53455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingSessionRequest AWS API Documentation
53456
+ #
53457
+ class StopTrainingSessionRequest < Struct.new(
53458
+ :training_session_name)
53459
+ SENSITIVE = []
53460
+ include Aws::Structure
53461
+ end
53462
+
53463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingSessionResponse AWS API Documentation
53464
+ #
53465
+ class StopTrainingSessionResponse < Aws::EmptyStructure; end
53466
+
53003
53467
  # @!attribute [rw] transform_job_name
53004
53468
  # The name of the batch transform job to stop.
53005
53469
  # @return [String]
@@ -55216,6 +55680,190 @@ module Aws::SageMaker
55216
55680
  include Aws::Structure
55217
55681
  end
55218
55682
 
55683
+ # Contains detailed information about a training session.
55684
+ #
55685
+ # @!attribute [rw] training_session_arn
55686
+ # The Amazon Resource Name (ARN) of the training session.
55687
+ # @return [String]
55688
+ #
55689
+ # @!attribute [rw] training_session_name
55690
+ # The name of the training session.
55691
+ # @return [String]
55692
+ #
55693
+ # @!attribute [rw] training_session_status
55694
+ # The current status of the training session.
55695
+ # @return [String]
55696
+ #
55697
+ # @!attribute [rw] model_package_group_arn
55698
+ # The Amazon Resource Name (ARN) of the model package group where
55699
+ # checkpoints are published.
55700
+ # @return [String]
55701
+ #
55702
+ # @!attribute [rw] creation_time
55703
+ # The date and time that the training session was created.
55704
+ # @return [Time]
55705
+ #
55706
+ # @!attribute [rw] last_modified_time
55707
+ # The date and time that the training session was last modified.
55708
+ # @return [Time]
55709
+ #
55710
+ # @!attribute [rw] end_time
55711
+ # The date and time that the training session ended.
55712
+ # @return [Time]
55713
+ #
55714
+ # @!attribute [rw] error_details
55715
+ # If the training session failed or is blocked, detailed error
55716
+ # information.
55717
+ # @return [String]
55718
+ #
55719
+ # @!attribute [rw] last_received_sequence_number
55720
+ # The sequence number of the last training operation received by the
55721
+ # session.
55722
+ # @return [Integer]
55723
+ #
55724
+ # @!attribute [rw] billable_token_usage
55725
+ # The billable token usage for the training session.
55726
+ # @return [Types::BillableTokenUsage]
55727
+ #
55728
+ # @!attribute [rw] vpc_config
55729
+ # The Virtual Private Cloud (VPC) configuration for the training
55730
+ # session.
55731
+ # @return [Types::VpcConfig]
55732
+ #
55733
+ # @!attribute [rw] role_arn
55734
+ # The Amazon Resource Name (ARN) of the IAM role associated with the
55735
+ # training session.
55736
+ # @return [String]
55737
+ #
55738
+ # @!attribute [rw] lora_config
55739
+ # The Low-Rank Adaptation (LoRA) configuration for the training
55740
+ # session.
55741
+ # @return [Types::LoraConfig]
55742
+ #
55743
+ # @!attribute [rw] model_config
55744
+ # The configuration for the base model.
55745
+ # @return [Types::TrainingSessionModelConfig]
55746
+ #
55747
+ # @!attribute [rw] output_config
55748
+ # The output configuration for the training session.
55749
+ # @return [Types::TrainingSessionOutputConfig]
55750
+ #
55751
+ # @!attribute [rw] tags
55752
+ # The tags associated with the training session.
55753
+ # @return [Array<Types::Tag>]
55754
+ #
55755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionDetail AWS API Documentation
55756
+ #
55757
+ class TrainingSessionDetail < Struct.new(
55758
+ :training_session_arn,
55759
+ :training_session_name,
55760
+ :training_session_status,
55761
+ :model_package_group_arn,
55762
+ :creation_time,
55763
+ :last_modified_time,
55764
+ :end_time,
55765
+ :error_details,
55766
+ :last_received_sequence_number,
55767
+ :billable_token_usage,
55768
+ :vpc_config,
55769
+ :role_arn,
55770
+ :lora_config,
55771
+ :model_config,
55772
+ :output_config,
55773
+ :tags)
55774
+ SENSITIVE = []
55775
+ include Aws::Structure
55776
+ end
55777
+
55778
+ # The configuration for the base model used in a training session.
55779
+ #
55780
+ # @!attribute [rw] base_model_arn
55781
+ # The Amazon Resource Name (ARN) of the base foundation model from
55782
+ # SageMaker Hub.
55783
+ # @return [String]
55784
+ #
55785
+ # @!attribute [rw] accept_eula
55786
+ # Specifies whether you accept the end-user license agreement (EULA)
55787
+ # for gated models.
55788
+ # @return [Boolean]
55789
+ #
55790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionModelConfig AWS API Documentation
55791
+ #
55792
+ class TrainingSessionModelConfig < Struct.new(
55793
+ :base_model_arn,
55794
+ :accept_eula)
55795
+ SENSITIVE = []
55796
+ include Aws::Structure
55797
+ end
55798
+
55799
+ # The output configuration for a training session, including the Amazon
55800
+ # S3 location for checkpoints and model artifacts, and optional
55801
+ # encryption settings.
55802
+ #
55803
+ # @!attribute [rw] s3_location
55804
+ # The Amazon S3 location where training session outputs, including
55805
+ # checkpoints and model artifacts, are stored.
55806
+ # @return [Types::TrainingSessionS3Location]
55807
+ #
55808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionOutputConfig AWS API Documentation
55809
+ #
55810
+ class TrainingSessionOutputConfig < Struct.new(
55811
+ :s3_location)
55812
+ SENSITIVE = []
55813
+ include Aws::Structure
55814
+ end
55815
+
55816
+ # Specifies the Amazon S3 path and optional encryption settings for
55817
+ # training session output data, including checkpoints, model artifacts,
55818
+ # and invocation results.
55819
+ #
55820
+ # @!attribute [rw] path
55821
+ # The Amazon S3 path where training session outputs are stored.
55822
+ # @return [String]
55823
+ #
55824
+ # @!attribute [rw] kms_key_arn
55825
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt output
55826
+ # data. If not specified, the default Amazon S3 encryption is used.
55827
+ # @return [String]
55828
+ #
55829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionS3Location AWS API Documentation
55830
+ #
55831
+ class TrainingSessionS3Location < Struct.new(
55832
+ :path,
55833
+ :kms_key_arn)
55834
+ SENSITIVE = []
55835
+ include Aws::Structure
55836
+ end
55837
+
55838
+ # Contains summary information about a training session.
55839
+ #
55840
+ # @!attribute [rw] training_session_arn
55841
+ # The Amazon Resource Name (ARN) of the training session.
55842
+ # @return [String]
55843
+ #
55844
+ # @!attribute [rw] training_session_status
55845
+ # The current status of the training session.
55846
+ # @return [String]
55847
+ #
55848
+ # @!attribute [rw] creation_time
55849
+ # The date and time that the training session was created.
55850
+ # @return [Time]
55851
+ #
55852
+ # @!attribute [rw] last_modified_time
55853
+ # The date and time that the training session was last modified.
55854
+ # @return [Time]
55855
+ #
55856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingSessionSummary AWS API Documentation
55857
+ #
55858
+ class TrainingSessionSummary < Struct.new(
55859
+ :training_session_arn,
55860
+ :training_session_status,
55861
+ :creation_time,
55862
+ :last_modified_time)
55863
+ SENSITIVE = []
55864
+ include Aws::Structure
55865
+ end
55866
+
55219
55867
  # Defines how the algorithm is used for a training job.
55220
55868
  #
55221
55869
  # @!attribute [rw] training_image