aws-sdk-sagemaker 1.3.0 → 1.4.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 +5 -27
- data/lib/aws-sdk-sagemaker/client_api.rb +0 -5
- data/lib/aws-sdk-sagemaker/types.rb +0 -21
- 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: 5e4fa5234c6976d53aae9728b3f4db7af0576e4d
|
4
|
+
data.tar.gz: 36179e56694db31938d6e9af7a90d78e05ffc5b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca120d5fda0824b251061b166a7a9c3ba6333e9b8980d3983b9179bebbafc82e6540f6dddf530c390ae4434fe18e20de72677ae25b55a2190adc2e06b4739999
|
7
|
+
data.tar.gz: e86d77c73f337fff455e24ec13401450158846f546de8d75bd5b5995033d425176e50bce4f069c8e73c84afa9e2ff3fe6e315ba733258b327d7fdbcd83d3e434
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -390,9 +390,8 @@ module Aws::SageMaker
|
|
390
390
|
# Amazon SageMaker then deploys all of the containers that you defined
|
391
391
|
# for the model in the hosting environment.
|
392
392
|
#
|
393
|
-
# In the `CreateModel` request, you must define
|
394
|
-
#
|
395
|
-
# additional containers with the `SupplementalContainers` parameter.
|
393
|
+
# In the `CreateModel` request, you must define a container with the
|
394
|
+
# `PrimaryContainer` parameter.
|
396
395
|
#
|
397
396
|
# In the request, you also provide an IAM role that Amazon SageMaker can
|
398
397
|
# assume to access model artifacts and docker image for deployment on ML
|
@@ -409,9 +408,6 @@ module Aws::SageMaker
|
|
409
408
|
# associated artifacts, and custom environment map that the inference
|
410
409
|
# code uses when the model is deployed into production.
|
411
410
|
#
|
412
|
-
# @option params [Array<Types::ContainerDefinition>] :supplemental_containers
|
413
|
-
# The additional optional containers to deploy.
|
414
|
-
#
|
415
411
|
# @option params [required, String] :execution_role_arn
|
416
412
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
417
413
|
# can assume to access model artifacts and docker image for deployment
|
@@ -447,16 +443,6 @@ module Aws::SageMaker
|
|
447
443
|
# "EnvironmentKey" => "EnvironmentValue",
|
448
444
|
# },
|
449
445
|
# },
|
450
|
-
# supplemental_containers: [
|
451
|
-
# {
|
452
|
-
# container_hostname: "ContainerHostname",
|
453
|
-
# image: "Image", # required
|
454
|
-
# model_data_url: "Url",
|
455
|
-
# environment: {
|
456
|
-
# "EnvironmentKey" => "EnvironmentValue",
|
457
|
-
# },
|
458
|
-
# },
|
459
|
-
# ],
|
460
446
|
# execution_role_arn: "RoleArn", # required
|
461
447
|
# tags: [
|
462
448
|
# {
|
@@ -1067,7 +1053,6 @@ module Aws::SageMaker
|
|
1067
1053
|
#
|
1068
1054
|
# * {Types::DescribeModelOutput#model_name #model_name} => String
|
1069
1055
|
# * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
|
1070
|
-
# * {Types::DescribeModelOutput#supplemental_containers #supplemental_containers} => Array<Types::ContainerDefinition>
|
1071
1056
|
# * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
|
1072
1057
|
# * {Types::DescribeModelOutput#creation_time #creation_time} => Time
|
1073
1058
|
# * {Types::DescribeModelOutput#model_arn #model_arn} => String
|
@@ -1086,12 +1071,6 @@ module Aws::SageMaker
|
|
1086
1071
|
# resp.primary_container.model_data_url #=> String
|
1087
1072
|
# resp.primary_container.environment #=> Hash
|
1088
1073
|
# resp.primary_container.environment["EnvironmentKey"] #=> String
|
1089
|
-
# resp.supplemental_containers #=> Array
|
1090
|
-
# resp.supplemental_containers[0].container_hostname #=> String
|
1091
|
-
# resp.supplemental_containers[0].image #=> String
|
1092
|
-
# resp.supplemental_containers[0].model_data_url #=> String
|
1093
|
-
# resp.supplemental_containers[0].environment #=> Hash
|
1094
|
-
# resp.supplemental_containers[0].environment["EnvironmentKey"] #=> String
|
1095
1074
|
# resp.execution_role_arn #=> String
|
1096
1075
|
# resp.creation_time #=> Time
|
1097
1076
|
# resp.model_arn #=> String
|
@@ -1650,9 +1629,8 @@ module Aws::SageMaker
|
|
1650
1629
|
# Launches an ML compute instance with the latest version of the
|
1651
1630
|
# libraries and attaches your ML storage volume. After configuring the
|
1652
1631
|
# notebook instance, Amazon SageMaker sets the notebook instance status
|
1653
|
-
# to `InService`. A notebook instance's status must be `InService`
|
1654
|
-
#
|
1655
|
-
# your Jupyter notebook.
|
1632
|
+
# to `InService`. A notebook instance's status must be `InService`
|
1633
|
+
# before you can connect to your Jupyter notebook.
|
1656
1634
|
#
|
1657
1635
|
# @option params [required, String] :notebook_instance_name
|
1658
1636
|
# The name of the notebook instance to start.
|
@@ -1876,7 +1854,7 @@ module Aws::SageMaker
|
|
1876
1854
|
params: params,
|
1877
1855
|
config: config)
|
1878
1856
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
1879
|
-
context[:gem_version] = '1.
|
1857
|
+
context[:gem_version] = '1.4.0'
|
1880
1858
|
Seahorse::Client::Request.new(handlers, context)
|
1881
1859
|
end
|
1882
1860
|
|
@@ -19,7 +19,6 @@ module Aws::SageMaker
|
|
19
19
|
ChannelName = Shapes::StringShape.new(name: 'ChannelName')
|
20
20
|
CompressionType = Shapes::StringShape.new(name: 'CompressionType')
|
21
21
|
ContainerDefinition = Shapes::StructureShape.new(name: 'ContainerDefinition')
|
22
|
-
ContainerDefinitionList = Shapes::ListShape.new(name: 'ContainerDefinitionList')
|
23
22
|
ContainerHostname = Shapes::StringShape.new(name: 'ContainerHostname')
|
24
23
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
25
24
|
CreateEndpointConfigInput = Shapes::StructureShape.new(name: 'CreateEndpointConfigInput')
|
@@ -193,8 +192,6 @@ module Aws::SageMaker
|
|
193
192
|
ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
|
194
193
|
ContainerDefinition.struct_class = Types::ContainerDefinition
|
195
194
|
|
196
|
-
ContainerDefinitionList.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
|
197
|
-
|
198
195
|
CreateEndpointConfigInput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
|
199
196
|
CreateEndpointConfigInput.add_member(:production_variants, Shapes::ShapeRef.new(shape: ProductionVariantList, required: true, location_name: "ProductionVariants"))
|
200
197
|
CreateEndpointConfigInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -213,7 +210,6 @@ module Aws::SageMaker
|
|
213
210
|
|
214
211
|
CreateModelInput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
215
212
|
CreateModelInput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, required: true, location_name: "PrimaryContainer"))
|
216
|
-
CreateModelInput.add_member(:supplemental_containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, location_name: "SupplementalContainers"))
|
217
213
|
CreateModelInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
218
214
|
CreateModelInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
219
215
|
CreateModelInput.struct_class = Types::CreateModelInput
|
@@ -302,7 +298,6 @@ module Aws::SageMaker
|
|
302
298
|
|
303
299
|
DescribeModelOutput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
304
300
|
DescribeModelOutput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, required: true, location_name: "PrimaryContainer"))
|
305
|
-
DescribeModelOutput.add_member(:supplemental_containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, required: true, location_name: "SupplementalContainers"))
|
306
301
|
DescribeModelOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
307
302
|
DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
308
303
|
DescribeModelOutput.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "ModelArn"))
|
@@ -374,16 +374,6 @@ module Aws::SageMaker
|
|
374
374
|
# "EnvironmentKey" => "EnvironmentValue",
|
375
375
|
# },
|
376
376
|
# },
|
377
|
-
# supplemental_containers: [
|
378
|
-
# {
|
379
|
-
# container_hostname: "ContainerHostname",
|
380
|
-
# image: "Image", # required
|
381
|
-
# model_data_url: "Url",
|
382
|
-
# environment: {
|
383
|
-
# "EnvironmentKey" => "EnvironmentValue",
|
384
|
-
# },
|
385
|
-
# },
|
386
|
-
# ],
|
387
377
|
# execution_role_arn: "RoleArn", # required
|
388
378
|
# tags: [
|
389
379
|
# {
|
@@ -403,10 +393,6 @@ module Aws::SageMaker
|
|
403
393
|
# code uses when the model is deployed into production.
|
404
394
|
# @return [Types::ContainerDefinition]
|
405
395
|
#
|
406
|
-
# @!attribute [rw] supplemental_containers
|
407
|
-
# The additional optional containers to deploy.
|
408
|
-
# @return [Array<Types::ContainerDefinition>]
|
409
|
-
#
|
410
396
|
# @!attribute [rw] execution_role_arn
|
411
397
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
412
398
|
# can assume to access model artifacts and docker image for deployment
|
@@ -434,7 +420,6 @@ module Aws::SageMaker
|
|
434
420
|
class CreateModelInput < Struct.new(
|
435
421
|
:model_name,
|
436
422
|
:primary_container,
|
437
|
-
:supplemental_containers,
|
438
423
|
:execution_role_arn,
|
439
424
|
:tags)
|
440
425
|
include Aws::Structure
|
@@ -1019,11 +1004,6 @@ module Aws::SageMaker
|
|
1019
1004
|
# deployed in production.
|
1020
1005
|
# @return [Types::ContainerDefinition]
|
1021
1006
|
#
|
1022
|
-
# @!attribute [rw] supplemental_containers
|
1023
|
-
# The description of additional optional containers that you defined
|
1024
|
-
# when creating the model.
|
1025
|
-
# @return [Array<Types::ContainerDefinition>]
|
1026
|
-
#
|
1027
1007
|
# @!attribute [rw] execution_role_arn
|
1028
1008
|
# The Amazon Resource Name (ARN) of the IAM role that you specified
|
1029
1009
|
# for the model.
|
@@ -1042,7 +1022,6 @@ module Aws::SageMaker
|
|
1042
1022
|
class DescribeModelOutput < Struct.new(
|
1043
1023
|
:model_name,
|
1044
1024
|
:primary_container,
|
1045
|
-
:supplemental_containers,
|
1046
1025
|
:execution_role_arn,
|
1047
1026
|
:creation_time,
|
1048
1027
|
:model_arn)
|
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.4.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: 2017-12-
|
11
|
+
date: 2017-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|