aws-sdk-sagemaker 1.139.0 → 1.141.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +56 -20
- data/lib/aws-sdk-sagemaker/client_api.rb +23 -0
- data/lib/aws-sdk-sagemaker/types.rb +281 -32
- 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: fa806301ee5af4611d77037dbabd58326f29f5462b6078710e1d96c0182e7e54
|
4
|
+
data.tar.gz: b7547e74552a45ecf1e5f44843f7d1ee42763ad20ce122c1940f0a41253de5bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e467497b42ff52757c11137af235ee5b9a650dd1d594e9f216761fa70b4c1728172f3eaac0027fcc94ec045dd90066403f70eb7521606e8e848023b0a9392770
|
7
|
+
data.tar.gz: d9bd4f710541f6f7f2543c86aed8dd03249b1eefd367cb40751a822ebabc7a8d43261d7b320e9c3d6d6fd2d7546d789ea20f5c2003e01c15b84e0da7bbf8e384
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.141.0 (2022-09-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker now allows customization on Canvas Application settings, including enabling/disabling time-series forecasting and specifying an Amazon Forecast execution role at both the Domain and UserProfile levels.
|
8
|
+
|
9
|
+
1.140.0 (2022-09-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon SageMaker Automatic Model Tuning now supports specifying Hyperband strategy for tuning jobs, which uses a multi-fidelity based tuning strategy to stop underperforming hyperparameter configurations early.
|
13
|
+
|
4
14
|
1.139.0 (2022-09-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.141.0
|
@@ -940,8 +940,7 @@ module Aws::SageMaker
|
|
940
940
|
req.send_request(options)
|
941
941
|
end
|
942
942
|
|
943
|
-
# Creates a running app for the specified UserProfile.
|
944
|
-
# are `JupyterServer` and `KernelGateway`. This operation is
|
943
|
+
# Creates a running app for the specified UserProfile. This operation is
|
945
944
|
# automatically invoked by Amazon SageMaker Studio upon access to the
|
946
945
|
# associated Domain, and when new kernel configurations are selected by
|
947
946
|
# the user. A user may have multiple Apps active simultaneously.
|
@@ -953,8 +952,7 @@ module Aws::SageMaker
|
|
953
952
|
# The user profile name.
|
954
953
|
#
|
955
954
|
# @option params [required, String] :app_type
|
956
|
-
# The type of app.
|
957
|
-
# `KernelGateway`. `TensorBoard` is not supported.
|
955
|
+
# The type of app.
|
958
956
|
#
|
959
957
|
# @option params [required, String] :app_name
|
960
958
|
# The name of the app.
|
@@ -1961,6 +1959,12 @@ module Aws::SageMaker
|
|
1961
1959
|
# },
|
1962
1960
|
# ],
|
1963
1961
|
# },
|
1962
|
+
# canvas_app_settings: {
|
1963
|
+
# time_series_forecasting_settings: {
|
1964
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
1965
|
+
# amazon_forecast_role_arn: "RoleArn",
|
1966
|
+
# },
|
1967
|
+
# },
|
1964
1968
|
# },
|
1965
1969
|
# subnet_ids: ["SubnetId"], # required
|
1966
1970
|
# vpc_id: "VpcId", # required
|
@@ -3015,7 +3019,13 @@ module Aws::SageMaker
|
|
3015
3019
|
# resp = client.create_hyper_parameter_tuning_job({
|
3016
3020
|
# hyper_parameter_tuning_job_name: "HyperParameterTuningJobName", # required
|
3017
3021
|
# hyper_parameter_tuning_job_config: { # required
|
3018
|
-
# strategy: "Bayesian", # required, accepts Bayesian, Random
|
3022
|
+
# strategy: "Bayesian", # required, accepts Bayesian, Random, Hyperband
|
3023
|
+
# strategy_config: {
|
3024
|
+
# hyperband_strategy_config: {
|
3025
|
+
# min_resource: 1,
|
3026
|
+
# max_resource: 1,
|
3027
|
+
# },
|
3028
|
+
# },
|
3019
3029
|
# hyper_parameter_tuning_job_objective: {
|
3020
3030
|
# type: "Maximize", # required, accepts Maximize, Minimize
|
3021
3031
|
# metric_name: "MetricName", # required
|
@@ -6660,8 +6670,8 @@ module Aws::SageMaker
|
|
6660
6670
|
# a domain, and is the main way to reference a "person" for the
|
6661
6671
|
# purposes of sharing, reporting, and other user-oriented features. This
|
6662
6672
|
# entity is created when a user onboards to Amazon SageMaker Studio. If
|
6663
|
-
# an administrator invites a person by email or imports them from
|
6664
|
-
#
|
6673
|
+
# an administrator invites a person by email or imports them from IAM
|
6674
|
+
# Identity Center, a user profile is automatically created. A user
|
6665
6675
|
# profile is the primary holder of settings for an individual user and
|
6666
6676
|
# has a reference to the user's private Amazon Elastic File System
|
6667
6677
|
# (EFS) home directory.
|
@@ -6675,16 +6685,16 @@ module Aws::SageMaker
|
|
6675
6685
|
# @option params [String] :single_sign_on_user_identifier
|
6676
6686
|
# A specifier for the type of value specified in SingleSignOnUserValue.
|
6677
6687
|
# Currently, the only supported value is "UserName". If the Domain's
|
6678
|
-
# AuthMode is
|
6679
|
-
# Domain's AuthMode is not
|
6680
|
-
#
|
6688
|
+
# AuthMode is IAM Identity Center, this field is required. If the
|
6689
|
+
# Domain's AuthMode is not IAM Identity Center, this field cannot be
|
6690
|
+
# specified.
|
6681
6691
|
#
|
6682
6692
|
# @option params [String] :single_sign_on_user_value
|
6683
6693
|
# The username of the associated Amazon Web Services Single Sign-On User
|
6684
|
-
# for this UserProfile. If the Domain's AuthMode is
|
6685
|
-
#
|
6686
|
-
# in your directory. If the Domain's AuthMode is not
|
6687
|
-
#
|
6694
|
+
# for this UserProfile. If the Domain's AuthMode is IAM Identity
|
6695
|
+
# Center, this field is required, and must match a valid username of a
|
6696
|
+
# user in your directory. If the Domain's AuthMode is not IAM Identity
|
6697
|
+
# Center, this field cannot be specified.
|
6688
6698
|
#
|
6689
6699
|
# @option params [Array<Types::Tag>] :tags
|
6690
6700
|
# Each tag consists of a key and an optional value. Tag keys must be
|
@@ -6773,6 +6783,12 @@ module Aws::SageMaker
|
|
6773
6783
|
# },
|
6774
6784
|
# ],
|
6775
6785
|
# },
|
6786
|
+
# canvas_app_settings: {
|
6787
|
+
# time_series_forecasting_settings: {
|
6788
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
6789
|
+
# amazon_forecast_role_arn: "RoleArn",
|
6790
|
+
# },
|
6791
|
+
# },
|
6776
6792
|
# },
|
6777
6793
|
# })
|
6778
6794
|
#
|
@@ -7283,8 +7299,8 @@ module Aws::SageMaker
|
|
7283
7299
|
end
|
7284
7300
|
|
7285
7301
|
# Used to delete a domain. If you onboarded with IAM mode, you will need
|
7286
|
-
# to delete your domain to onboard again using
|
7287
|
-
#
|
7302
|
+
# to delete your domain to onboard again using IAM Identity Center. Use
|
7303
|
+
# with caution. All of the members of the domain will lose access to
|
7288
7304
|
# their EFS volume, including data, notebooks, and other artifacts.
|
7289
7305
|
#
|
7290
7306
|
# @option params [required, String] :domain_id
|
@@ -9076,6 +9092,8 @@ module Aws::SageMaker
|
|
9076
9092
|
# resp.default_user_settings.r_session_app_settings.custom_images[0].image_name #=> String
|
9077
9093
|
# resp.default_user_settings.r_session_app_settings.custom_images[0].image_version_number #=> Integer
|
9078
9094
|
# resp.default_user_settings.r_session_app_settings.custom_images[0].app_image_config_name #=> String
|
9095
|
+
# resp.default_user_settings.canvas_app_settings.time_series_forecasting_settings.status #=> String, one of "ENABLED", "DISABLED"
|
9096
|
+
# resp.default_user_settings.canvas_app_settings.time_series_forecasting_settings.amazon_forecast_role_arn #=> String
|
9079
9097
|
# resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly"
|
9080
9098
|
# resp.home_efs_file_system_kms_key_id #=> String
|
9081
9099
|
# resp.subnet_ids #=> Array
|
@@ -9722,7 +9740,9 @@ module Aws::SageMaker
|
|
9722
9740
|
#
|
9723
9741
|
# resp.hyper_parameter_tuning_job_name #=> String
|
9724
9742
|
# resp.hyper_parameter_tuning_job_arn #=> String
|
9725
|
-
# resp.hyper_parameter_tuning_job_config.strategy #=> String, one of "Bayesian", "Random"
|
9743
|
+
# resp.hyper_parameter_tuning_job_config.strategy #=> String, one of "Bayesian", "Random", "Hyperband"
|
9744
|
+
# resp.hyper_parameter_tuning_job_config.strategy_config.hyperband_strategy_config.min_resource #=> Integer
|
9745
|
+
# resp.hyper_parameter_tuning_job_config.strategy_config.hyperband_strategy_config.max_resource #=> Integer
|
9726
9746
|
# resp.hyper_parameter_tuning_job_config.hyper_parameter_tuning_job_objective.type #=> String, one of "Maximize", "Minimize"
|
9727
9747
|
# resp.hyper_parameter_tuning_job_config.hyper_parameter_tuning_job_objective.metric_name #=> String
|
9728
9748
|
# resp.hyper_parameter_tuning_job_config.resource_limits.max_number_of_training_jobs #=> Integer
|
@@ -11974,6 +11994,8 @@ module Aws::SageMaker
|
|
11974
11994
|
# resp.user_settings.r_session_app_settings.custom_images[0].image_name #=> String
|
11975
11995
|
# resp.user_settings.r_session_app_settings.custom_images[0].image_version_number #=> Integer
|
11976
11996
|
# resp.user_settings.r_session_app_settings.custom_images[0].app_image_config_name #=> String
|
11997
|
+
# resp.user_settings.canvas_app_settings.time_series_forecasting_settings.status #=> String, one of "ENABLED", "DISABLED"
|
11998
|
+
# resp.user_settings.canvas_app_settings.time_series_forecasting_settings.amazon_forecast_role_arn #=> String
|
11977
11999
|
#
|
11978
12000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile AWS API Documentation
|
11979
12001
|
#
|
@@ -14078,7 +14100,7 @@ module Aws::SageMaker
|
|
14078
14100
|
# resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_name #=> String
|
14079
14101
|
# resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_arn #=> String
|
14080
14102
|
# resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
|
14081
|
-
# resp.hyper_parameter_tuning_job_summaries[0].strategy #=> String, one of "Bayesian", "Random"
|
14103
|
+
# resp.hyper_parameter_tuning_job_summaries[0].strategy #=> String, one of "Bayesian", "Random", "Hyperband"
|
14082
14104
|
# resp.hyper_parameter_tuning_job_summaries[0].creation_time #=> Time
|
14083
14105
|
# resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_end_time #=> Time
|
14084
14106
|
# resp.hyper_parameter_tuning_job_summaries[0].last_modified_time #=> Time
|
@@ -17947,7 +17969,9 @@ module Aws::SageMaker
|
|
17947
17969
|
# resp.results[0].feature_metadata.parameters[0].value #=> String
|
17948
17970
|
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_name #=> String
|
17949
17971
|
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_arn #=> String
|
17950
|
-
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.strategy #=> String, one of "Bayesian", "Random"
|
17972
|
+
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.strategy #=> String, one of "Bayesian", "Random", "Hyperband"
|
17973
|
+
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.strategy_config.hyperband_strategy_config.min_resource #=> Integer
|
17974
|
+
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.strategy_config.hyperband_strategy_config.max_resource #=> Integer
|
17951
17975
|
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.hyper_parameter_tuning_job_objective.type #=> String, one of "Maximize", "Minimize"
|
17952
17976
|
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.hyper_parameter_tuning_job_objective.metric_name #=> String
|
17953
17977
|
# resp.results[0].hyper_parameter_tuning_job.hyper_parameter_tuning_job_config.resource_limits.max_number_of_training_jobs #=> Integer
|
@@ -19157,6 +19181,12 @@ module Aws::SageMaker
|
|
19157
19181
|
# },
|
19158
19182
|
# ],
|
19159
19183
|
# },
|
19184
|
+
# canvas_app_settings: {
|
19185
|
+
# time_series_forecasting_settings: {
|
19186
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
19187
|
+
# amazon_forecast_role_arn: "RoleArn",
|
19188
|
+
# },
|
19189
|
+
# },
|
19160
19190
|
# },
|
19161
19191
|
# domain_settings_for_update: {
|
19162
19192
|
# r_studio_server_pro_domain_settings_for_update: {
|
@@ -20346,6 +20376,12 @@ module Aws::SageMaker
|
|
20346
20376
|
# },
|
20347
20377
|
# ],
|
20348
20378
|
# },
|
20379
|
+
# canvas_app_settings: {
|
20380
|
+
# time_series_forecasting_settings: {
|
20381
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
20382
|
+
# amazon_forecast_role_arn: "RoleArn",
|
20383
|
+
# },
|
20384
|
+
# },
|
20349
20385
|
# },
|
20350
20386
|
# })
|
20351
20387
|
#
|
@@ -20596,7 +20632,7 @@ module Aws::SageMaker
|
|
20596
20632
|
params: params,
|
20597
20633
|
config: config)
|
20598
20634
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
20599
|
-
context[:gem_version] = '1.
|
20635
|
+
context[:gem_version] = '1.141.0'
|
20600
20636
|
Seahorse::Client::Request.new(handlers, context)
|
20601
20637
|
end
|
20602
20638
|
|
@@ -160,6 +160,7 @@ module Aws::SageMaker
|
|
160
160
|
CandidateStepName = Shapes::StringShape.new(name: 'CandidateStepName')
|
161
161
|
CandidateStepType = Shapes::StringShape.new(name: 'CandidateStepType')
|
162
162
|
CandidateSteps = Shapes::ListShape.new(name: 'CandidateSteps')
|
163
|
+
CanvasAppSettings = Shapes::StructureShape.new(name: 'CanvasAppSettings')
|
163
164
|
CapacitySize = Shapes::StructureShape.new(name: 'CapacitySize')
|
164
165
|
CapacitySizeType = Shapes::StringShape.new(name: 'CapacitySizeType')
|
165
166
|
CapacitySizeValue = Shapes::IntegerShape.new(name: 'CapacitySizeValue')
|
@@ -675,6 +676,7 @@ module Aws::SageMaker
|
|
675
676
|
FeatureParameterRemovals = Shapes::ListShape.new(name: 'FeatureParameterRemovals')
|
676
677
|
FeatureParameterValue = Shapes::StringShape.new(name: 'FeatureParameterValue')
|
677
678
|
FeatureParameters = Shapes::ListShape.new(name: 'FeatureParameters')
|
679
|
+
FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
|
678
680
|
FeatureType = Shapes::StringShape.new(name: 'FeatureType')
|
679
681
|
FileSource = Shapes::StructureShape.new(name: 'FileSource')
|
680
682
|
FileSystemAccessMode = Shapes::StringShape.new(name: 'FileSystemAccessMode')
|
@@ -754,6 +756,7 @@ module Aws::SageMaker
|
|
754
756
|
HyperParameterTuningJobSearchEntity = Shapes::StructureShape.new(name: 'HyperParameterTuningJobSearchEntity')
|
755
757
|
HyperParameterTuningJobSortByOptions = Shapes::StringShape.new(name: 'HyperParameterTuningJobSortByOptions')
|
756
758
|
HyperParameterTuningJobStatus = Shapes::StringShape.new(name: 'HyperParameterTuningJobStatus')
|
759
|
+
HyperParameterTuningJobStrategyConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobStrategyConfig')
|
757
760
|
HyperParameterTuningJobStrategyType = Shapes::StringShape.new(name: 'HyperParameterTuningJobStrategyType')
|
758
761
|
HyperParameterTuningJobSummaries = Shapes::ListShape.new(name: 'HyperParameterTuningJobSummaries')
|
759
762
|
HyperParameterTuningJobSummary = Shapes::StructureShape.new(name: 'HyperParameterTuningJobSummary')
|
@@ -762,6 +765,9 @@ module Aws::SageMaker
|
|
762
765
|
HyperParameterTuningResourceConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningResourceConfig')
|
763
766
|
HyperParameterValue = Shapes::StringShape.new(name: 'HyperParameterValue')
|
764
767
|
HyperParameters = Shapes::MapShape.new(name: 'HyperParameters')
|
768
|
+
HyperbandStrategyConfig = Shapes::StructureShape.new(name: 'HyperbandStrategyConfig')
|
769
|
+
HyperbandStrategyMaxResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMaxResource')
|
770
|
+
HyperbandStrategyMinResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMinResource')
|
765
771
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
766
772
|
Image = Shapes::StructureShape.new(name: 'Image')
|
767
773
|
ImageArn = Shapes::StringShape.new(name: 'ImageArn')
|
@@ -1530,6 +1536,7 @@ module Aws::SageMaker
|
|
1530
1536
|
TenthFractionsOfACent = Shapes::IntegerShape.new(name: 'TenthFractionsOfACent')
|
1531
1537
|
TerminationWaitInSeconds = Shapes::IntegerShape.new(name: 'TerminationWaitInSeconds')
|
1532
1538
|
ThingName = Shapes::StringShape.new(name: 'ThingName')
|
1539
|
+
TimeSeriesForecastingSettings = Shapes::StructureShape.new(name: 'TimeSeriesForecastingSettings')
|
1533
1540
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
1534
1541
|
TrafficDurationInSeconds = Shapes::IntegerShape.new(name: 'TrafficDurationInSeconds')
|
1535
1542
|
TrafficPattern = Shapes::StructureShape.new(name: 'TrafficPattern')
|
@@ -2045,6 +2052,9 @@ module Aws::SageMaker
|
|
2045
2052
|
|
2046
2053
|
CandidateSteps.member = Shapes::ShapeRef.new(shape: AutoMLCandidateStep)
|
2047
2054
|
|
2055
|
+
CanvasAppSettings.add_member(:time_series_forecasting_settings, Shapes::ShapeRef.new(shape: TimeSeriesForecastingSettings, location_name: "TimeSeriesForecastingSettings"))
|
2056
|
+
CanvasAppSettings.struct_class = Types::CanvasAppSettings
|
2057
|
+
|
2048
2058
|
CapacitySize.add_member(:type, Shapes::ShapeRef.new(shape: CapacitySizeType, required: true, location_name: "Type"))
|
2049
2059
|
CapacitySize.add_member(:value, Shapes::ShapeRef.new(shape: CapacitySizeValue, required: true, location_name: "Value"))
|
2050
2060
|
CapacitySize.struct_class = Types::CapacitySize
|
@@ -4521,6 +4531,7 @@ module Aws::SageMaker
|
|
4521
4531
|
HyperParameterTuningInstanceConfigs.member = Shapes::ShapeRef.new(shape: HyperParameterTuningInstanceConfig)
|
4522
4532
|
|
4523
4533
|
HyperParameterTuningJobConfig.add_member(:strategy, Shapes::ShapeRef.new(shape: HyperParameterTuningJobStrategyType, required: true, location_name: "Strategy"))
|
4534
|
+
HyperParameterTuningJobConfig.add_member(:strategy_config, Shapes::ShapeRef.new(shape: HyperParameterTuningJobStrategyConfig, location_name: "StrategyConfig"))
|
4524
4535
|
HyperParameterTuningJobConfig.add_member(:hyper_parameter_tuning_job_objective, Shapes::ShapeRef.new(shape: HyperParameterTuningJobObjective, location_name: "HyperParameterTuningJobObjective"))
|
4525
4536
|
HyperParameterTuningJobConfig.add_member(:resource_limits, Shapes::ShapeRef.new(shape: ResourceLimits, required: true, location_name: "ResourceLimits"))
|
4526
4537
|
HyperParameterTuningJobConfig.add_member(:parameter_ranges, Shapes::ShapeRef.new(shape: ParameterRanges, location_name: "ParameterRanges"))
|
@@ -4552,6 +4563,9 @@ module Aws::SageMaker
|
|
4552
4563
|
HyperParameterTuningJobSearchEntity.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
4553
4564
|
HyperParameterTuningJobSearchEntity.struct_class = Types::HyperParameterTuningJobSearchEntity
|
4554
4565
|
|
4566
|
+
HyperParameterTuningJobStrategyConfig.add_member(:hyperband_strategy_config, Shapes::ShapeRef.new(shape: HyperbandStrategyConfig, location_name: "HyperbandStrategyConfig"))
|
4567
|
+
HyperParameterTuningJobStrategyConfig.struct_class = Types::HyperParameterTuningJobStrategyConfig
|
4568
|
+
|
4555
4569
|
HyperParameterTuningJobSummaries.member = Shapes::ShapeRef.new(shape: HyperParameterTuningJobSummary)
|
4556
4570
|
|
4557
4571
|
HyperParameterTuningJobSummary.add_member(:hyper_parameter_tuning_job_name, Shapes::ShapeRef.new(shape: HyperParameterTuningJobName, required: true, location_name: "HyperParameterTuningJobName"))
|
@@ -4581,6 +4595,10 @@ module Aws::SageMaker
|
|
4581
4595
|
HyperParameters.key = Shapes::ShapeRef.new(shape: HyperParameterKey)
|
4582
4596
|
HyperParameters.value = Shapes::ShapeRef.new(shape: HyperParameterValue)
|
4583
4597
|
|
4598
|
+
HyperbandStrategyConfig.add_member(:min_resource, Shapes::ShapeRef.new(shape: HyperbandStrategyMinResource, location_name: "MinResource"))
|
4599
|
+
HyperbandStrategyConfig.add_member(:max_resource, Shapes::ShapeRef.new(shape: HyperbandStrategyMaxResource, location_name: "MaxResource"))
|
4600
|
+
HyperbandStrategyConfig.struct_class = Types::HyperbandStrategyConfig
|
4601
|
+
|
4584
4602
|
Image.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
4585
4603
|
Image.add_member(:description, Shapes::ShapeRef.new(shape: ImageDescription, location_name: "Description"))
|
4586
4604
|
Image.add_member(:display_name, Shapes::ShapeRef.new(shape: ImageDisplayName, location_name: "DisplayName"))
|
@@ -6898,6 +6916,10 @@ module Aws::SageMaker
|
|
6898
6916
|
TensorBoardOutputConfig.add_member(:s3_output_path, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3OutputPath"))
|
6899
6917
|
TensorBoardOutputConfig.struct_class = Types::TensorBoardOutputConfig
|
6900
6918
|
|
6919
|
+
TimeSeriesForecastingSettings.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "Status"))
|
6920
|
+
TimeSeriesForecastingSettings.add_member(:amazon_forecast_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AmazonForecastRoleArn"))
|
6921
|
+
TimeSeriesForecastingSettings.struct_class = Types::TimeSeriesForecastingSettings
|
6922
|
+
|
6901
6923
|
TrafficPattern.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "TrafficType"))
|
6902
6924
|
TrafficPattern.add_member(:phases, Shapes::ShapeRef.new(shape: Phases, location_name: "Phases"))
|
6903
6925
|
TrafficPattern.struct_class = Types::TrafficPattern
|
@@ -7465,6 +7487,7 @@ module Aws::SageMaker
|
|
7465
7487
|
UserSettings.add_member(:tensor_board_app_settings, Shapes::ShapeRef.new(shape: TensorBoardAppSettings, location_name: "TensorBoardAppSettings"))
|
7466
7488
|
UserSettings.add_member(:r_studio_server_pro_app_settings, Shapes::ShapeRef.new(shape: RStudioServerProAppSettings, location_name: "RStudioServerProAppSettings"))
|
7467
7489
|
UserSettings.add_member(:r_session_app_settings, Shapes::ShapeRef.new(shape: RSessionAppSettings, location_name: "RSessionAppSettings"))
|
7490
|
+
UserSettings.add_member(:canvas_app_settings, Shapes::ShapeRef.new(shape: CanvasAppSettings, location_name: "CanvasAppSettings"))
|
7468
7491
|
UserSettings.struct_class = Types::UserSettings
|
7469
7492
|
|
7470
7493
|
VariantProperty.add_member(:variant_property_type, Shapes::ShapeRef.new(shape: VariantPropertyType, required: true, location_name: "VariantPropertyType"))
|
@@ -2058,11 +2058,33 @@ module Aws::SageMaker
|
|
2058
2058
|
#
|
2059
2059
|
# @!attribute [rw] feature_specification_s3_uri
|
2060
2060
|
# A URL to the Amazon S3 data source containing selected features from
|
2061
|
-
# the input data source to run an Autopilot job
|
2062
|
-
#
|
2061
|
+
# the input data source to run an Autopilot job. You can input
|
2062
|
+
# `FeatureAttributeNames` (optional) in JSON format as shown below:
|
2063
2063
|
#
|
2064
2064
|
# `\{ "FeatureAttributeNames":["col1", "col2", ...] \}`.
|
2065
2065
|
#
|
2066
|
+
# You can also specify the data type of the feature (optional) in the
|
2067
|
+
# format shown below:
|
2068
|
+
#
|
2069
|
+
# `\{ "FeatureDataTypes":\{"col1":"numeric", "col2":"categorical" ...
|
2070
|
+
# \} \}`
|
2071
|
+
#
|
2072
|
+
# <note markdown="1"> These column keys may not include the target column.
|
2073
|
+
#
|
2074
|
+
# </note>
|
2075
|
+
#
|
2076
|
+
# In ensembling mode, Autopilot will only support the following data
|
2077
|
+
# types: `numeric`, `categorical`, `text` and `datetime`. In HPO mode,
|
2078
|
+
# Autopilot can support `numeric`, `categorical`, `text`, `datetime`
|
2079
|
+
# and `sequence`.
|
2080
|
+
#
|
2081
|
+
# If only `FeatureDataTypes` is provided, the column keys (`col1`,
|
2082
|
+
# `col2`,..) should be a subset of the column names in the input data.
|
2083
|
+
#
|
2084
|
+
# If both `FeatureDataTypes` and `FeatureAttributeNames` are provided,
|
2085
|
+
# then the column keys should be a subset of the column names provided
|
2086
|
+
# in `FeatureAttributeNames`.
|
2087
|
+
#
|
2066
2088
|
# The key name `FeatureAttributeNames` is fixed. The values listed in
|
2067
2089
|
# `["col1", "col2", ...]` is case sensitive and should be a list of
|
2068
2090
|
# strings containing unique values that are a subset of the column
|
@@ -2986,6 +3008,30 @@ module Aws::SageMaker
|
|
2986
3008
|
include Aws::Structure
|
2987
3009
|
end
|
2988
3010
|
|
3011
|
+
# The SageMaker Canvas app settings.
|
3012
|
+
#
|
3013
|
+
# @note When making an API call, you may pass CanvasAppSettings
|
3014
|
+
# data as a hash:
|
3015
|
+
#
|
3016
|
+
# {
|
3017
|
+
# time_series_forecasting_settings: {
|
3018
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
3019
|
+
# amazon_forecast_role_arn: "RoleArn",
|
3020
|
+
# },
|
3021
|
+
# }
|
3022
|
+
#
|
3023
|
+
# @!attribute [rw] time_series_forecasting_settings
|
3024
|
+
# Time series forecast settings for the Canvas app.
|
3025
|
+
# @return [Types::TimeSeriesForecastingSettings]
|
3026
|
+
#
|
3027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CanvasAppSettings AWS API Documentation
|
3028
|
+
#
|
3029
|
+
class CanvasAppSettings < Struct.new(
|
3030
|
+
:time_series_forecasting_settings)
|
3031
|
+
SENSITIVE = []
|
3032
|
+
include Aws::Structure
|
3033
|
+
end
|
3034
|
+
|
2989
3035
|
# Specifies the endpoint capacity to activate for production.
|
2990
3036
|
#
|
2991
3037
|
# @note When making an API call, you may pass CapacitySize
|
@@ -4440,8 +4486,7 @@ module Aws::SageMaker
|
|
4440
4486
|
# @return [String]
|
4441
4487
|
#
|
4442
4488
|
# @!attribute [rw] app_type
|
4443
|
-
# The type of app.
|
4444
|
-
# `KernelGateway`. `TensorBoard` is not supported.
|
4489
|
+
# The type of app.
|
4445
4490
|
# @return [String]
|
4446
4491
|
#
|
4447
4492
|
# @!attribute [rw] app_name
|
@@ -5299,6 +5344,12 @@ module Aws::SageMaker
|
|
5299
5344
|
# },
|
5300
5345
|
# ],
|
5301
5346
|
# },
|
5347
|
+
# canvas_app_settings: {
|
5348
|
+
# time_series_forecasting_settings: {
|
5349
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
5350
|
+
# amazon_forecast_role_arn: "RoleArn",
|
5351
|
+
# },
|
5352
|
+
# },
|
5302
5353
|
# },
|
5303
5354
|
# subnet_ids: ["SubnetId"], # required
|
5304
5355
|
# vpc_id: "VpcId", # required
|
@@ -6293,7 +6344,13 @@ module Aws::SageMaker
|
|
6293
6344
|
# {
|
6294
6345
|
# hyper_parameter_tuning_job_name: "HyperParameterTuningJobName", # required
|
6295
6346
|
# hyper_parameter_tuning_job_config: { # required
|
6296
|
-
# strategy: "Bayesian", # required, accepts Bayesian, Random
|
6347
|
+
# strategy: "Bayesian", # required, accepts Bayesian, Random, Hyperband
|
6348
|
+
# strategy_config: {
|
6349
|
+
# hyperband_strategy_config: {
|
6350
|
+
# min_resource: 1,
|
6351
|
+
# max_resource: 1,
|
6352
|
+
# },
|
6353
|
+
# },
|
6297
6354
|
# hyper_parameter_tuning_job_objective: {
|
6298
6355
|
# type: "Maximize", # required, accepts Maximize, Minimize
|
6299
6356
|
# metric_name: "MetricName", # required
|
@@ -10152,6 +10209,12 @@ module Aws::SageMaker
|
|
10152
10209
|
# },
|
10153
10210
|
# ],
|
10154
10211
|
# },
|
10212
|
+
# canvas_app_settings: {
|
10213
|
+
# time_series_forecasting_settings: {
|
10214
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
10215
|
+
# amazon_forecast_role_arn: "RoleArn",
|
10216
|
+
# },
|
10217
|
+
# },
|
10155
10218
|
# },
|
10156
10219
|
# }
|
10157
10220
|
#
|
@@ -10166,17 +10229,17 @@ module Aws::SageMaker
|
|
10166
10229
|
# @!attribute [rw] single_sign_on_user_identifier
|
10167
10230
|
# A specifier for the type of value specified in
|
10168
10231
|
# SingleSignOnUserValue. Currently, the only supported value is
|
10169
|
-
# "UserName". If the Domain's AuthMode is
|
10170
|
-
#
|
10171
|
-
#
|
10232
|
+
# "UserName". If the Domain's AuthMode is IAM Identity Center, this
|
10233
|
+
# field is required. If the Domain's AuthMode is not IAM Identity
|
10234
|
+
# Center, this field cannot be specified.
|
10172
10235
|
# @return [String]
|
10173
10236
|
#
|
10174
10237
|
# @!attribute [rw] single_sign_on_user_value
|
10175
10238
|
# The username of the associated Amazon Web Services Single Sign-On
|
10176
|
-
# User for this UserProfile. If the Domain's AuthMode is
|
10177
|
-
#
|
10178
|
-
#
|
10179
|
-
#
|
10239
|
+
# User for this UserProfile. If the Domain's AuthMode is IAM Identity
|
10240
|
+
# Center, this field is required, and must match a valid username of a
|
10241
|
+
# user in your directory. If the Domain's AuthMode is not IAM
|
10242
|
+
# Identity Center, this field cannot be specified.
|
10180
10243
|
# @return [String]
|
10181
10244
|
#
|
10182
10245
|
# @!attribute [rw] tags
|
@@ -13425,7 +13488,7 @@ module Aws::SageMaker
|
|
13425
13488
|
# @return [String]
|
13426
13489
|
#
|
13427
13490
|
# @!attribute [rw] single_sign_on_managed_application_instance_id
|
13428
|
-
# The
|
13491
|
+
# The IAM Identity Center managed application instance ID.
|
13429
13492
|
# @return [String]
|
13430
13493
|
#
|
13431
13494
|
# @!attribute [rw] status
|
@@ -17227,11 +17290,11 @@ module Aws::SageMaker
|
|
17227
17290
|
# @return [String]
|
17228
17291
|
#
|
17229
17292
|
# @!attribute [rw] single_sign_on_user_identifier
|
17230
|
-
# The
|
17293
|
+
# The IAM Identity Center user identifier.
|
17231
17294
|
# @return [String]
|
17232
17295
|
#
|
17233
17296
|
# @!attribute [rw] single_sign_on_user_value
|
17234
|
-
# The
|
17297
|
+
# The IAM Identity Center user value.
|
17235
17298
|
# @return [String]
|
17236
17299
|
#
|
17237
17300
|
# @!attribute [rw] user_settings
|
@@ -17732,7 +17795,7 @@ module Aws::SageMaker
|
|
17732
17795
|
#
|
17733
17796
|
# @!attribute [rw] execution_role_identity_config
|
17734
17797
|
# The configuration for attaching a SageMaker user profile name to the
|
17735
|
-
# execution role as a [
|
17798
|
+
# execution role as a [sts:SourceIdentity key][1].
|
17736
17799
|
#
|
17737
17800
|
#
|
17738
17801
|
#
|
@@ -17774,9 +17837,9 @@ module Aws::SageMaker
|
|
17774
17837
|
#
|
17775
17838
|
# @!attribute [rw] execution_role_identity_config
|
17776
17839
|
# The configuration for attaching a SageMaker user profile name to the
|
17777
|
-
# execution role as a [
|
17778
|
-
#
|
17779
|
-
# `
|
17840
|
+
# execution role as a [sts:SourceIdentity key][1]. This configuration
|
17841
|
+
# can only be modified if there are no apps in the `InService` or
|
17842
|
+
# `Pending` state.
|
17780
17843
|
#
|
17781
17844
|
#
|
17782
17845
|
#
|
@@ -21179,7 +21242,8 @@ module Aws::SageMaker
|
|
21179
21242
|
# Defines the maximum number of data objects that can be labeled by
|
21180
21243
|
# human workers at the same time. Also referred to as batch size. Each
|
21181
21244
|
# object may have more than one worker at one time. The default value
|
21182
|
-
# is 1000 objects.
|
21245
|
+
# is 1000 objects. To increase the maximum value to 5000 objects,
|
21246
|
+
# contact Amazon Web Services Support.
|
21183
21247
|
# @return [Integer]
|
21184
21248
|
#
|
21185
21249
|
# @!attribute [rw] annotation_consolidation_config
|
@@ -21848,7 +21912,13 @@ module Aws::SageMaker
|
|
21848
21912
|
# data as a hash:
|
21849
21913
|
#
|
21850
21914
|
# {
|
21851
|
-
# strategy: "Bayesian", # required, accepts Bayesian, Random
|
21915
|
+
# strategy: "Bayesian", # required, accepts Bayesian, Random, Hyperband
|
21916
|
+
# strategy_config: {
|
21917
|
+
# hyperband_strategy_config: {
|
21918
|
+
# min_resource: 1,
|
21919
|
+
# max_resource: 1,
|
21920
|
+
# },
|
21921
|
+
# },
|
21852
21922
|
# hyper_parameter_tuning_job_objective: {
|
21853
21923
|
# type: "Maximize", # required, accepts Maximize, Minimize
|
21854
21924
|
# metric_name: "MetricName", # required
|
@@ -21889,16 +21959,21 @@ module Aws::SageMaker
|
|
21889
21959
|
#
|
21890
21960
|
# @!attribute [rw] strategy
|
21891
21961
|
# Specifies how hyperparameter tuning chooses the combinations of
|
21892
|
-
# hyperparameter values to use for the training job it launches.
|
21893
|
-
#
|
21894
|
-
#
|
21895
|
-
# strategies, see [How Hyperparameter Tuning Works][1].
|
21962
|
+
# hyperparameter values to use for the training job it launches. For
|
21963
|
+
# information about search strategies, see [How Hyperparameter Tuning
|
21964
|
+
# Works][1].
|
21896
21965
|
#
|
21897
21966
|
#
|
21898
21967
|
#
|
21899
21968
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html
|
21900
21969
|
# @return [String]
|
21901
21970
|
#
|
21971
|
+
# @!attribute [rw] strategy_config
|
21972
|
+
# The configuration for the `Hyperband` optimization strategy. This
|
21973
|
+
# parameter should be provided only if `Hyperband` is selected as the
|
21974
|
+
# strategy for `HyperParameterTuningJobConfig`.
|
21975
|
+
# @return [Types::HyperParameterTuningJobStrategyConfig]
|
21976
|
+
#
|
21902
21977
|
# @!attribute [rw] hyper_parameter_tuning_job_objective
|
21903
21978
|
# The HyperParameterTuningJobObjective object that specifies the
|
21904
21979
|
# objective metric for this tuning job.
|
@@ -21916,8 +21991,11 @@ module Aws::SageMaker
|
|
21916
21991
|
#
|
21917
21992
|
# @!attribute [rw] training_job_early_stopping_type
|
21918
21993
|
# Specifies whether to use early stopping for training jobs launched
|
21919
|
-
# by the hyperparameter tuning job.
|
21920
|
-
#
|
21994
|
+
# by the hyperparameter tuning job. Because the `Hyperband` strategy
|
21995
|
+
# has its own advanced internal early stopping mechanism,
|
21996
|
+
# `TrainingJobEarlyStoppingType` must be `OFF` to use `Hyperband`.
|
21997
|
+
# This parameter can take on one of the following values (the default
|
21998
|
+
# value is `OFF`):
|
21921
21999
|
#
|
21922
22000
|
# OFF
|
21923
22001
|
#
|
@@ -21944,6 +22022,7 @@ module Aws::SageMaker
|
|
21944
22022
|
#
|
21945
22023
|
class HyperParameterTuningJobConfig < Struct.new(
|
21946
22024
|
:strategy,
|
22025
|
+
:strategy_config,
|
21947
22026
|
:hyper_parameter_tuning_job_objective,
|
21948
22027
|
:resource_limits,
|
21949
22028
|
:parameter_ranges,
|
@@ -21984,8 +22063,12 @@ module Aws::SageMaker
|
|
21984
22063
|
include Aws::Structure
|
21985
22064
|
end
|
21986
22065
|
|
21987
|
-
# An entity
|
21988
|
-
# hyperparameter tuning job.
|
22066
|
+
# An entity returned by the [SearchRecord][1] API containing the
|
22067
|
+
# properties of a hyperparameter tuning job.
|
22068
|
+
#
|
22069
|
+
#
|
22070
|
+
#
|
22071
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_SearchRecord.html
|
21989
22072
|
#
|
21990
22073
|
# @!attribute [rw] hyper_parameter_tuning_job_name
|
21991
22074
|
# The name of a hyperparameter tuning job.
|
@@ -22101,6 +22184,42 @@ module Aws::SageMaker
|
|
22101
22184
|
include Aws::Structure
|
22102
22185
|
end
|
22103
22186
|
|
22187
|
+
# The configuration for a training job launched by a hyperparameter
|
22188
|
+
# tuning job. Choose `Bayesian` for Bayesian optimization, and `Random`
|
22189
|
+
# for random search optimization. For more advanced use cases, use
|
22190
|
+
# `Hyperband`, which evaluates objective metrics for training jobs after
|
22191
|
+
# every epoch. For more information about strategies, see [How
|
22192
|
+
# Hyperparameter Tuning Works][1].
|
22193
|
+
#
|
22194
|
+
#
|
22195
|
+
#
|
22196
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html
|
22197
|
+
#
|
22198
|
+
# @note When making an API call, you may pass HyperParameterTuningJobStrategyConfig
|
22199
|
+
# data as a hash:
|
22200
|
+
#
|
22201
|
+
# {
|
22202
|
+
# hyperband_strategy_config: {
|
22203
|
+
# min_resource: 1,
|
22204
|
+
# max_resource: 1,
|
22205
|
+
# },
|
22206
|
+
# }
|
22207
|
+
#
|
22208
|
+
# @!attribute [rw] hyperband_strategy_config
|
22209
|
+
# The configuration for the object that specifies the `Hyperband`
|
22210
|
+
# strategy. This parameter is only supported for the `Hyperband`
|
22211
|
+
# selection for `Strategy` within the `HyperParameterTuningJobConfig`
|
22212
|
+
# API.
|
22213
|
+
# @return [Types::HyperbandStrategyConfig]
|
22214
|
+
#
|
22215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobStrategyConfig AWS API Documentation
|
22216
|
+
#
|
22217
|
+
class HyperParameterTuningJobStrategyConfig < Struct.new(
|
22218
|
+
:hyperband_strategy_config)
|
22219
|
+
SENSITIVE = []
|
22220
|
+
include Aws::Structure
|
22221
|
+
end
|
22222
|
+
|
22104
22223
|
# Provides summary information about a hyperparameter tuning job.
|
22105
22224
|
#
|
22106
22225
|
# @!attribute [rw] hyper_parameter_tuning_job_name
|
@@ -22117,8 +22236,7 @@ module Aws::SageMaker
|
|
22117
22236
|
#
|
22118
22237
|
# @!attribute [rw] strategy
|
22119
22238
|
# Specifies the search strategy hyperparameter tuning uses to choose
|
22120
|
-
# which hyperparameters to
|
22121
|
-
# valid value is Bayesian.
|
22239
|
+
# which hyperparameters to evaluate at each iteration.
|
22122
22240
|
# @return [String]
|
22123
22241
|
#
|
22124
22242
|
# @!attribute [rw] creation_time
|
@@ -22386,6 +22504,74 @@ module Aws::SageMaker
|
|
22386
22504
|
include Aws::Structure
|
22387
22505
|
end
|
22388
22506
|
|
22507
|
+
# The configuration for `Hyperband`, a multi-fidelity based
|
22508
|
+
# hyperparameter tuning strategy. `Hyperband` uses the final and
|
22509
|
+
# intermediate results of a training job to dynamically allocate
|
22510
|
+
# resources to utilized hyperparameter configurations while
|
22511
|
+
# automatically stopping under-performing configurations. This parameter
|
22512
|
+
# should be provided only if `Hyperband` is selected as the
|
22513
|
+
# `StrategyConfig` under the `HyperParameterTuningJobConfig` API.
|
22514
|
+
#
|
22515
|
+
# @note When making an API call, you may pass HyperbandStrategyConfig
|
22516
|
+
# data as a hash:
|
22517
|
+
#
|
22518
|
+
# {
|
22519
|
+
# min_resource: 1,
|
22520
|
+
# max_resource: 1,
|
22521
|
+
# }
|
22522
|
+
#
|
22523
|
+
# @!attribute [rw] min_resource
|
22524
|
+
# The minimum number of resources (such as epochs) that can be used by
|
22525
|
+
# a training job launched by a hyperparameter tuning job. If the value
|
22526
|
+
# for `MinResource` has not been reached, the training job will not be
|
22527
|
+
# stopped by `Hyperband`.
|
22528
|
+
# @return [Integer]
|
22529
|
+
#
|
22530
|
+
# @!attribute [rw] max_resource
|
22531
|
+
# The maximum number of resources (such as epochs) that can be used by
|
22532
|
+
# a training job launched by a hyperparameter tuning job. Once a job
|
22533
|
+
# reaches the `MaxResource` value, it is stopped. If a value for
|
22534
|
+
# `MaxResource` is not provided, and `Hyperband` is selected as the
|
22535
|
+
# hyperparameter tuning strategy, `HyperbandTrainingJ` attempts to
|
22536
|
+
# infer `MaxResource` from the following keys (if present) in
|
22537
|
+
# [StaticsHyperParameters][1]\:
|
22538
|
+
#
|
22539
|
+
# * `epochs`
|
22540
|
+
#
|
22541
|
+
# * `numepochs`
|
22542
|
+
#
|
22543
|
+
# * `n-epochs`
|
22544
|
+
#
|
22545
|
+
# * `n_epochs`
|
22546
|
+
#
|
22547
|
+
# * `num_epochs`
|
22548
|
+
#
|
22549
|
+
# If `HyperbandStrategyConfig` is unable to infer a value for
|
22550
|
+
# `MaxResource`, it generates a validation error. The maximum value is
|
22551
|
+
# 20,000 epochs. All metrics that correspond to an objective metric
|
22552
|
+
# are used to derive [early stopping decisions][2]. For
|
22553
|
+
# [distributive][3] training jobs, ensure that duplicate metrics are
|
22554
|
+
# not printed in the logs across the individual nodes in a training
|
22555
|
+
# job. If multiple nodes are publishing duplicate or incorrect
|
22556
|
+
# metrics, training jobs may make an incorrect stopping decision and
|
22557
|
+
# stop the job prematurely.
|
22558
|
+
#
|
22559
|
+
#
|
22560
|
+
#
|
22561
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-StaticHyperParameters
|
22562
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html
|
22563
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/distributed-training.html
|
22564
|
+
# @return [Integer]
|
22565
|
+
#
|
22566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperbandStrategyConfig AWS API Documentation
|
22567
|
+
#
|
22568
|
+
class HyperbandStrategyConfig < Struct.new(
|
22569
|
+
:min_resource,
|
22570
|
+
:max_resource)
|
22571
|
+
SENSITIVE = []
|
22572
|
+
include Aws::Structure
|
22573
|
+
end
|
22574
|
+
|
22389
22575
|
# A SageMaker image. A SageMaker image represents a set of container
|
22390
22576
|
# images that are derived from a common base container image. Each of
|
22391
22577
|
# these container images is represented by a SageMaker `ImageVersion`.
|
@@ -38324,6 +38510,46 @@ module Aws::SageMaker
|
|
38324
38510
|
include Aws::Structure
|
38325
38511
|
end
|
38326
38512
|
|
38513
|
+
# Time series forecast settings for the SageMaker Canvas app.
|
38514
|
+
#
|
38515
|
+
# @note When making an API call, you may pass TimeSeriesForecastingSettings
|
38516
|
+
# data as a hash:
|
38517
|
+
#
|
38518
|
+
# {
|
38519
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
38520
|
+
# amazon_forecast_role_arn: "RoleArn",
|
38521
|
+
# }
|
38522
|
+
#
|
38523
|
+
# @!attribute [rw] status
|
38524
|
+
# Describes whether time series forecasting is enabled or disabled in
|
38525
|
+
# the Canvas app.
|
38526
|
+
# @return [String]
|
38527
|
+
#
|
38528
|
+
# @!attribute [rw] amazon_forecast_role_arn
|
38529
|
+
# The IAM role that Canvas passes to Amazon Forecast for time series
|
38530
|
+
# forecasting. By default, Canvas uses the execution role specified in
|
38531
|
+
# the `UserProfile` that launches the Canvas app. If an execution role
|
38532
|
+
# is not specified in the `UserProfile`, Canvas uses the execution
|
38533
|
+
# role specified in the Domain that owns the `UserProfile`. To allow
|
38534
|
+
# time series forecasting, this IAM role should have the [
|
38535
|
+
# AmazonSageMakerCanvasForecastAccess][1] policy attached and
|
38536
|
+
# `forecast.amazonaws.com` added in the trust relationship as a
|
38537
|
+
# service principal.
|
38538
|
+
#
|
38539
|
+
#
|
38540
|
+
#
|
38541
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-canvas.html#security-iam-awsmanpol-AmazonSageMakerCanvasForecastAccess
|
38542
|
+
# @return [String]
|
38543
|
+
#
|
38544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TimeSeriesForecastingSettings AWS API Documentation
|
38545
|
+
#
|
38546
|
+
class TimeSeriesForecastingSettings < Struct.new(
|
38547
|
+
:status,
|
38548
|
+
:amazon_forecast_role_arn)
|
38549
|
+
SENSITIVE = []
|
38550
|
+
include Aws::Structure
|
38551
|
+
end
|
38552
|
+
|
38327
38553
|
# Defines the traffic pattern of the load test.
|
38328
38554
|
#
|
38329
38555
|
# @note When making an API call, you may pass TrafficPattern
|
@@ -40973,6 +41199,12 @@ module Aws::SageMaker
|
|
40973
41199
|
# },
|
40974
41200
|
# ],
|
40975
41201
|
# },
|
41202
|
+
# canvas_app_settings: {
|
41203
|
+
# time_series_forecasting_settings: {
|
41204
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
41205
|
+
# amazon_forecast_role_arn: "RoleArn",
|
41206
|
+
# },
|
41207
|
+
# },
|
40976
41208
|
# },
|
40977
41209
|
# domain_settings_for_update: {
|
40978
41210
|
# r_studio_server_pro_domain_settings_for_update: {
|
@@ -42296,6 +42528,12 @@ module Aws::SageMaker
|
|
42296
42528
|
# },
|
42297
42529
|
# ],
|
42298
42530
|
# },
|
42531
|
+
# canvas_app_settings: {
|
42532
|
+
# time_series_forecasting_settings: {
|
42533
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
42534
|
+
# amazon_forecast_role_arn: "RoleArn",
|
42535
|
+
# },
|
42536
|
+
# },
|
42299
42537
|
# },
|
42300
42538
|
# }
|
42301
42539
|
#
|
@@ -42637,6 +42875,12 @@ module Aws::SageMaker
|
|
42637
42875
|
# },
|
42638
42876
|
# ],
|
42639
42877
|
# },
|
42878
|
+
# canvas_app_settings: {
|
42879
|
+
# time_series_forecasting_settings: {
|
42880
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
42881
|
+
# amazon_forecast_role_arn: "RoleArn",
|
42882
|
+
# },
|
42883
|
+
# },
|
42640
42884
|
# }
|
42641
42885
|
#
|
42642
42886
|
# @!attribute [rw] execution_role
|
@@ -42683,6 +42927,10 @@ module Aws::SageMaker
|
|
42683
42927
|
# A collection of settings that configure the `RSessionGateway` app.
|
42684
42928
|
# @return [Types::RSessionAppSettings]
|
42685
42929
|
#
|
42930
|
+
# @!attribute [rw] canvas_app_settings
|
42931
|
+
# The Canvas app settings.
|
42932
|
+
# @return [Types::CanvasAppSettings]
|
42933
|
+
#
|
42686
42934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UserSettings AWS API Documentation
|
42687
42935
|
#
|
42688
42936
|
class UserSettings < Struct.new(
|
@@ -42693,7 +42941,8 @@ module Aws::SageMaker
|
|
42693
42941
|
:kernel_gateway_app_settings,
|
42694
42942
|
:tensor_board_app_settings,
|
42695
42943
|
:r_studio_server_pro_app_settings,
|
42696
|
-
:r_session_app_settings
|
42944
|
+
:r_session_app_settings,
|
42945
|
+
:canvas_app_settings)
|
42697
42946
|
SENSITIVE = []
|
42698
42947
|
include Aws::Structure
|
42699
42948
|
end
|
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.141.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-09-
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|