aws-sdk-sagemaker 1.7.0 → 1.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12e79a5643f9d456f03924745eb00b35afac4efe
4
- data.tar.gz: 8e3a9950ae7fb552fbe60b03ac288b123ff2bac3
3
+ metadata.gz: 8ad9be1b29f0f5dc29d0dbd9250b1168e155a0a5
4
+ data.tar.gz: 1887551b57d6aa95516cbd0680af9fd33a2eb439
5
5
  SHA512:
6
- metadata.gz: 7664455abe1a55f0ceb3dbfd0b8d6599ee78388a3f3333be751f887fb2c6f78be6101aa2eb56865e1022033db1a3d1474494a2bca2f2161b9c9ee7ff15044788
7
- data.tar.gz: 2e9e0727d1aab20db50860f6d3eee240f6f6532a1e76ab445863d14a20fd0851283a3198e0175665bb06e5ac32bf84e516706ac3dfbb8bb0f49e558e03af55ec
6
+ metadata.gz: 8193d8cab265584cdadfe2bbbb871d8543902c8524c0ad3cb899bafbaab42988930888be55962365f7776faa48712e61f42a1c10fa64af0fa31c60c2398f37ef
7
+ data.tar.gz: 723f595bafcaeae232beee20fb9998871552a1ce7757f2d8f0c557fee0fbda37418a6bec2f9ddc90e77117a4d0dfceb60a30bf6f4bf1a603b437c58c0be8c7c5
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
43
43
  # @service
44
44
  module Aws::SageMaker
45
45
 
46
- GEM_VERSION = '1.7.0'
46
+ GEM_VERSION = '1.8.0'
47
47
 
48
48
  end
@@ -433,6 +433,11 @@ module Aws::SageMaker
433
433
  #
434
434
  # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
435
435
  #
436
+ # @option params [Types::VpcConfig] :vpc_config
437
+ # A object that specifies the VPC that you want your model to connect
438
+ # to. Control access to and from your training container by configuring
439
+ # the VPC. For more information, see host-vpc.
440
+ #
436
441
  # @return [Types::CreateModelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
437
442
  #
438
443
  # * {Types::CreateModelOutput#model_arn #model_arn} => String
@@ -456,6 +461,10 @@ module Aws::SageMaker
456
461
  # value: "TagValue", # required
457
462
  # },
458
463
  # ],
464
+ # vpc_config: {
465
+ # security_group_ids: ["SecurityGroupId"], # required
466
+ # subnets: ["SubnetId"], # required
467
+ # },
459
468
  # })
460
469
  #
461
470
  # @example Response structure
@@ -827,6 +836,11 @@ module Aws::SageMaker
827
836
  # the algorithm specification. For distributed training algorithms,
828
837
  # specify an instance count greater than 1.
829
838
  #
839
+ # @option params [Types::VpcConfig] :vpc_config
840
+ # A object that specifies the VPC that you want your training job to
841
+ # connect to. Control access to and from your training container by
842
+ # configuring the VPC. For more information, see train-vpc
843
+ #
830
844
  # @option params [required, Types::StoppingCondition] :stopping_condition
831
845
  # Sets a duration for training. Use this parameter to cap model training
832
846
  # costs. To stop a job, Amazon SageMaker sends the algorithm the
@@ -890,6 +904,10 @@ module Aws::SageMaker
890
904
  # volume_size_in_gb: 1, # required
891
905
  # volume_kms_key_id: "KmsKeyId",
892
906
  # },
907
+ # vpc_config: {
908
+ # security_group_ids: ["SecurityGroupId"], # required
909
+ # subnets: ["SubnetId"], # required
910
+ # },
893
911
  # stopping_condition: { # required
894
912
  # max_runtime_in_seconds: 1,
895
913
  # },
@@ -1168,6 +1186,7 @@ module Aws::SageMaker
1168
1186
  # * {Types::DescribeModelOutput#model_name #model_name} => String
1169
1187
  # * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
1170
1188
  # * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
1189
+ # * {Types::DescribeModelOutput#vpc_config #vpc_config} => Types::VpcConfig
1171
1190
  # * {Types::DescribeModelOutput#creation_time #creation_time} => Time
1172
1191
  # * {Types::DescribeModelOutput#model_arn #model_arn} => String
1173
1192
  #
@@ -1186,6 +1205,10 @@ module Aws::SageMaker
1186
1205
  # resp.primary_container.environment #=> Hash
1187
1206
  # resp.primary_container.environment["EnvironmentKey"] #=> String
1188
1207
  # resp.execution_role_arn #=> String
1208
+ # resp.vpc_config.security_group_ids #=> Array
1209
+ # resp.vpc_config.security_group_ids[0] #=> String
1210
+ # resp.vpc_config.subnets #=> Array
1211
+ # resp.vpc_config.subnets[0] #=> String
1189
1212
  # resp.creation_time #=> Time
1190
1213
  # resp.model_arn #=> String
1191
1214
  #
@@ -1317,6 +1340,7 @@ module Aws::SageMaker
1317
1340
  # * {Types::DescribeTrainingJobResponse#input_data_config #input_data_config} => Array<Types::Channel>
1318
1341
  # * {Types::DescribeTrainingJobResponse#output_data_config #output_data_config} => Types::OutputDataConfig
1319
1342
  # * {Types::DescribeTrainingJobResponse#resource_config #resource_config} => Types::ResourceConfig
1343
+ # * {Types::DescribeTrainingJobResponse#vpc_config #vpc_config} => Types::VpcConfig
1320
1344
  # * {Types::DescribeTrainingJobResponse#stopping_condition #stopping_condition} => Types::StoppingCondition
1321
1345
  # * {Types::DescribeTrainingJobResponse#creation_time #creation_time} => Time
1322
1346
  # * {Types::DescribeTrainingJobResponse#training_start_time #training_start_time} => Time
@@ -1356,6 +1380,10 @@ module Aws::SageMaker
1356
1380
  # resp.resource_config.instance_count #=> Integer
1357
1381
  # resp.resource_config.volume_size_in_gb #=> Integer
1358
1382
  # resp.resource_config.volume_kms_key_id #=> String
1383
+ # resp.vpc_config.security_group_ids #=> Array
1384
+ # resp.vpc_config.security_group_ids[0] #=> String
1385
+ # resp.vpc_config.subnets #=> Array
1386
+ # resp.vpc_config.subnets[0] #=> String
1359
1387
  # resp.stopping_condition.max_runtime_in_seconds #=> Integer
1360
1388
  # resp.creation_time #=> Time
1361
1389
  # resp.training_start_time #=> Time
@@ -2139,7 +2167,7 @@ module Aws::SageMaker
2139
2167
  params: params,
2140
2168
  config: config)
2141
2169
  context[:gem_name] = 'aws-sdk-sagemaker'
2142
- context[:gem_version] = '1.7.0'
2170
+ context[:gem_version] = '1.8.0'
2143
2171
  Seahorse::Client::Request.new(handlers, context)
2144
2172
  end
2145
2173
 
@@ -160,6 +160,7 @@ module Aws::SageMaker
160
160
  StopTrainingJobRequest = Shapes::StructureShape.new(name: 'StopTrainingJobRequest')
161
161
  StoppingCondition = Shapes::StructureShape.new(name: 'StoppingCondition')
162
162
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
163
+ Subnets = Shapes::ListShape.new(name: 'Subnets')
163
164
  Tag = Shapes::StructureShape.new(name: 'Tag')
164
165
  TagKey = Shapes::StringShape.new(name: 'TagKey')
165
166
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -187,6 +188,8 @@ module Aws::SageMaker
187
188
  VariantName = Shapes::StringShape.new(name: 'VariantName')
188
189
  VariantWeight = Shapes::FloatShape.new(name: 'VariantWeight')
189
190
  VolumeSizeInGB = Shapes::IntegerShape.new(name: 'VolumeSizeInGB')
191
+ VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
192
+ VpcSecurityGroupIds = Shapes::ListShape.new(name: 'VpcSecurityGroupIds')
190
193
 
191
194
  AddTagsInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
192
195
  AddTagsInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
@@ -233,6 +236,7 @@ module Aws::SageMaker
233
236
  CreateModelInput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, required: true, location_name: "PrimaryContainer"))
234
237
  CreateModelInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
235
238
  CreateModelInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
239
+ CreateModelInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
236
240
  CreateModelInput.struct_class = Types::CreateModelInput
237
241
 
238
242
  CreateModelOutput.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "ModelArn"))
@@ -274,6 +278,7 @@ module Aws::SageMaker
274
278
  CreateTrainingJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
275
279
  CreateTrainingJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
276
280
  CreateTrainingJobRequest.add_member(:resource_config, Shapes::ShapeRef.new(shape: ResourceConfig, required: true, location_name: "ResourceConfig"))
281
+ CreateTrainingJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
277
282
  CreateTrainingJobRequest.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: StoppingCondition, required: true, location_name: "StoppingCondition"))
278
283
  CreateTrainingJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
279
284
  CreateTrainingJobRequest.struct_class = Types::CreateTrainingJobRequest
@@ -334,6 +339,7 @@ module Aws::SageMaker
334
339
  DescribeModelOutput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
335
340
  DescribeModelOutput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, required: true, location_name: "PrimaryContainer"))
336
341
  DescribeModelOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
342
+ DescribeModelOutput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
337
343
  DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
338
344
  DescribeModelOutput.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "ModelArn"))
339
345
  DescribeModelOutput.struct_class = Types::DescribeModelOutput
@@ -384,6 +390,7 @@ module Aws::SageMaker
384
390
  DescribeTrainingJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
385
391
  DescribeTrainingJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
386
392
  DescribeTrainingJobResponse.add_member(:resource_config, Shapes::ShapeRef.new(shape: ResourceConfig, required: true, location_name: "ResourceConfig"))
393
+ DescribeTrainingJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
387
394
  DescribeTrainingJobResponse.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: StoppingCondition, required: true, location_name: "StoppingCondition"))
388
395
  DescribeTrainingJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
389
396
  DescribeTrainingJobResponse.add_member(:training_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TrainingStartTime"))
@@ -603,6 +610,8 @@ module Aws::SageMaker
603
610
  StoppingCondition.add_member(:max_runtime_in_seconds, Shapes::ShapeRef.new(shape: MaxRuntimeInSeconds, location_name: "MaxRuntimeInSeconds"))
604
611
  StoppingCondition.struct_class = Types::StoppingCondition
605
612
 
613
+ Subnets.member = Shapes::ShapeRef.new(shape: SubnetId)
614
+
606
615
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
607
616
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
608
617
  Tag.struct_class = Types::Tag
@@ -649,6 +658,12 @@ module Aws::SageMaker
649
658
 
650
659
  UpdateNotebookInstanceOutput.struct_class = Types::UpdateNotebookInstanceOutput
651
660
 
661
+ VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
662
+ VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
663
+ VpcConfig.struct_class = Types::VpcConfig
664
+
665
+ VpcSecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
666
+
652
667
 
653
668
  # @api private
654
669
  API = Seahorse::Model::Api.new.tap do |api|
@@ -383,6 +383,10 @@ module Aws::SageMaker
383
383
  # value: "TagValue", # required
384
384
  # },
385
385
  # ],
386
+ # vpc_config: {
387
+ # security_group_ids: ["SecurityGroupId"], # required
388
+ # subnets: ["SubnetId"], # required
389
+ # },
386
390
  # }
387
391
  #
388
392
  # @!attribute [rw] model_name
@@ -417,13 +421,20 @@ module Aws::SageMaker
417
421
  # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
418
422
  # @return [Array<Types::Tag>]
419
423
  #
424
+ # @!attribute [rw] vpc_config
425
+ # A object that specifies the VPC that you want your model to connect
426
+ # to. Control access to and from your training container by
427
+ # configuring the VPC. For more information, see host-vpc.
428
+ # @return [Types::VpcConfig]
429
+ #
420
430
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelInput AWS API Documentation
421
431
  #
422
432
  class CreateModelInput < Struct.new(
423
433
  :model_name,
424
434
  :primary_container,
425
435
  :execution_role_arn,
426
- :tags)
436
+ :tags,
437
+ :vpc_config)
427
438
  include Aws::Structure
428
439
  end
429
440
 
@@ -669,6 +680,10 @@ module Aws::SageMaker
669
680
  # volume_size_in_gb: 1, # required
670
681
  # volume_kms_key_id: "KmsKeyId",
671
682
  # },
683
+ # vpc_config: {
684
+ # security_group_ids: ["SecurityGroupId"], # required
685
+ # subnets: ["SubnetId"], # required
686
+ # },
672
687
  # stopping_condition: { # required
673
688
  # max_runtime_in_seconds: 1,
674
689
  # },
@@ -764,6 +779,12 @@ module Aws::SageMaker
764
779
  # specify an instance count greater than 1.
765
780
  # @return [Types::ResourceConfig]
766
781
  #
782
+ # @!attribute [rw] vpc_config
783
+ # A object that specifies the VPC that you want your training job to
784
+ # connect to. Control access to and from your training container by
785
+ # configuring the VPC. For more information, see train-vpc
786
+ # @return [Types::VpcConfig]
787
+ #
767
788
  # @!attribute [rw] stopping_condition
768
789
  # Sets a duration for training. Use this parameter to cap model
769
790
  # training costs. To stop a job, Amazon SageMaker sends the algorithm
@@ -798,6 +819,7 @@ module Aws::SageMaker
798
819
  :input_data_config,
799
820
  :output_data_config,
800
821
  :resource_config,
822
+ :vpc_config,
801
823
  :stopping_condition,
802
824
  :tags)
803
825
  include Aws::Structure
@@ -1108,6 +1130,11 @@ module Aws::SageMaker
1108
1130
  # for the model.
1109
1131
  # @return [String]
1110
1132
  #
1133
+ # @!attribute [rw] vpc_config
1134
+ # A object that specifies the VPC that this model has access to. For
1135
+ # more information, see host-vpc
1136
+ # @return [Types::VpcConfig]
1137
+ #
1111
1138
  # @!attribute [rw] creation_time
1112
1139
  # A timestamp that shows when the model was created.
1113
1140
  # @return [Time]
@@ -1122,6 +1149,7 @@ module Aws::SageMaker
1122
1149
  :model_name,
1123
1150
  :primary_container,
1124
1151
  :execution_role_arn,
1152
+ :vpc_config,
1125
1153
  :creation_time,
1126
1154
  :model_arn)
1127
1155
  include Aws::Structure
@@ -1392,6 +1420,11 @@ module Aws::SageMaker
1392
1420
  # that are configured for model training.
1393
1421
  # @return [Types::ResourceConfig]
1394
1422
  #
1423
+ # @!attribute [rw] vpc_config
1424
+ # A object that specifies the VPC that this training job has access
1425
+ # to. For more information, see train-vpc.
1426
+ # @return [Types::VpcConfig]
1427
+ #
1395
1428
  # @!attribute [rw] stopping_condition
1396
1429
  # The condition under which to stop the training job.
1397
1430
  # @return [Types::StoppingCondition]
@@ -1428,6 +1461,7 @@ module Aws::SageMaker
1428
1461
  :input_data_config,
1429
1462
  :output_data_config,
1430
1463
  :resource_config,
1464
+ :vpc_config,
1431
1465
  :stopping_condition,
1432
1466
  :creation_time,
1433
1467
  :training_start_time,
@@ -2893,5 +2927,36 @@ module Aws::SageMaker
2893
2927
  #
2894
2928
  class UpdateNotebookInstanceOutput < Aws::EmptyStructure; end
2895
2929
 
2930
+ # Specifies a VPC that your training jobs and hosted models have access
2931
+ # to. Control access to and from your training and model containers by
2932
+ # configuring the VPC. For more information, see host-vpc and train-vpc.
2933
+ #
2934
+ # @note When making an API call, you may pass VpcConfig
2935
+ # data as a hash:
2936
+ #
2937
+ # {
2938
+ # security_group_ids: ["SecurityGroupId"], # required
2939
+ # subnets: ["SubnetId"], # required
2940
+ # }
2941
+ #
2942
+ # @!attribute [rw] security_group_ids
2943
+ # The VPC security group IDs, in the form sg-xxxxxxxx. Specify the
2944
+ # security groups for the VPC that is specified in the `Subnets`
2945
+ # field.
2946
+ # @return [Array<String>]
2947
+ #
2948
+ # @!attribute [rw] subnets
2949
+ # The ID of the subnets in the VPC to which you want to connect your
2950
+ # training job or model.
2951
+ # @return [Array<String>]
2952
+ #
2953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/VpcConfig AWS API Documentation
2954
+ #
2955
+ class VpcConfig < Struct.new(
2956
+ :security_group_ids,
2957
+ :subnets)
2958
+ include Aws::Structure
2959
+ end
2960
+
2896
2961
  end
2897
2962
  end
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.7.0
4
+ version: 1.8.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: 2018-04-04 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.5.2.2
79
+ rubygems_version: 2.5.2.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: AWS SDK for Ruby - SageMaker