aws-sdk-sagemaker 1.171.0 → 1.173.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +50 -18
- data/lib/aws-sdk-sagemaker/client_api.rb +7 -1
- data/lib/aws-sdk-sagemaker/types.rb +123 -40
- 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: 90becff4fc2ef31c7dfe2646033396b7b751c3661e3c5ece1f8ee42ab14a07eb
|
|
4
|
+
data.tar.gz: fe8bf66b1d034a39f11591511d4ba61eb76d6a0e4dd549cd8a5ca48cca7e9e40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35d3bd1b47ace1655d04fd1637eab670f09ca5f657587dd29bf8a4c679a3045ed060122a4f00d62429e96928581aa694d24ead51da00e37b6e46a1bdebc9766c
|
|
7
|
+
data.tar.gz: f35131f7e74815dc3ef5d646581a9db6529950f80cdbda76a1b252b9565b685f43ec1177566d6d5d628cab1a0723fef1048f0c5baabc4bb5eae183dbdaa120ff
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.173.0 (2023-04-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon SageMaker Asynchronous Inference now allows customer's to receive failure model responses in S3 and receive success/failure model responses in SNS notifications.
|
|
8
|
+
|
|
9
|
+
1.172.0 (2023-04-04)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon SageMaker Asynchronous Inference now allows customer's to receive failure model responses in S3 and receive success/failure model responses in SNS notifications.
|
|
13
|
+
|
|
4
14
|
1.171.0 (2023-03-27)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.173.0
|
|
@@ -1174,14 +1174,15 @@ module Aws::SageMaker
|
|
|
1174
1174
|
# Creates an Autopilot job.
|
|
1175
1175
|
#
|
|
1176
1176
|
# Find the best-performing model after you run an Autopilot job by
|
|
1177
|
-
# calling
|
|
1177
|
+
# calling [DescribeAutoMLJob][1].
|
|
1178
1178
|
#
|
|
1179
1179
|
# For information about how to use Autopilot, see [Automate Model
|
|
1180
|
-
# Development with Amazon SageMaker Autopilot][
|
|
1180
|
+
# Development with Amazon SageMaker Autopilot][2].
|
|
1181
1181
|
#
|
|
1182
1182
|
#
|
|
1183
1183
|
#
|
|
1184
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/
|
|
1184
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJob.html
|
|
1185
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html
|
|
1185
1186
|
#
|
|
1186
1187
|
# @option params [required, String] :auto_ml_job_name
|
|
1187
1188
|
# Identifies an Autopilot job. The name must be unique to your account
|
|
@@ -1190,10 +1191,15 @@ module Aws::SageMaker
|
|
|
1190
1191
|
# @option params [required, Array<Types::AutoMLChannel>] :input_data_config
|
|
1191
1192
|
# An array of channel objects that describes the input data and its
|
|
1192
1193
|
# location. Each channel is a named input source. Similar to
|
|
1193
|
-
# `InputDataConfig` supported by
|
|
1194
|
-
#
|
|
1195
|
-
#
|
|
1196
|
-
# rows required for the validation
|
|
1194
|
+
# `InputDataConfig` supported by
|
|
1195
|
+
# [HyperParameterTrainingJobDefinition][1]. Format(s) supported: CSV,
|
|
1196
|
+
# Parquet. A minimum of 500 rows is required for the training dataset.
|
|
1197
|
+
# There is not a minimum number of rows required for the validation
|
|
1198
|
+
# dataset.
|
|
1199
|
+
#
|
|
1200
|
+
#
|
|
1201
|
+
#
|
|
1202
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html
|
|
1197
1203
|
#
|
|
1198
1204
|
# @option params [required, Types::AutoMLOutputDataConfig] :output_data_config
|
|
1199
1205
|
# Provides information about encryption and the Amazon S3 output path
|
|
@@ -1211,9 +1217,14 @@ module Aws::SageMaker
|
|
|
1211
1217
|
#
|
|
1212
1218
|
# @option params [Types::AutoMLJobObjective] :auto_ml_job_objective
|
|
1213
1219
|
# Defines the objective metric used to measure the predictive quality of
|
|
1214
|
-
# an AutoML job. You provide an
|
|
1215
|
-
# Autopilot infers whether to minimize or maximize it. For
|
|
1216
|
-
# CreateAutoMLJobV2
|
|
1220
|
+
# an AutoML job. You provide an [AutoMLJobObjective$MetricName][1] and
|
|
1221
|
+
# Autopilot infers whether to minimize or maximize it. For
|
|
1222
|
+
# [CreateAutoMLJobV2][2], only `Accuracy` is supported.
|
|
1223
|
+
#
|
|
1224
|
+
#
|
|
1225
|
+
#
|
|
1226
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html
|
|
1227
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html
|
|
1217
1228
|
#
|
|
1218
1229
|
# @option params [Types::AutoMLJobConfig] :auto_ml_job_config
|
|
1219
1230
|
# A collection of settings used to configure an AutoML job.
|
|
@@ -1329,24 +1340,29 @@ module Aws::SageMaker
|
|
|
1329
1340
|
# as images or text for Computer Vision or Natural Language Processing
|
|
1330
1341
|
# problems.
|
|
1331
1342
|
#
|
|
1332
|
-
# Find the resulting model after you run an AutoML job V2 by calling
|
|
1333
|
-
# DescribeAutoMLJobV2
|
|
1343
|
+
# Find the resulting model after you run an AutoML job V2 by calling
|
|
1344
|
+
# [DescribeAutoMLJobV2][1].
|
|
1334
1345
|
#
|
|
1335
|
-
# To create an `AutoMLJob` using tabular data, see
|
|
1346
|
+
# To create an `AutoMLJob` using tabular data, see [CreateAutoMLJob][2].
|
|
1336
1347
|
#
|
|
1337
1348
|
# <note markdown="1"> This API action is callable through SageMaker Canvas only. Calling it
|
|
1338
1349
|
# directly from the CLI or an SDK results in an error.
|
|
1339
1350
|
#
|
|
1340
1351
|
# </note>
|
|
1341
1352
|
#
|
|
1353
|
+
#
|
|
1354
|
+
#
|
|
1355
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJobV2.html
|
|
1356
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJob.html
|
|
1357
|
+
#
|
|
1342
1358
|
# @option params [required, String] :auto_ml_job_name
|
|
1343
1359
|
# Identifies an Autopilot job. The name must be unique to your account
|
|
1344
1360
|
# and is case insensitive.
|
|
1345
1361
|
#
|
|
1346
1362
|
# @option params [required, Array<Types::AutoMLJobChannel>] :auto_ml_job_input_data_config
|
|
1347
1363
|
# An array of channel objects describing the input data and their
|
|
1348
|
-
# location. Each channel is a named input source. Similar to
|
|
1349
|
-
# InputDataConfig
|
|
1364
|
+
# location. Each channel is a named input source. Similar to
|
|
1365
|
+
# [InputDataConfig][1] supported by `CreateAutoMLJob`. The supported
|
|
1350
1366
|
# formats depend on the problem type:
|
|
1351
1367
|
#
|
|
1352
1368
|
# * ImageClassification: S3Prefix, `ManifestFile`,
|
|
@@ -1354,6 +1370,10 @@ module Aws::SageMaker
|
|
|
1354
1370
|
#
|
|
1355
1371
|
# * TextClassification: S3Prefix
|
|
1356
1372
|
#
|
|
1373
|
+
#
|
|
1374
|
+
#
|
|
1375
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJob.html#sagemaker-CreateAutoMLJob-request-InputDataConfig
|
|
1376
|
+
#
|
|
1357
1377
|
# @option params [required, Types::AutoMLOutputDataConfig] :output_data_config
|
|
1358
1378
|
# Provides information about encryption and the Amazon S3 output path
|
|
1359
1379
|
# needed to store artifacts from an AutoML job.
|
|
@@ -1381,7 +1401,11 @@ module Aws::SageMaker
|
|
|
1381
1401
|
#
|
|
1382
1402
|
# @option params [Types::AutoMLJobObjective] :auto_ml_job_objective
|
|
1383
1403
|
# Specifies a metric to minimize or maximize as the objective of a job.
|
|
1384
|
-
# For
|
|
1404
|
+
# For [CreateAutoMLJobV2][1], only `Accuracy` is supported.
|
|
1405
|
+
#
|
|
1406
|
+
#
|
|
1407
|
+
#
|
|
1408
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html
|
|
1385
1409
|
#
|
|
1386
1410
|
# @option params [Types::ModelDeployConfig] :model_deploy_config
|
|
1387
1411
|
# Specifies how to generate the endpoint name for an automatic one-click
|
|
@@ -2797,11 +2821,13 @@ module Aws::SageMaker
|
|
|
2797
2821
|
# },
|
|
2798
2822
|
# output_config: { # required
|
|
2799
2823
|
# kms_key_id: "KmsKeyId",
|
|
2800
|
-
# s3_output_path: "DestinationS3Uri",
|
|
2824
|
+
# s3_output_path: "DestinationS3Uri",
|
|
2801
2825
|
# notification_config: {
|
|
2802
2826
|
# success_topic: "SnsTopicArn",
|
|
2803
2827
|
# error_topic: "SnsTopicArn",
|
|
2828
|
+
# include_inference_response_in: ["SUCCESS_NOTIFICATION_TOPIC"], # accepts SUCCESS_NOTIFICATION_TOPIC, ERROR_NOTIFICATION_TOPIC
|
|
2804
2829
|
# },
|
|
2830
|
+
# s3_failure_path: "DestinationS3Uri",
|
|
2805
2831
|
# },
|
|
2806
2832
|
# },
|
|
2807
2833
|
# explainer_config: {
|
|
@@ -10690,6 +10716,9 @@ module Aws::SageMaker
|
|
|
10690
10716
|
# resp.async_inference_config.output_config.s3_output_path #=> String
|
|
10691
10717
|
# resp.async_inference_config.output_config.notification_config.success_topic #=> String
|
|
10692
10718
|
# resp.async_inference_config.output_config.notification_config.error_topic #=> String
|
|
10719
|
+
# resp.async_inference_config.output_config.notification_config.include_inference_response_in #=> Array
|
|
10720
|
+
# resp.async_inference_config.output_config.notification_config.include_inference_response_in[0] #=> String, one of "SUCCESS_NOTIFICATION_TOPIC", "ERROR_NOTIFICATION_TOPIC"
|
|
10721
|
+
# resp.async_inference_config.output_config.s3_failure_path #=> String
|
|
10693
10722
|
# resp.pending_deployment_summary.endpoint_config_name #=> String
|
|
10694
10723
|
# resp.pending_deployment_summary.production_variants #=> Array
|
|
10695
10724
|
# resp.pending_deployment_summary.production_variants[0].variant_name #=> String
|
|
@@ -10849,6 +10878,9 @@ module Aws::SageMaker
|
|
|
10849
10878
|
# resp.async_inference_config.output_config.s3_output_path #=> String
|
|
10850
10879
|
# resp.async_inference_config.output_config.notification_config.success_topic #=> String
|
|
10851
10880
|
# resp.async_inference_config.output_config.notification_config.error_topic #=> String
|
|
10881
|
+
# resp.async_inference_config.output_config.notification_config.include_inference_response_in #=> Array
|
|
10882
|
+
# resp.async_inference_config.output_config.notification_config.include_inference_response_in[0] #=> String, one of "SUCCESS_NOTIFICATION_TOPIC", "ERROR_NOTIFICATION_TOPIC"
|
|
10883
|
+
# resp.async_inference_config.output_config.s3_failure_path #=> String
|
|
10852
10884
|
# resp.explainer_config.clarify_explainer_config.enable_explanations #=> String
|
|
10853
10885
|
# resp.explainer_config.clarify_explainer_config.inference_config.features_attribute #=> String
|
|
10854
10886
|
# resp.explainer_config.clarify_explainer_config.inference_config.content_template #=> String
|
|
@@ -23222,7 +23254,7 @@ module Aws::SageMaker
|
|
|
23222
23254
|
params: params,
|
|
23223
23255
|
config: config)
|
|
23224
23256
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
23225
|
-
context[:gem_version] = '1.
|
|
23257
|
+
context[:gem_version] = '1.173.0'
|
|
23226
23258
|
Seahorse::Client::Request.new(handlers, context)
|
|
23227
23259
|
end
|
|
23228
23260
|
|
|
@@ -84,6 +84,8 @@ module Aws::SageMaker
|
|
|
84
84
|
AsyncInferenceConfig = Shapes::StructureShape.new(name: 'AsyncInferenceConfig')
|
|
85
85
|
AsyncInferenceNotificationConfig = Shapes::StructureShape.new(name: 'AsyncInferenceNotificationConfig')
|
|
86
86
|
AsyncInferenceOutputConfig = Shapes::StructureShape.new(name: 'AsyncInferenceOutputConfig')
|
|
87
|
+
AsyncNotificationTopicTypeList = Shapes::ListShape.new(name: 'AsyncNotificationTopicTypeList')
|
|
88
|
+
AsyncNotificationTopicTypes = Shapes::StringShape.new(name: 'AsyncNotificationTopicTypes')
|
|
87
89
|
AthenaCatalog = Shapes::StringShape.new(name: 'AthenaCatalog')
|
|
88
90
|
AthenaDatabase = Shapes::StringShape.new(name: 'AthenaDatabase')
|
|
89
91
|
AthenaDatasetDefinition = Shapes::StructureShape.new(name: 'AthenaDatasetDefinition')
|
|
@@ -2172,13 +2174,17 @@ module Aws::SageMaker
|
|
|
2172
2174
|
|
|
2173
2175
|
AsyncInferenceNotificationConfig.add_member(:success_topic, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "SuccessTopic"))
|
|
2174
2176
|
AsyncInferenceNotificationConfig.add_member(:error_topic, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "ErrorTopic"))
|
|
2177
|
+
AsyncInferenceNotificationConfig.add_member(:include_inference_response_in, Shapes::ShapeRef.new(shape: AsyncNotificationTopicTypeList, location_name: "IncludeInferenceResponseIn"))
|
|
2175
2178
|
AsyncInferenceNotificationConfig.struct_class = Types::AsyncInferenceNotificationConfig
|
|
2176
2179
|
|
|
2177
2180
|
AsyncInferenceOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
|
2178
|
-
AsyncInferenceOutputConfig.add_member(:s3_output_path, Shapes::ShapeRef.new(shape: DestinationS3Uri,
|
|
2181
|
+
AsyncInferenceOutputConfig.add_member(:s3_output_path, Shapes::ShapeRef.new(shape: DestinationS3Uri, location_name: "S3OutputPath"))
|
|
2179
2182
|
AsyncInferenceOutputConfig.add_member(:notification_config, Shapes::ShapeRef.new(shape: AsyncInferenceNotificationConfig, location_name: "NotificationConfig"))
|
|
2183
|
+
AsyncInferenceOutputConfig.add_member(:s3_failure_path, Shapes::ShapeRef.new(shape: DestinationS3Uri, location_name: "S3FailurePath"))
|
|
2180
2184
|
AsyncInferenceOutputConfig.struct_class = Types::AsyncInferenceOutputConfig
|
|
2181
2185
|
|
|
2186
|
+
AsyncNotificationTopicTypeList.member = Shapes::ShapeRef.new(shape: AsyncNotificationTopicTypes)
|
|
2187
|
+
|
|
2182
2188
|
AthenaDatasetDefinition.add_member(:catalog, Shapes::ShapeRef.new(shape: AthenaCatalog, required: true, location_name: "Catalog"))
|
|
2183
2189
|
AthenaDatasetDefinition.add_member(:database, Shapes::ShapeRef.new(shape: AthenaDatabase, required: true, location_name: "Database"))
|
|
2184
2190
|
AthenaDatasetDefinition.add_member(:query_string, Shapes::ShapeRef.new(shape: AthenaQueryString, required: true, location_name: "QueryString"))
|
|
@@ -1553,11 +1553,17 @@ module Aws::SageMaker
|
|
|
1553
1553
|
# no topic is provided, no notification is sent on failure.
|
|
1554
1554
|
# @return [String]
|
|
1555
1555
|
#
|
|
1556
|
+
# @!attribute [rw] include_inference_response_in
|
|
1557
|
+
# The Amazon SNS topics where you want the inference response to be
|
|
1558
|
+
# included.
|
|
1559
|
+
# @return [Array<String>]
|
|
1560
|
+
#
|
|
1556
1561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AsyncInferenceNotificationConfig AWS API Documentation
|
|
1557
1562
|
#
|
|
1558
1563
|
class AsyncInferenceNotificationConfig < Struct.new(
|
|
1559
1564
|
:success_topic,
|
|
1560
|
-
:error_topic
|
|
1565
|
+
:error_topic,
|
|
1566
|
+
:include_inference_response_in)
|
|
1561
1567
|
SENSITIVE = []
|
|
1562
1568
|
include Aws::Structure
|
|
1563
1569
|
end
|
|
@@ -1580,12 +1586,17 @@ module Aws::SageMaker
|
|
|
1580
1586
|
# for asynchronous inference.
|
|
1581
1587
|
# @return [Types::AsyncInferenceNotificationConfig]
|
|
1582
1588
|
#
|
|
1589
|
+
# @!attribute [rw] s3_failure_path
|
|
1590
|
+
# The Amazon S3 location to upload failure inference responses to.
|
|
1591
|
+
# @return [String]
|
|
1592
|
+
#
|
|
1583
1593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AsyncInferenceOutputConfig AWS API Documentation
|
|
1584
1594
|
#
|
|
1585
1595
|
class AsyncInferenceOutputConfig < Struct.new(
|
|
1586
1596
|
:kms_key_id,
|
|
1587
1597
|
:s3_output_path,
|
|
1588
|
-
:notification_config
|
|
1598
|
+
:notification_config,
|
|
1599
|
+
:s3_failure_path)
|
|
1589
1600
|
SENSITIVE = []
|
|
1590
1601
|
include Aws::Structure
|
|
1591
1602
|
end
|
|
@@ -1650,7 +1661,7 @@ module Aws::SageMaker
|
|
|
1650
1661
|
# candidates of an Autopilot job.
|
|
1651
1662
|
#
|
|
1652
1663
|
# <note markdown="1"> Selected algorithms must belong to the list corresponding to the
|
|
1653
|
-
# training mode set in
|
|
1664
|
+
# training mode set in [AutoMLJobConfig.Mode][1] (`ENSEMBLING` or
|
|
1654
1665
|
# `HYPERPARAMETER_TUNING`). Choose a minimum of 1 algorithm.
|
|
1655
1666
|
#
|
|
1656
1667
|
# </note>
|
|
@@ -1680,6 +1691,10 @@ module Aws::SageMaker
|
|
|
1680
1691
|
# * "mlp"
|
|
1681
1692
|
#
|
|
1682
1693
|
# * "xgboost"
|
|
1694
|
+
#
|
|
1695
|
+
#
|
|
1696
|
+
#
|
|
1697
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobConfig.html#sagemaker-Type-AutoMLJobConfig-Mode
|
|
1683
1698
|
# @return [Array<String>]
|
|
1684
1699
|
#
|
|
1685
1700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLAlgorithmConfig AWS API Documentation
|
|
@@ -1822,16 +1837,17 @@ module Aws::SageMaker
|
|
|
1822
1837
|
# `AutoMLCandidateGenerationConfig` uses the full set of algorithms
|
|
1823
1838
|
# for the given training mode.
|
|
1824
1839
|
#
|
|
1825
|
-
# For the list of all algorithms per training mode, see
|
|
1826
|
-
# AutoMLAlgorithmConfig
|
|
1840
|
+
# For the list of all algorithms per training mode, see [
|
|
1841
|
+
# AutoMLAlgorithmConfig][2].
|
|
1827
1842
|
#
|
|
1828
1843
|
# For more information on each algorithm, see the [Algorithm
|
|
1829
|
-
# support][
|
|
1844
|
+
# support][3] section in Autopilot developer guide.
|
|
1830
1845
|
#
|
|
1831
1846
|
#
|
|
1832
1847
|
#
|
|
1833
1848
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobConfig.html
|
|
1834
|
-
# [2]: https://docs.aws.amazon.com/sagemaker/latest/
|
|
1849
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html
|
|
1850
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support
|
|
1835
1851
|
# @return [Array<Types::AutoMLAlgorithmConfig>]
|
|
1836
1852
|
#
|
|
1837
1853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLCandidateGenerationConfig AWS API Documentation
|
|
@@ -1872,13 +1888,19 @@ module Aws::SageMaker
|
|
|
1872
1888
|
# A channel is a named input source that training algorithms can
|
|
1873
1889
|
# consume. The validation dataset size is limited to less than 2 GB. The
|
|
1874
1890
|
# training dataset size must be less than 100 GB. For more information,
|
|
1875
|
-
# see
|
|
1891
|
+
# see [ Channel][1].
|
|
1876
1892
|
#
|
|
1877
1893
|
# <note markdown="1"> A validation dataset must contain the same headers as the training
|
|
1878
1894
|
# dataset.
|
|
1879
1895
|
#
|
|
1880
1896
|
# </note>
|
|
1881
1897
|
#
|
|
1898
|
+
#
|
|
1899
|
+
#
|
|
1900
|
+
#
|
|
1901
|
+
#
|
|
1902
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Channel.html
|
|
1903
|
+
#
|
|
1882
1904
|
# @!attribute [rw] data_source
|
|
1883
1905
|
# The data source for an AutoML channel.
|
|
1884
1906
|
# @return [Types::AutoMLDataSource]
|
|
@@ -1902,8 +1924,8 @@ module Aws::SageMaker
|
|
|
1902
1924
|
# The channel type (optional) is an `enum` string. The default value
|
|
1903
1925
|
# is `training`. Channels for training and validation must share the
|
|
1904
1926
|
# same `ContentType` and `TargetAttributeName`. For information on
|
|
1905
|
-
# specifying training and validation channel types, see [
|
|
1906
|
-
# specify training and validation datasets
|
|
1927
|
+
# specifying training and validation channel types, see [How to
|
|
1928
|
+
# specify training and validation datasets][1].
|
|
1907
1929
|
#
|
|
1908
1930
|
#
|
|
1909
1931
|
#
|
|
@@ -1923,22 +1945,38 @@ module Aws::SageMaker
|
|
|
1923
1945
|
end
|
|
1924
1946
|
|
|
1925
1947
|
# A list of container definitions that describe the different containers
|
|
1926
|
-
# that make up an AutoML candidate. For more information, see
|
|
1927
|
-
# ContainerDefinition
|
|
1948
|
+
# that make up an AutoML candidate. For more information, see [
|
|
1949
|
+
# ContainerDefinition][1].
|
|
1950
|
+
#
|
|
1951
|
+
#
|
|
1952
|
+
#
|
|
1953
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ContainerDefinition.html
|
|
1928
1954
|
#
|
|
1929
1955
|
# @!attribute [rw] image
|
|
1930
1956
|
# The Amazon Elastic Container Registry (Amazon ECR) path of the
|
|
1931
|
-
# container. For more information, see
|
|
1957
|
+
# container. For more information, see [ ContainerDefinition][1].
|
|
1958
|
+
#
|
|
1959
|
+
#
|
|
1960
|
+
#
|
|
1961
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ContainerDefinition.html
|
|
1932
1962
|
# @return [String]
|
|
1933
1963
|
#
|
|
1934
1964
|
# @!attribute [rw] model_data_url
|
|
1935
|
-
# The location of the model artifacts. For more information, see
|
|
1936
|
-
# ContainerDefinition
|
|
1965
|
+
# The location of the model artifacts. For more information, see [
|
|
1966
|
+
# ContainerDefinition][1].
|
|
1967
|
+
#
|
|
1968
|
+
#
|
|
1969
|
+
#
|
|
1970
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ContainerDefinition.html
|
|
1937
1971
|
# @return [String]
|
|
1938
1972
|
#
|
|
1939
1973
|
# @!attribute [rw] environment
|
|
1940
1974
|
# The environment variables to set in the container. For more
|
|
1941
|
-
# information, see
|
|
1975
|
+
# information, see [ ContainerDefinition][1].
|
|
1976
|
+
#
|
|
1977
|
+
#
|
|
1978
|
+
#
|
|
1979
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ContainerDefinition.html
|
|
1942
1980
|
# @return [Hash<String,String>]
|
|
1943
1981
|
#
|
|
1944
1982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLContainerDefinition AWS API Documentation
|
|
@@ -2011,8 +2049,13 @@ module Aws::SageMaker
|
|
|
2011
2049
|
|
|
2012
2050
|
# A channel is a named input source that training algorithms can
|
|
2013
2051
|
# consume. This channel is used for the non tabular training data of an
|
|
2014
|
-
# AutoML job using the V2 API. For tabular training data, see
|
|
2015
|
-
# AutoMLChannel
|
|
2052
|
+
# AutoML job using the V2 API. For tabular training data, see [
|
|
2053
|
+
# AutoMLChannel][1]. For more information, see [ Channel][2].
|
|
2054
|
+
#
|
|
2055
|
+
#
|
|
2056
|
+
#
|
|
2057
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLChannel.html
|
|
2058
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Channel.html
|
|
2016
2059
|
#
|
|
2017
2060
|
# @!attribute [rw] channel_type
|
|
2018
2061
|
# The type of channel. Defines whether the data are used for training
|
|
@@ -2064,11 +2107,16 @@ module Aws::SageMaker
|
|
|
2064
2107
|
# @!attribute [rw] max_runtime_per_training_job_in_seconds
|
|
2065
2108
|
# The maximum time, in seconds, that each training job executed inside
|
|
2066
2109
|
# hyperparameter tuning is allowed to run as part of a hyperparameter
|
|
2067
|
-
# tuning job. For more information, see the
|
|
2068
|
-
# by the
|
|
2110
|
+
# tuning job. For more information, see the [StoppingCondition][1]
|
|
2111
|
+
# used by the [CreateHyperParameterTuningJob][2] action.
|
|
2069
2112
|
#
|
|
2070
2113
|
# For V2 jobs (jobs created by calling `CreateAutoMLJobV2`), this
|
|
2071
2114
|
# field controls the runtime of the job candidate.
|
|
2115
|
+
#
|
|
2116
|
+
#
|
|
2117
|
+
#
|
|
2118
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StoppingCondition.html
|
|
2119
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateHyperParameterTuningJob.html
|
|
2072
2120
|
# @return [Integer]
|
|
2073
2121
|
#
|
|
2074
2122
|
# @!attribute [rw] max_auto_ml_job_runtime_in_seconds
|
|
@@ -3915,7 +3963,13 @@ module Aws::SageMaker
|
|
|
3915
3963
|
# requirements. SageMaker supports both `registry/repository[:tag]`
|
|
3916
3964
|
# and `registry/repository[@digest]` image path formats. For more
|
|
3917
3965
|
# information, see [Using Your Own Algorithms with Amazon
|
|
3918
|
-
# SageMaker][1]
|
|
3966
|
+
# SageMaker][1].
|
|
3967
|
+
#
|
|
3968
|
+
# <note markdown="1"> The model artifacts in an Amazon S3 bucket and the Docker image for
|
|
3969
|
+
# inference container in Amazon EC2 Container Registry must be in the
|
|
3970
|
+
# same region as the model or endpoint you are creating.
|
|
3971
|
+
#
|
|
3972
|
+
# </note>
|
|
3919
3973
|
#
|
|
3920
3974
|
#
|
|
3921
3975
|
#
|
|
@@ -3927,7 +3981,13 @@ module Aws::SageMaker
|
|
|
3927
3981
|
# Docker registry accessible from your Amazon Virtual Private Cloud
|
|
3928
3982
|
# (VPC). For information about storing containers in a private Docker
|
|
3929
3983
|
# registry, see [Use a Private Docker Registry for Real-Time Inference
|
|
3930
|
-
# Containers][1]
|
|
3984
|
+
# Containers][1].
|
|
3985
|
+
#
|
|
3986
|
+
# <note markdown="1"> The model artifacts in an Amazon S3 bucket and the Docker image for
|
|
3987
|
+
# inference container in Amazon EC2 Container Registry must be in the
|
|
3988
|
+
# same region as the model or endpoint you are creating.
|
|
3989
|
+
#
|
|
3990
|
+
# </note>
|
|
3931
3991
|
#
|
|
3932
3992
|
#
|
|
3933
3993
|
#
|
|
@@ -4489,10 +4549,15 @@ module Aws::SageMaker
|
|
|
4489
4549
|
# @!attribute [rw] input_data_config
|
|
4490
4550
|
# An array of channel objects that describes the input data and its
|
|
4491
4551
|
# location. Each channel is a named input source. Similar to
|
|
4492
|
-
# `InputDataConfig` supported by
|
|
4493
|
-
#
|
|
4494
|
-
#
|
|
4495
|
-
# rows required for the validation
|
|
4552
|
+
# `InputDataConfig` supported by
|
|
4553
|
+
# [HyperParameterTrainingJobDefinition][1]. Format(s) supported: CSV,
|
|
4554
|
+
# Parquet. A minimum of 500 rows is required for the training dataset.
|
|
4555
|
+
# There is not a minimum number of rows required for the validation
|
|
4556
|
+
# dataset.
|
|
4557
|
+
#
|
|
4558
|
+
#
|
|
4559
|
+
#
|
|
4560
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html
|
|
4496
4561
|
# @return [Array<Types::AutoMLChannel>]
|
|
4497
4562
|
#
|
|
4498
4563
|
# @!attribute [rw] output_data_config
|
|
@@ -4513,9 +4578,14 @@ module Aws::SageMaker
|
|
|
4513
4578
|
#
|
|
4514
4579
|
# @!attribute [rw] auto_ml_job_objective
|
|
4515
4580
|
# Defines the objective metric used to measure the predictive quality
|
|
4516
|
-
# of an AutoML job. You provide an
|
|
4517
|
-
# and Autopilot infers whether to minimize or maximize it. For
|
|
4518
|
-
# CreateAutoMLJobV2
|
|
4581
|
+
# of an AutoML job. You provide an [AutoMLJobObjective$MetricName][1]
|
|
4582
|
+
# and Autopilot infers whether to minimize or maximize it. For
|
|
4583
|
+
# [CreateAutoMLJobV2][2], only `Accuracy` is supported.
|
|
4584
|
+
#
|
|
4585
|
+
#
|
|
4586
|
+
#
|
|
4587
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html
|
|
4588
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html
|
|
4519
4589
|
# @return [Types::AutoMLJobObjective]
|
|
4520
4590
|
#
|
|
4521
4591
|
# @!attribute [rw] auto_ml_job_config
|
|
@@ -4585,14 +4655,18 @@ module Aws::SageMaker
|
|
|
4585
4655
|
#
|
|
4586
4656
|
# @!attribute [rw] auto_ml_job_input_data_config
|
|
4587
4657
|
# An array of channel objects describing the input data and their
|
|
4588
|
-
# location. Each channel is a named input source. Similar to
|
|
4589
|
-
# InputDataConfig
|
|
4658
|
+
# location. Each channel is a named input source. Similar to
|
|
4659
|
+
# [InputDataConfig][1] supported by `CreateAutoMLJob`. The supported
|
|
4590
4660
|
# formats depend on the problem type:
|
|
4591
4661
|
#
|
|
4592
4662
|
# * ImageClassification: S3Prefix, `ManifestFile`,
|
|
4593
4663
|
# `AugmentedManifestFile`
|
|
4594
4664
|
#
|
|
4595
4665
|
# * TextClassification: S3Prefix
|
|
4666
|
+
#
|
|
4667
|
+
#
|
|
4668
|
+
#
|
|
4669
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJob.html#sagemaker-CreateAutoMLJob-request-InputDataConfig
|
|
4596
4670
|
# @return [Array<Types::AutoMLJobChannel>]
|
|
4597
4671
|
#
|
|
4598
4672
|
# @!attribute [rw] output_data_config
|
|
@@ -4627,7 +4701,11 @@ module Aws::SageMaker
|
|
|
4627
4701
|
#
|
|
4628
4702
|
# @!attribute [rw] auto_ml_job_objective
|
|
4629
4703
|
# Specifies a metric to minimize or maximize as the objective of a
|
|
4630
|
-
# job. For
|
|
4704
|
+
# job. For [CreateAutoMLJobV2][1], only `Accuracy` is supported.
|
|
4705
|
+
#
|
|
4706
|
+
#
|
|
4707
|
+
#
|
|
4708
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html
|
|
4631
4709
|
# @return [Types::AutoMLJobObjective]
|
|
4632
4710
|
#
|
|
4633
4711
|
# @!attribute [rw] model_deploy_config
|
|
@@ -17599,8 +17677,12 @@ module Aws::SageMaker
|
|
|
17599
17677
|
#
|
|
17600
17678
|
# @!attribute [rw] metric_name
|
|
17601
17679
|
# The name of the metric with the best result. For a description of
|
|
17602
|
-
# the possible objective metrics, see
|
|
17603
|
-
#
|
|
17680
|
+
# the possible objective metrics, see
|
|
17681
|
+
# [AutoMLJobObjective$MetricName][1].
|
|
17682
|
+
#
|
|
17683
|
+
#
|
|
17684
|
+
#
|
|
17685
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html
|
|
17604
17686
|
# @return [String]
|
|
17605
17687
|
#
|
|
17606
17688
|
# @!attribute [rw] value
|
|
@@ -20254,8 +20336,8 @@ module Aws::SageMaker
|
|
|
20254
20336
|
# reaches the `MaxResource` value, it is stopped. If a value for
|
|
20255
20337
|
# `MaxResource` is not provided, and `Hyperband` is selected as the
|
|
20256
20338
|
# hyperparameter tuning strategy, `HyperbandTrainingJ` attempts to
|
|
20257
|
-
# infer `MaxResource` from the following keys (if present) in
|
|
20258
|
-
# StaticsHyperParameters
|
|
20339
|
+
# infer `MaxResource` from the following keys (if present) in
|
|
20340
|
+
# [StaticsHyperParameters][1]:
|
|
20259
20341
|
#
|
|
20260
20342
|
# * `epochs`
|
|
20261
20343
|
#
|
|
@@ -20270,8 +20352,8 @@ module Aws::SageMaker
|
|
|
20270
20352
|
# If `HyperbandStrategyConfig` is unable to infer a value for
|
|
20271
20353
|
# `MaxResource`, it generates a validation error. The maximum value is
|
|
20272
20354
|
# 20,000 epochs. All metrics that correspond to an objective metric
|
|
20273
|
-
# are used to derive [early stopping decisions][
|
|
20274
|
-
# [distributive][
|
|
20355
|
+
# are used to derive [early stopping decisions][2]. For
|
|
20356
|
+
# [distributive][3] training jobs, ensure that duplicate metrics are
|
|
20275
20357
|
# not printed in the logs across the individual nodes in a training
|
|
20276
20358
|
# job. If multiple nodes are publishing duplicate or incorrect
|
|
20277
20359
|
# metrics, training jobs may make an incorrect stopping decision and
|
|
@@ -20279,8 +20361,9 @@ module Aws::SageMaker
|
|
|
20279
20361
|
#
|
|
20280
20362
|
#
|
|
20281
20363
|
#
|
|
20282
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/
|
|
20283
|
-
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/
|
|
20364
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-StaticHyperParameters
|
|
20365
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html
|
|
20366
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/distributed-training.html
|
|
20284
20367
|
# @return [Integer]
|
|
20285
20368
|
#
|
|
20286
20369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperbandStrategyConfig AWS API Documentation
|
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.173.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: 2023-
|
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|