aws-sdk-sagemaker 1.57.0 → 1.62.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 +4 -4
- data/lib/aws-sdk-sagemaker.rb +3 -1
- data/lib/aws-sdk-sagemaker/client.rb +138 -56
- data/lib/aws-sdk-sagemaker/client_api.rb +13 -0
- data/lib/aws-sdk-sagemaker/errors.rb +2 -0
- data/lib/aws-sdk-sagemaker/resource.rb +2 -0
- data/lib/aws-sdk-sagemaker/types.rb +803 -218
- data/lib/aws-sdk-sagemaker/waiters.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15eedc5a89d8933e1a00ba86a1ddd0b0226e08ad26fc63eebec870d1a5e7db5b
|
4
|
+
data.tar.gz: 9b54d93c4388ac3be8d82ff8607911198d043f51d458b17bee8238277c7f6740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eb77836dfa96aa280a38a8a28162909b694d335c0dd49d058e571ddb21415686bc03868de190852d329e5952a087ab8317bbb534c4d4563ca22d3e906fd723a
|
7
|
+
data.tar.gz: 8fe2889d4f4b3bae3a50dd78b68b5aea9d796bcf56e87a787bc77cc1897b7177b2183765e3ef7a8c47dd9330a83a815ad7f6390f40e46351f4b0139c501070ae
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::SageMaker
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.62.0'
|
50
52
|
|
51
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::SageMaker
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::SageMaker
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::SageMaker
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -648,14 +652,11 @@ module Aws::SageMaker
|
|
648
652
|
end
|
649
653
|
|
650
654
|
# Creates a running App for the specified UserProfile. Supported Apps
|
651
|
-
# are
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
# deleted when stopped from within Studio, or when the DeleteApp API is
|
657
|
-
# manually called. UserProfiles are limited to 5 concurrently running
|
658
|
-
# Apps at a time.
|
655
|
+
# are JupyterServer, KernelGateway, and TensorBoard. This operation is
|
656
|
+
# automatically invoked by Amazon SageMaker Studio upon access to the
|
657
|
+
# associated Domain, and when new kernel configurations are selected by
|
658
|
+
# the user. A user may have multiple Apps active simultaneously.
|
659
|
+
# UserProfiles are limited to 5 concurrently running Apps at a time.
|
659
660
|
#
|
660
661
|
# @option params [required, String] :domain_id
|
661
662
|
# The domain ID.
|
@@ -991,36 +992,47 @@ module Aws::SageMaker
|
|
991
992
|
req.send_request(options)
|
992
993
|
end
|
993
994
|
|
994
|
-
# Creates a Domain
|
995
|
-
#
|
996
|
-
#
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
995
|
+
# Creates a `Domain` used by SageMaker Studio. A domain consists of an
|
996
|
+
# associated directory, a list of authorized users, and a variety of
|
997
|
+
# security, application, policy, and Amazon Virtual Private Cloud (VPC)
|
998
|
+
# configurations. An AWS account is limited to one domain per region.
|
999
|
+
# Users within a domain can share notebook files and other artifacts
|
1000
|
+
# with each other.
|
1001
|
+
#
|
1002
|
+
# When a domain is created, an Amazon Elastic File System (EFS) volume
|
1003
|
+
# is also created for use by all of the users within the domain. Each
|
1004
|
+
# user receives a private home directory within the EFS for notebooks,
|
1005
|
+
# Git repositories, and data files.
|
1006
|
+
#
|
1007
|
+
# All traffic between the domain and the EFS volume is communicated
|
1008
|
+
# through the specified subnet IDs. All other traffic goes over the
|
1009
|
+
# Internet through an Amazon SageMaker system VPC. The EFS traffic uses
|
1010
|
+
# the NFS/TCP protocol over port 2049.
|
1011
|
+
#
|
1012
|
+
# NFS traffic over TCP on port 2049 needs to be allowed in both inbound
|
1013
|
+
# and outbound rules in order to launch a SageMaker Studio app
|
1014
|
+
# successfully.
|
1004
1015
|
#
|
1005
1016
|
# @option params [required, String] :domain_name
|
1006
1017
|
# A name for the domain.
|
1007
1018
|
#
|
1008
1019
|
# @option params [required, String] :auth_mode
|
1009
|
-
# The mode of authentication that
|
1020
|
+
# The mode of authentication that members use to access the domain.
|
1010
1021
|
#
|
1011
1022
|
# @option params [required, Types::UserSettings] :default_user_settings
|
1012
1023
|
# The default user settings.
|
1013
1024
|
#
|
1014
1025
|
# @option params [required, Array<String>] :subnet_ids
|
1015
|
-
#
|
1026
|
+
# The VPC subnets to use for communication with the EFS volume.
|
1016
1027
|
#
|
1017
1028
|
# @option params [required, String] :vpc_id
|
1018
|
-
#
|
1019
|
-
#
|
1029
|
+
# The ID of the Amazon Virtual Private Cloud (VPC) to use for
|
1030
|
+
# communication with the EFS volume.
|
1020
1031
|
#
|
1021
1032
|
# @option params [Array<Types::Tag>] :tags
|
1022
|
-
# Each tag consists of a key and an
|
1023
|
-
# unique per resource.
|
1033
|
+
# Tags to associated with the Domain. Each tag consists of a key and an
|
1034
|
+
# optional value. Tag keys must be unique per resource. Tags are
|
1035
|
+
# searchable using the Search API.
|
1024
1036
|
#
|
1025
1037
|
# @option params [String] :home_efs_file_system_kms_key_id
|
1026
1038
|
# The AWS Key Management Service (KMS) encryption key ID. Encryption
|
@@ -1113,6 +1125,20 @@ module Aws::SageMaker
|
|
1113
1125
|
# launches the resources (ML compute instances), and deploys the
|
1114
1126
|
# model(s) on them.
|
1115
1127
|
#
|
1128
|
+
# <note markdown="1"> When you call CreateEndpoint, a load call is made to DynamoDB to
|
1129
|
+
# verify that your endpoint configuration exists. When you read data
|
1130
|
+
# from a DynamoDB table supporting [ `Eventually Consistent Reads` ][2],
|
1131
|
+
# the response might not reflect the results of a recently completed
|
1132
|
+
# write operation. The response might include some stale data. If the
|
1133
|
+
# dependent entities are not yet in DynamoDB, this causes a validation
|
1134
|
+
# error. If you repeat your read request after a short time, the
|
1135
|
+
# response should return the latest data. So retry logic is recommended
|
1136
|
+
# to handle these possible issues. We also recommend that customers call
|
1137
|
+
# DescribeEndpointConfig before calling CreateEndpoint to minimize the
|
1138
|
+
# potential impact of a DynamoDB eventually consistent read.
|
1139
|
+
#
|
1140
|
+
# </note>
|
1141
|
+
#
|
1116
1142
|
# When Amazon SageMaker receives the request, it sets the endpoint
|
1117
1143
|
# status to `Creating`. After it creates the endpoint, it sets the
|
1118
1144
|
# status to `InService`. Amazon SageMaker can then process incoming
|
@@ -1125,13 +1151,14 @@ module Aws::SageMaker
|
|
1125
1151
|
# activated in your IAM user account by default. If you previously
|
1126
1152
|
# deactivated AWS STS for a region, you need to reactivate AWS STS for
|
1127
1153
|
# that region. For more information, see [Activating and Deactivating
|
1128
|
-
# AWS STS in an AWS Region][
|
1154
|
+
# AWS STS in an AWS Region][3] in the *AWS Identity and Access
|
1129
1155
|
# Management User Guide*.
|
1130
1156
|
#
|
1131
1157
|
#
|
1132
1158
|
#
|
1133
1159
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto
|
1134
|
-
# [2]: https://docs.aws.amazon.com/
|
1160
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html
|
1161
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
|
1135
1162
|
#
|
1136
1163
|
# @option params [required, String] :endpoint_name
|
1137
1164
|
# The name of the endpoint. The name must be unique within an AWS Region
|
@@ -1207,9 +1234,24 @@ module Aws::SageMaker
|
|
1207
1234
|
# SageMaker hosting services, see [Deploy the Model to Amazon SageMaker
|
1208
1235
|
# Hosting Services (AWS SDK for Python (Boto 3)).][1]
|
1209
1236
|
#
|
1237
|
+
# <note markdown="1"> When you call CreateEndpoint, a load call is made to DynamoDB to
|
1238
|
+
# verify that your endpoint configuration exists. When you read data
|
1239
|
+
# from a DynamoDB table supporting [ `Eventually Consistent Reads` ][2],
|
1240
|
+
# the response might not reflect the results of a recently completed
|
1241
|
+
# write operation. The response might include some stale data. If the
|
1242
|
+
# dependent entities are not yet in DynamoDB, this causes a validation
|
1243
|
+
# error. If you repeat your read request after a short time, the
|
1244
|
+
# response should return the latest data. So retry logic is recommended
|
1245
|
+
# to handle these possible issues. We also recommend that customers call
|
1246
|
+
# DescribeEndpointConfig before calling CreateEndpoint to minimize the
|
1247
|
+
# potential impact of a DynamoDB eventually consistent read.
|
1248
|
+
#
|
1249
|
+
# </note>
|
1250
|
+
#
|
1210
1251
|
#
|
1211
1252
|
#
|
1212
1253
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto
|
1254
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html
|
1213
1255
|
#
|
1214
1256
|
# @option params [required, String] :endpoint_config_name
|
1215
1257
|
# The name of the endpoint configuration. You specify this name in a
|
@@ -1575,6 +1617,8 @@ module Aws::SageMaker
|
|
1575
1617
|
# resource configuration, and stopping condition.
|
1576
1618
|
#
|
1577
1619
|
# @option params [Array<Types::HyperParameterTrainingJobDefinition>] :training_job_definitions
|
1620
|
+
# A list of the HyperParameterTrainingJobDefinition objects launched for
|
1621
|
+
# this tuning job.
|
1578
1622
|
#
|
1579
1623
|
# @option params [Types::HyperParameterTuningJobWarmStartConfig] :warm_start_config
|
1580
1624
|
# Specifies the configuration for starting the hyperparameter tuning job
|
@@ -2043,6 +2087,7 @@ module Aws::SageMaker
|
|
2043
2087
|
# workteam_arn: "WorkteamArn", # required
|
2044
2088
|
# ui_config: { # required
|
2045
2089
|
# ui_template_s3_uri: "S3Uri",
|
2090
|
+
# human_task_ui_arn: "HumanTaskUiArn",
|
2046
2091
|
# },
|
2047
2092
|
# pre_human_task_lambda_arn: "LambdaFunctionArn", # required
|
2048
2093
|
# task_keywords: ["TaskKeyword"],
|
@@ -2755,8 +2800,9 @@ module Aws::SageMaker
|
|
2755
2800
|
# Creates a URL for a specified UserProfile in a Domain. When accessed
|
2756
2801
|
# in a web browser, the user will be automatically signed in to Amazon
|
2757
2802
|
# SageMaker Studio, and granted access to all of the Apps and files
|
2758
|
-
# associated with
|
2759
|
-
# can only be called when
|
2803
|
+
# associated with the Domain's Amazon Elastic File System (EFS) volume.
|
2804
|
+
# This operation can only be called when the authentication mode equals
|
2805
|
+
# IAM.
|
2760
2806
|
#
|
2761
2807
|
# @option params [required, String] :domain_id
|
2762
2808
|
# The domain ID.
|
@@ -2798,14 +2844,19 @@ module Aws::SageMaker
|
|
2798
2844
|
# showing the Jupyter server home page from the notebook instance. The
|
2799
2845
|
# console uses this API to get the URL and show the page.
|
2800
2846
|
#
|
2801
|
-
# IAM
|
2802
|
-
#
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
#
|
2806
|
-
#
|
2807
|
-
#
|
2808
|
-
#
|
2847
|
+
# The IAM role or user used to call this API defines the permissions to
|
2848
|
+
# access the notebook instance. Once the presigned URL is created, no
|
2849
|
+
# additional permission is required to access this URL. IAM
|
2850
|
+
# authorization policies for this API are also enforced for every HTTP
|
2851
|
+
# request and WebSocket frame that attempts to connect to the notebook
|
2852
|
+
# instance.
|
2853
|
+
#
|
2854
|
+
# You can restrict access to this API and to the URL that it returns to
|
2855
|
+
# a list of IP addresses that you specify. Use the `NotIpAddress`
|
2856
|
+
# condition operator and the `aws:SourceIP` condition context key to
|
2857
|
+
# specify the list of IP addresses that you want to have access to the
|
2858
|
+
# notebook instance. For more information, see [Limit Access to a
|
2859
|
+
# Notebook Instance by IP Address][1].
|
2809
2860
|
#
|
2810
2861
|
# <note markdown="1"> The URL that you get from a call to CreatePresignedNotebookInstanceUrl
|
2811
2862
|
# is valid only for 5 minutes. If you try to use the URL after the
|
@@ -3392,6 +3443,10 @@ module Aws::SageMaker
|
|
3392
3443
|
#
|
3393
3444
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests
|
3394
3445
|
#
|
3446
|
+
# @option params [Types::ModelClientConfig] :model_client_config
|
3447
|
+
# Configures the timeout and maximum number of retries for processing a
|
3448
|
+
# transform job invocation.
|
3449
|
+
#
|
3395
3450
|
# @option params [Integer] :max_payload_in_mb
|
3396
3451
|
# The maximum allowed size of the payload, in MB. A *payload* is the
|
3397
3452
|
# data portion of a record (without metadata). The value in
|
@@ -3473,6 +3528,10 @@ module Aws::SageMaker
|
|
3473
3528
|
# transform_job_name: "TransformJobName", # required
|
3474
3529
|
# model_name: "ModelName", # required
|
3475
3530
|
# max_concurrent_transforms: 1,
|
3531
|
+
# model_client_config: {
|
3532
|
+
# invocations_timeout_in_seconds: 1,
|
3533
|
+
# invocations_max_retries: 1,
|
3534
|
+
# },
|
3476
3535
|
# max_payload_in_mb: 1,
|
3477
3536
|
# batch_strategy: "MultiRecord", # accepts MultiRecord, SingleRecord
|
3478
3537
|
# environment: {
|
@@ -3711,15 +3770,13 @@ module Aws::SageMaker
|
|
3711
3770
|
end
|
3712
3771
|
|
3713
3772
|
# Creates a user profile. A user profile represents a single user within
|
3714
|
-
# a
|
3715
|
-
# purposes of sharing, reporting and other user-oriented features. This
|
3716
|
-
# entity is created
|
3717
|
-
# administrator invites a person by email or imports them from SSO, a
|
3718
|
-
#
|
3719
|
-
#
|
3720
|
-
#
|
3721
|
-
# and, through the domain, has a reference to the user's private Amazon
|
3722
|
-
# Elastic File System (EFS) home directory.
|
3773
|
+
# a domain, and is the main way to reference a "person" for the
|
3774
|
+
# purposes of sharing, reporting, and other user-oriented features. This
|
3775
|
+
# entity is created when a user onboards to Amazon SageMaker Studio. If
|
3776
|
+
# an administrator invites a person by email or imports them from SSO, a
|
3777
|
+
# user profile is automatically created. A user profile is the primary
|
3778
|
+
# holder of settings for an individual user and has a reference to the
|
3779
|
+
# user's private Amazon Elastic File System (EFS) home directory.
|
3723
3780
|
#
|
3724
3781
|
# @option params [required, String] :domain_id
|
3725
3782
|
# The ID of the associated Domain.
|
@@ -3964,9 +4021,10 @@ module Aws::SageMaker
|
|
3964
4021
|
req.send_request(options)
|
3965
4022
|
end
|
3966
4023
|
|
3967
|
-
# Used to delete a domain.
|
3968
|
-
# to
|
3969
|
-
#
|
4024
|
+
# Used to delete a domain. If you onboarded with IAM mode, you will need
|
4025
|
+
# to delete your domain to onboard again using SSO. Use with caution.
|
4026
|
+
# All of the members of the domain will lose access to their EFS volume,
|
4027
|
+
# including data, notebooks, and other artifacts.
|
3970
4028
|
#
|
3971
4029
|
# @option params [required, String] :domain_id
|
3972
4030
|
# The domain ID.
|
@@ -4031,6 +4089,13 @@ module Aws::SageMaker
|
|
4031
4089
|
# deletes only the specified configuration. It does not delete endpoints
|
4032
4090
|
# created using the configuration.
|
4033
4091
|
#
|
4092
|
+
# You must not delete an `EndpointConfig` in use by an endpoint that is
|
4093
|
+
# live or while the `UpdateEndpoint` or `CreateEndpoint` operations are
|
4094
|
+
# being performed on the endpoint. If you delete the `EndpointConfig` of
|
4095
|
+
# an endpoint that is active or being created or updated you may lose
|
4096
|
+
# visibility into the instance type the endpoint is using. The endpoint
|
4097
|
+
# must be deleted in order to stop incurring charges.
|
4098
|
+
#
|
4034
4099
|
# @option params [required, String] :endpoint_config_name
|
4035
4100
|
# The name of the endpoint configuration that you want to delete.
|
4036
4101
|
#
|
@@ -4325,7 +4390,9 @@ module Aws::SageMaker
|
|
4325
4390
|
req.send_request(options)
|
4326
4391
|
end
|
4327
4392
|
|
4328
|
-
# Deletes a user profile.
|
4393
|
+
# Deletes a user profile. When a user profile is deleted, the user loses
|
4394
|
+
# access to their EFS volume, including data, notebooks, and other
|
4395
|
+
# artifacts.
|
4329
4396
|
#
|
4330
4397
|
# @option params [required, String] :domain_id
|
4331
4398
|
# The domain ID.
|
@@ -4784,7 +4851,7 @@ module Aws::SageMaker
|
|
4784
4851
|
req.send_request(options)
|
4785
4852
|
end
|
4786
4853
|
|
4787
|
-
# The
|
4854
|
+
# The description of the domain.
|
4788
4855
|
#
|
4789
4856
|
# @option params [required, String] :domain_id
|
4790
4857
|
# The domain ID.
|
@@ -5401,6 +5468,7 @@ module Aws::SageMaker
|
|
5401
5468
|
# resp.labeling_job_algorithms_config.labeling_job_resource_config.volume_kms_key_id #=> String
|
5402
5469
|
# resp.human_task_config.workteam_arn #=> String
|
5403
5470
|
# resp.human_task_config.ui_config.ui_template_s3_uri #=> String
|
5471
|
+
# resp.human_task_config.ui_config.human_task_ui_arn #=> String
|
5404
5472
|
# resp.human_task_config.pre_human_task_lambda_arn #=> String
|
5405
5473
|
# resp.human_task_config.task_keywords #=> Array
|
5406
5474
|
# resp.human_task_config.task_keywords[0] #=> String
|
@@ -6093,6 +6161,7 @@ module Aws::SageMaker
|
|
6093
6161
|
# * {Types::DescribeTransformJobResponse#failure_reason #failure_reason} => String
|
6094
6162
|
# * {Types::DescribeTransformJobResponse#model_name #model_name} => String
|
6095
6163
|
# * {Types::DescribeTransformJobResponse#max_concurrent_transforms #max_concurrent_transforms} => Integer
|
6164
|
+
# * {Types::DescribeTransformJobResponse#model_client_config #model_client_config} => Types::ModelClientConfig
|
6096
6165
|
# * {Types::DescribeTransformJobResponse#max_payload_in_mb #max_payload_in_mb} => Integer
|
6097
6166
|
# * {Types::DescribeTransformJobResponse#batch_strategy #batch_strategy} => String
|
6098
6167
|
# * {Types::DescribeTransformJobResponse#environment #environment} => Hash<String,String>
|
@@ -6121,6 +6190,8 @@ module Aws::SageMaker
|
|
6121
6190
|
# resp.failure_reason #=> String
|
6122
6191
|
# resp.model_name #=> String
|
6123
6192
|
# resp.max_concurrent_transforms #=> Integer
|
6193
|
+
# resp.model_client_config.invocations_timeout_in_seconds #=> Integer
|
6194
|
+
# resp.model_client_config.invocations_max_retries #=> Integer
|
6124
6195
|
# resp.max_payload_in_mb #=> Integer
|
6125
6196
|
# resp.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
|
6126
6197
|
# resp.environment #=> Hash
|
@@ -6289,7 +6360,8 @@ module Aws::SageMaker
|
|
6289
6360
|
req.send_request(options)
|
6290
6361
|
end
|
6291
6362
|
|
6292
|
-
# Describes
|
6363
|
+
# Describes a user profile. For more information, see
|
6364
|
+
# `CreateUserProfile`.
|
6293
6365
|
#
|
6294
6366
|
# @option params [required, String] :domain_id
|
6295
6367
|
# The domain ID.
|
@@ -8841,6 +8913,10 @@ module Aws::SageMaker
|
|
8841
8913
|
# The Amazon Resource Name (ARN) that has access to the S3 objects that
|
8842
8914
|
# are used by the template.
|
8843
8915
|
#
|
8916
|
+
# @option params [String] :human_task_ui_arn
|
8917
|
+
# The `HumanTaskUiArn` of the worker UI that you want to render. Do not
|
8918
|
+
# provide a `HumanTaskUiArn` if you use the `UiTemplate` parameter.
|
8919
|
+
#
|
8844
8920
|
# @return [Types::RenderUiTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8845
8921
|
#
|
8846
8922
|
# * {Types::RenderUiTemplateResponse#rendered_content #rendered_content} => String
|
@@ -8856,6 +8932,7 @@ module Aws::SageMaker
|
|
8856
8932
|
# input: "TaskInput", # required
|
8857
8933
|
# },
|
8858
8934
|
# role_arn: "RoleArn", # required
|
8935
|
+
# human_task_ui_arn: "HumanTaskUiArn",
|
8859
8936
|
# })
|
8860
8937
|
#
|
8861
8938
|
# @example Response structure
|
@@ -9631,10 +9708,10 @@ module Aws::SageMaker
|
|
9631
9708
|
req.send_request(options)
|
9632
9709
|
end
|
9633
9710
|
|
9634
|
-
# Updates
|
9711
|
+
# Updates the default settings for new user profiles in the domain.
|
9635
9712
|
#
|
9636
9713
|
# @option params [required, String] :domain_id
|
9637
|
-
# The domain
|
9714
|
+
# The ID of the domain to be updated.
|
9638
9715
|
#
|
9639
9716
|
# @option params [Types::UserSettings] :default_user_settings
|
9640
9717
|
# A collection of settings.
|
@@ -9704,6 +9781,11 @@ module Aws::SageMaker
|
|
9704
9781
|
# being performed on the endpoint. To update an endpoint, you must
|
9705
9782
|
# create a new `EndpointConfig`.
|
9706
9783
|
#
|
9784
|
+
# If you delete the `EndpointConfig` of an endpoint that is active or
|
9785
|
+
# being created or updated you may lose visibility into the instance
|
9786
|
+
# type the endpoint is using. The endpoint must be deleted in order to
|
9787
|
+
# stop incurring charges.
|
9788
|
+
#
|
9707
9789
|
# </note>
|
9708
9790
|
#
|
9709
9791
|
# @option params [required, String] :endpoint_name
|
@@ -10453,7 +10535,7 @@ module Aws::SageMaker
|
|
10453
10535
|
params: params,
|
10454
10536
|
config: config)
|
10455
10537
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
10456
|
-
context[:gem_version] = '1.
|
10538
|
+
context[:gem_version] = '1.62.0'
|
10457
10539
|
Seahorse::Client::Request.new(handlers, context)
|
10458
10540
|
end
|
10459
10541
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -424,6 +426,8 @@ module Aws::SageMaker
|
|
424
426
|
IntegerParameterRange = Shapes::StructureShape.new(name: 'IntegerParameterRange')
|
425
427
|
IntegerParameterRangeSpecification = Shapes::StructureShape.new(name: 'IntegerParameterRangeSpecification')
|
426
428
|
IntegerParameterRanges = Shapes::ListShape.new(name: 'IntegerParameterRanges')
|
429
|
+
InvocationsMaxRetries = Shapes::IntegerShape.new(name: 'InvocationsMaxRetries')
|
430
|
+
InvocationsTimeoutInSeconds = Shapes::IntegerShape.new(name: 'InvocationsTimeoutInSeconds')
|
427
431
|
JobReferenceCode = Shapes::StringShape.new(name: 'JobReferenceCode')
|
428
432
|
JobReferenceCodeContains = Shapes::StringShape.new(name: 'JobReferenceCodeContains')
|
429
433
|
JoinSource = Shapes::StringShape.new(name: 'JoinSource')
|
@@ -547,6 +551,7 @@ module Aws::SageMaker
|
|
547
551
|
MetricValue = Shapes::FloatShape.new(name: 'MetricValue')
|
548
552
|
ModelArn = Shapes::StringShape.new(name: 'ModelArn')
|
549
553
|
ModelArtifacts = Shapes::StructureShape.new(name: 'ModelArtifacts')
|
554
|
+
ModelClientConfig = Shapes::StructureShape.new(name: 'ModelClientConfig')
|
550
555
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
551
556
|
ModelNameContains = Shapes::StringShape.new(name: 'ModelNameContains')
|
552
557
|
ModelPackageArn = Shapes::StringShape.new(name: 'ModelPackageArn')
|
@@ -1442,6 +1447,7 @@ module Aws::SageMaker
|
|
1442
1447
|
CreateTransformJobRequest.add_member(:transform_job_name, Shapes::ShapeRef.new(shape: TransformJobName, required: true, location_name: "TransformJobName"))
|
1443
1448
|
CreateTransformJobRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
1444
1449
|
CreateTransformJobRequest.add_member(:max_concurrent_transforms, Shapes::ShapeRef.new(shape: MaxConcurrentTransforms, location_name: "MaxConcurrentTransforms"))
|
1450
|
+
CreateTransformJobRequest.add_member(:model_client_config, Shapes::ShapeRef.new(shape: ModelClientConfig, location_name: "ModelClientConfig"))
|
1445
1451
|
CreateTransformJobRequest.add_member(:max_payload_in_mb, Shapes::ShapeRef.new(shape: MaxPayloadInMB, location_name: "MaxPayloadInMB"))
|
1446
1452
|
CreateTransformJobRequest.add_member(:batch_strategy, Shapes::ShapeRef.new(shape: BatchStrategy, location_name: "BatchStrategy"))
|
1447
1453
|
CreateTransformJobRequest.add_member(:environment, Shapes::ShapeRef.new(shape: TransformEnvironmentMap, location_name: "Environment"))
|
@@ -2005,6 +2011,7 @@ module Aws::SageMaker
|
|
2005
2011
|
DescribeTransformJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
2006
2012
|
DescribeTransformJobResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
2007
2013
|
DescribeTransformJobResponse.add_member(:max_concurrent_transforms, Shapes::ShapeRef.new(shape: MaxConcurrentTransforms, location_name: "MaxConcurrentTransforms"))
|
2014
|
+
DescribeTransformJobResponse.add_member(:model_client_config, Shapes::ShapeRef.new(shape: ModelClientConfig, location_name: "ModelClientConfig"))
|
2008
2015
|
DescribeTransformJobResponse.add_member(:max_payload_in_mb, Shapes::ShapeRef.new(shape: MaxPayloadInMB, location_name: "MaxPayloadInMB"))
|
2009
2016
|
DescribeTransformJobResponse.add_member(:batch_strategy, Shapes::ShapeRef.new(shape: BatchStrategy, location_name: "BatchStrategy"))
|
2010
2017
|
DescribeTransformJobResponse.add_member(:environment, Shapes::ShapeRef.new(shape: TransformEnvironmentMap, location_name: "Environment"))
|
@@ -2907,6 +2914,10 @@ module Aws::SageMaker
|
|
2907
2914
|
ModelArtifacts.add_member(:s3_model_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ModelArtifacts"))
|
2908
2915
|
ModelArtifacts.struct_class = Types::ModelArtifacts
|
2909
2916
|
|
2917
|
+
ModelClientConfig.add_member(:invocations_timeout_in_seconds, Shapes::ShapeRef.new(shape: InvocationsTimeoutInSeconds, location_name: "InvocationsTimeoutInSeconds"))
|
2918
|
+
ModelClientConfig.add_member(:invocations_max_retries, Shapes::ShapeRef.new(shape: InvocationsMaxRetries, location_name: "InvocationsMaxRetries"))
|
2919
|
+
ModelClientConfig.struct_class = Types::ModelClientConfig
|
2920
|
+
|
2910
2921
|
ModelPackageContainerDefinition.add_member(:container_hostname, Shapes::ShapeRef.new(shape: ContainerHostname, location_name: "ContainerHostname"))
|
2911
2922
|
ModelPackageContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
2912
2923
|
ModelPackageContainerDefinition.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "ImageDigest"))
|
@@ -3240,6 +3251,7 @@ module Aws::SageMaker
|
|
3240
3251
|
RenderUiTemplateRequest.add_member(:ui_template, Shapes::ShapeRef.new(shape: UiTemplate, location_name: "UiTemplate"))
|
3241
3252
|
RenderUiTemplateRequest.add_member(:task, Shapes::ShapeRef.new(shape: RenderableTask, required: true, location_name: "Task"))
|
3242
3253
|
RenderUiTemplateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
3254
|
+
RenderUiTemplateRequest.add_member(:human_task_ui_arn, Shapes::ShapeRef.new(shape: HumanTaskUiArn, location_name: "HumanTaskUiArn"))
|
3243
3255
|
RenderUiTemplateRequest.struct_class = Types::RenderUiTemplateRequest
|
3244
3256
|
|
3245
3257
|
RenderUiTemplateResponse.add_member(:rendered_content, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RenderedContent"))
|
@@ -3669,6 +3681,7 @@ module Aws::SageMaker
|
|
3669
3681
|
USD.struct_class = Types::USD
|
3670
3682
|
|
3671
3683
|
UiConfig.add_member(:ui_template_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "UiTemplateS3Uri"))
|
3684
|
+
UiConfig.add_member(:human_task_ui_arn, Shapes::ShapeRef.new(shape: HumanTaskUiArn, location_name: "HumanTaskUiArn"))
|
3672
3685
|
UiConfig.struct_class = Types::UiConfig
|
3673
3686
|
|
3674
3687
|
UiTemplate.add_member(:content, Shapes::ShapeRef.new(shape: TemplateContent, required: true, location_name: "Content"))
|