aws-sdk-sagemaker 1.229.0 → 1.230.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: fb6d11b997345e5af7a1f8651fb81019709ee60407731362d3a8c833e0a5a52e
4
- data.tar.gz: a6243d8a7590a29eabb2dbe8c001671fa0c14134354a27dae3b23f30851b4704
3
+ metadata.gz: 4714c92d28a9628d423fb1e039eb213a8194c3903088d973d175910b662cec28
4
+ data.tar.gz: 581d67e3a3055f78f9514336b466ff3af3cb4a7c1456f2ced007ecaeacc054bc
5
5
  SHA512:
6
- metadata.gz: d5b89bd011a2ecd22be8fe069a07c64ee86642ca3cd0f3342f99b1b6901bced3f24da7a8be5fa1e9c0ee0aecfc05bd237cbd5b3804407c29b9c074f18ca55ba0
7
- data.tar.gz: 399bd1b86169a0bcb4f18fa600e9076970ccea381b10ad9549ddb9a6adbcc697e430d90f255e2d2a70525a3dc3c7e1b436943da60d5289b81d849ab62ac5420c
6
+ metadata.gz: 6dd976b4898e389d7a2224c5bc5d864573241b9acc31e02d63887dcddf3fb2a58c9fbc0d9421c8247ddc80902d6ede3dabdb40d36cb1a10d4b071a3099c8543a
7
+ data.tar.gz: 8bdbac7274569f95b06eb59baa4e3d2da803ef04df39aff80669b575256e42942ff9ba00ddff71adc084d751cad2c50660448ed50e3fc6d2a2acab647769e1c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.230.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Amazon SageMaker Automatic Model Tuning now provides an API to programmatically delete tuning jobs.
8
+
4
9
  1.229.0 (2024-01-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.229.0
1
+ 1.230.0
@@ -2297,7 +2297,7 @@ module Aws::SageMaker
2297
2297
  end
2298
2298
 
2299
2299
  # Creates a `Domain`. A domain consists of an associated Amazon Elastic
2300
- # File System (EFS) volume, a list of authorized users, and a variety of
2300
+ # File System volume, a list of authorized users, and a variety of
2301
2301
  # security, application, policy, and Amazon Virtual Private Cloud (VPC)
2302
2302
  # configurations. Users within a domain can share notebook files and
2303
2303
  # other artifacts with each other.
@@ -2317,8 +2317,8 @@ module Aws::SageMaker
2317
2317
  #
2318
2318
  # **VPC configuration**
2319
2319
  #
2320
- # All traffic between the domain and the EFS volume is through the
2321
- # specified VPC and subnets. For other traffic, you can specify the
2320
+ # All traffic between the domain and the Amazon EFS volume is through
2321
+ # the specified VPC and subnets. For other traffic, you can specify the
2322
2322
  # `AppNetworkAccessType` parameter. `AppNetworkAccessType` corresponds
2323
2323
  # to the network access type that you choose when you onboard to the
2324
2324
  # domain. The following options are available:
@@ -9689,6 +9689,32 @@ module Aws::SageMaker
9689
9689
  req.send_request(options)
9690
9690
  end
9691
9691
 
9692
+ # Deletes a hyperparameter tuning job. The
9693
+ # `DeleteHyperParameterTuningJob` API deletes only the tuning job entry
9694
+ # that was created in SageMaker when you called the
9695
+ # `CreateHyperParameterTuningJob` API. It does not delete training jobs,
9696
+ # artifacts, or the IAM role that you specified when creating the model.
9697
+ #
9698
+ # @option params [required, String] :hyper_parameter_tuning_job_name
9699
+ # The name of the hyperparameter tuning job that you want to delete.
9700
+ #
9701
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
9702
+ #
9703
+ # @example Request syntax with placeholder values
9704
+ #
9705
+ # resp = client.delete_hyper_parameter_tuning_job({
9706
+ # hyper_parameter_tuning_job_name: "HyperParameterTuningJobName", # required
9707
+ # })
9708
+ #
9709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHyperParameterTuningJob AWS API Documentation
9710
+ #
9711
+ # @overload delete_hyper_parameter_tuning_job(params = {})
9712
+ # @param [Hash] params ({})
9713
+ def delete_hyper_parameter_tuning_job(params = {}, options = {})
9714
+ req = build_request(:delete_hyper_parameter_tuning_job, params)
9715
+ req.send_request(options)
9716
+ end
9717
+
9692
9718
  # Deletes a SageMaker image and all versions of the image. The container
9693
9719
  # images aren't deleted.
9694
9720
  #
@@ -14136,7 +14162,7 @@ module Aws::SageMaker
14136
14162
  # Gets a description for the specified model group.
14137
14163
  #
14138
14164
  # @option params [required, String] :model_package_group_name
14139
- # The name of gthe model group to describe.
14165
+ # The name of the model group to describe.
14140
14166
  #
14141
14167
  # @return [Types::DescribeModelPackageGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14142
14168
  #
@@ -23712,15 +23738,18 @@ module Aws::SageMaker
23712
23738
  req.send_request(options)
23713
23739
  end
23714
23740
 
23715
- # Deploys the new `EndpointConfig` specified in the request, switches to
23716
- # using newly created endpoint, and then deletes resources provisioned
23717
- # for the endpoint using the previous `EndpointConfig` (there is no
23718
- # availability loss).
23741
+ # Deploys the `EndpointConfig` specified in the request to a new fleet
23742
+ # of instances. SageMaker shifts endpoint traffic to the new instances
23743
+ # with the updated endpoint configuration and then deletes the old
23744
+ # instances using the previous `EndpointConfig` (there is no
23745
+ # availability loss). For more information about how to control the
23746
+ # update and traffic shifting process, see [ Update models in
23747
+ # production][1].
23719
23748
  #
23720
23749
  # When SageMaker receives the request, it sets the endpoint status to
23721
23750
  # `Updating`. After updating the endpoint, it sets the status to
23722
23751
  # `InService`. To check the status of an endpoint, use the
23723
- # [DescribeEndpoint][1] API.
23752
+ # [DescribeEndpoint][2] API.
23724
23753
  #
23725
23754
  # <note markdown="1"> You must not delete an `EndpointConfig` in use by an endpoint that is
23726
23755
  # live or while the `UpdateEndpoint` or `CreateEndpoint` operations are
@@ -23736,7 +23765,8 @@ module Aws::SageMaker
23736
23765
  #
23737
23766
  #
23738
23767
  #
23739
- # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html
23768
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/deployment-guardrails.html
23769
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html
23740
23770
  #
23741
23771
  # @option params [required, String] :endpoint_name
23742
23772
  # The name of the endpoint whose configuration you want to update.
@@ -25896,7 +25926,7 @@ module Aws::SageMaker
25896
25926
  params: params,
25897
25927
  config: config)
25898
25928
  context[:gem_name] = 'aws-sdk-sagemaker'
25899
- context[:gem_version] = '1.229.0'
25929
+ context[:gem_version] = '1.230.0'
25900
25930
  Seahorse::Client::Request.new(handlers, context)
25901
25931
  end
25902
25932
 
@@ -517,6 +517,7 @@ module Aws::SageMaker
517
517
  DeleteHubRequest = Shapes::StructureShape.new(name: 'DeleteHubRequest')
518
518
  DeleteHumanTaskUiRequest = Shapes::StructureShape.new(name: 'DeleteHumanTaskUiRequest')
519
519
  DeleteHumanTaskUiResponse = Shapes::StructureShape.new(name: 'DeleteHumanTaskUiResponse')
520
+ DeleteHyperParameterTuningJobRequest = Shapes::StructureShape.new(name: 'DeleteHyperParameterTuningJobRequest')
520
521
  DeleteImageRequest = Shapes::StructureShape.new(name: 'DeleteImageRequest')
521
522
  DeleteImageResponse = Shapes::StructureShape.new(name: 'DeleteImageResponse')
522
523
  DeleteImageVersionRequest = Shapes::StructureShape.new(name: 'DeleteImageVersionRequest')
@@ -3924,6 +3925,9 @@ module Aws::SageMaker
3924
3925
 
3925
3926
  DeleteHumanTaskUiResponse.struct_class = Types::DeleteHumanTaskUiResponse
3926
3927
 
3928
+ DeleteHyperParameterTuningJobRequest.add_member(:hyper_parameter_tuning_job_name, Shapes::ShapeRef.new(shape: HyperParameterTuningJobName, required: true, location_name: "HyperParameterTuningJobName"))
3929
+ DeleteHyperParameterTuningJobRequest.struct_class = Types::DeleteHyperParameterTuningJobRequest
3930
+
3927
3931
  DeleteImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
3928
3932
  DeleteImageRequest.struct_class = Types::DeleteImageRequest
3929
3933
 
@@ -10692,6 +10696,14 @@ module Aws::SageMaker
10692
10696
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
10693
10697
  end)
10694
10698
 
10699
+ api.add_operation(:delete_hyper_parameter_tuning_job, Seahorse::Model::Operation.new.tap do |o|
10700
+ o.name = "DeleteHyperParameterTuningJob"
10701
+ o.http_method = "POST"
10702
+ o.http_request_uri = "/"
10703
+ o.input = Shapes::ShapeRef.new(shape: DeleteHyperParameterTuningJobRequest)
10704
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
10705
+ end)
10706
+
10695
10707
  api.add_operation(:delete_image, Seahorse::Model::Operation.new.tap do |o|
10696
10708
  o.name = "DeleteImage"
10697
10709
  o.http_method = "POST"
@@ -1174,6 +1174,20 @@ module Aws::SageMaker
1174
1174
  end
1175
1175
  end
1176
1176
 
1177
+ class DeleteHyperParameterTuningJob
1178
+ def self.build(context)
1179
+ unless context.config.regional_endpoint
1180
+ endpoint = context.config.endpoint.to_s
1181
+ end
1182
+ Aws::SageMaker::EndpointParameters.new(
1183
+ region: context.config.region,
1184
+ use_dual_stack: context.config.use_dualstack_endpoint,
1185
+ use_fips: context.config.use_fips_endpoint,
1186
+ endpoint: endpoint,
1187
+ )
1188
+ end
1189
+ end
1190
+
1177
1191
  class DeleteImage
1178
1192
  def self.build(context)
1179
1193
  unless context.config.regional_endpoint
@@ -14,6 +14,7 @@ module Aws::SageMaker
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SageMaker::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -223,6 +224,8 @@ module Aws::SageMaker
223
224
  Aws::SageMaker::Endpoints::DeleteHubContent.build(context)
224
225
  when :delete_human_task_ui
225
226
  Aws::SageMaker::Endpoints::DeleteHumanTaskUi.build(context)
227
+ when :delete_hyper_parameter_tuning_job
228
+ Aws::SageMaker::Endpoints::DeleteHyperParameterTuningJob.build(context)
226
229
  when :delete_image
227
230
  Aws::SageMaker::Endpoints::DeleteImage.build(context)
228
231
  when :delete_image_version
@@ -10647,6 +10647,18 @@ module Aws::SageMaker
10647
10647
  #
10648
10648
  class DeleteHumanTaskUiResponse < Aws::EmptyStructure; end
10649
10649
 
10650
+ # @!attribute [rw] hyper_parameter_tuning_job_name
10651
+ # The name of the hyperparameter tuning job that you want to delete.
10652
+ # @return [String]
10653
+ #
10654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHyperParameterTuningJobRequest AWS API Documentation
10655
+ #
10656
+ class DeleteHyperParameterTuningJobRequest < Struct.new(
10657
+ :hyper_parameter_tuning_job_name)
10658
+ SENSITIVE = []
10659
+ include Aws::Structure
10660
+ end
10661
+
10650
10662
  # @!attribute [rw] image_name
10651
10663
  # The name of the image to delete.
10652
10664
  # @return [String]
@@ -12539,8 +12551,7 @@ module Aws::SageMaker
12539
12551
  # @return [String]
12540
12552
  #
12541
12553
  # @!attribute [rw] home_efs_file_system_id
12542
- # The ID of the Amazon Elastic File System (EFS) managed by this
12543
- # Domain.
12554
+ # The ID of the Amazon Elastic File System managed by this Domain.
12544
12555
  # @return [String]
12545
12556
  #
12546
12557
  # @!attribute [rw] single_sign_on_managed_application_instance_id
@@ -13244,17 +13255,17 @@ module Aws::SageMaker
13244
13255
  # @return [Types::OfflineStoreConfig]
13245
13256
  #
13246
13257
  # @!attribute [rw] throughput_config
13247
- # Active throughput configuration of the feature group. Used to set
13248
- # feature group throughput configuration. There are two modes:
13249
- # `ON_DEMAND` and `PROVISIONED`. With on-demand mode, you are charged
13250
- # for data reads and writes that your application performs on your
13251
- # feature group. You do not need to specify read and write throughput
13252
- # because Feature Store accommodates your workloads as they ramp up
13253
- # and down. You can switch a feature group to on-demand only once in a
13254
- # 24 hour period. With provisioned throughput mode, you specify the
13255
- # read and write capacity per second that you expect your application
13256
- # to require, and you are billed based on those limits. Exceeding
13257
- # provisioned throughput will result in your requests being throttled.
13258
+ # Active throughput configuration of the feature group. There are two
13259
+ # modes: `ON_DEMAND` and `PROVISIONED`. With on-demand mode, you are
13260
+ # charged for data reads and writes that your application performs on
13261
+ # your feature group. You do not need to specify read and write
13262
+ # throughput because Feature Store accommodates your workloads as they
13263
+ # ramp up and down. You can switch a feature group to on-demand only
13264
+ # once in a 24 hour period. With provisioned throughput mode, you
13265
+ # specify the read and write capacity per second that you expect your
13266
+ # application to require, and you are billed based on those limits.
13267
+ # Exceeding provisioned throughput will result in your requests being
13268
+ # throttled.
13258
13269
  #
13259
13270
  # Note: `PROVISIONED` throughput mode is supported only for feature
13260
13271
  # groups that are offline-only, or use the [ `Standard` ][1] tier
@@ -13756,8 +13767,7 @@ module Aws::SageMaker
13756
13767
  # @return [Array<Types::HyperParameterTrainingJobDefinition>]
13757
13768
  #
13758
13769
  # @!attribute [rw] hyper_parameter_tuning_job_status
13759
- # The status of the tuning job: InProgress, Completed, Failed,
13760
- # Stopping, or Stopped.
13770
+ # The status of the tuning job.
13761
13771
  # @return [String]
13762
13772
  #
13763
13773
  # @!attribute [rw] creation_time
@@ -15054,7 +15064,7 @@ module Aws::SageMaker
15054
15064
  end
15055
15065
 
15056
15066
  # @!attribute [rw] model_package_group_name
15057
- # The name of gthe model group to describe.
15067
+ # The name of the model group to describe.
15058
15068
  # @return [String]
15059
15069
  #
15060
15070
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroupInput AWS API Documentation
@@ -30211,14 +30221,22 @@ module Aws::SageMaker
30211
30221
  include Aws::Structure
30212
30222
  end
30213
30223
 
30214
- # The access configuration file for the ML model. You can explicitly
30215
- # accept the model end-user license agreement (EULA) within the
30216
- # `ModelAccessConfig`. For more information, see [End-user license
30217
- # agreements][1].
30224
+ # The access configuration file to control access to the ML model. You
30225
+ # can explicitly accept the model end-user license agreement (EULA)
30226
+ # within the `ModelAccessConfig`.
30227
+ #
30228
+ # * If you are a Jumpstart user, see the [End-user license
30229
+ # agreements][1] section for more details on accepting the EULA.
30230
+ #
30231
+ # * If you are an AutoML user, see the *Optional Parameters* section of
30232
+ # *Create an AutoML job to fine-tune text generation models using the
30233
+ # API* for details on [How to set the EULA acceptance when fine-tuning
30234
+ # a model using the AutoML API][2].
30218
30235
  #
30219
30236
  #
30220
30237
  #
30221
30238
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
30239
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params
30222
30240
  #
30223
30241
  # @!attribute [rw] accept_eula
30224
30242
  # Specifies agreement to the model end-user license agreement (EULA).
@@ -37731,7 +37749,7 @@ module Aws::SageMaker
37731
37749
  # either a key name prefix or a manifest. For example:
37732
37750
  #
37733
37751
  # * A key name prefix might look like this:
37734
- # `s3://bucketname/exampleprefix`
37752
+ # `s3://bucketname/exampleprefix/`
37735
37753
  #
37736
37754
  # * A manifest might look like this:
37737
37755
  # `s3://bucketname/example.manifest`
@@ -40092,14 +40110,22 @@ module Aws::SageMaker
40092
40110
  # @return [Hash<String,String>]
40093
40111
  #
40094
40112
  # @!attribute [rw] model_access_config
40095
- # The access configuration file for the ML model. You can explicitly
40096
- # accept the model end-user license agreement (EULA) within the
40097
- # `ModelAccessConfig`. For more information, see [End-user license
40098
- # agreements][1].
40113
+ # The access configuration file to control access to the ML model. You
40114
+ # can explicitly accept the model end-user license agreement (EULA)
40115
+ # within the `ModelAccessConfig`.
40116
+ #
40117
+ # * If you are a Jumpstart user, see the [End-user license
40118
+ # agreements][1] section for more details on accepting the EULA.
40119
+ #
40120
+ # * If you are an AutoML user, see the *Optional Parameters* section
40121
+ # of *Create an AutoML job to fine-tune text generation models using
40122
+ # the API* for details on [How to set the EULA acceptance when
40123
+ # fine-tuning a model using the AutoML API][2].
40099
40124
  #
40100
40125
  #
40101
40126
  #
40102
40127
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
40128
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params
40103
40129
  # @return [Types::ModelAccessConfig]
40104
40130
  #
40105
40131
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TextGenerationJobConfig AWS API Documentation
@@ -40177,17 +40203,17 @@ module Aws::SageMaker
40177
40203
  include Aws::Structure
40178
40204
  end
40179
40205
 
40180
- # Active throughput configuration of the feature group. Used to set
40181
- # feature group throughput configuration. There are two modes:
40182
- # `ON_DEMAND` and `PROVISIONED`. With on-demand mode, you are charged
40183
- # for data reads and writes that your application performs on your
40184
- # feature group. You do not need to specify read and write throughput
40185
- # because Feature Store accommodates your workloads as they ramp up and
40186
- # down. You can switch a feature group to on-demand only once in a 24
40187
- # hour period. With provisioned throughput mode, you specify the read
40188
- # and write capacity per second that you expect your application to
40189
- # require, and you are billed based on those limits. Exceeding
40190
- # provisioned throughput will result in your requests being throttled.
40206
+ # Active throughput configuration of the feature group. There are two
40207
+ # modes: `ON_DEMAND` and `PROVISIONED`. With on-demand mode, you are
40208
+ # charged for data reads and writes that your application performs on
40209
+ # your feature group. You do not need to specify read and write
40210
+ # throughput because Feature Store accommodates your workloads as they
40211
+ # ramp up and down. You can switch a feature group to on-demand only
40212
+ # once in a 24 hour period. With provisioned throughput mode, you
40213
+ # specify the read and write capacity per second that you expect your
40214
+ # application to require, and you are billed based on those limits.
40215
+ # Exceeding provisioned throughput will result in your requests being
40216
+ # throttled.
40191
40217
  #
40192
40218
  # Note: `PROVISIONED` throughput mode is supported only for feature
40193
40219
  # groups that are offline-only, or use the [ `Standard` ][1] tier online
@@ -41777,7 +41803,7 @@ module Aws::SageMaker
41777
41803
  # either a key name prefix or a manifest. For example:
41778
41804
  #
41779
41805
  # * A key name prefix might look like this:
41780
- # `s3://bucketname/exampleprefix`.
41806
+ # `s3://bucketname/exampleprefix/`.
41781
41807
  #
41782
41808
  # * A manifest might look like this:
41783
41809
  # `s3://bucketname/example.manifest`
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.229.0'
56
+ GEM_VERSION = '1.230.0'
57
57
 
58
58
  end