aws-sdk-sagemaker 1.331.0 → 1.333.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de7a7c5959ed32df768d9b1829b92dd75a699dc051513482498f4b1bc486a84c
4
- data.tar.gz: 2778e5274a3f8daec23417ff0205a0f4a5632a6b39d153711e8863c15cf952ea
3
+ metadata.gz: cd74105e925d60738cd48f7efb561ae52ae2606b89da391a5355b9ce16dd326e
4
+ data.tar.gz: 82df2a2596866265d4936055eb69c32c4ce375c29c854459320f87e349f4a796
5
5
  SHA512:
6
- metadata.gz: e8175ca401c373a082d03f4319c56aa87c8334dfab4382505384b17749fb19634c201d05032262fca7552598fe685b378e56b75598230ae06cda0d794970b48f
7
- data.tar.gz: 4072092966576bfdcef00d1ab5bda663a2d4ad40a5150e313a809d5c9ce6df38dc3a5ee5f1b4c535dd006815a41eb2534debe0bf7f1dd808c740fb04c1c01d95
6
+ metadata.gz: 2bdeb5447224d439f56162d75ec5c906456a5839c919b16753633423b09a219e4972a4beac9678e3ff7b132d8115cfa13064e3b42a5ae3d5f5ff3eab7086763b
7
+ data.tar.gz: 55382c8641ad9382772ed2d92acc4c26ea6b72020a379d867e0b4a4ecb2c141624882e1fc799d8f4023befcff8a54d8798e8d10a67e64f4210d02f5e26f9ce9a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.333.0 (2025-10-28)
5
+ ------------------
6
+
7
+ * Feature - Amazon SageMaker now supports deleting training and processing jobs in a terminal status.
8
+
9
+ 1.332.0 (2025-10-24)
10
+ ------------------
11
+
12
+ * Feature - Added inference components model data caching feature
13
+
4
14
  1.331.0 (2025-10-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.331.0
1
+ 1.333.0
@@ -5661,6 +5661,9 @@ module Aws::SageMaker
5661
5661
  # max_memory_required_in_mb: 1,
5662
5662
  # },
5663
5663
  # base_inference_component_name: "InferenceComponentName",
5664
+ # data_cache_config: {
5665
+ # enable_caching: false, # required
5666
+ # },
5664
5667
  # },
5665
5668
  # runtime_config: {
5666
5669
  # copy_count: 1, # required
@@ -8169,6 +8172,7 @@ module Aws::SageMaker
8169
8172
  #
8170
8173
  # @option params [String] :platform_identifier
8171
8174
  # The platform identifier of the notebook instance runtime environment.
8175
+ # The default value is `notebook-al2-v2`.
8172
8176
  #
8173
8177
  # @option params [Types::InstanceMetadataServiceConfiguration] :instance_metadata_service_configuration
8174
8178
  # Information on the IMDS configuration of the notebook instance
@@ -12237,6 +12241,33 @@ module Aws::SageMaker
12237
12241
  req.send_request(options)
12238
12242
  end
12239
12243
 
12244
+ # Deletes a processing job. After Amazon SageMaker deletes a processing
12245
+ # job, all of the metadata for the processing job is lost. You can
12246
+ # delete only processing jobs that are in a terminal state (`Stopped`,
12247
+ # `Failed`, or `Completed`). You cannot delete a job that is in the
12248
+ # `InProgress` or `Stopping` state. After deleting the job, you can
12249
+ # reuse its name to create another processing job.
12250
+ #
12251
+ # @option params [required, String] :processing_job_name
12252
+ # The name of the processing job to delete.
12253
+ #
12254
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12255
+ #
12256
+ # @example Request syntax with placeholder values
12257
+ #
12258
+ # resp = client.delete_processing_job({
12259
+ # processing_job_name: "ProcessingJobName", # required
12260
+ # })
12261
+ #
12262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProcessingJob AWS API Documentation
12263
+ #
12264
+ # @overload delete_processing_job(params = {})
12265
+ # @param [Hash] params ({})
12266
+ def delete_processing_job(params = {}, options = {})
12267
+ req = build_request(:delete_processing_job, params)
12268
+ req.send_request(options)
12269
+ end
12270
+
12240
12271
  # Delete the specified project.
12241
12272
  #
12242
12273
  # @option params [required, String] :project_name
@@ -12353,6 +12384,38 @@ module Aws::SageMaker
12353
12384
  req.send_request(options)
12354
12385
  end
12355
12386
 
12387
+ # Deletes a training job. After SageMaker deletes a training job, all of
12388
+ # the metadata for the training job is lost. You can delete only
12389
+ # training jobs that are in a terminal state (`Stopped`, `Failed`, or
12390
+ # `Completed`) and don't retain an `Available` [managed warm pool][1].
12391
+ # You cannot delete a job that is in the `InProgress` or `Stopping`
12392
+ # state. After deleting the job, you can reuse its name to create
12393
+ # another training job.
12394
+ #
12395
+ #
12396
+ #
12397
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/train-warm-pools.html
12398
+ #
12399
+ # @option params [required, String] :training_job_name
12400
+ # The name of the training job to delete.
12401
+ #
12402
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12403
+ #
12404
+ # @example Request syntax with placeholder values
12405
+ #
12406
+ # resp = client.delete_training_job({
12407
+ # training_job_name: "TrainingJobName", # required
12408
+ # })
12409
+ #
12410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingJob AWS API Documentation
12411
+ #
12412
+ # @overload delete_training_job(params = {})
12413
+ # @param [Hash] params ({})
12414
+ def delete_training_job(params = {}, options = {})
12415
+ req = build_request(:delete_training_job, params)
12416
+ req.send_request(options)
12417
+ end
12418
+
12356
12419
  # Deletes the specified trial. All trial components that make up the
12357
12420
  # trial must be deleted first. Use the [DescribeTrialComponent][1] API
12358
12421
  # to get the list of trial components.
@@ -15564,7 +15627,7 @@ module Aws::SageMaker
15564
15627
  # resp.best_training_job.creation_time #=> Time
15565
15628
  # resp.best_training_job.training_start_time #=> Time
15566
15629
  # resp.best_training_job.training_end_time #=> Time
15567
- # resp.best_training_job.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
15630
+ # resp.best_training_job.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting"
15568
15631
  # resp.best_training_job.tuned_hyper_parameters #=> Hash
15569
15632
  # resp.best_training_job.tuned_hyper_parameters["HyperParameterKey"] #=> String
15570
15633
  # resp.best_training_job.failure_reason #=> String
@@ -15579,7 +15642,7 @@ module Aws::SageMaker
15579
15642
  # resp.overall_best_training_job.creation_time #=> Time
15580
15643
  # resp.overall_best_training_job.training_start_time #=> Time
15581
15644
  # resp.overall_best_training_job.training_end_time #=> Time
15582
- # resp.overall_best_training_job.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
15645
+ # resp.overall_best_training_job.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting"
15583
15646
  # resp.overall_best_training_job.tuned_hyper_parameters #=> Hash
15584
15647
  # resp.overall_best_training_job.tuned_hyper_parameters["HyperParameterKey"] #=> String
15585
15648
  # resp.overall_best_training_job.failure_reason #=> String
@@ -15777,6 +15840,7 @@ module Aws::SageMaker
15777
15840
  # resp.specification.compute_resource_requirements.min_memory_required_in_mb #=> Integer
15778
15841
  # resp.specification.compute_resource_requirements.max_memory_required_in_mb #=> Integer
15779
15842
  # resp.specification.base_inference_component_name #=> String
15843
+ # resp.specification.data_cache_config.enable_caching #=> Boolean
15780
15844
  # resp.runtime_config.desired_copy_count #=> Integer
15781
15845
  # resp.runtime_config.current_copy_count #=> Integer
15782
15846
  # resp.creation_time #=> Time
@@ -18086,7 +18150,7 @@ module Aws::SageMaker
18086
18150
  # resp.labeling_job_arn #=> String
18087
18151
  # resp.auto_ml_job_arn #=> String
18088
18152
  # resp.model_artifacts.s3_model_artifacts #=> String
18089
- # resp.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
18153
+ # resp.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting"
18090
18154
  # resp.secondary_status #=> String, one of "Starting", "LaunchingMLInstances", "PreparingTrainingStack", "Downloading", "DownloadingTrainingImage", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Completed", "Failed", "Interrupted", "MaxWaitTimeExceeded", "Updating", "Restarting", "Pending"
18091
18155
  # resp.failure_reason #=> String
18092
18156
  # resp.hyper_parameters #=> Hash
@@ -25162,7 +25226,7 @@ module Aws::SageMaker
25162
25226
  # last_modified_time_after: Time.now,
25163
25227
  # last_modified_time_before: Time.now,
25164
25228
  # name_contains: "NameContains",
25165
- # status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped
25229
+ # status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped, Deleting
25166
25230
  # sort_by: "Name", # accepts Name, CreationTime, Status
25167
25231
  # sort_order: "Ascending", # accepts Ascending, Descending
25168
25232
  # warm_pool_status_equals: "Available", # accepts Available, Terminated, Reused, InUse
@@ -25177,7 +25241,7 @@ module Aws::SageMaker
25177
25241
  # resp.training_job_summaries[0].creation_time #=> Time
25178
25242
  # resp.training_job_summaries[0].training_end_time #=> Time
25179
25243
  # resp.training_job_summaries[0].last_modified_time #=> Time
25180
- # resp.training_job_summaries[0].training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
25244
+ # resp.training_job_summaries[0].training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting"
25181
25245
  # resp.training_job_summaries[0].secondary_status #=> String, one of "Starting", "LaunchingMLInstances", "PreparingTrainingStack", "Downloading", "DownloadingTrainingImage", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Completed", "Failed", "Interrupted", "MaxWaitTimeExceeded", "Updating", "Restarting", "Pending"
25182
25246
  # resp.training_job_summaries[0].warm_pool_status.status #=> String, one of "Available", "Terminated", "Reused", "InUse"
25183
25247
  # resp.training_job_summaries[0].warm_pool_status.resource_retained_billable_time_in_seconds #=> Integer
@@ -25239,7 +25303,7 @@ module Aws::SageMaker
25239
25303
  # hyper_parameter_tuning_job_name: "HyperParameterTuningJobName", # required
25240
25304
  # next_token: "NextToken",
25241
25305
  # max_results: 1,
25242
- # status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped
25306
+ # status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped, Deleting
25243
25307
  # sort_by: "Name", # accepts Name, CreationTime, Status, FinalObjectiveMetricValue
25244
25308
  # sort_order: "Ascending", # accepts Ascending, Descending
25245
25309
  # })
@@ -25254,7 +25318,7 @@ module Aws::SageMaker
25254
25318
  # resp.training_job_summaries[0].creation_time #=> Time
25255
25319
  # resp.training_job_summaries[0].training_start_time #=> Time
25256
25320
  # resp.training_job_summaries[0].training_end_time #=> Time
25257
- # resp.training_job_summaries[0].training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
25321
+ # resp.training_job_summaries[0].training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting"
25258
25322
  # resp.training_job_summaries[0].tuned_hyper_parameters #=> Hash
25259
25323
  # resp.training_job_summaries[0].tuned_hyper_parameters["HyperParameterKey"] #=> String
25260
25324
  # resp.training_job_summaries[0].failure_reason #=> String
@@ -29148,6 +29212,9 @@ module Aws::SageMaker
29148
29212
  # max_memory_required_in_mb: 1,
29149
29213
  # },
29150
29214
  # base_inference_component_name: "InferenceComponentName",
29215
+ # data_cache_config: {
29216
+ # enable_caching: false, # required
29217
+ # },
29151
29218
  # },
29152
29219
  # runtime_config: {
29153
29220
  # copy_count: 1, # required
@@ -31196,7 +31263,7 @@ module Aws::SageMaker
31196
31263
  tracer: tracer
31197
31264
  )
31198
31265
  context[:gem_name] = 'aws-sdk-sagemaker'
31199
- context[:gem_version] = '1.331.0'
31266
+ context[:gem_version] = '1.333.0'
31200
31267
  Seahorse::Client::Request.new(handlers, context)
31201
31268
  end
31202
31269
 
@@ -686,11 +686,13 @@ module Aws::SageMaker
686
686
  DeletePartnerAppResponse = Shapes::StructureShape.new(name: 'DeletePartnerAppResponse')
687
687
  DeletePipelineRequest = Shapes::StructureShape.new(name: 'DeletePipelineRequest')
688
688
  DeletePipelineResponse = Shapes::StructureShape.new(name: 'DeletePipelineResponse')
689
+ DeleteProcessingJobRequest = Shapes::StructureShape.new(name: 'DeleteProcessingJobRequest')
689
690
  DeleteProjectInput = Shapes::StructureShape.new(name: 'DeleteProjectInput')
690
691
  DeleteSpaceRequest = Shapes::StructureShape.new(name: 'DeleteSpaceRequest')
691
692
  DeleteStudioLifecycleConfigRequest = Shapes::StructureShape.new(name: 'DeleteStudioLifecycleConfigRequest')
692
693
  DeleteTagsInput = Shapes::StructureShape.new(name: 'DeleteTagsInput')
693
694
  DeleteTagsOutput = Shapes::StructureShape.new(name: 'DeleteTagsOutput')
695
+ DeleteTrainingJobRequest = Shapes::StructureShape.new(name: 'DeleteTrainingJobRequest')
694
696
  DeleteTrialComponentRequest = Shapes::StructureShape.new(name: 'DeleteTrialComponentRequest')
695
697
  DeleteTrialComponentResponse = Shapes::StructureShape.new(name: 'DeleteTrialComponentResponse')
696
698
  DeleteTrialRequest = Shapes::StructureShape.new(name: 'DeleteTrialRequest')
@@ -951,6 +953,7 @@ module Aws::SageMaker
951
953
  EmrServerlessComputeConfig = Shapes::StructureShape.new(name: 'EmrServerlessComputeConfig')
952
954
  EmrServerlessSettings = Shapes::StructureShape.new(name: 'EmrServerlessSettings')
953
955
  EmrSettings = Shapes::StructureShape.new(name: 'EmrSettings')
956
+ EnableCaching = Shapes::BooleanShape.new(name: 'EnableCaching')
954
957
  EnableCapture = Shapes::BooleanShape.new(name: 'EnableCapture')
955
958
  EnableInfraCheck = Shapes::BooleanShape.new(name: 'EnableInfraCheck')
956
959
  EnableIotRoleAlias = Shapes::BooleanShape.new(name: 'EnableIotRoleAlias')
@@ -1249,6 +1252,8 @@ module Aws::SageMaker
1249
1252
  InferenceComponentContainerSpecification = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecification')
1250
1253
  InferenceComponentContainerSpecificationSummary = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecificationSummary')
1251
1254
  InferenceComponentCopyCount = Shapes::IntegerShape.new(name: 'InferenceComponentCopyCount')
1255
+ InferenceComponentDataCacheConfig = Shapes::StructureShape.new(name: 'InferenceComponentDataCacheConfig')
1256
+ InferenceComponentDataCacheConfigSummary = Shapes::StructureShape.new(name: 'InferenceComponentDataCacheConfigSummary')
1252
1257
  InferenceComponentDeploymentConfig = Shapes::StructureShape.new(name: 'InferenceComponentDeploymentConfig')
1253
1258
  InferenceComponentName = Shapes::StringShape.new(name: 'InferenceComponentName')
1254
1259
  InferenceComponentNameContains = Shapes::StringShape.new(name: 'InferenceComponentNameContains')
@@ -4949,6 +4954,9 @@ module Aws::SageMaker
4949
4954
  DeletePipelineResponse.add_member(:pipeline_arn, Shapes::ShapeRef.new(shape: PipelineArn, location_name: "PipelineArn"))
4950
4955
  DeletePipelineResponse.struct_class = Types::DeletePipelineResponse
4951
4956
 
4957
+ DeleteProcessingJobRequest.add_member(:processing_job_name, Shapes::ShapeRef.new(shape: ProcessingJobName, required: true, location_name: "ProcessingJobName"))
4958
+ DeleteProcessingJobRequest.struct_class = Types::DeleteProcessingJobRequest
4959
+
4952
4960
  DeleteProjectInput.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectEntityName, required: true, location_name: "ProjectName"))
4953
4961
  DeleteProjectInput.struct_class = Types::DeleteProjectInput
4954
4962
 
@@ -4965,6 +4973,9 @@ module Aws::SageMaker
4965
4973
 
4966
4974
  DeleteTagsOutput.struct_class = Types::DeleteTagsOutput
4967
4975
 
4976
+ DeleteTrainingJobRequest.add_member(:training_job_name, Shapes::ShapeRef.new(shape: TrainingJobName, required: true, location_name: "TrainingJobName"))
4977
+ DeleteTrainingJobRequest.struct_class = Types::DeleteTrainingJobRequest
4978
+
4968
4979
  DeleteTrialComponentRequest.add_member(:trial_component_name, Shapes::ShapeRef.new(shape: ExperimentEntityName, required: true, location_name: "TrialComponentName"))
4969
4980
  DeleteTrialComponentRequest.struct_class = Types::DeleteTrialComponentRequest
4970
4981
 
@@ -7274,6 +7285,12 @@ module Aws::SageMaker
7274
7285
  InferenceComponentContainerSpecificationSummary.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
7275
7286
  InferenceComponentContainerSpecificationSummary.struct_class = Types::InferenceComponentContainerSpecificationSummary
7276
7287
 
7288
+ InferenceComponentDataCacheConfig.add_member(:enable_caching, Shapes::ShapeRef.new(shape: EnableCaching, required: true, location_name: "EnableCaching", metadata: {"box" => true}))
7289
+ InferenceComponentDataCacheConfig.struct_class = Types::InferenceComponentDataCacheConfig
7290
+
7291
+ InferenceComponentDataCacheConfigSummary.add_member(:enable_caching, Shapes::ShapeRef.new(shape: EnableCaching, required: true, location_name: "EnableCaching", metadata: {"box" => true}))
7292
+ InferenceComponentDataCacheConfigSummary.struct_class = Types::InferenceComponentDataCacheConfigSummary
7293
+
7277
7294
  InferenceComponentDeploymentConfig.add_member(:rolling_update_policy, Shapes::ShapeRef.new(shape: InferenceComponentRollingUpdatePolicy, required: true, location_name: "RollingUpdatePolicy"))
7278
7295
  InferenceComponentDeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
7279
7296
  InferenceComponentDeploymentConfig.struct_class = Types::InferenceComponentDeploymentConfig
@@ -7296,6 +7313,7 @@ module Aws::SageMaker
7296
7313
  InferenceComponentSpecification.add_member(:startup_parameters, Shapes::ShapeRef.new(shape: InferenceComponentStartupParameters, location_name: "StartupParameters"))
7297
7314
  InferenceComponentSpecification.add_member(:compute_resource_requirements, Shapes::ShapeRef.new(shape: InferenceComponentComputeResourceRequirements, location_name: "ComputeResourceRequirements"))
7298
7315
  InferenceComponentSpecification.add_member(:base_inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentName, location_name: "BaseInferenceComponentName"))
7316
+ InferenceComponentSpecification.add_member(:data_cache_config, Shapes::ShapeRef.new(shape: InferenceComponentDataCacheConfig, location_name: "DataCacheConfig"))
7299
7317
  InferenceComponentSpecification.struct_class = Types::InferenceComponentSpecification
7300
7318
 
7301
7319
  InferenceComponentSpecificationSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
@@ -7303,6 +7321,7 @@ module Aws::SageMaker
7303
7321
  InferenceComponentSpecificationSummary.add_member(:startup_parameters, Shapes::ShapeRef.new(shape: InferenceComponentStartupParameters, location_name: "StartupParameters"))
7304
7322
  InferenceComponentSpecificationSummary.add_member(:compute_resource_requirements, Shapes::ShapeRef.new(shape: InferenceComponentComputeResourceRequirements, location_name: "ComputeResourceRequirements"))
7305
7323
  InferenceComponentSpecificationSummary.add_member(:base_inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentName, location_name: "BaseInferenceComponentName"))
7324
+ InferenceComponentSpecificationSummary.add_member(:data_cache_config, Shapes::ShapeRef.new(shape: InferenceComponentDataCacheConfigSummary, location_name: "DataCacheConfig"))
7306
7325
  InferenceComponentSpecificationSummary.struct_class = Types::InferenceComponentSpecificationSummary
7307
7326
 
7308
7327
  InferenceComponentStartupParameters.add_member(:model_data_download_timeout_in_seconds, Shapes::ShapeRef.new(shape: ProductionVariantModelDataDownloadTimeoutInSeconds, location_name: "ModelDataDownloadTimeoutInSeconds"))
@@ -13009,6 +13028,16 @@ module Aws::SageMaker
13009
13028
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
13010
13029
  end)
13011
13030
 
13031
+ api.add_operation(:delete_processing_job, Seahorse::Model::Operation.new.tap do |o|
13032
+ o.name = "DeleteProcessingJob"
13033
+ o.http_method = "POST"
13034
+ o.http_request_uri = "/"
13035
+ o.input = Shapes::ShapeRef.new(shape: DeleteProcessingJobRequest)
13036
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
13037
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
13038
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
13039
+ end)
13040
+
13012
13041
  api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o|
13013
13042
  o.name = "DeleteProject"
13014
13043
  o.http_method = "POST"
@@ -13046,6 +13075,16 @@ module Aws::SageMaker
13046
13075
  o.output = Shapes::ShapeRef.new(shape: DeleteTagsOutput)
13047
13076
  end)
13048
13077
 
13078
+ api.add_operation(:delete_training_job, Seahorse::Model::Operation.new.tap do |o|
13079
+ o.name = "DeleteTrainingJob"
13080
+ o.http_method = "POST"
13081
+ o.http_request_uri = "/"
13082
+ o.input = Shapes::ShapeRef.new(shape: DeleteTrainingJobRequest)
13083
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
13084
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
13085
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
13086
+ end)
13087
+
13049
13088
  api.add_operation(:delete_trial, Seahorse::Model::Operation.new.tap do |o|
13050
13089
  o.name = "DeleteTrial"
13051
13090
  o.http_method = "POST"
@@ -10635,7 +10635,7 @@ module Aws::SageMaker
10635
10635
  #
10636
10636
  # @!attribute [rw] platform_identifier
10637
10637
  # The platform identifier of the notebook instance runtime
10638
- # environment.
10638
+ # environment. The default value is `notebook-al2-v2`.
10639
10639
  # @return [String]
10640
10640
  #
10641
10641
  # @!attribute [rw] instance_metadata_service_configuration
@@ -13916,6 +13916,18 @@ module Aws::SageMaker
13916
13916
  include Aws::Structure
13917
13917
  end
13918
13918
 
13919
+ # @!attribute [rw] processing_job_name
13920
+ # The name of the processing job to delete.
13921
+ # @return [String]
13922
+ #
13923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProcessingJobRequest AWS API Documentation
13924
+ #
13925
+ class DeleteProcessingJobRequest < Struct.new(
13926
+ :processing_job_name)
13927
+ SENSITIVE = []
13928
+ include Aws::Structure
13929
+ end
13930
+
13919
13931
  # @!attribute [rw] project_name
13920
13932
  # The name of the project to delete.
13921
13933
  # @return [String]
@@ -13980,6 +13992,18 @@ module Aws::SageMaker
13980
13992
  #
13981
13993
  class DeleteTagsOutput < Aws::EmptyStructure; end
13982
13994
 
13995
+ # @!attribute [rw] training_job_name
13996
+ # The name of the training job to delete.
13997
+ # @return [String]
13998
+ #
13999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrainingJobRequest AWS API Documentation
14000
+ #
14001
+ class DeleteTrainingJobRequest < Struct.new(
14002
+ :training_job_name)
14003
+ SENSITIVE = []
14004
+ include Aws::Structure
14005
+ end
14006
+
13983
14007
  # @!attribute [rw] trial_component_name
13984
14008
  # The name of the component to delete.
13985
14009
  # @return [String]
@@ -27531,6 +27555,42 @@ module Aws::SageMaker
27531
27555
  include Aws::Structure
27532
27556
  end
27533
27557
 
27558
+ # Settings that affect how the inference component caches data.
27559
+ #
27560
+ # @!attribute [rw] enable_caching
27561
+ # Sets whether the endpoint that hosts the inference component caches
27562
+ # the model artifacts and container image.
27563
+ #
27564
+ # With caching enabled, the endpoint caches this data in each instance
27565
+ # that it provisions for the inference component. That way, the
27566
+ # inference component deploys faster during the auto scaling process.
27567
+ # If caching isn't enabled, the inference component takes longer to
27568
+ # deploy because of the time it spends downloading the data.
27569
+ # @return [Boolean]
27570
+ #
27571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentDataCacheConfig AWS API Documentation
27572
+ #
27573
+ class InferenceComponentDataCacheConfig < Struct.new(
27574
+ :enable_caching)
27575
+ SENSITIVE = []
27576
+ include Aws::Structure
27577
+ end
27578
+
27579
+ # Settings that affect how the inference component caches data.
27580
+ #
27581
+ # @!attribute [rw] enable_caching
27582
+ # Indicates whether the inference component caches model artifacts as
27583
+ # part of the auto scaling process.
27584
+ # @return [Boolean]
27585
+ #
27586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentDataCacheConfigSummary AWS API Documentation
27587
+ #
27588
+ class InferenceComponentDataCacheConfigSummary < Struct.new(
27589
+ :enable_caching)
27590
+ SENSITIVE = []
27591
+ include Aws::Structure
27592
+ end
27593
+
27534
27594
  # The deployment configuration for an endpoint that hosts inference
27535
27595
  # components. The configuration includes the desired deployment strategy
27536
27596
  # and rollback settings.
@@ -27681,6 +27741,10 @@ module Aws::SageMaker
27681
27741
  # that you want to adapt.
27682
27742
  # @return [String]
27683
27743
  #
27744
+ # @!attribute [rw] data_cache_config
27745
+ # Settings that affect how the inference component caches data.
27746
+ # @return [Types::InferenceComponentDataCacheConfig]
27747
+ #
27684
27748
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentSpecification AWS API Documentation
27685
27749
  #
27686
27750
  class InferenceComponentSpecification < Struct.new(
@@ -27688,7 +27752,8 @@ module Aws::SageMaker
27688
27752
  :container,
27689
27753
  :startup_parameters,
27690
27754
  :compute_resource_requirements,
27691
- :base_inference_component_name)
27755
+ :base_inference_component_name,
27756
+ :data_cache_config)
27692
27757
  SENSITIVE = []
27693
27758
  include Aws::Structure
27694
27759
  end
@@ -27720,6 +27785,10 @@ module Aws::SageMaker
27720
27785
  # inference component.
27721
27786
  # @return [String]
27722
27787
  #
27788
+ # @!attribute [rw] data_cache_config
27789
+ # Settings that affect how the inference component caches data.
27790
+ # @return [Types::InferenceComponentDataCacheConfigSummary]
27791
+ #
27723
27792
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentSpecificationSummary AWS API Documentation
27724
27793
  #
27725
27794
  class InferenceComponentSpecificationSummary < Struct.new(
@@ -27727,7 +27796,8 @@ module Aws::SageMaker
27727
27796
  :container,
27728
27797
  :startup_parameters,
27729
27798
  :compute_resource_requirements,
27730
- :base_inference_component_name)
27799
+ :base_inference_component_name,
27800
+ :data_cache_config)
27731
27801
  SENSITIVE = []
27732
27802
  include Aws::Structure
27733
27803
  end
@@ -41563,7 +41633,7 @@ module Aws::SageMaker
41563
41633
  # @!attribute [rw] s3_data_distribution_type
41564
41634
  # Whether to distribute the data from Amazon S3 to all processing
41565
41635
  # instances with `FullyReplicated`, or whether the data from Amazon S3
41566
- # is shared by Amazon S3 key, downloading one shard of data to each
41636
+ # is sharded by Amazon S3 key, downloading one shard of data to each
41567
41637
  # processing instance.
41568
41638
  # @return [String]
41569
41639
  #
@@ -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.331.0'
58
+ GEM_VERSION = '1.333.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -2494,7 +2494,10 @@ module Aws
2494
2494
  min_memory_required_in_mb: ::Integer,
2495
2495
  max_memory_required_in_mb: ::Integer?
2496
2496
  }?,
2497
- base_inference_component_name: ::String?
2497
+ base_inference_component_name: ::String?,
2498
+ data_cache_config: {
2499
+ enable_caching: bool
2500
+ }?
2498
2501
  },
2499
2502
  ?runtime_config: {
2500
2503
  copy_count: ::Integer
@@ -5164,6 +5167,12 @@ module Aws
5164
5167
  ) -> _DeletePipelineResponseSuccess
5165
5168
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePipelineResponseSuccess
5166
5169
 
5170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_processing_job-instance_method
5171
+ def delete_processing_job: (
5172
+ processing_job_name: ::String
5173
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5175
+
5167
5176
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_project-instance_method
5168
5177
  def delete_project: (
5169
5178
  project_name: ::String
@@ -5193,6 +5202,12 @@ module Aws
5193
5202
  ) -> _DeleteTagsResponseSuccess
5194
5203
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTagsResponseSuccess
5195
5204
 
5205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_training_job-instance_method
5206
+ def delete_training_job: (
5207
+ training_job_name: ::String
5208
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5210
+
5196
5211
  interface _DeleteTrialResponseSuccess
5197
5212
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrialResponse]
5198
5213
  def trial_arn: () -> ::String
@@ -6585,7 +6600,7 @@ module Aws
6585
6600
  def labeling_job_arn: () -> ::String
6586
6601
  def auto_ml_job_arn: () -> ::String
6587
6602
  def model_artifacts: () -> Types::ModelArtifacts
6588
- def training_job_status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
6603
+ def training_job_status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
6589
6604
  def secondary_status: () -> ("Starting" | "LaunchingMLInstances" | "PreparingTrainingStack" | "Downloading" | "DownloadingTrainingImage" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Completed" | "Failed" | "Interrupted" | "MaxWaitTimeExceeded" | "Updating" | "Restarting" | "Pending")
6590
6605
  def failure_reason: () -> ::String
6591
6606
  def hyper_parameters: () -> ::Hash[::String, ::String]
@@ -8283,7 +8298,7 @@ module Aws
8283
8298
  ?last_modified_time_after: ::Time,
8284
8299
  ?last_modified_time_before: ::Time,
8285
8300
  ?name_contains: ::String,
8286
- ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"),
8301
+ ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"),
8287
8302
  ?sort_by: ("Name" | "CreationTime" | "Status"),
8288
8303
  ?sort_order: ("Ascending" | "Descending"),
8289
8304
  ?warm_pool_status_equals: ("Available" | "Terminated" | "Reused" | "InUse"),
@@ -8301,7 +8316,7 @@ module Aws
8301
8316
  hyper_parameter_tuning_job_name: ::String,
8302
8317
  ?next_token: ::String,
8303
8318
  ?max_results: ::Integer,
8304
- ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"),
8319
+ ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"),
8305
8320
  ?sort_by: ("Name" | "CreationTime" | "Status" | "FinalObjectiveMetricValue"),
8306
8321
  ?sort_order: ("Ascending" | "Descending")
8307
8322
  ) -> _ListTrainingJobsForHyperParameterTuningJobResponseSuccess
@@ -9771,7 +9786,10 @@ module Aws
9771
9786
  min_memory_required_in_mb: ::Integer,
9772
9787
  max_memory_required_in_mb: ::Integer?
9773
9788
  }?,
9774
- base_inference_component_name: ::String?
9789
+ base_inference_component_name: ::String?,
9790
+ data_cache_config: {
9791
+ enable_caching: bool
9792
+ }?
9775
9793
  },
9776
9794
  ?runtime_config: {
9777
9795
  copy_count: ::Integer
data/sig/types.rbs CHANGED
@@ -2833,6 +2833,11 @@ module Aws::SageMaker
2833
2833
  SENSITIVE: []
2834
2834
  end
2835
2835
 
2836
+ class DeleteProcessingJobRequest
2837
+ attr_accessor processing_job_name: ::String
2838
+ SENSITIVE: []
2839
+ end
2840
+
2836
2841
  class DeleteProjectInput
2837
2842
  attr_accessor project_name: ::String
2838
2843
  SENSITIVE: []
@@ -2858,6 +2863,11 @@ module Aws::SageMaker
2858
2863
  class DeleteTagsOutput < Aws::EmptyStructure
2859
2864
  end
2860
2865
 
2866
+ class DeleteTrainingJobRequest
2867
+ attr_accessor training_job_name: ::String
2868
+ SENSITIVE: []
2869
+ end
2870
+
2861
2871
  class DeleteTrialComponentRequest
2862
2872
  attr_accessor trial_component_name: ::String
2863
2873
  SENSITIVE: []
@@ -4299,7 +4309,7 @@ module Aws::SageMaker
4299
4309
  attr_accessor labeling_job_arn: ::String
4300
4310
  attr_accessor auto_ml_job_arn: ::String
4301
4311
  attr_accessor model_artifacts: Types::ModelArtifacts
4302
- attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
4312
+ attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
4303
4313
  attr_accessor secondary_status: ("Starting" | "LaunchingMLInstances" | "PreparingTrainingStack" | "Downloading" | "DownloadingTrainingImage" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Completed" | "Failed" | "Interrupted" | "MaxWaitTimeExceeded" | "Updating" | "Restarting" | "Pending")
4304
4314
  attr_accessor failure_reason: ::String
4305
4315
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
@@ -5400,7 +5410,7 @@ module Aws::SageMaker
5400
5410
  attr_accessor creation_time: ::Time
5401
5411
  attr_accessor training_start_time: ::Time
5402
5412
  attr_accessor training_end_time: ::Time
5403
- attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
5413
+ attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
5404
5414
  attr_accessor tuned_hyper_parameters: ::Hash[::String, ::String]
5405
5415
  attr_accessor failure_reason: ::String
5406
5416
  attr_accessor final_hyper_parameter_tuning_job_objective_metric: Types::FinalHyperParameterTuningJobObjectiveMetric
@@ -5619,6 +5629,16 @@ module Aws::SageMaker
5619
5629
  SENSITIVE: []
5620
5630
  end
5621
5631
 
5632
+ class InferenceComponentDataCacheConfig
5633
+ attr_accessor enable_caching: bool
5634
+ SENSITIVE: []
5635
+ end
5636
+
5637
+ class InferenceComponentDataCacheConfigSummary
5638
+ attr_accessor enable_caching: bool
5639
+ SENSITIVE: []
5640
+ end
5641
+
5622
5642
  class InferenceComponentDeploymentConfig
5623
5643
  attr_accessor rolling_update_policy: Types::InferenceComponentRollingUpdatePolicy
5624
5644
  attr_accessor auto_rollback_configuration: Types::AutoRollbackConfig
@@ -5650,6 +5670,7 @@ module Aws::SageMaker
5650
5670
  attr_accessor startup_parameters: Types::InferenceComponentStartupParameters
5651
5671
  attr_accessor compute_resource_requirements: Types::InferenceComponentComputeResourceRequirements
5652
5672
  attr_accessor base_inference_component_name: ::String
5673
+ attr_accessor data_cache_config: Types::InferenceComponentDataCacheConfig
5653
5674
  SENSITIVE: []
5654
5675
  end
5655
5676
 
@@ -5659,6 +5680,7 @@ module Aws::SageMaker
5659
5680
  attr_accessor startup_parameters: Types::InferenceComponentStartupParameters
5660
5681
  attr_accessor compute_resource_requirements: Types::InferenceComponentComputeResourceRequirements
5661
5682
  attr_accessor base_inference_component_name: ::String
5683
+ attr_accessor data_cache_config: Types::InferenceComponentDataCacheConfigSummary
5662
5684
  SENSITIVE: []
5663
5685
  end
5664
5686
 
@@ -7345,7 +7367,7 @@ module Aws::SageMaker
7345
7367
  attr_accessor hyper_parameter_tuning_job_name: ::String
7346
7368
  attr_accessor next_token: ::String
7347
7369
  attr_accessor max_results: ::Integer
7348
- attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
7370
+ attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
7349
7371
  attr_accessor sort_by: ("Name" | "CreationTime" | "Status" | "FinalObjectiveMetricValue")
7350
7372
  attr_accessor sort_order: ("Ascending" | "Descending")
7351
7373
  SENSITIVE: []
@@ -7365,7 +7387,7 @@ module Aws::SageMaker
7365
7387
  attr_accessor last_modified_time_after: ::Time
7366
7388
  attr_accessor last_modified_time_before: ::Time
7367
7389
  attr_accessor name_contains: ::String
7368
- attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
7390
+ attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
7369
7391
  attr_accessor sort_by: ("Name" | "CreationTime" | "Status")
7370
7392
  attr_accessor sort_order: ("Ascending" | "Descending")
7371
7393
  attr_accessor warm_pool_status_equals: ("Available" | "Terminated" | "Reused" | "InUse")
@@ -10091,7 +10113,7 @@ module Aws::SageMaker
10091
10113
  attr_accessor labeling_job_arn: ::String
10092
10114
  attr_accessor auto_ml_job_arn: ::String
10093
10115
  attr_accessor model_artifacts: Types::ModelArtifacts
10094
- attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
10116
+ attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
10095
10117
  attr_accessor secondary_status: ("Starting" | "LaunchingMLInstances" | "PreparingTrainingStack" | "Downloading" | "DownloadingTrainingImage" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Completed" | "Failed" | "Interrupted" | "MaxWaitTimeExceeded" | "Updating" | "Restarting" | "Pending")
10096
10118
  attr_accessor failure_reason: ::String
10097
10119
  attr_accessor hyper_parameters: ::Hash[::String, ::String]
@@ -10156,7 +10178,7 @@ module Aws::SageMaker
10156
10178
  attr_accessor creation_time: ::Time
10157
10179
  attr_accessor training_end_time: ::Time
10158
10180
  attr_accessor last_modified_time: ::Time
10159
- attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
10181
+ attr_accessor training_job_status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting")
10160
10182
  attr_accessor secondary_status: ("Starting" | "LaunchingMLInstances" | "PreparingTrainingStack" | "Downloading" | "DownloadingTrainingImage" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Completed" | "Failed" | "Interrupted" | "MaxWaitTimeExceeded" | "Updating" | "Restarting" | "Pending")
10161
10183
  attr_accessor warm_pool_status: Types::WarmPoolStatus
10162
10184
  attr_accessor training_plan_arn: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.331.0
4
+ version: 1.333.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services