aws-sdk-sagemaker 1.229.0 → 1.231.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +79 -35
- data/lib/aws-sdk-sagemaker/client_api.rb +17 -0
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sagemaker/endpoints.rb +14 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +3 -0
- data/lib/aws-sdk-sagemaker/types.rb +144 -88
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +8797 -0
- data/sig/errors.rbs +28 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +9423 -0
- data/sig/waiters.rbs +147 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30a49fba9826204b8eb44da1ebb94f78628f9b096a7ec808e5fb7f28dcb413bc
|
4
|
+
data.tar.gz: 488cd1a282916d2872c42b9f06fa9e9906d6a36c6e4fc7e2098e6b0ee2f7d364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29b2726b4c50ab7fa73e78a1ef46d46dbebb2da12a6f78c56e4021d2ee0b4d7b60eee7d8bc4d24387176f941b02ec8ab6568efe9d1c63fcee8fab7fc573d50d4
|
7
|
+
data.tar.gz: a383bbdca5201f74d6cca225064a859f94abaed9537939d691aabf4cd26a34e65c29866e8da7af5289d818857a1fe0679ef6915b2ef4472d64eca8807763c964
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.231.0 (2024-02-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SageMaker Canvas adds GenerativeAiSettings support for CanvasAppSettings.
|
8
|
+
|
9
|
+
1.230.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon SageMaker Automatic Model Tuning now provides an API to programmatically delete tuning jobs.
|
13
|
+
|
4
14
|
1.229.0 (2024-01-14)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.231.0
|
@@ -1081,8 +1081,8 @@ module Aws::SageMaker
|
|
1081
1081
|
|
1082
1082
|
# Creates a configuration for running a SageMaker image as a
|
1083
1083
|
# KernelGateway app. The configuration specifies the Amazon Elastic File
|
1084
|
-
# System
|
1085
|
-
#
|
1084
|
+
# System storage volume on the image, and a list of the kernels in the
|
1085
|
+
# image.
|
1086
1086
|
#
|
1087
1087
|
# @option params [required, String] :app_image_config_name
|
1088
1088
|
# The name of the AppImageConfig. Must be unique to your account.
|
@@ -1286,8 +1286,8 @@ module Aws::SageMaker
|
|
1286
1286
|
#
|
1287
1287
|
# @option params [String] :problem_type
|
1288
1288
|
# Defines the type of supervised learning problem available for the
|
1289
|
-
# candidates. For more information, see [
|
1290
|
-
#
|
1289
|
+
# candidates. For more information, see [ SageMaker Autopilot problem
|
1290
|
+
# types][1].
|
1291
1291
|
#
|
1292
1292
|
#
|
1293
1293
|
#
|
@@ -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
|
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
|
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:
|
@@ -2515,6 +2515,9 @@ module Aws::SageMaker
|
|
2515
2515
|
# kendra_settings: {
|
2516
2516
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2517
2517
|
# },
|
2518
|
+
# generative_ai_settings: {
|
2519
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
2520
|
+
# },
|
2518
2521
|
# },
|
2519
2522
|
# code_editor_app_settings: {
|
2520
2523
|
# default_resource_spec: {
|
@@ -4356,8 +4359,8 @@ module Aws::SageMaker
|
|
4356
4359
|
|
4357
4360
|
# Creates a custom SageMaker image. A SageMaker image is a set of image
|
4358
4361
|
# versions. Each image version represents a container image stored in
|
4359
|
-
# Amazon
|
4360
|
-
#
|
4362
|
+
# Amazon ECR. For more information, see [Bring your own SageMaker
|
4363
|
+
# image][1].
|
4361
4364
|
#
|
4362
4365
|
#
|
4363
4366
|
#
|
@@ -4413,13 +4416,13 @@ module Aws::SageMaker
|
|
4413
4416
|
end
|
4414
4417
|
|
4415
4418
|
# Creates a version of the SageMaker image specified by `ImageName`. The
|
4416
|
-
# version represents the Amazon
|
4417
|
-
#
|
4419
|
+
# version represents the Amazon ECR container image specified by
|
4420
|
+
# `BaseImage`.
|
4418
4421
|
#
|
4419
4422
|
# @option params [required, String] :base_image
|
4420
4423
|
# The registry path of the container image to use as the starting point
|
4421
|
-
# for this version. The path is an Amazon
|
4422
|
-
#
|
4424
|
+
# for this version. The path is an Amazon ECR URI in the following
|
4425
|
+
# format:
|
4423
4426
|
#
|
4424
4427
|
# `<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or
|
4425
4428
|
# [@digest]>`
|
@@ -6911,9 +6914,9 @@ module Aws::SageMaker
|
|
6911
6914
|
# The value of the `$PATH` environment variable that is available to
|
6912
6915
|
# both scripts is `/sbin:bin:/usr/sbin:/usr/bin`.
|
6913
6916
|
#
|
6914
|
-
# View CloudWatch Logs for notebook instance lifecycle
|
6915
|
-
# log group `/aws/sagemaker/NotebookInstances` in log
|
6916
|
-
# `[notebook-instance-name]/[LifecycleConfigHook]`.
|
6917
|
+
# View Amazon CloudWatch Logs for notebook instance lifecycle
|
6918
|
+
# configurations in log group `/aws/sagemaker/NotebookInstances` in log
|
6919
|
+
# stream `[notebook-instance-name]/[LifecycleConfigHook]`.
|
6917
6920
|
#
|
6918
6921
|
# Lifecycle configuration scripts cannot run for longer than 5 minutes.
|
6919
6922
|
# If a script runs for longer than 5 minutes, it fails and the notebook
|
@@ -7059,8 +7062,8 @@ module Aws::SageMaker
|
|
7059
7062
|
# Creates a URL for a specified UserProfile in a Domain. When accessed
|
7060
7063
|
# in a web browser, the user will be automatically signed in to the
|
7061
7064
|
# domain, and granted access to all of the Apps and files associated
|
7062
|
-
# with the Domain's Amazon Elastic File System
|
7063
|
-
#
|
7065
|
+
# with the Domain's Amazon Elastic File System volume. This operation
|
7066
|
+
# can only be called when the authentication mode equals IAM.
|
7064
7067
|
#
|
7065
7068
|
# The IAM role or user passed to this API defines the permissions to
|
7066
7069
|
# access the app. Once the presigned URL is created, no additional
|
@@ -7475,10 +7478,10 @@ module Aws::SageMaker
|
|
7475
7478
|
req.send_request(options)
|
7476
7479
|
end
|
7477
7480
|
|
7478
|
-
# Creates a space used for real time collaboration in a
|
7481
|
+
# Creates a space used for real time collaboration in a domain.
|
7479
7482
|
#
|
7480
7483
|
# @option params [required, String] :domain_id
|
7481
|
-
# The ID of the associated
|
7484
|
+
# The ID of the associated domain.
|
7482
7485
|
#
|
7483
7486
|
# @option params [required, String] :space_name
|
7484
7487
|
# The name of the space.
|
@@ -8578,8 +8581,8 @@ module Aws::SageMaker
|
|
8578
8581
|
# administrator invites a person by email or imports them from IAM
|
8579
8582
|
# Identity Center, a user profile is automatically created. A user
|
8580
8583
|
# profile is the primary holder of settings for an individual user and
|
8581
|
-
# has a reference to the user's private Amazon Elastic File System
|
8582
|
-
#
|
8584
|
+
# has a reference to the user's private Amazon Elastic File System home
|
8585
|
+
# directory.
|
8583
8586
|
#
|
8584
8587
|
# @option params [required, String] :domain_id
|
8585
8588
|
# The ID of the associated Domain.
|
@@ -8723,6 +8726,9 @@ module Aws::SageMaker
|
|
8723
8726
|
# kendra_settings: {
|
8724
8727
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
8725
8728
|
# },
|
8729
|
+
# generative_ai_settings: {
|
8730
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
8731
|
+
# },
|
8726
8732
|
# },
|
8727
8733
|
# code_editor_app_settings: {
|
8728
8734
|
# default_resource_spec: {
|
@@ -9689,6 +9695,32 @@ module Aws::SageMaker
|
|
9689
9695
|
req.send_request(options)
|
9690
9696
|
end
|
9691
9697
|
|
9698
|
+
# Deletes a hyperparameter tuning job. The
|
9699
|
+
# `DeleteHyperParameterTuningJob` API deletes only the tuning job entry
|
9700
|
+
# that was created in SageMaker when you called the
|
9701
|
+
# `CreateHyperParameterTuningJob` API. It does not delete training jobs,
|
9702
|
+
# artifacts, or the IAM role that you specified when creating the model.
|
9703
|
+
#
|
9704
|
+
# @option params [required, String] :hyper_parameter_tuning_job_name
|
9705
|
+
# The name of the hyperparameter tuning job that you want to delete.
|
9706
|
+
#
|
9707
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9708
|
+
#
|
9709
|
+
# @example Request syntax with placeholder values
|
9710
|
+
#
|
9711
|
+
# resp = client.delete_hyper_parameter_tuning_job({
|
9712
|
+
# hyper_parameter_tuning_job_name: "HyperParameterTuningJobName", # required
|
9713
|
+
# })
|
9714
|
+
#
|
9715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHyperParameterTuningJob AWS API Documentation
|
9716
|
+
#
|
9717
|
+
# @overload delete_hyper_parameter_tuning_job(params = {})
|
9718
|
+
# @param [Hash] params ({})
|
9719
|
+
def delete_hyper_parameter_tuning_job(params = {}, options = {})
|
9720
|
+
req = build_request(:delete_hyper_parameter_tuning_job, params)
|
9721
|
+
req.send_request(options)
|
9722
|
+
end
|
9723
|
+
|
9692
9724
|
# Deletes a SageMaker image and all versions of the image. The container
|
9693
9725
|
# images aren't deleted.
|
9694
9726
|
#
|
@@ -10125,7 +10157,7 @@ module Aws::SageMaker
|
|
10125
10157
|
# Used to delete a space.
|
10126
10158
|
#
|
10127
10159
|
# @option params [required, String] :domain_id
|
10128
|
-
# The ID of the associated
|
10160
|
+
# The ID of the associated domain.
|
10129
10161
|
#
|
10130
10162
|
# @option params [required, String] :space_name
|
10131
10163
|
# The name of the space.
|
@@ -11723,6 +11755,7 @@ module Aws::SageMaker
|
|
11723
11755
|
# resp.default_user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String
|
11724
11756
|
# resp.default_user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED"
|
11725
11757
|
# resp.default_user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED"
|
11758
|
+
# resp.default_user_settings.canvas_app_settings.generative_ai_settings.amazon_bedrock_role_arn #=> String
|
11726
11759
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
|
11727
11760
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
|
11728
11761
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
|
@@ -14136,7 +14169,7 @@ module Aws::SageMaker
|
|
14136
14169
|
# Gets a description for the specified model group.
|
14137
14170
|
#
|
14138
14171
|
# @option params [required, String] :model_package_group_name
|
14139
|
-
# The name of
|
14172
|
+
# The name of the model group to describe.
|
14140
14173
|
#
|
14141
14174
|
# @return [Types::DescribeModelPackageGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14142
14175
|
#
|
@@ -14860,7 +14893,7 @@ module Aws::SageMaker
|
|
14860
14893
|
# Describes the space.
|
14861
14894
|
#
|
14862
14895
|
# @option params [required, String] :domain_id
|
14863
|
-
# The ID of the associated
|
14896
|
+
# The ID of the associated domain.
|
14864
14897
|
#
|
14865
14898
|
# @option params [required, String] :space_name
|
14866
14899
|
# The name of the space.
|
@@ -15583,6 +15616,7 @@ module Aws::SageMaker
|
|
15583
15616
|
# resp.user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String
|
15584
15617
|
# resp.user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED"
|
15585
15618
|
# resp.user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED"
|
15619
|
+
# resp.user_settings.canvas_app_settings.generative_ai_settings.amazon_bedrock_role_arn #=> String
|
15586
15620
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
|
15587
15621
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
|
15588
15622
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
|
@@ -20995,7 +21029,7 @@ module Aws::SageMaker
|
|
20995
21029
|
# `CreationTime`.
|
20996
21030
|
#
|
20997
21031
|
# @option params [String] :domain_id_equals
|
20998
|
-
# A parameter to search for the
|
21032
|
+
# A parameter to search for the domain ID.
|
20999
21033
|
#
|
21000
21034
|
# @option params [String] :space_name_contains
|
21001
21035
|
# A parameter by which to filter the results.
|
@@ -23456,7 +23490,7 @@ module Aws::SageMaker
|
|
23456
23490
|
# must be set to `Service`.
|
23457
23491
|
#
|
23458
23492
|
# @option params [Types::DefaultSpaceSettings] :default_space_settings
|
23459
|
-
# The default settings used to create a space within the
|
23493
|
+
# The default settings used to create a space within the domain.
|
23460
23494
|
#
|
23461
23495
|
# @option params [Array<String>] :subnet_ids
|
23462
23496
|
# The VPC subnets that Studio uses for communication.
|
@@ -23584,6 +23618,9 @@ module Aws::SageMaker
|
|
23584
23618
|
# kendra_settings: {
|
23585
23619
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
23586
23620
|
# },
|
23621
|
+
# generative_ai_settings: {
|
23622
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
23623
|
+
# },
|
23587
23624
|
# },
|
23588
23625
|
# code_editor_app_settings: {
|
23589
23626
|
# default_resource_spec: {
|
@@ -23712,15 +23749,18 @@ module Aws::SageMaker
|
|
23712
23749
|
req.send_request(options)
|
23713
23750
|
end
|
23714
23751
|
|
23715
|
-
# Deploys the
|
23716
|
-
#
|
23717
|
-
#
|
23718
|
-
#
|
23752
|
+
# Deploys the `EndpointConfig` specified in the request to a new fleet
|
23753
|
+
# of instances. SageMaker shifts endpoint traffic to the new instances
|
23754
|
+
# with the updated endpoint configuration and then deletes the old
|
23755
|
+
# instances using the previous `EndpointConfig` (there is no
|
23756
|
+
# availability loss). For more information about how to control the
|
23757
|
+
# update and traffic shifting process, see [ Update models in
|
23758
|
+
# production][1].
|
23719
23759
|
#
|
23720
23760
|
# When SageMaker receives the request, it sets the endpoint status to
|
23721
23761
|
# `Updating`. After updating the endpoint, it sets the status to
|
23722
23762
|
# `InService`. To check the status of an endpoint, use the
|
23723
|
-
# [DescribeEndpoint][
|
23763
|
+
# [DescribeEndpoint][2] API.
|
23724
23764
|
#
|
23725
23765
|
# <note markdown="1"> You must not delete an `EndpointConfig` in use by an endpoint that is
|
23726
23766
|
# live or while the `UpdateEndpoint` or `CreateEndpoint` operations are
|
@@ -23736,7 +23776,8 @@ module Aws::SageMaker
|
|
23736
23776
|
#
|
23737
23777
|
#
|
23738
23778
|
#
|
23739
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/
|
23779
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/deployment-guardrails.html
|
23780
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html
|
23740
23781
|
#
|
23741
23782
|
# @option params [required, String] :endpoint_name
|
23742
23783
|
# The name of the endpoint whose configuration you want to update.
|
@@ -25155,7 +25196,7 @@ module Aws::SageMaker
|
|
25155
25196
|
# Updates the settings of a space.
|
25156
25197
|
#
|
25157
25198
|
# @option params [required, String] :domain_id
|
25158
|
-
# The ID of the associated
|
25199
|
+
# The ID of the associated domain.
|
25159
25200
|
#
|
25160
25201
|
# @option params [required, String] :space_name
|
25161
25202
|
# The name of the space.
|
@@ -25587,6 +25628,9 @@ module Aws::SageMaker
|
|
25587
25628
|
# kendra_settings: {
|
25588
25629
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
25589
25630
|
# },
|
25631
|
+
# generative_ai_settings: {
|
25632
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
25633
|
+
# },
|
25590
25634
|
# },
|
25591
25635
|
# code_editor_app_settings: {
|
25592
25636
|
# default_resource_spec: {
|
@@ -25896,7 +25940,7 @@ module Aws::SageMaker
|
|
25896
25940
|
params: params,
|
25897
25941
|
config: config)
|
25898
25942
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
25899
|
-
context[:gem_version] = '1.
|
25943
|
+
context[:gem_version] = '1.231.0'
|
25900
25944
|
Seahorse::Client::Request.new(handlers, context)
|
25901
25945
|
end
|
25902
25946
|
|
@@ -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')
|
@@ -896,6 +897,7 @@ module Aws::SageMaker
|
|
896
897
|
Framework = Shapes::StringShape.new(name: 'Framework')
|
897
898
|
FrameworkVersion = Shapes::StringShape.new(name: 'FrameworkVersion')
|
898
899
|
GenerateCandidateDefinitionsOnly = Shapes::BooleanShape.new(name: 'GenerateCandidateDefinitionsOnly')
|
900
|
+
GenerativeAiSettings = Shapes::StructureShape.new(name: 'GenerativeAiSettings')
|
899
901
|
GetDeviceFleetReportRequest = Shapes::StructureShape.new(name: 'GetDeviceFleetReportRequest')
|
900
902
|
GetDeviceFleetReportResponse = Shapes::StructureShape.new(name: 'GetDeviceFleetReportResponse')
|
901
903
|
GetLineageGroupPolicyRequest = Shapes::StructureShape.new(name: 'GetLineageGroupPolicyRequest')
|
@@ -2702,6 +2704,7 @@ module Aws::SageMaker
|
|
2702
2704
|
CanvasAppSettings.add_member(:identity_provider_o_auth_settings, Shapes::ShapeRef.new(shape: IdentityProviderOAuthSettings, location_name: "IdentityProviderOAuthSettings"))
|
2703
2705
|
CanvasAppSettings.add_member(:direct_deploy_settings, Shapes::ShapeRef.new(shape: DirectDeploySettings, location_name: "DirectDeploySettings"))
|
2704
2706
|
CanvasAppSettings.add_member(:kendra_settings, Shapes::ShapeRef.new(shape: KendraSettings, location_name: "KendraSettings"))
|
2707
|
+
CanvasAppSettings.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAiSettings, location_name: "GenerativeAiSettings"))
|
2705
2708
|
CanvasAppSettings.struct_class = Types::CanvasAppSettings
|
2706
2709
|
|
2707
2710
|
CapacitySize.add_member(:type, Shapes::ShapeRef.new(shape: CapacitySizeType, required: true, location_name: "Type"))
|
@@ -3924,6 +3927,9 @@ module Aws::SageMaker
|
|
3924
3927
|
|
3925
3928
|
DeleteHumanTaskUiResponse.struct_class = Types::DeleteHumanTaskUiResponse
|
3926
3929
|
|
3930
|
+
DeleteHyperParameterTuningJobRequest.add_member(:hyper_parameter_tuning_job_name, Shapes::ShapeRef.new(shape: HyperParameterTuningJobName, required: true, location_name: "HyperParameterTuningJobName"))
|
3931
|
+
DeleteHyperParameterTuningJobRequest.struct_class = Types::DeleteHyperParameterTuningJobRequest
|
3932
|
+
|
3927
3933
|
DeleteImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
3928
3934
|
DeleteImageRequest.struct_class = Types::DeleteImageRequest
|
3929
3935
|
|
@@ -5623,6 +5629,9 @@ module Aws::SageMaker
|
|
5623
5629
|
|
5624
5630
|
ForecastQuantiles.member = Shapes::ShapeRef.new(shape: ForecastQuantile)
|
5625
5631
|
|
5632
|
+
GenerativeAiSettings.add_member(:amazon_bedrock_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AmazonBedrockRoleArn"))
|
5633
|
+
GenerativeAiSettings.struct_class = Types::GenerativeAiSettings
|
5634
|
+
|
5626
5635
|
GetDeviceFleetReportRequest.add_member(:device_fleet_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "DeviceFleetName"))
|
5627
5636
|
GetDeviceFleetReportRequest.struct_class = Types::GetDeviceFleetReportRequest
|
5628
5637
|
|
@@ -10692,6 +10701,14 @@ module Aws::SageMaker
|
|
10692
10701
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
10693
10702
|
end)
|
10694
10703
|
|
10704
|
+
api.add_operation(:delete_hyper_parameter_tuning_job, Seahorse::Model::Operation.new.tap do |o|
|
10705
|
+
o.name = "DeleteHyperParameterTuningJob"
|
10706
|
+
o.http_method = "POST"
|
10707
|
+
o.http_request_uri = "/"
|
10708
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteHyperParameterTuningJobRequest)
|
10709
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
10710
|
+
end)
|
10711
|
+
|
10695
10712
|
api.add_operation(:delete_image, Seahorse::Model::Operation.new.tap do |o|
|
10696
10713
|
o.name = "DeleteImage"
|
10697
10714
|
o.http_method = "POST"
|
@@ -37,7 +37,7 @@ module Aws::SageMaker
|
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
41
41
|
end
|
42
42
|
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
43
43
|
end
|
@@ -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
|