aws-sdk-sagemaker 1.10.0 → 1.11.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 +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +50 -25
- data/lib/aws-sdk-sagemaker/client_api.rb +10 -0
- data/lib/aws-sdk-sagemaker/types.rb +138 -63
- 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: ee2ea897257477fdcf0ad19c6efacb733584a506
|
4
|
+
data.tar.gz: 7772a66e93ece01180c7ad1419c247e84e524b5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353bbb5b691d8ccfcdaa2303e4ec230568ba0d729d896309f304fbec799bbe203f4d58844d0ed96e1cf9102afec0c3bc091a6aa6efba7cac4e75bd6b03d2cea9
|
7
|
+
data.tar.gz: c85c79fa37e5fdf36df028c84e944b2c9c98acf2011d419f6a48f5d7b6adea74e4aa5c412c3cf79c4bc69976e53a167911a76abfe646a0ee0509d770bebf2d45
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -244,11 +244,21 @@ module Aws::SageMaker
|
|
244
244
|
# For an example, see [Exercise 1: Using the K-Means Algorithm Provided
|
245
245
|
# by Amazon SageMaker][3].
|
246
246
|
#
|
247
|
+
# If any of the models hosted at this endpoint get model data from an
|
248
|
+
# Amazon S3 location, Amazon SageMaker uses AWS Security Token Service
|
249
|
+
# to download model artifacts from the S3 path you provided. AWS STS is
|
250
|
+
# activated in your IAM user account by default. If you previously
|
251
|
+
# deactivated AWS STS for a region, you need to reactivate AWS STS for
|
252
|
+
# that region. For more information, see [Activating and Deactivating
|
253
|
+
# AWS STS i an AWS Region][4] in the *AWS Identity and Access Management
|
254
|
+
# User Guide*.
|
255
|
+
#
|
247
256
|
#
|
248
257
|
#
|
249
258
|
# [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html
|
250
259
|
# [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html
|
251
260
|
# [3]: http://docs.aws.amazon.com/sagemaker/latest/dg/ex1.html
|
261
|
+
# [4]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
|
252
262
|
#
|
253
263
|
# @option params [required, String] :endpoint_name
|
254
264
|
# The name of the endpoint. The name must be unique within an AWS Region
|
@@ -402,15 +412,16 @@ module Aws::SageMaker
|
|
402
412
|
# sensitive, and must be between 1-32 characters.
|
403
413
|
#
|
404
414
|
# @option params [required, Types::HyperParameterTuningJobConfig] :hyper_parameter_tuning_job_config
|
405
|
-
# The object that describes the tuning
|
406
|
-
# strategy, metric used to evaluate training
|
407
|
-
# to search, and resource limits for the
|
415
|
+
# The HyperParameterTuningJobConfig object that describes the tuning
|
416
|
+
# job, including the search strategy, metric used to evaluate training
|
417
|
+
# jobs, ranges of parameters to search, and resource limits for the
|
418
|
+
# tuning job.
|
408
419
|
#
|
409
420
|
# @option params [required, Types::HyperParameterTrainingJobDefinition] :training_job_definition
|
410
|
-
# The object that describes the
|
411
|
-
#
|
412
|
-
#
|
413
|
-
# condition.
|
421
|
+
# The HyperParameterTrainingJobDefinition object that describes the
|
422
|
+
# training jobs that this tuning job launches, including static
|
423
|
+
# hyperparameters, input data configuration, output data configuration,
|
424
|
+
# resource configuration, and stopping condition.
|
414
425
|
#
|
415
426
|
# @option params [Array<Types::Tag>] :tags
|
416
427
|
# An array of key-value pairs. You can use tags to categorize your AWS
|
@@ -589,9 +600,9 @@ module Aws::SageMaker
|
|
589
600
|
# [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
|
590
601
|
#
|
591
602
|
# @option params [Types::VpcConfig] :vpc_config
|
592
|
-
# A object that specifies the VPC that you want your model to
|
593
|
-
# to. Control access to and from your model container by
|
594
|
-
# VPC. For more information, see host-vpc.
|
603
|
+
# A VpcConfig object that specifies the VPC that you want your model to
|
604
|
+
# connect to. Control access to and from your model container by
|
605
|
+
# configuring the VPC. For more information, see host-vpc.
|
595
606
|
#
|
596
607
|
# @return [Types::CreateModelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
597
608
|
#
|
@@ -1002,9 +1013,9 @@ module Aws::SageMaker
|
|
1002
1013
|
# specify an instance count greater than 1.
|
1003
1014
|
#
|
1004
1015
|
# @option params [Types::VpcConfig] :vpc_config
|
1005
|
-
# A object that specifies the VPC that you want your training
|
1006
|
-
# connect to. Control access to and from your training container
|
1007
|
-
# configuring the VPC. For more information, see train-vpc
|
1016
|
+
# A VpcConfig object that specifies the VPC that you want your training
|
1017
|
+
# job to connect to. Control access to and from your training container
|
1018
|
+
# by configuring the VPC. For more information, see train-vpc
|
1008
1019
|
#
|
1009
1020
|
# @option params [required, Types::StoppingCondition] :stopping_condition
|
1010
1021
|
# Sets a duration for training. Use this parameter to cap model training
|
@@ -1281,6 +1292,10 @@ module Aws::SageMaker
|
|
1281
1292
|
# resp.endpoint_config_name #=> String
|
1282
1293
|
# resp.production_variants #=> Array
|
1283
1294
|
# resp.production_variants[0].variant_name #=> String
|
1295
|
+
# resp.production_variants[0].deployed_images #=> Array
|
1296
|
+
# resp.production_variants[0].deployed_images[0].specified_image #=> String
|
1297
|
+
# resp.production_variants[0].deployed_images[0].resolved_image #=> String
|
1298
|
+
# resp.production_variants[0].deployed_images[0].resolution_time #=> Time
|
1284
1299
|
# resp.production_variants[0].current_weight #=> Float
|
1285
1300
|
# resp.production_variants[0].desired_weight #=> Float
|
1286
1301
|
# resp.production_variants[0].current_instance_count #=> Integer
|
@@ -1529,7 +1544,7 @@ module Aws::SageMaker
|
|
1529
1544
|
#
|
1530
1545
|
# resp.notebook_instance_arn #=> String
|
1531
1546
|
# resp.notebook_instance_name #=> String
|
1532
|
-
# resp.notebook_instance_status #=> String, one of "Pending", "InService", "Stopping", "Stopped", "Failed", "Deleting"
|
1547
|
+
# resp.notebook_instance_status #=> String, one of "Pending", "InService", "Stopping", "Stopped", "Failed", "Deleting", "Updating"
|
1533
1548
|
# resp.failure_reason #=> String
|
1534
1549
|
# resp.url #=> String
|
1535
1550
|
# resp.instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge"
|
@@ -1816,8 +1831,8 @@ module Aws::SageMaker
|
|
1816
1831
|
req.send_request(options)
|
1817
1832
|
end
|
1818
1833
|
|
1819
|
-
# Gets a list of objects that describe
|
1820
|
-
# launched in your account.
|
1834
|
+
# Gets a list of HyperParameterTuningJobSummary objects that describe
|
1835
|
+
# the hyperparameter tuning jobs launched in your account.
|
1821
1836
|
#
|
1822
1837
|
# @option params [String] :next_token
|
1823
1838
|
# If the result of the previous `ListHyperParameterTuningJobs` request
|
@@ -1825,7 +1840,7 @@ module Aws::SageMaker
|
|
1825
1840
|
# next set of tuning jobs, use the token in the next request.
|
1826
1841
|
#
|
1827
1842
|
# @option params [Integer] :max_results
|
1828
|
-
# The maximum number of tuning jobs to return.
|
1843
|
+
# The maximum number of tuning jobs to return. The default value is 10.
|
1829
1844
|
#
|
1830
1845
|
# @option params [String] :sort_by
|
1831
1846
|
# The field to sort results by. The default is `Name`.
|
@@ -1973,7 +1988,8 @@ module Aws::SageMaker
|
|
1973
1988
|
req.send_request(options)
|
1974
1989
|
end
|
1975
1990
|
|
1976
|
-
# Lists notebook instance lifestyle configurations created with the
|
1991
|
+
# Lists notebook instance lifestyle configurations created with the
|
1992
|
+
# CreateNotebookInstanceLifecycleConfig API.
|
1977
1993
|
#
|
1978
1994
|
# @option params [String] :next_token
|
1979
1995
|
# If the result of a `ListNotebookInstanceLifecycleConfigs` request was
|
@@ -2118,7 +2134,7 @@ module Aws::SageMaker
|
|
2118
2134
|
# creation_time_after: Time.now,
|
2119
2135
|
# last_modified_time_before: Time.now,
|
2120
2136
|
# last_modified_time_after: Time.now,
|
2121
|
-
# status_equals: "Pending", # accepts Pending, InService, Stopping, Stopped, Failed, Deleting
|
2137
|
+
# status_equals: "Pending", # accepts Pending, InService, Stopping, Stopped, Failed, Deleting, Updating
|
2122
2138
|
# notebook_instance_lifecycle_config_name_contains: "NotebookInstanceLifecycleConfigName",
|
2123
2139
|
# })
|
2124
2140
|
#
|
@@ -2128,7 +2144,7 @@ module Aws::SageMaker
|
|
2128
2144
|
# resp.notebook_instances #=> Array
|
2129
2145
|
# resp.notebook_instances[0].notebook_instance_name #=> String
|
2130
2146
|
# resp.notebook_instances[0].notebook_instance_arn #=> String
|
2131
|
-
# resp.notebook_instances[0].notebook_instance_status #=> String, one of "Pending", "InService", "Stopping", "Stopped", "Failed", "Deleting"
|
2147
|
+
# resp.notebook_instances[0].notebook_instance_status #=> String, one of "Pending", "InService", "Stopping", "Stopped", "Failed", "Deleting", "Updating"
|
2132
2148
|
# resp.notebook_instances[0].url #=> String
|
2133
2149
|
# resp.notebook_instances[0].instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge"
|
2134
2150
|
# resp.notebook_instances[0].creation_time #=> Time
|
@@ -2266,8 +2282,8 @@ module Aws::SageMaker
|
|
2266
2282
|
req.send_request(options)
|
2267
2283
|
end
|
2268
2284
|
|
2269
|
-
# Gets a list of objects that describe the training
|
2270
|
-
# hyperparameter tuning job launched.
|
2285
|
+
# Gets a list of TrainingJobSummary objects that describe the training
|
2286
|
+
# jobs that a hyperparameter tuning job launched.
|
2271
2287
|
#
|
2272
2288
|
# @option params [required, String] :hyper_parameter_tuning_job_name
|
2273
2289
|
# The name of the tuning job whose training jobs you want to list.
|
@@ -2279,7 +2295,8 @@ module Aws::SageMaker
|
|
2279
2295
|
# training jobs, use the token in the next request.
|
2280
2296
|
#
|
2281
2297
|
# @option params [Integer] :max_results
|
2282
|
-
# The maximum number of training jobs to return.
|
2298
|
+
# The maximum number of training jobs to return. The default value is
|
2299
|
+
# 10.
|
2283
2300
|
#
|
2284
2301
|
# @option params [String] :status_equals
|
2285
2302
|
# A filter that returns only training jobs with the specified status.
|
@@ -2287,6 +2304,9 @@ module Aws::SageMaker
|
|
2287
2304
|
# @option params [String] :sort_by
|
2288
2305
|
# The field to sort results by. The default is `Name`.
|
2289
2306
|
#
|
2307
|
+
# If the value of this field is `FinalObjectiveMetricValue`, any
|
2308
|
+
# training jobs that did not return an objective metric are not listed.
|
2309
|
+
#
|
2290
2310
|
# @option params [String] :sort_order
|
2291
2311
|
# The sort order for results. The default is `Ascending`.
|
2292
2312
|
#
|
@@ -2462,6 +2482,11 @@ module Aws::SageMaker
|
|
2462
2482
|
# to `InService`. To check the status of an endpoint, use the
|
2463
2483
|
# [DescribeEndpoint][1] API.
|
2464
2484
|
#
|
2485
|
+
# <note markdown="1"> You cannot update an endpoint with the current `EndpointConfig`. To
|
2486
|
+
# update an endpoint, you must create a new `EndpointConfig`.
|
2487
|
+
#
|
2488
|
+
# </note>
|
2489
|
+
#
|
2465
2490
|
#
|
2466
2491
|
#
|
2467
2492
|
# [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html
|
@@ -2588,7 +2613,7 @@ module Aws::SageMaker
|
|
2588
2613
|
end
|
2589
2614
|
|
2590
2615
|
# Updates a notebook instance lifecycle configuration created with the
|
2591
|
-
# API.
|
2616
|
+
# CreateNotebookInstanceLifecycleConfig API.
|
2592
2617
|
#
|
2593
2618
|
# @option params [required, String] :notebook_instance_lifecycle_config_name
|
2594
2619
|
# The name of the lifecycle configuration.
|
@@ -2641,7 +2666,7 @@ module Aws::SageMaker
|
|
2641
2666
|
params: params,
|
2642
2667
|
config: config)
|
2643
2668
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
2644
|
-
context[:gem_version] = '1.
|
2669
|
+
context[:gem_version] = '1.11.0'
|
2645
2670
|
Seahorse::Client::Request.new(handlers, context)
|
2646
2671
|
end
|
2647
2672
|
|
@@ -50,6 +50,8 @@ module Aws::SageMaker
|
|
50
50
|
DeleteNotebookInstanceLifecycleConfigInput = Shapes::StructureShape.new(name: 'DeleteNotebookInstanceLifecycleConfigInput')
|
51
51
|
DeleteTagsInput = Shapes::StructureShape.new(name: 'DeleteTagsInput')
|
52
52
|
DeleteTagsOutput = Shapes::StructureShape.new(name: 'DeleteTagsOutput')
|
53
|
+
DeployedImage = Shapes::StructureShape.new(name: 'DeployedImage')
|
54
|
+
DeployedImages = Shapes::ListShape.new(name: 'DeployedImages')
|
53
55
|
DescribeEndpointConfigInput = Shapes::StructureShape.new(name: 'DescribeEndpointConfigInput')
|
54
56
|
DescribeEndpointConfigOutput = Shapes::StructureShape.new(name: 'DescribeEndpointConfigOutput')
|
55
57
|
DescribeEndpointInput = Shapes::StructureShape.new(name: 'DescribeEndpointInput')
|
@@ -378,6 +380,13 @@ module Aws::SageMaker
|
|
378
380
|
|
379
381
|
DeleteTagsOutput.struct_class = Types::DeleteTagsOutput
|
380
382
|
|
383
|
+
DeployedImage.add_member(:specified_image, Shapes::ShapeRef.new(shape: Image, location_name: "SpecifiedImage"))
|
384
|
+
DeployedImage.add_member(:resolved_image, Shapes::ShapeRef.new(shape: Image, location_name: "ResolvedImage"))
|
385
|
+
DeployedImage.add_member(:resolution_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ResolutionTime"))
|
386
|
+
DeployedImage.struct_class = Types::DeployedImage
|
387
|
+
|
388
|
+
DeployedImages.member = Shapes::ShapeRef.new(shape: DeployedImage)
|
389
|
+
|
381
390
|
DescribeEndpointConfigInput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
|
382
391
|
DescribeEndpointConfigInput.struct_class = Types::DescribeEndpointConfigInput
|
383
392
|
|
@@ -774,6 +783,7 @@ module Aws::SageMaker
|
|
774
783
|
ProductionVariantList.member = Shapes::ShapeRef.new(shape: ProductionVariant)
|
775
784
|
|
776
785
|
ProductionVariantSummary.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
|
786
|
+
ProductionVariantSummary.add_member(:deployed_images, Shapes::ShapeRef.new(shape: DeployedImages, location_name: "DeployedImages"))
|
777
787
|
ProductionVariantSummary.add_member(:current_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "CurrentWeight"))
|
778
788
|
ProductionVariantSummary.add_member(:desired_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "DesiredWeight"))
|
779
789
|
ProductionVariantSummary.add_member(:current_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "CurrentInstanceCount"))
|
@@ -227,8 +227,10 @@ module Aws::SageMaker
|
|
227
227
|
# The Amazon EC2 Container Registry (Amazon ECR) path where inference
|
228
228
|
# code is stored. If you are using your own custom algorithm instead
|
229
229
|
# of an algorithm provided by Amazon SageMaker, the inference code
|
230
|
-
# must meet Amazon SageMaker requirements.
|
231
|
-
# [
|
230
|
+
# must meet Amazon SageMaker requirements. Amazon SageMaker supports
|
231
|
+
# both `registry/repository[:tag]` and `registry/repository[@digest]`
|
232
|
+
# image path formats. For more information, see [Using Your Own
|
233
|
+
# Algorithms with Amazon SageMaker][1]
|
232
234
|
#
|
233
235
|
#
|
234
236
|
#
|
@@ -239,6 +241,18 @@ module Aws::SageMaker
|
|
239
241
|
# The S3 path where the model artifacts, which result from model
|
240
242
|
# training, are stored. This path must point to a single gzip
|
241
243
|
# compressed tar archive (.tar.gz suffix).
|
244
|
+
#
|
245
|
+
# If you provide a value for this parameter, Amazon SageMaker uses AWS
|
246
|
+
# Security Token Service to download model artifacts from the S3 path
|
247
|
+
# you provide. AWS STS is activated in your IAM user account by
|
248
|
+
# default. If you previously deactivated AWS STS for a region, you
|
249
|
+
# need to reactivate AWS STS for that region. For more information,
|
250
|
+
# see [Activating and Deactivating AWS STS i an AWS Region][1] in the
|
251
|
+
# *AWS Identity and Access Management User Guide*.
|
252
|
+
#
|
253
|
+
#
|
254
|
+
#
|
255
|
+
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
|
242
256
|
# @return [String]
|
243
257
|
#
|
244
258
|
# @!attribute [rw] environment
|
@@ -526,16 +540,17 @@ module Aws::SageMaker
|
|
526
540
|
# @return [String]
|
527
541
|
#
|
528
542
|
# @!attribute [rw] hyper_parameter_tuning_job_config
|
529
|
-
# The object that describes the tuning
|
530
|
-
# strategy, metric used to evaluate training
|
531
|
-
# parameters to search, and resource limits for the
|
543
|
+
# The HyperParameterTuningJobConfig object that describes the tuning
|
544
|
+
# job, including the search strategy, metric used to evaluate training
|
545
|
+
# jobs, ranges of parameters to search, and resource limits for the
|
546
|
+
# tuning job.
|
532
547
|
# @return [Types::HyperParameterTuningJobConfig]
|
533
548
|
#
|
534
549
|
# @!attribute [rw] training_job_definition
|
535
|
-
# The object that describes the
|
536
|
-
# launches, including static
|
537
|
-
#
|
538
|
-
# and stopping condition.
|
550
|
+
# The HyperParameterTrainingJobDefinition object that describes the
|
551
|
+
# training jobs that this tuning job launches, including static
|
552
|
+
# hyperparameters, input data configuration, output data
|
553
|
+
# configuration, resource configuration, and stopping condition.
|
539
554
|
# @return [Types::HyperParameterTrainingJobDefinition]
|
540
555
|
#
|
541
556
|
# @!attribute [rw] tags
|
@@ -634,9 +649,9 @@ module Aws::SageMaker
|
|
634
649
|
# @return [Array<Types::Tag>]
|
635
650
|
#
|
636
651
|
# @!attribute [rw] vpc_config
|
637
|
-
# A object that specifies the VPC that you want your model
|
638
|
-
# to. Control access to and from your model container by
|
639
|
-
# the VPC. For more information, see host-vpc.
|
652
|
+
# A VpcConfig object that specifies the VPC that you want your model
|
653
|
+
# to connect to. Control access to and from your model container by
|
654
|
+
# configuring the VPC. For more information, see host-vpc.
|
640
655
|
# @return [Types::VpcConfig]
|
641
656
|
#
|
642
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelInput AWS API Documentation
|
@@ -1002,9 +1017,10 @@ module Aws::SageMaker
|
|
1002
1017
|
# @return [Types::ResourceConfig]
|
1003
1018
|
#
|
1004
1019
|
# @!attribute [rw] vpc_config
|
1005
|
-
# A object that specifies the VPC that you want your
|
1006
|
-
# connect to. Control access to and from your training
|
1007
|
-
# configuring the VPC. For more information, see
|
1020
|
+
# A VpcConfig object that specifies the VPC that you want your
|
1021
|
+
# training job to connect to. Control access to and from your training
|
1022
|
+
# container by configuring the VPC. For more information, see
|
1023
|
+
# train-vpc
|
1008
1024
|
# @return [Types::VpcConfig]
|
1009
1025
|
#
|
1010
1026
|
# @!attribute [rw] stopping_condition
|
@@ -1202,6 +1218,44 @@ module Aws::SageMaker
|
|
1202
1218
|
#
|
1203
1219
|
class DeleteTagsOutput < Aws::EmptyStructure; end
|
1204
1220
|
|
1221
|
+
# Gets the Amazon EC2 Container Registry path of the docker image of the
|
1222
|
+
# model that is hosted in this ProductionVariant.
|
1223
|
+
#
|
1224
|
+
# If you used the `registry/repository[:tag]` form to to specify the
|
1225
|
+
# image path of the primary container when you created the model hosted
|
1226
|
+
# in this `ProductionVariant`, the path resolves to a path of the form
|
1227
|
+
# `registry/repository[@digest]`. A digest is a hash value that
|
1228
|
+
# identifies a specific version of an image. For information about
|
1229
|
+
# Amazon ECR paths, see [Pulling an Image][1] in the *Amazon ECR User
|
1230
|
+
# Guide*.
|
1231
|
+
#
|
1232
|
+
#
|
1233
|
+
#
|
1234
|
+
# [1]: http://docs.aws.amazon.com//AmazonECR/latest/userguide/docker-pull-ecr-image.html
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] specified_image
|
1237
|
+
# The image path you specified when you created the model.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] resolved_image
|
1241
|
+
# The specific digest path of the image hosted in this
|
1242
|
+
# `ProductionVariant`.
|
1243
|
+
# @return [String]
|
1244
|
+
#
|
1245
|
+
# @!attribute [rw] resolution_time
|
1246
|
+
# The date and time when the image path for the model resolved to the
|
1247
|
+
# `ResolvedImage`
|
1248
|
+
# @return [Time]
|
1249
|
+
#
|
1250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeployedImage AWS API Documentation
|
1251
|
+
#
|
1252
|
+
class DeployedImage < Struct.new(
|
1253
|
+
:specified_image,
|
1254
|
+
:resolved_image,
|
1255
|
+
:resolution_time)
|
1256
|
+
include Aws::Structure
|
1257
|
+
end
|
1258
|
+
|
1205
1259
|
# @note When making an API call, you may pass DescribeEndpointConfigInput
|
1206
1260
|
# data as a hash:
|
1207
1261
|
#
|
@@ -1285,8 +1339,8 @@ module Aws::SageMaker
|
|
1285
1339
|
# @return [String]
|
1286
1340
|
#
|
1287
1341
|
# @!attribute [rw] production_variants
|
1288
|
-
# An array of
|
1289
|
-
# behind this endpoint.
|
1342
|
+
# An array of ProductionVariantSummary objects, one for each model
|
1343
|
+
# hosted behind this endpoint.
|
1290
1344
|
# @return [Array<Types::ProductionVariantSummary>]
|
1291
1345
|
#
|
1292
1346
|
# @!attribute [rw] endpoint_status
|
@@ -1346,12 +1400,13 @@ module Aws::SageMaker
|
|
1346
1400
|
# @return [String]
|
1347
1401
|
#
|
1348
1402
|
# @!attribute [rw] hyper_parameter_tuning_job_config
|
1349
|
-
# The object that specifies the
|
1403
|
+
# The HyperParameterTuningJobConfig object that specifies the
|
1404
|
+
# configuration of the tuning job.
|
1350
1405
|
# @return [Types::HyperParameterTuningJobConfig]
|
1351
1406
|
#
|
1352
1407
|
# @!attribute [rw] training_job_definition
|
1353
|
-
# The object that specifies the
|
1354
|
-
# this tuning job launches.
|
1408
|
+
# The HyperParameterTrainingJobDefinition object that specifies the
|
1409
|
+
# definition of the training jobs that this tuning job launches.
|
1355
1410
|
# @return [Types::HyperParameterTrainingJobDefinition]
|
1356
1411
|
#
|
1357
1412
|
# @!attribute [rw] hyper_parameter_tuning_job_status
|
@@ -1372,19 +1427,19 @@ module Aws::SageMaker
|
|
1372
1427
|
# @return [Time]
|
1373
1428
|
#
|
1374
1429
|
# @!attribute [rw] training_job_status_counters
|
1375
|
-
# The object that specifies the number of
|
1376
|
-
# by status, that this tuning job launched.
|
1430
|
+
# The TrainingJobStatusCounters object that specifies the number of
|
1431
|
+
# training jobs, categorized by status, that this tuning job launched.
|
1377
1432
|
# @return [Types::TrainingJobStatusCounters]
|
1378
1433
|
#
|
1379
1434
|
# @!attribute [rw] objective_status_counters
|
1380
|
-
# The object that specifies the number of
|
1381
|
-
# by the status of their final objective
|
1382
|
-
# launched.
|
1435
|
+
# The ObjectiveStatusCounters object that specifies the number of
|
1436
|
+
# training jobs, categorized by the status of their final objective
|
1437
|
+
# metric, that this tuning job launched.
|
1383
1438
|
# @return [Types::ObjectiveStatusCounters]
|
1384
1439
|
#
|
1385
1440
|
# @!attribute [rw] best_training_job
|
1386
|
-
# A object that describes the training job that
|
1387
|
-
# best current .
|
1441
|
+
# A TrainingJobSummary object that describes the training job that
|
1442
|
+
# completed with the best current HyperParameterTuningJobObjective.
|
1388
1443
|
# @return [Types::HyperParameterTrainingJobSummary]
|
1389
1444
|
#
|
1390
1445
|
# @!attribute [rw] failure_reason
|
@@ -1443,8 +1498,8 @@ module Aws::SageMaker
|
|
1443
1498
|
# @return [String]
|
1444
1499
|
#
|
1445
1500
|
# @!attribute [rw] vpc_config
|
1446
|
-
# A object that specifies the VPC that this model has access
|
1447
|
-
# more information, see host-vpc
|
1501
|
+
# A VpcConfig object that specifies the VPC that this model has access
|
1502
|
+
# to. For more information, see host-vpc
|
1448
1503
|
# @return [Types::VpcConfig]
|
1449
1504
|
#
|
1450
1505
|
# @!attribute [rw] creation_time
|
@@ -1739,8 +1794,8 @@ module Aws::SageMaker
|
|
1739
1794
|
# @return [Types::ResourceConfig]
|
1740
1795
|
#
|
1741
1796
|
# @!attribute [rw] vpc_config
|
1742
|
-
# A object that specifies the VPC that this training job has
|
1743
|
-
# to. For more information, see train-vpc.
|
1797
|
+
# A VpcConfig object that specifies the VPC that this training job has
|
1798
|
+
# access to. For more information, see train-vpc.
|
1744
1799
|
# @return [Types::VpcConfig]
|
1745
1800
|
#
|
1746
1801
|
# @!attribute [rw] stopping_condition
|
@@ -1960,8 +2015,8 @@ module Aws::SageMaker
|
|
1960
2015
|
# @return [String]
|
1961
2016
|
#
|
1962
2017
|
# @!attribute [rw] metric_definitions
|
1963
|
-
# An array of objects that specify the metrics that
|
1964
|
-
# emits.
|
2018
|
+
# An array of MetricDefinition objects that specify the metrics that
|
2019
|
+
# the algorithm emits.
|
1965
2020
|
# @return [Array<Types::MetricDefinition>]
|
1966
2021
|
#
|
1967
2022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterAlgorithmSpecification AWS API Documentation
|
@@ -2033,8 +2088,8 @@ module Aws::SageMaker
|
|
2033
2088
|
# @return [Hash<String,String>]
|
2034
2089
|
#
|
2035
2090
|
# @!attribute [rw] algorithm_specification
|
2036
|
-
# The object that specifies the
|
2037
|
-
# that the tuning job launches.
|
2091
|
+
# The HyperParameterAlgorithmSpecification object that specifies the
|
2092
|
+
# algorithm to use for the training jobs that the tuning job launches.
|
2038
2093
|
# @return [Types::HyperParameterAlgorithmSpecification]
|
2039
2094
|
#
|
2040
2095
|
# @!attribute [rw] role_arn
|
@@ -2043,15 +2098,15 @@ module Aws::SageMaker
|
|
2043
2098
|
# @return [String]
|
2044
2099
|
#
|
2045
2100
|
# @!attribute [rw] input_data_config
|
2046
|
-
# An array of objects that specify the input for the training
|
2047
|
-
# that the tuning job launches.
|
2101
|
+
# An array of Channel objects that specify the input for the training
|
2102
|
+
# jobs that the tuning job launches.
|
2048
2103
|
# @return [Array<Types::Channel>]
|
2049
2104
|
#
|
2050
2105
|
# @!attribute [rw] vpc_config
|
2051
|
-
# The object that specifies the VPC that you want the
|
2052
|
-
# that this hyperparameter tuning job launches to
|
2053
|
-
# access to and from your training container by
|
2054
|
-
# For more information, see train-vpc.
|
2106
|
+
# The VpcConfig object that specifies the VPC that you want the
|
2107
|
+
# training jobs that this hyperparameter tuning job launches to
|
2108
|
+
# connect to. Control access to and from your training container by
|
2109
|
+
# configuring the VPC. For more information, see train-vpc.
|
2055
2110
|
# @return [Types::VpcConfig]
|
2056
2111
|
#
|
2057
2112
|
# @!attribute [rw] output_data_config
|
@@ -2130,12 +2185,13 @@ module Aws::SageMaker
|
|
2130
2185
|
# @return [Hash<String,String>]
|
2131
2186
|
#
|
2132
2187
|
# @!attribute [rw] failure_reason
|
2133
|
-
# The reason that the
|
2188
|
+
# The reason that the training job failed.
|
2134
2189
|
# @return [String]
|
2135
2190
|
#
|
2136
2191
|
# @!attribute [rw] final_hyper_parameter_tuning_job_objective_metric
|
2137
|
-
# The object that
|
2138
|
-
#
|
2192
|
+
# The FinalHyperParameterTuningJobObjectiveMetric object that
|
2193
|
+
# specifies the value of the objective metric of the tuning job that
|
2194
|
+
# launched this training job.
|
2139
2195
|
# @return [Types::FinalHyperParameterTuningJobObjectiveMetric]
|
2140
2196
|
#
|
2141
2197
|
# @!attribute [rw] objective_status
|
@@ -2223,17 +2279,18 @@ module Aws::SageMaker
|
|
2223
2279
|
# @return [String]
|
2224
2280
|
#
|
2225
2281
|
# @!attribute [rw] hyper_parameter_tuning_job_objective
|
2226
|
-
# The object that specifies the
|
2282
|
+
# The HyperParameterTuningJobObjective object that specifies the
|
2283
|
+
# objective metric for this tuning job.
|
2227
2284
|
# @return [Types::HyperParameterTuningJobObjective]
|
2228
2285
|
#
|
2229
2286
|
# @!attribute [rw] resource_limits
|
2230
|
-
# The object that specifies the maximum number of
|
2231
|
-
# parallel training jobs for this tuning job.
|
2287
|
+
# The ResourceLimits object that specifies the maximum number of
|
2288
|
+
# training jobs and parallel training jobs for this tuning job.
|
2232
2289
|
# @return [Types::ResourceLimits]
|
2233
2290
|
#
|
2234
2291
|
# @!attribute [rw] parameter_ranges
|
2235
|
-
# The object that specifies the ranges of
|
2236
|
-
# tuning job searches.
|
2292
|
+
# The ParameterRanges object that specifies the ranges of
|
2293
|
+
# hyperparameters that this tuning job searches.
|
2237
2294
|
# @return [Types::ParameterRanges]
|
2238
2295
|
#
|
2239
2296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobConfig AWS API Documentation
|
@@ -2309,18 +2366,20 @@ module Aws::SageMaker
|
|
2309
2366
|
# @return [Time]
|
2310
2367
|
#
|
2311
2368
|
# @!attribute [rw] training_job_status_counters
|
2312
|
-
# The object that specifies the numbers of
|
2313
|
-
# by status, that this tuning job launched.
|
2369
|
+
# The TrainingJobStatusCounters object that specifies the numbers of
|
2370
|
+
# training jobs, categorized by status, that this tuning job launched.
|
2314
2371
|
# @return [Types::TrainingJobStatusCounters]
|
2315
2372
|
#
|
2316
2373
|
# @!attribute [rw] objective_status_counters
|
2317
|
-
# The object that specifies the numbers of
|
2318
|
-
# by objective metric status, that this
|
2374
|
+
# The ObjectiveStatusCounters object that specifies the numbers of
|
2375
|
+
# training jobs, categorized by objective metric status, that this
|
2376
|
+
# tuning job launched.
|
2319
2377
|
# @return [Types::ObjectiveStatusCounters]
|
2320
2378
|
#
|
2321
2379
|
# @!attribute [rw] resource_limits
|
2322
|
-
# The object that specifies the maximum number of
|
2323
|
-
# parallel training jobs allowed for this tuning
|
2380
|
+
# The ResourceLimits object that specifies the maximum number of
|
2381
|
+
# training jobs and parallel training jobs allowed for this tuning
|
2382
|
+
# job.
|
2324
2383
|
# @return [Types::ResourceLimits]
|
2325
2384
|
#
|
2326
2385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobSummary AWS API Documentation
|
@@ -2570,7 +2629,8 @@ module Aws::SageMaker
|
|
2570
2629
|
# @return [String]
|
2571
2630
|
#
|
2572
2631
|
# @!attribute [rw] max_results
|
2573
|
-
# The maximum number of tuning jobs to return.
|
2632
|
+
# The maximum number of tuning jobs to return. The default value is
|
2633
|
+
# 10.
|
2574
2634
|
# @return [Integer]
|
2575
2635
|
#
|
2576
2636
|
# @!attribute [rw] sort_by
|
@@ -2627,8 +2687,9 @@ module Aws::SageMaker
|
|
2627
2687
|
end
|
2628
2688
|
|
2629
2689
|
# @!attribute [rw] hyper_parameter_tuning_job_summaries
|
2630
|
-
# A list of objects that describe the
|
2631
|
-
# `ListHyperParameterTuningJobs` request
|
2690
|
+
# A list of HyperParameterTuningJobSummary objects that describe the
|
2691
|
+
# tuning jobs that the `ListHyperParameterTuningJobs` request
|
2692
|
+
# returned.
|
2632
2693
|
# @return [Array<Types::HyperParameterTuningJobSummary>]
|
2633
2694
|
#
|
2634
2695
|
# @!attribute [rw] next_token
|
@@ -2829,7 +2890,7 @@ module Aws::SageMaker
|
|
2829
2890
|
# creation_time_after: Time.now,
|
2830
2891
|
# last_modified_time_before: Time.now,
|
2831
2892
|
# last_modified_time_after: Time.now,
|
2832
|
-
# status_equals: "Pending", # accepts Pending, InService, Stopping, Stopped, Failed, Deleting
|
2893
|
+
# status_equals: "Pending", # accepts Pending, InService, Stopping, Stopped, Failed, Deleting, Updating
|
2833
2894
|
# notebook_instance_lifecycle_config_name_contains: "NotebookInstanceLifecycleConfigName",
|
2834
2895
|
# }
|
2835
2896
|
#
|
@@ -3006,7 +3067,8 @@ module Aws::SageMaker
|
|
3006
3067
|
# @return [String]
|
3007
3068
|
#
|
3008
3069
|
# @!attribute [rw] max_results
|
3009
|
-
# The maximum number of training jobs to return.
|
3070
|
+
# The maximum number of training jobs to return. The default value is
|
3071
|
+
# 10.
|
3010
3072
|
# @return [Integer]
|
3011
3073
|
#
|
3012
3074
|
# @!attribute [rw] status_equals
|
@@ -3015,6 +3077,10 @@ module Aws::SageMaker
|
|
3015
3077
|
#
|
3016
3078
|
# @!attribute [rw] sort_by
|
3017
3079
|
# The field to sort results by. The default is `Name`.
|
3080
|
+
#
|
3081
|
+
# If the value of this field is `FinalObjectiveMetricValue`, any
|
3082
|
+
# training jobs that did not return an objective metric are not
|
3083
|
+
# listed.
|
3018
3084
|
# @return [String]
|
3019
3085
|
#
|
3020
3086
|
# @!attribute [rw] sort_order
|
@@ -3034,8 +3100,9 @@ module Aws::SageMaker
|
|
3034
3100
|
end
|
3035
3101
|
|
3036
3102
|
# @!attribute [rw] training_job_summaries
|
3037
|
-
# A list of objects that describe the training jobs
|
3038
|
-
# `ListTrainingJobsForHyperParameterTuningJob` request
|
3103
|
+
# A list of TrainingJobSummary objects that describe the training jobs
|
3104
|
+
# that the `ListTrainingJobsForHyperParameterTuningJob` request
|
3105
|
+
# returned.
|
3039
3106
|
# @return [Array<Types::HyperParameterTrainingJobSummary>]
|
3040
3107
|
#
|
3041
3108
|
# @!attribute [rw] next_token
|
@@ -3171,7 +3238,8 @@ module Aws::SageMaker
|
|
3171
3238
|
# @!attribute [rw] regex
|
3172
3239
|
# A regular expression that searches the output of a training job and
|
3173
3240
|
# gets the value of the metric. For more information about using
|
3174
|
-
# regular expressions to define metrics, see
|
3241
|
+
# regular expressions to define metrics, see
|
3242
|
+
# automatic-model-tuning-define-metrics.
|
3175
3243
|
# @return [String]
|
3176
3244
|
#
|
3177
3245
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MetricDefinition AWS API Documentation
|
@@ -3538,6 +3606,12 @@ module Aws::SageMaker
|
|
3538
3606
|
# The name of the variant.
|
3539
3607
|
# @return [String]
|
3540
3608
|
#
|
3609
|
+
# @!attribute [rw] deployed_images
|
3610
|
+
# An array of `DeployedImage` objects that specify the Amazon EC2
|
3611
|
+
# Container Registry paths of the inference images deployed on
|
3612
|
+
# instances of this `ProductionVariant`.
|
3613
|
+
# @return [Array<Types::DeployedImage>]
|
3614
|
+
#
|
3541
3615
|
# @!attribute [rw] current_weight
|
3542
3616
|
# The weight associated with the variant.
|
3543
3617
|
# @return [Float]
|
@@ -3560,6 +3634,7 @@ module Aws::SageMaker
|
|
3560
3634
|
#
|
3561
3635
|
class ProductionVariantSummary < Struct.new(
|
3562
3636
|
:variant_name,
|
3637
|
+
:deployed_images,
|
3563
3638
|
:current_weight,
|
3564
3639
|
:desired_weight,
|
3565
3640
|
:current_instance_count,
|
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.11.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-
|
11
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|