aws-sdk-sagemaker 1.4.0 → 1.5.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 +17 -7
- data/lib/aws-sdk-sagemaker/client_api.rb +3 -0
- data/lib/aws-sdk-sagemaker/types.rb +25 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 896c5e93a4bcb038cf09542933694c1cd452f982
|
4
|
+
data.tar.gz: 90dc2c8ab05b1239611e4e05c0bb4c2a4aa3f5a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e72cd3fc59e37d19d1aa7759e854e5ee63882879f4c1596b171c8cc015eccefb34da831b6e994d3debc122fc69011aefd0bb1e519430605c2651eb04c525793
|
7
|
+
data.tar.gz: f9c56cf9552d27acd9205fcbe02c197f63989c513431bc70ca0dcc75b562daa3ffdc17758ec79f40471b59cdb0b7cc4bdf7d88ff9077df2309131ea6431f2e88
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -338,6 +338,11 @@ module Aws::SageMaker
|
|
338
338
|
#
|
339
339
|
# [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
|
340
340
|
#
|
341
|
+
# @option params [String] :kms_key_id
|
342
|
+
# The Amazon Resource Name (ARN) of a AWS Key Management Service key
|
343
|
+
# that Amazon SageMaker uses to encrypt data on the storage volume
|
344
|
+
# attached to the ML compute instance that hosts the endpoint.
|
345
|
+
#
|
341
346
|
# @return [Types::CreateEndpointConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
342
347
|
#
|
343
348
|
# * {Types::CreateEndpointConfigOutput#endpoint_config_arn #endpoint_config_arn} => String
|
@@ -361,6 +366,7 @@ module Aws::SageMaker
|
|
361
366
|
# value: "TagValue", # required
|
362
367
|
# },
|
363
368
|
# ],
|
369
|
+
# kms_key_id: "KmsKeyId",
|
364
370
|
# })
|
365
371
|
#
|
366
372
|
# @example Response structure
|
@@ -799,6 +805,7 @@ module Aws::SageMaker
|
|
799
805
|
# instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
|
800
806
|
# instance_count: 1, # required
|
801
807
|
# volume_size_in_gb: 1, # required
|
808
|
+
# volume_kms_key_id: "KmsKeyId",
|
802
809
|
# },
|
803
810
|
# stopping_condition: { # required
|
804
811
|
# max_runtime_in_seconds: 1,
|
@@ -1015,6 +1022,7 @@ module Aws::SageMaker
|
|
1015
1022
|
# * {Types::DescribeEndpointConfigOutput#endpoint_config_name #endpoint_config_name} => String
|
1016
1023
|
# * {Types::DescribeEndpointConfigOutput#endpoint_config_arn #endpoint_config_arn} => String
|
1017
1024
|
# * {Types::DescribeEndpointConfigOutput#production_variants #production_variants} => Array<Types::ProductionVariant>
|
1025
|
+
# * {Types::DescribeEndpointConfigOutput#kms_key_id #kms_key_id} => String
|
1018
1026
|
# * {Types::DescribeEndpointConfigOutput#creation_time #creation_time} => Time
|
1019
1027
|
#
|
1020
1028
|
# @example Request syntax with placeholder values
|
@@ -1033,6 +1041,7 @@ module Aws::SageMaker
|
|
1033
1041
|
# resp.production_variants[0].initial_instance_count #=> Integer
|
1034
1042
|
# resp.production_variants[0].instance_type #=> String, one of "ml.c4.2xlarge", "ml.c4.8xlarge", "ml.c4.xlarge", "ml.c5.2xlarge", "ml.c5.9xlarge", "ml.c5.xlarge", "ml.m4.xlarge", "ml.p2.xlarge", "ml.p3.2xlarge", "ml.t2.medium"
|
1035
1043
|
# resp.production_variants[0].initial_variant_weight #=> Float
|
1044
|
+
# resp.kms_key_id #=> String
|
1036
1045
|
# resp.creation_time #=> Time
|
1037
1046
|
#
|
1038
1047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig AWS API Documentation
|
@@ -1194,6 +1203,7 @@ module Aws::SageMaker
|
|
1194
1203
|
# resp.resource_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
|
1195
1204
|
# resp.resource_config.instance_count #=> Integer
|
1196
1205
|
# resp.resource_config.volume_size_in_gb #=> Integer
|
1206
|
+
# resp.resource_config.volume_kms_key_id #=> String
|
1197
1207
|
# resp.stopping_condition.max_runtime_in_seconds #=> Integer
|
1198
1208
|
# resp.creation_time #=> Time
|
1199
1209
|
# resp.training_start_time #=> Time
|
@@ -1760,12 +1770,12 @@ module Aws::SageMaker
|
|
1760
1770
|
req.send_request(options)
|
1761
1771
|
end
|
1762
1772
|
|
1763
|
-
# Updates variant weight
|
1764
|
-
#
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
#
|
1768
|
-
#
|
1773
|
+
# Updates variant weight of one or more variants associated with an
|
1774
|
+
# existing endpoint, or capacity of one variant associated with an
|
1775
|
+
# existing endpoint. When it receives the request, Amazon SageMaker sets
|
1776
|
+
# the endpoint status to `Updating`. After updating the endpoint, it
|
1777
|
+
# sets the status to `InService`. To check the status of an endpoint,
|
1778
|
+
# use the [DescribeEndpoint][1] API.
|
1769
1779
|
#
|
1770
1780
|
#
|
1771
1781
|
#
|
@@ -1854,7 +1864,7 @@ module Aws::SageMaker
|
|
1854
1864
|
params: params,
|
1855
1865
|
config: config)
|
1856
1866
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
1857
|
-
context[:gem_version] = '1.
|
1867
|
+
context[:gem_version] = '1.5.0'
|
1858
1868
|
Seahorse::Client::Request.new(handlers, context)
|
1859
1869
|
end
|
1860
1870
|
|
@@ -195,6 +195,7 @@ module Aws::SageMaker
|
|
195
195
|
CreateEndpointConfigInput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
|
196
196
|
CreateEndpointConfigInput.add_member(:production_variants, Shapes::ShapeRef.new(shape: ProductionVariantList, required: true, location_name: "ProductionVariants"))
|
197
197
|
CreateEndpointConfigInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
198
|
+
CreateEndpointConfigInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
198
199
|
CreateEndpointConfigInput.struct_class = Types::CreateEndpointConfigInput
|
199
200
|
|
200
201
|
CreateEndpointConfigOutput.add_member(:endpoint_config_arn, Shapes::ShapeRef.new(shape: EndpointConfigArn, required: true, location_name: "EndpointConfigArn"))
|
@@ -277,6 +278,7 @@ module Aws::SageMaker
|
|
277
278
|
DescribeEndpointConfigOutput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
|
278
279
|
DescribeEndpointConfigOutput.add_member(:endpoint_config_arn, Shapes::ShapeRef.new(shape: EndpointConfigArn, required: true, location_name: "EndpointConfigArn"))
|
279
280
|
DescribeEndpointConfigOutput.add_member(:production_variants, Shapes::ShapeRef.new(shape: ProductionVariantList, required: true, location_name: "ProductionVariants"))
|
281
|
+
DescribeEndpointConfigOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
280
282
|
DescribeEndpointConfigOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
281
283
|
DescribeEndpointConfigOutput.struct_class = Types::DescribeEndpointConfigOutput
|
282
284
|
|
@@ -503,6 +505,7 @@ module Aws::SageMaker
|
|
503
505
|
ResourceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: TrainingInstanceType, required: true, location_name: "InstanceType"))
|
504
506
|
ResourceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: TrainingInstanceCount, required: true, location_name: "InstanceCount"))
|
505
507
|
ResourceConfig.add_member(:volume_size_in_gb, Shapes::ShapeRef.new(shape: VolumeSizeInGB, required: true, location_name: "VolumeSizeInGB"))
|
508
|
+
ResourceConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
506
509
|
ResourceConfig.struct_class = Types::ResourceConfig
|
507
510
|
|
508
511
|
S3DataSource.add_member(:s3_data_type, Shapes::ShapeRef.new(shape: S3DataType, required: true, location_name: "S3DataType"))
|
@@ -257,6 +257,7 @@ module Aws::SageMaker
|
|
257
257
|
# value: "TagValue", # required
|
258
258
|
# },
|
259
259
|
# ],
|
260
|
+
# kms_key_id: "KmsKeyId",
|
260
261
|
# }
|
261
262
|
#
|
262
263
|
# @!attribute [rw] endpoint_config_name
|
@@ -283,12 +284,19 @@ module Aws::SageMaker
|
|
283
284
|
# [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
|
284
285
|
# @return [Array<Types::Tag>]
|
285
286
|
#
|
287
|
+
# @!attribute [rw] kms_key_id
|
288
|
+
# The Amazon Resource Name (ARN) of a AWS Key Management Service key
|
289
|
+
# that Amazon SageMaker uses to encrypt data on the storage volume
|
290
|
+
# attached to the ML compute instance that hosts the endpoint.
|
291
|
+
# @return [String]
|
292
|
+
#
|
286
293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfigInput AWS API Documentation
|
287
294
|
#
|
288
295
|
class CreateEndpointConfigInput < Struct.new(
|
289
296
|
:endpoint_config_name,
|
290
297
|
:production_variants,
|
291
|
-
:tags
|
298
|
+
:tags,
|
299
|
+
:kms_key_id)
|
292
300
|
include Aws::Structure
|
293
301
|
end
|
294
302
|
|
@@ -592,6 +600,7 @@ module Aws::SageMaker
|
|
592
600
|
# instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
|
593
601
|
# instance_count: 1, # required
|
594
602
|
# volume_size_in_gb: 1, # required
|
603
|
+
# volume_kms_key_id: "KmsKeyId",
|
595
604
|
# },
|
596
605
|
# stopping_condition: { # required
|
597
606
|
# max_runtime_in_seconds: 1,
|
@@ -896,6 +905,11 @@ module Aws::SageMaker
|
|
896
905
|
# want to host at this endpoint.
|
897
906
|
# @return [Array<Types::ProductionVariant>]
|
898
907
|
#
|
908
|
+
# @!attribute [rw] kms_key_id
|
909
|
+
# AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
|
910
|
+
# on the ML storage volume attached to the instance.
|
911
|
+
# @return [String]
|
912
|
+
#
|
899
913
|
# @!attribute [rw] creation_time
|
900
914
|
# A timestamp that shows when the endpoint configuration was created.
|
901
915
|
# @return [Time]
|
@@ -906,6 +920,7 @@ module Aws::SageMaker
|
|
906
920
|
:endpoint_config_name,
|
907
921
|
:endpoint_config_arn,
|
908
922
|
:production_variants,
|
923
|
+
:kms_key_id,
|
909
924
|
:creation_time)
|
910
925
|
include Aws::Structure
|
911
926
|
end
|
@@ -2090,6 +2105,7 @@ module Aws::SageMaker
|
|
2090
2105
|
# instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
|
2091
2106
|
# instance_count: 1, # required
|
2092
2107
|
# volume_size_in_gb: 1, # required
|
2108
|
+
# volume_kms_key_id: "KmsKeyId",
|
2093
2109
|
# }
|
2094
2110
|
#
|
2095
2111
|
# @!attribute [rw] instance_type
|
@@ -2118,12 +2134,19 @@ module Aws::SageMaker
|
|
2118
2134
|
# </note>
|
2119
2135
|
# @return [Integer]
|
2120
2136
|
#
|
2137
|
+
# @!attribute [rw] volume_kms_key_id
|
2138
|
+
# The Amazon Resource Name (ARN) of a AWS Key Management Service key
|
2139
|
+
# that Amazon SageMaker uses to encrypt data on the storage volume
|
2140
|
+
# attached to the ML compute instance(s) that run the training job.
|
2141
|
+
# @return [String]
|
2142
|
+
#
|
2121
2143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ResourceConfig AWS API Documentation
|
2122
2144
|
#
|
2123
2145
|
class ResourceConfig < Struct.new(
|
2124
2146
|
:instance_type,
|
2125
2147
|
:instance_count,
|
2126
|
-
:volume_size_in_gb
|
2148
|
+
:volume_size_in_gb,
|
2149
|
+
:volume_kms_key_id)
|
2127
2150
|
include Aws::Structure
|
2128
2151
|
end
|
2129
2152
|
|
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.5.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:
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|