aws-sdk-sagemaker 1.68.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +80 -22
- data/lib/aws-sdk-sagemaker/client_api.rb +3 -0
- data/lib/aws-sdk-sagemaker/types.rb +52 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c650d0d2e8d26fbeac0436d2df360c92fefb30b609f5f596824dc6df6f44987
|
4
|
+
data.tar.gz: d913e7998418e98f82e0afbe72791515a12facc00998b93e0c8066455644e704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1d08317e47a3cfba20208a04a4509045173b092e5a3ef91456a70f06349f8af7e8f56760e855c0915cc65fa69ad0f529f1b27316d2fc900cacb64e875b11a35
|
7
|
+
data.tar.gz: 053b1e63e6d178fcbf4f72b732d3f7813b7c2a021016073f0ca1044310e7d93d84bf22479944ae1200ffc13c17a7d6712e40e76dd1ec7a47a5097c36f8853c64
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -748,7 +748,7 @@ module Aws::SageMaker
|
|
748
748
|
#
|
749
749
|
# @option params [required, Array<Types::AutoMLChannel>] :input_data_config
|
750
750
|
# Similar to InputDataConfig supported by Tuning. Format(s) supported:
|
751
|
-
# CSV. Minimum of
|
751
|
+
# CSV. Minimum of 500 rows.
|
752
752
|
#
|
753
753
|
# @option params [required, Types::AutoMLOutputDataConfig] :output_data_config
|
754
754
|
# Similar to OutputDataConfig supported by Tuning. Format(s) supported:
|
@@ -1012,26 +1012,65 @@ module Aws::SageMaker
|
|
1012
1012
|
req.send_request(options)
|
1013
1013
|
end
|
1014
1014
|
|
1015
|
-
# Creates a `Domain` used by SageMaker Studio. A domain consists
|
1016
|
-
# associated
|
1017
|
-
# security, application, policy, and
|
1018
|
-
# configurations. An AWS account is
|
1019
|
-
# Users within a domain can share
|
1020
|
-
# with each other.
|
1015
|
+
# Creates a `Domain` used by Amazon SageMaker Studio. A domain consists
|
1016
|
+
# of an associated Amazon Elastic File System (EFS) volume, a list of
|
1017
|
+
# authorized users, and a variety of security, application, policy, and
|
1018
|
+
# Amazon Virtual Private Cloud (VPC) configurations. An AWS account is
|
1019
|
+
# limited to one domain per region. Users within a domain can share
|
1020
|
+
# notebook files and other artifacts with each other.
|
1021
1021
|
#
|
1022
|
-
# When a domain is created, an
|
1023
|
-
#
|
1024
|
-
#
|
1025
|
-
#
|
1022
|
+
# When a domain is created, an EFS volume is created for use by all of
|
1023
|
+
# the users within the domain. Each user receives a private home
|
1024
|
+
# directory within the EFS volume for notebooks, Git repositories, and
|
1025
|
+
# data files.
|
1026
1026
|
#
|
1027
|
-
#
|
1028
|
-
# through the specified subnet IDs. All other traffic goes over the
|
1029
|
-
# Internet through an Amazon SageMaker system VPC. The EFS traffic uses
|
1030
|
-
# the NFS/TCP protocol over port 2049.
|
1027
|
+
# **VPC configuration**
|
1031
1028
|
#
|
1032
|
-
#
|
1033
|
-
#
|
1034
|
-
#
|
1029
|
+
# All SageMaker Studio traffic between the domain and the EFS volume is
|
1030
|
+
# through the specified VPC and subnets. For other Studio traffic, you
|
1031
|
+
# specify the `AppNetworkAccessType` parameter. `AppNetworkAccessType`
|
1032
|
+
# corresponds to the VPC mode that's chosen when you onboard to Studio.
|
1033
|
+
# The following options are available:
|
1034
|
+
#
|
1035
|
+
# * `PublicInternetOnly` - Non-EFS traffic goes through a VPC managed by
|
1036
|
+
# Amazon SageMaker, which allows internet access. This is the default
|
1037
|
+
# value.
|
1038
|
+
#
|
1039
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
1040
|
+
# subnets. Internet access is disabled by default. To allow internet
|
1041
|
+
# access, you must specify a NAT gateway.
|
1042
|
+
#
|
1043
|
+
# When internet access is disabled, you won't be able to train or
|
1044
|
+
# host models unless your VPC has an interface endpoint (PrivateLink)
|
1045
|
+
# or a NAT gateway and your security groups allow outbound
|
1046
|
+
# connections.
|
1047
|
+
#
|
1048
|
+
# <b> <code>VpcOnly</code> mode</b>
|
1049
|
+
#
|
1050
|
+
# When you specify `VpcOnly`, you must specify the following:
|
1051
|
+
#
|
1052
|
+
# * Security group inbound and outbound rules to allow NFS traffic over
|
1053
|
+
# TCP on port 2049 between the domain and the EFS volume
|
1054
|
+
#
|
1055
|
+
# * Security group inbound and outbound rules to allow traffic between
|
1056
|
+
# the JupyterServer app and the KernelGateway apps
|
1057
|
+
#
|
1058
|
+
# * Interface endpoints to access the SageMaker API and SageMaker
|
1059
|
+
# runtime
|
1060
|
+
#
|
1061
|
+
# For more information, see:
|
1062
|
+
#
|
1063
|
+
# * [Security groups for your VPC][1]
|
1064
|
+
#
|
1065
|
+
# * [VPC with public and private subnets (NAT)][2]
|
1066
|
+
#
|
1067
|
+
# * [Connect to SageMaker through a VPC interface endpoint][3]
|
1068
|
+
#
|
1069
|
+
#
|
1070
|
+
#
|
1071
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
|
1072
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html
|
1073
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html
|
1035
1074
|
#
|
1036
1075
|
# @option params [required, String] :domain_name
|
1037
1076
|
# A name for the domain.
|
@@ -1043,11 +1082,11 @@ module Aws::SageMaker
|
|
1043
1082
|
# The default user settings.
|
1044
1083
|
#
|
1045
1084
|
# @option params [required, Array<String>] :subnet_ids
|
1046
|
-
# The VPC subnets
|
1085
|
+
# The VPC subnets that Studio uses for communication.
|
1047
1086
|
#
|
1048
1087
|
# @option params [required, String] :vpc_id
|
1049
|
-
# The ID of the Amazon Virtual Private Cloud (VPC)
|
1050
|
-
# communication
|
1088
|
+
# The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for
|
1089
|
+
# communication.
|
1051
1090
|
#
|
1052
1091
|
# @option params [Array<Types::Tag>] :tags
|
1053
1092
|
# Tags to associated with the Domain. Each tag consists of a key and an
|
@@ -1058,6 +1097,16 @@ module Aws::SageMaker
|
|
1058
1097
|
# The AWS Key Management Service (KMS) encryption key ID. Encryption
|
1059
1098
|
# with a customer master key (CMK) is not supported.
|
1060
1099
|
#
|
1100
|
+
# @option params [String] :app_network_access_type
|
1101
|
+
# Specifies the VPC used for non-EFS traffic. The default value is
|
1102
|
+
# `PublicInternetOnly`.
|
1103
|
+
#
|
1104
|
+
# * `PublicInternetOnly` - Non-EFS traffic is through a VPC managed by
|
1105
|
+
# Amazon SageMaker, which allows direct internet access
|
1106
|
+
#
|
1107
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
1108
|
+
# subnets
|
1109
|
+
#
|
1061
1110
|
# @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
1111
|
#
|
1063
1112
|
# * {Types::CreateDomainResponse#domain_arn #domain_arn} => String
|
@@ -1104,6 +1153,7 @@ module Aws::SageMaker
|
|
1104
1153
|
# },
|
1105
1154
|
# ],
|
1106
1155
|
# home_efs_file_system_kms_key_id: "KmsKeyId",
|
1156
|
+
# app_network_access_type: "PublicInternetOnly", # accepts PublicInternetOnly, VpcOnly
|
1107
1157
|
# })
|
1108
1158
|
#
|
1109
1159
|
# @example Response structure
|
@@ -2846,6 +2896,12 @@ module Aws::SageMaker
|
|
2846
2896
|
# This operation can only be called when the authentication mode equals
|
2847
2897
|
# IAM.
|
2848
2898
|
#
|
2899
|
+
# <note markdown="1"> The URL that you get from a call to `CreatePresignedDomainUrl` is
|
2900
|
+
# valid only for 5 minutes. If you try to use the URL after the 5-minute
|
2901
|
+
# limit expires, you are directed to the AWS console sign-in page.
|
2902
|
+
#
|
2903
|
+
# </note>
|
2904
|
+
#
|
2849
2905
|
# @option params [required, String] :domain_id
|
2850
2906
|
# The domain ID.
|
2851
2907
|
#
|
@@ -5126,6 +5182,7 @@ module Aws::SageMaker
|
|
5126
5182
|
# * {Types::DescribeDomainResponse#subnet_ids #subnet_ids} => Array<String>
|
5127
5183
|
# * {Types::DescribeDomainResponse#url #url} => String
|
5128
5184
|
# * {Types::DescribeDomainResponse#vpc_id #vpc_id} => String
|
5185
|
+
# * {Types::DescribeDomainResponse#app_network_access_type #app_network_access_type} => String
|
5129
5186
|
#
|
5130
5187
|
# @example Request syntax with placeholder values
|
5131
5188
|
#
|
@@ -5162,6 +5219,7 @@ module Aws::SageMaker
|
|
5162
5219
|
# resp.subnet_ids[0] #=> String
|
5163
5220
|
# resp.url #=> String
|
5164
5221
|
# resp.vpc_id #=> String
|
5222
|
+
# resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly"
|
5165
5223
|
#
|
5166
5224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain AWS API Documentation
|
5167
5225
|
#
|
@@ -10995,7 +11053,7 @@ module Aws::SageMaker
|
|
10995
11053
|
params: params,
|
10996
11054
|
config: config)
|
10997
11055
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
10998
|
-
context[:gem_version] = '1.
|
11056
|
+
context[:gem_version] = '1.69.0'
|
10999
11057
|
Seahorse::Client::Request.new(handlers, context)
|
11000
11058
|
end
|
11001
11059
|
|
@@ -37,6 +37,7 @@ module Aws::SageMaker
|
|
37
37
|
AppInstanceType = Shapes::StringShape.new(name: 'AppInstanceType')
|
38
38
|
AppList = Shapes::ListShape.new(name: 'AppList')
|
39
39
|
AppName = Shapes::StringShape.new(name: 'AppName')
|
40
|
+
AppNetworkAccessType = Shapes::StringShape.new(name: 'AppNetworkAccessType')
|
40
41
|
AppSortKey = Shapes::StringShape.new(name: 'AppSortKey')
|
41
42
|
AppSpecification = Shapes::StructureShape.new(name: 'AppSpecification')
|
42
43
|
AppStatus = Shapes::StringShape.new(name: 'AppStatus')
|
@@ -1290,6 +1291,7 @@ module Aws::SageMaker
|
|
1290
1291
|
CreateDomainRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
1291
1292
|
CreateDomainRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1292
1293
|
CreateDomainRequest.add_member(:home_efs_file_system_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "HomeEfsFileSystemKmsKeyId"))
|
1294
|
+
CreateDomainRequest.add_member(:app_network_access_type, Shapes::ShapeRef.new(shape: AppNetworkAccessType, location_name: "AppNetworkAccessType"))
|
1293
1295
|
CreateDomainRequest.struct_class = Types::CreateDomainRequest
|
1294
1296
|
|
1295
1297
|
CreateDomainResponse.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, location_name: "DomainArn"))
|
@@ -1803,6 +1805,7 @@ module Aws::SageMaker
|
|
1803
1805
|
DescribeDomainResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Subnets, location_name: "SubnetIds"))
|
1804
1806
|
DescribeDomainResponse.add_member(:url, Shapes::ShapeRef.new(shape: String1024, location_name: "Url"))
|
1805
1807
|
DescribeDomainResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
1808
|
+
DescribeDomainResponse.add_member(:app_network_access_type, Shapes::ShapeRef.new(shape: AppNetworkAccessType, location_name: "AppNetworkAccessType"))
|
1806
1809
|
DescribeDomainResponse.struct_class = Types::DescribeDomainResponse
|
1807
1810
|
|
1808
1811
|
DescribeEndpointConfigInput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
|
@@ -1455,7 +1455,7 @@ module Aws::SageMaker
|
|
1455
1455
|
# @!attribute [rw] s3_data_source
|
1456
1456
|
# The Amazon S3 location of the input data.
|
1457
1457
|
#
|
1458
|
-
# <note markdown="1"> The input data must be in CSV format and contain at least
|
1458
|
+
# <note markdown="1"> The input data must be in CSV format and contain at least 500 rows.
|
1459
1459
|
#
|
1460
1460
|
# </note>
|
1461
1461
|
# @return [Types::AutoMLS3DataSource]
|
@@ -2395,6 +2395,11 @@ module Aws::SageMaker
|
|
2395
2395
|
# algorithms. For more information on built-in algorithms, see [Common
|
2396
2396
|
# Parameters][1].
|
2397
2397
|
#
|
2398
|
+
# <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same
|
2399
|
+
# region as the model or endpoint you are creating.
|
2400
|
+
#
|
2401
|
+
# </note>
|
2402
|
+
#
|
2398
2403
|
# If you provide a value for this parameter, Amazon SageMaker uses AWS
|
2399
2404
|
# Security Token Service to download model artifacts from the S3 path
|
2400
2405
|
# you provide. AWS STS is activated in your IAM user account by
|
@@ -2909,7 +2914,7 @@ module Aws::SageMaker
|
|
2909
2914
|
#
|
2910
2915
|
# @!attribute [rw] input_data_config
|
2911
2916
|
# Similar to InputDataConfig supported by Tuning. Format(s) supported:
|
2912
|
-
# CSV. Minimum of
|
2917
|
+
# CSV. Minimum of 500 rows.
|
2913
2918
|
# @return [Array<Types::AutoMLChannel>]
|
2914
2919
|
#
|
2915
2920
|
# @!attribute [rw] output_data_config
|
@@ -3168,6 +3173,7 @@ module Aws::SageMaker
|
|
3168
3173
|
# },
|
3169
3174
|
# ],
|
3170
3175
|
# home_efs_file_system_kms_key_id: "KmsKeyId",
|
3176
|
+
# app_network_access_type: "PublicInternetOnly", # accepts PublicInternetOnly, VpcOnly
|
3171
3177
|
# }
|
3172
3178
|
#
|
3173
3179
|
# @!attribute [rw] domain_name
|
@@ -3183,12 +3189,12 @@ module Aws::SageMaker
|
|
3183
3189
|
# @return [Types::UserSettings]
|
3184
3190
|
#
|
3185
3191
|
# @!attribute [rw] subnet_ids
|
3186
|
-
# The VPC subnets
|
3192
|
+
# The VPC subnets that Studio uses for communication.
|
3187
3193
|
# @return [Array<String>]
|
3188
3194
|
#
|
3189
3195
|
# @!attribute [rw] vpc_id
|
3190
|
-
# The ID of the Amazon Virtual Private Cloud (VPC)
|
3191
|
-
# communication
|
3196
|
+
# The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses
|
3197
|
+
# for communication.
|
3192
3198
|
# @return [String]
|
3193
3199
|
#
|
3194
3200
|
# @!attribute [rw] tags
|
@@ -3202,6 +3208,17 @@ module Aws::SageMaker
|
|
3202
3208
|
# with a customer master key (CMK) is not supported.
|
3203
3209
|
# @return [String]
|
3204
3210
|
#
|
3211
|
+
# @!attribute [rw] app_network_access_type
|
3212
|
+
# Specifies the VPC used for non-EFS traffic. The default value is
|
3213
|
+
# `PublicInternetOnly`.
|
3214
|
+
#
|
3215
|
+
# * `PublicInternetOnly` - Non-EFS traffic is through a VPC managed by
|
3216
|
+
# Amazon SageMaker, which allows direct internet access
|
3217
|
+
#
|
3218
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
3219
|
+
# subnets
|
3220
|
+
# @return [String]
|
3221
|
+
#
|
3205
3222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomainRequest AWS API Documentation
|
3206
3223
|
#
|
3207
3224
|
class CreateDomainRequest < Struct.new(
|
@@ -3211,7 +3228,8 @@ module Aws::SageMaker
|
|
3211
3228
|
:subnet_ids,
|
3212
3229
|
:vpc_id,
|
3213
3230
|
:tags,
|
3214
|
-
:home_efs_file_system_kms_key_id
|
3231
|
+
:home_efs_file_system_kms_key_id,
|
3232
|
+
:app_network_access_type)
|
3215
3233
|
SENSITIVE = []
|
3216
3234
|
include Aws::Structure
|
3217
3235
|
end
|
@@ -7523,7 +7541,7 @@ module Aws::SageMaker
|
|
7523
7541
|
# @return [String]
|
7524
7542
|
#
|
7525
7543
|
# @!attribute [rw] subnet_ids
|
7526
|
-
#
|
7544
|
+
# The VPC subnets that Studio uses for communication.
|
7527
7545
|
# @return [Array<String>]
|
7528
7546
|
#
|
7529
7547
|
# @!attribute [rw] url
|
@@ -7531,7 +7549,19 @@ module Aws::SageMaker
|
|
7531
7549
|
# @return [String]
|
7532
7550
|
#
|
7533
7551
|
# @!attribute [rw] vpc_id
|
7534
|
-
# The ID of the Amazon Virtual Private Cloud
|
7552
|
+
# The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses
|
7553
|
+
# for communication.
|
7554
|
+
# @return [String]
|
7555
|
+
#
|
7556
|
+
# @!attribute [rw] app_network_access_type
|
7557
|
+
# Specifies the VPC used for non-EFS traffic. The default value is
|
7558
|
+
# `PublicInternetOnly`.
|
7559
|
+
#
|
7560
|
+
# * `PublicInternetOnly` - Non-EFS traffic is through a VPC managed by
|
7561
|
+
# Amazon SageMaker, which allows direct internet access
|
7562
|
+
#
|
7563
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
7564
|
+
# subnets
|
7535
7565
|
# @return [String]
|
7536
7566
|
#
|
7537
7567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomainResponse AWS API Documentation
|
@@ -7551,7 +7581,8 @@ module Aws::SageMaker
|
|
7551
7581
|
:home_efs_file_system_kms_key_id,
|
7552
7582
|
:subnet_ids,
|
7553
7583
|
:url,
|
7554
|
-
:vpc_id
|
7584
|
+
:vpc_id,
|
7585
|
+
:app_network_access_type)
|
7555
7586
|
SENSITIVE = []
|
7556
7587
|
include Aws::Structure
|
7557
7588
|
end
|
@@ -16282,6 +16313,11 @@ module Aws::SageMaker
|
|
16282
16313
|
# The Amazon S3 path where the model artifacts, which result from
|
16283
16314
|
# model training, are stored. This path must point to a single `gzip`
|
16284
16315
|
# compressed tar archive (`.tar.gz` suffix).
|
16316
|
+
#
|
16317
|
+
# <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same
|
16318
|
+
# region as the model package.
|
16319
|
+
#
|
16320
|
+
# </note>
|
16285
16321
|
# @return [String]
|
16286
16322
|
#
|
16287
16323
|
# @!attribute [rw] product_id
|
@@ -19831,8 +19867,7 @@ module Aws::SageMaker
|
|
19831
19867
|
#
|
19832
19868
|
# @!attribute [rw] s3_output_path
|
19833
19869
|
# When `NotebookOutputOption` is `Allowed`, the Amazon S3 bucket used
|
19834
|
-
# to save the notebook cell output.
|
19835
|
-
# specified, a default bucket is used.
|
19870
|
+
# to save the notebook cell output.
|
19836
19871
|
# @return [String]
|
19837
19872
|
#
|
19838
19873
|
# @!attribute [rw] s3_kms_key_id
|
@@ -19904,6 +19939,11 @@ module Aws::SageMaker
|
|
19904
19939
|
# The Amazon S3 path where the model artifacts, which result from
|
19905
19940
|
# model training, are stored. This path must point to a single `gzip`
|
19906
19941
|
# compressed tar archive (`.tar.gz` suffix).
|
19942
|
+
#
|
19943
|
+
# <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same
|
19944
|
+
# region as the algorithm.
|
19945
|
+
#
|
19946
|
+
# </note>
|
19907
19947
|
# @return [String]
|
19908
19948
|
#
|
19909
19949
|
# @!attribute [rw] algorithm_name
|
@@ -22098,7 +22138,7 @@ module Aws::SageMaker
|
|
22098
22138
|
# @return [Types::ProcessingJob]
|
22099
22139
|
#
|
22100
22140
|
# @!attribute [rw] transform_job
|
22101
|
-
# Information about a transform job that's the source of
|
22141
|
+
# Information about a transform job that's the source of a trial
|
22102
22142
|
# component.
|
22103
22143
|
# @return [Types::TransformJob]
|
22104
22144
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|