aws-sdk-sagemaker 1.149.0 → 1.150.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +17 -3
- data/lib/aws-sdk-sagemaker/client_api.rb +10 -0
- data/lib/aws-sdk-sagemaker/types.rb +29 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- 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: ecf91634251778d678474df27e63649b77f77c082513cbbceec3089fc87efa5c
|
|
4
|
+
data.tar.gz: a3e56bb49e16979263812fe1d66e4e98597f82e7cbb2069da854580eeefb7848
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b39ea0607e02329a61dba49d04eeae9130f9973b2883806803ff4236fcb2558350bbd7645a2b6fb2a9892c26cba603c94277f5b2dc20b3695eb7f522c77d2c7d
|
|
7
|
+
data.tar.gz: 041b28179f96e58b990904821545b9f2c403e8942b2bb83e1a9ac27a88f23cceab926fc934c06d231ee34449121614a9867f63f0f7526e4596398bf01c3e41e1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.150.0 (2022-10-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This change allows customers to provide a custom entrypoint script for the docker container to be run while executing training jobs, and provide custom arguments to the entrypoint script.
|
|
8
|
+
|
|
4
9
|
1.149.0 (2022-10-26)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.150.0
|
|
@@ -6035,8 +6035,8 @@ module Aws::SageMaker
|
|
|
6035
6035
|
# use of security-sensitive credentials are detected, SageMaker will
|
|
6036
6036
|
# reject your training job request and return an exception error.
|
|
6037
6037
|
#
|
|
6038
|
-
# * `InputDataConfig` - Describes the
|
|
6039
|
-
# S3, EFS, or FSx location where it is stored.
|
|
6038
|
+
# * `InputDataConfig` - Describes the input required by the training job
|
|
6039
|
+
# and the Amazon S3, EFS, or FSx location where it is stored.
|
|
6040
6040
|
#
|
|
6041
6041
|
# * `OutputDataConfig` - Identifies the Amazon S3 bucket where you want
|
|
6042
6042
|
# SageMaker to save the results of model training.
|
|
@@ -6297,6 +6297,8 @@ module Aws::SageMaker
|
|
|
6297
6297
|
# },
|
|
6298
6298
|
# ],
|
|
6299
6299
|
# enable_sage_maker_metrics_time_series: false,
|
|
6300
|
+
# container_entrypoint: ["TrainingContainerEntrypointString"],
|
|
6301
|
+
# container_arguments: ["TrainingContainerArgument"],
|
|
6300
6302
|
# },
|
|
6301
6303
|
# role_arn: "RoleArn", # required
|
|
6302
6304
|
# input_data_config: [
|
|
@@ -11882,6 +11884,10 @@ module Aws::SageMaker
|
|
|
11882
11884
|
# resp.algorithm_specification.metric_definitions[0].name #=> String
|
|
11883
11885
|
# resp.algorithm_specification.metric_definitions[0].regex #=> String
|
|
11884
11886
|
# resp.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
|
|
11887
|
+
# resp.algorithm_specification.container_entrypoint #=> Array
|
|
11888
|
+
# resp.algorithm_specification.container_entrypoint[0] #=> String
|
|
11889
|
+
# resp.algorithm_specification.container_arguments #=> Array
|
|
11890
|
+
# resp.algorithm_specification.container_arguments[0] #=> String
|
|
11885
11891
|
# resp.role_arn #=> String
|
|
11886
11892
|
# resp.input_data_config #=> Array
|
|
11887
11893
|
# resp.input_data_config[0].channel_name #=> String
|
|
@@ -17600,6 +17606,10 @@ module Aws::SageMaker
|
|
|
17600
17606
|
# resp.results[0].training_job.algorithm_specification.metric_definitions[0].name #=> String
|
|
17601
17607
|
# resp.results[0].training_job.algorithm_specification.metric_definitions[0].regex #=> String
|
|
17602
17608
|
# resp.results[0].training_job.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
|
|
17609
|
+
# resp.results[0].training_job.algorithm_specification.container_entrypoint #=> Array
|
|
17610
|
+
# resp.results[0].training_job.algorithm_specification.container_entrypoint[0] #=> String
|
|
17611
|
+
# resp.results[0].training_job.algorithm_specification.container_arguments #=> Array
|
|
17612
|
+
# resp.results[0].training_job.algorithm_specification.container_arguments[0] #=> String
|
|
17603
17613
|
# resp.results[0].training_job.role_arn #=> String
|
|
17604
17614
|
# resp.results[0].training_job.input_data_config #=> Array
|
|
17605
17615
|
# resp.results[0].training_job.input_data_config[0].channel_name #=> String
|
|
@@ -17796,6 +17806,10 @@ module Aws::SageMaker
|
|
|
17796
17806
|
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.metric_definitions[0].name #=> String
|
|
17797
17807
|
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.metric_definitions[0].regex #=> String
|
|
17798
17808
|
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
|
|
17809
|
+
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_entrypoint #=> Array
|
|
17810
|
+
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_entrypoint[0] #=> String
|
|
17811
|
+
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_arguments #=> Array
|
|
17812
|
+
# resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_arguments[0] #=> String
|
|
17799
17813
|
# resp.results[0].trial_component.source_detail.training_job.role_arn #=> String
|
|
17800
17814
|
# resp.results[0].trial_component.source_detail.training_job.input_data_config #=> Array
|
|
17801
17815
|
# resp.results[0].trial_component.source_detail.training_job.input_data_config[0].channel_name #=> String
|
|
@@ -21078,7 +21092,7 @@ module Aws::SageMaker
|
|
|
21078
21092
|
params: params,
|
|
21079
21093
|
config: config)
|
|
21080
21094
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
21081
|
-
context[:gem_version] = '1.
|
|
21095
|
+
context[:gem_version] = '1.150.0'
|
|
21082
21096
|
Seahorse::Client::Request.new(handlers, context)
|
|
21083
21097
|
end
|
|
21084
21098
|
|
|
@@ -1591,6 +1591,10 @@ module Aws::SageMaker
|
|
|
1591
1591
|
TrafficRoutingConfig = Shapes::StructureShape.new(name: 'TrafficRoutingConfig')
|
|
1592
1592
|
TrafficRoutingConfigType = Shapes::StringShape.new(name: 'TrafficRoutingConfigType')
|
|
1593
1593
|
TrafficType = Shapes::StringShape.new(name: 'TrafficType')
|
|
1594
|
+
TrainingContainerArgument = Shapes::StringShape.new(name: 'TrainingContainerArgument')
|
|
1595
|
+
TrainingContainerArguments = Shapes::ListShape.new(name: 'TrainingContainerArguments')
|
|
1596
|
+
TrainingContainerEntrypoint = Shapes::ListShape.new(name: 'TrainingContainerEntrypoint')
|
|
1597
|
+
TrainingContainerEntrypointString = Shapes::StringShape.new(name: 'TrainingContainerEntrypointString')
|
|
1594
1598
|
TrainingEnvironmentKey = Shapes::StringShape.new(name: 'TrainingEnvironmentKey')
|
|
1595
1599
|
TrainingEnvironmentMap = Shapes::MapShape.new(name: 'TrainingEnvironmentMap')
|
|
1596
1600
|
TrainingEnvironmentValue = Shapes::StringShape.new(name: 'TrainingEnvironmentValue')
|
|
@@ -1823,6 +1827,8 @@ module Aws::SageMaker
|
|
|
1823
1827
|
AlgorithmSpecification.add_member(:training_input_mode, Shapes::ShapeRef.new(shape: TrainingInputMode, required: true, location_name: "TrainingInputMode"))
|
|
1824
1828
|
AlgorithmSpecification.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitionList, location_name: "MetricDefinitions"))
|
|
1825
1829
|
AlgorithmSpecification.add_member(:enable_sage_maker_metrics_time_series, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableSageMakerMetricsTimeSeries"))
|
|
1830
|
+
AlgorithmSpecification.add_member(:container_entrypoint, Shapes::ShapeRef.new(shape: TrainingContainerEntrypoint, location_name: "ContainerEntrypoint"))
|
|
1831
|
+
AlgorithmSpecification.add_member(:container_arguments, Shapes::ShapeRef.new(shape: TrainingContainerArguments, location_name: "ContainerArguments"))
|
|
1826
1832
|
AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
|
|
1827
1833
|
|
|
1828
1834
|
AlgorithmStatusDetails.add_member(:validation_statuses, Shapes::ShapeRef.new(shape: AlgorithmStatusItemList, location_name: "ValidationStatuses"))
|
|
@@ -7112,6 +7118,10 @@ module Aws::SageMaker
|
|
|
7112
7118
|
TrafficRoutingConfig.add_member(:linear_step_size, Shapes::ShapeRef.new(shape: CapacitySize, location_name: "LinearStepSize"))
|
|
7113
7119
|
TrafficRoutingConfig.struct_class = Types::TrafficRoutingConfig
|
|
7114
7120
|
|
|
7121
|
+
TrainingContainerArguments.member = Shapes::ShapeRef.new(shape: TrainingContainerArgument)
|
|
7122
|
+
|
|
7123
|
+
TrainingContainerEntrypoint.member = Shapes::ShapeRef.new(shape: TrainingContainerEntrypointString)
|
|
7124
|
+
|
|
7115
7125
|
TrainingEnvironmentMap.key = Shapes::ShapeRef.new(shape: TrainingEnvironmentKey)
|
|
7116
7126
|
TrainingEnvironmentMap.value = Shapes::ShapeRef.new(shape: TrainingEnvironmentValue)
|
|
7117
7127
|
|
|
@@ -351,6 +351,8 @@ module Aws::SageMaker
|
|
|
351
351
|
# },
|
|
352
352
|
# ],
|
|
353
353
|
# enable_sage_maker_metrics_time_series: false,
|
|
354
|
+
# container_entrypoint: ["TrainingContainerEntrypointString"],
|
|
355
|
+
# container_arguments: ["TrainingContainerArgument"],
|
|
354
356
|
# }
|
|
355
357
|
#
|
|
356
358
|
# @!attribute [rw] training_image
|
|
@@ -473,6 +475,28 @@ module Aws::SageMaker
|
|
|
473
475
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html
|
|
474
476
|
# @return [Boolean]
|
|
475
477
|
#
|
|
478
|
+
# @!attribute [rw] container_entrypoint
|
|
479
|
+
# The [entrypoint script for a Docker container][1] used to run a
|
|
480
|
+
# training job. This script takes precedence over the default train
|
|
481
|
+
# processing instructions. See [How Amazon SageMaker Runs Your
|
|
482
|
+
# Training Image][2] for more information.
|
|
483
|
+
#
|
|
484
|
+
#
|
|
485
|
+
#
|
|
486
|
+
# [1]: https://docs.docker.com/engine/reference/builder/
|
|
487
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
|
|
488
|
+
# @return [Array<String>]
|
|
489
|
+
#
|
|
490
|
+
# @!attribute [rw] container_arguments
|
|
491
|
+
# The arguments for a container used to run a training job. See [How
|
|
492
|
+
# Amazon SageMaker Runs Your Training Image][1] for additional
|
|
493
|
+
# information.
|
|
494
|
+
#
|
|
495
|
+
#
|
|
496
|
+
#
|
|
497
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
|
|
498
|
+
# @return [Array<String>]
|
|
499
|
+
#
|
|
476
500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlgorithmSpecification AWS API Documentation
|
|
477
501
|
#
|
|
478
502
|
class AlgorithmSpecification < Struct.new(
|
|
@@ -480,7 +504,9 @@ module Aws::SageMaker
|
|
|
480
504
|
:algorithm_name,
|
|
481
505
|
:training_input_mode,
|
|
482
506
|
:metric_definitions,
|
|
483
|
-
:enable_sage_maker_metrics_time_series
|
|
507
|
+
:enable_sage_maker_metrics_time_series,
|
|
508
|
+
:container_entrypoint,
|
|
509
|
+
:container_arguments)
|
|
484
510
|
SENSITIVE = []
|
|
485
511
|
include Aws::Structure
|
|
486
512
|
end
|
|
@@ -10059,6 +10085,8 @@ module Aws::SageMaker
|
|
|
10059
10085
|
# },
|
|
10060
10086
|
# ],
|
|
10061
10087
|
# enable_sage_maker_metrics_time_series: false,
|
|
10088
|
+
# container_entrypoint: ["TrainingContainerEntrypointString"],
|
|
10089
|
+
# container_arguments: ["TrainingContainerArgument"],
|
|
10062
10090
|
# },
|
|
10063
10091
|
# role_arn: "RoleArn", # required
|
|
10064
10092
|
# input_data_config: [
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
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.150.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: 2022-10-
|
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|