aws-sdk-sagemaker 1.165.0 → 1.166.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +62 -12
- data/lib/aws-sdk-sagemaker/client_api.rb +13 -0
- data/lib/aws-sdk-sagemaker/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +31 -28
- data/lib/aws-sdk-sagemaker/types.rb +123 -31
- 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: 2d24aff05be5414dfff87518cccbfb8d8f3f8c36d3e7ddc606a3e1357f31112a
|
4
|
+
data.tar.gz: cff37812eb7cdd821e792661a0d8708af48a9c886fecbe88125bc9f21da71f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0d8e9613582f76e3ae6ed19bada97001250b3e04c0476d626235b043c4472384a67bf53656131300aff7637695ed3627a861305efde0c3991271ca39961e12b
|
7
|
+
data.tar.gz: 3ea211b73508d09134a31484c09757299c3089725f7e452c1c72452ed9cefe06129678596c522e87e6f277ef85bbec2c644eb932c818723aed5a001ee5b6650f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.166.0
|
@@ -1185,7 +1185,7 @@ module Aws::SageMaker
|
|
1185
1185
|
#
|
1186
1186
|
# @option params [required, String] :auto_ml_job_name
|
1187
1187
|
# Identifies an Autopilot job. The name must be unique to your account
|
1188
|
-
# and is case
|
1188
|
+
# and is case insensitive.
|
1189
1189
|
#
|
1190
1190
|
# @option params [required, Array<Types::AutoMLChannel>] :input_data_config
|
1191
1191
|
# An array of channel objects that describes the input data and its
|
@@ -1281,6 +1281,11 @@ module Aws::SageMaker
|
|
1281
1281
|
# },
|
1282
1282
|
# candidate_generation_config: {
|
1283
1283
|
# feature_specification_s3_uri: "S3Uri",
|
1284
|
+
# algorithms_config: [
|
1285
|
+
# {
|
1286
|
+
# auto_ml_algorithms: ["xgboost"], # required, accepts xgboost, linear-learner, mlp, lightgbm, catboost, randomforest, extra-trees, nn-torch, fastai
|
1287
|
+
# },
|
1288
|
+
# ],
|
1284
1289
|
# },
|
1285
1290
|
# mode: "AUTO", # accepts AUTO, ENSEMBLING, HYPERPARAMETER_TUNING
|
1286
1291
|
# },
|
@@ -1825,8 +1830,7 @@ module Aws::SageMaker
|
|
1825
1830
|
# Creates a `Domain` used by Amazon SageMaker Studio. A domain consists
|
1826
1831
|
# of an associated Amazon Elastic File System (EFS) volume, a list of
|
1827
1832
|
# authorized users, and a variety of security, application, policy, and
|
1828
|
-
# Amazon Virtual Private Cloud (VPC) configurations.
|
1829
|
-
# Services account is limited to one domain per region. Users within a
|
1833
|
+
# Amazon Virtual Private Cloud (VPC) configurations. Users within a
|
1830
1834
|
# domain can share notebook files and other artifacts with each other.
|
1831
1835
|
#
|
1832
1836
|
# **EFS storage**
|
@@ -2320,12 +2324,12 @@ module Aws::SageMaker
|
|
2320
2324
|
# If any of the models hosted at this endpoint get model data from an
|
2321
2325
|
# Amazon S3 location, SageMaker uses Amazon Web Services Security Token
|
2322
2326
|
# Service to download model artifacts from the S3 path you provided.
|
2323
|
-
# Amazon Web Services STS is activated in your
|
2324
|
-
# default. If you previously deactivated Amazon Web Services
|
2325
|
-
# region, you need to reactivate Amazon Web Services STS for
|
2326
|
-
# region. For more information, see [Activating and Deactivating
|
2327
|
-
# Web Services STS in an Amazon Web Services Region][3] in the
|
2328
|
-
# Web Services Identity and Access Management User Guide*.
|
2327
|
+
# Amazon Web Services STS is activated in your Amazon Web Services
|
2328
|
+
# account by default. If you previously deactivated Amazon Web Services
|
2329
|
+
# STS for a region, you need to reactivate Amazon Web Services STS for
|
2330
|
+
# that region. For more information, see [Activating and Deactivating
|
2331
|
+
# Amazon Web Services STS in an Amazon Web Services Region][3] in the
|
2332
|
+
# *Amazon Web Services Identity and Access Management User Guide*.
|
2329
2333
|
#
|
2330
2334
|
# <note markdown="1"> To add the IAM role policies for using this API operation, go to the
|
2331
2335
|
# [IAM console][4], and choose Roles in the left navigation pane. Search
|
@@ -3056,6 +3060,10 @@ module Aws::SageMaker
|
|
3056
3060
|
|
3057
3061
|
# Create a hub.
|
3058
3062
|
#
|
3063
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
3064
|
+
#
|
3065
|
+
# </note>
|
3066
|
+
#
|
3059
3067
|
# @option params [required, String] :hub_name
|
3060
3068
|
# The name of the hub to create.
|
3061
3069
|
#
|
@@ -8368,6 +8376,10 @@ module Aws::SageMaker
|
|
8368
8376
|
|
8369
8377
|
# Delete a hub.
|
8370
8378
|
#
|
8379
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
8380
|
+
#
|
8381
|
+
# </note>
|
8382
|
+
#
|
8371
8383
|
# @option params [required, String] :hub_name
|
8372
8384
|
# The name of the hub to delete.
|
8373
8385
|
#
|
@@ -8390,6 +8402,10 @@ module Aws::SageMaker
|
|
8390
8402
|
|
8391
8403
|
# Delete the contents of a hub.
|
8392
8404
|
#
|
8405
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
8406
|
+
#
|
8407
|
+
# </note>
|
8408
|
+
#
|
8393
8409
|
# @option params [required, String] :hub_name
|
8394
8410
|
# The name of the hub that you want to delete content in.
|
8395
8411
|
#
|
@@ -9584,6 +9600,9 @@ module Aws::SageMaker
|
|
9584
9600
|
# resp.auto_ml_job_config.security_config.vpc_config.subnets[0] #=> String
|
9585
9601
|
# resp.auto_ml_job_config.data_split_config.validation_fraction #=> Float
|
9586
9602
|
# resp.auto_ml_job_config.candidate_generation_config.feature_specification_s3_uri #=> String
|
9603
|
+
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config #=> Array
|
9604
|
+
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms #=> Array
|
9605
|
+
# resp.auto_ml_job_config.candidate_generation_config.algorithms_config[0].auto_ml_algorithms[0] #=> String, one of "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai"
|
9587
9606
|
# resp.auto_ml_job_config.mode #=> String, one of "AUTO", "ENSEMBLING", "HYPERPARAMETER_TUNING"
|
9588
9607
|
# resp.creation_time #=> Time
|
9589
9608
|
# resp.end_time #=> Time
|
@@ -9595,6 +9614,7 @@ module Aws::SageMaker
|
|
9595
9614
|
# resp.best_candidate.final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
9596
9615
|
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9597
9616
|
# resp.best_candidate.final_auto_ml_job_objective_metric.value #=> Float
|
9617
|
+
# resp.best_candidate.final_auto_ml_job_objective_metric.standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
9598
9618
|
# resp.best_candidate.objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
9599
9619
|
# resp.best_candidate.candidate_steps #=> Array
|
9600
9620
|
# resp.best_candidate.candidate_steps[0].candidate_step_type #=> String, one of "AWS::SageMaker::TrainingJob", "AWS::SageMaker::TransformJob", "AWS::SageMaker::ProcessingJob"
|
@@ -10793,6 +10813,10 @@ module Aws::SageMaker
|
|
10793
10813
|
|
10794
10814
|
# Describe a hub.
|
10795
10815
|
#
|
10816
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
10817
|
+
#
|
10818
|
+
# </note>
|
10819
|
+
#
|
10796
10820
|
# @option params [required, String] :hub_name
|
10797
10821
|
# The name of the hub to describe.
|
10798
10822
|
#
|
@@ -10840,6 +10864,10 @@ module Aws::SageMaker
|
|
10840
10864
|
|
10841
10865
|
# Describe the content of a hub.
|
10842
10866
|
#
|
10867
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
10868
|
+
#
|
10869
|
+
# </note>
|
10870
|
+
#
|
10843
10871
|
# @option params [required, String] :hub_name
|
10844
10872
|
# The name of the hub that contains the content to describe.
|
10845
10873
|
#
|
@@ -13977,6 +14005,10 @@ module Aws::SageMaker
|
|
13977
14005
|
|
13978
14006
|
# Import hub content.
|
13979
14007
|
#
|
14008
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
14009
|
+
#
|
14010
|
+
# </note>
|
14011
|
+
#
|
13980
14012
|
# @option params [required, String] :hub_content_name
|
13981
14013
|
# The name of the hub content to import.
|
13982
14014
|
#
|
@@ -13999,7 +14031,8 @@ module Aws::SageMaker
|
|
13999
14031
|
# A description of the hub content to import.
|
14000
14032
|
#
|
14001
14033
|
# @option params [String] :hub_content_markdown
|
14002
|
-
#
|
14034
|
+
# A string that provides a description of the hub content. This string
|
14035
|
+
# can include links, tables, and standard markdown formating.
|
14003
14036
|
#
|
14004
14037
|
# @option params [required, String] :hub_content_document
|
14005
14038
|
# The hub content document that describes information about the hub
|
@@ -14693,6 +14726,7 @@ module Aws::SageMaker
|
|
14693
14726
|
# resp.candidates[0].final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
14694
14727
|
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
14695
14728
|
# resp.candidates[0].final_auto_ml_job_objective_metric.value #=> Float
|
14729
|
+
# resp.candidates[0].final_auto_ml_job_objective_metric.standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro"
|
14696
14730
|
# resp.candidates[0].objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
14697
14731
|
# resp.candidates[0].candidate_steps #=> Array
|
14698
14732
|
# resp.candidates[0].candidate_steps[0].candidate_step_type #=> String, one of "AWS::SageMaker::TrainingJob", "AWS::SageMaker::TransformJob", "AWS::SageMaker::ProcessingJob"
|
@@ -15723,6 +15757,10 @@ module Aws::SageMaker
|
|
15723
15757
|
|
15724
15758
|
# List hub content versions.
|
15725
15759
|
#
|
15760
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
15761
|
+
#
|
15762
|
+
# </note>
|
15763
|
+
#
|
15726
15764
|
# @option params [required, String] :hub_name
|
15727
15765
|
# The name of the hub to list the content versions of.
|
15728
15766
|
#
|
@@ -15808,6 +15846,10 @@ module Aws::SageMaker
|
|
15808
15846
|
|
15809
15847
|
# List the contents of a hub.
|
15810
15848
|
#
|
15849
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
15850
|
+
#
|
15851
|
+
# </note>
|
15852
|
+
#
|
15811
15853
|
# @option params [required, String] :hub_name
|
15812
15854
|
# The name of the hub to list the contents of.
|
15813
15855
|
#
|
@@ -15887,6 +15929,10 @@ module Aws::SageMaker
|
|
15887
15929
|
|
15888
15930
|
# List all existing hubs.
|
15889
15931
|
#
|
15932
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
15933
|
+
#
|
15934
|
+
# </note>
|
15935
|
+
#
|
15890
15936
|
# @option params [String] :name_contains
|
15891
15937
|
# Only list hubs with names that contain the specified string.
|
15892
15938
|
#
|
@@ -20009,7 +20055,7 @@ module Aws::SageMaker
|
|
20009
20055
|
req.send_request(options)
|
20010
20056
|
end
|
20011
20057
|
|
20012
|
-
# A method for forcing
|
20058
|
+
# A method for forcing a running job to shut down.
|
20013
20059
|
#
|
20014
20060
|
# @option params [required, String] :auto_ml_job_name
|
20015
20061
|
# The name of the object you are requesting.
|
@@ -21198,6 +21244,10 @@ module Aws::SageMaker
|
|
21198
21244
|
|
21199
21245
|
# Update a hub.
|
21200
21246
|
#
|
21247
|
+
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
21248
|
+
#
|
21249
|
+
# </note>
|
21250
|
+
#
|
21201
21251
|
# @option params [required, String] :hub_name
|
21202
21252
|
# The name of the hub to update.
|
21203
21253
|
#
|
@@ -22762,7 +22812,7 @@ module Aws::SageMaker
|
|
22762
22812
|
params: params,
|
22763
22813
|
config: config)
|
22764
22814
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
22765
|
-
context[:gem_version] = '1.
|
22815
|
+
context[:gem_version] = '1.166.0'
|
22766
22816
|
Seahorse::Client::Request.new(handlers, context)
|
22767
22817
|
end
|
22768
22818
|
|
@@ -95,6 +95,10 @@ module Aws::SageMaker
|
|
95
95
|
AttributeNames = Shapes::ListShape.new(name: 'AttributeNames')
|
96
96
|
AuthMode = Shapes::StringShape.new(name: 'AuthMode')
|
97
97
|
AutoGenerateEndpointName = Shapes::BooleanShape.new(name: 'AutoGenerateEndpointName')
|
98
|
+
AutoMLAlgorithm = Shapes::StringShape.new(name: 'AutoMLAlgorithm')
|
99
|
+
AutoMLAlgorithmConfig = Shapes::StructureShape.new(name: 'AutoMLAlgorithmConfig')
|
100
|
+
AutoMLAlgorithms = Shapes::ListShape.new(name: 'AutoMLAlgorithms')
|
101
|
+
AutoMLAlgorithmsConfig = Shapes::ListShape.new(name: 'AutoMLAlgorithmsConfig')
|
98
102
|
AutoMLCandidate = Shapes::StructureShape.new(name: 'AutoMLCandidate')
|
99
103
|
AutoMLCandidateGenerationConfig = Shapes::StructureShape.new(name: 'AutoMLCandidateGenerationConfig')
|
100
104
|
AutoMLCandidateStep = Shapes::StructureShape.new(name: 'AutoMLCandidateStep')
|
@@ -2172,6 +2176,13 @@ module Aws::SageMaker
|
|
2172
2176
|
|
2173
2177
|
AttributeNames.member = Shapes::ShapeRef.new(shape: AttributeName)
|
2174
2178
|
|
2179
|
+
AutoMLAlgorithmConfig.add_member(:auto_ml_algorithms, Shapes::ShapeRef.new(shape: AutoMLAlgorithms, required: true, location_name: "AutoMLAlgorithms"))
|
2180
|
+
AutoMLAlgorithmConfig.struct_class = Types::AutoMLAlgorithmConfig
|
2181
|
+
|
2182
|
+
AutoMLAlgorithms.member = Shapes::ShapeRef.new(shape: AutoMLAlgorithm)
|
2183
|
+
|
2184
|
+
AutoMLAlgorithmsConfig.member = Shapes::ShapeRef.new(shape: AutoMLAlgorithmConfig)
|
2185
|
+
|
2175
2186
|
AutoMLCandidate.add_member(:candidate_name, Shapes::ShapeRef.new(shape: CandidateName, required: true, location_name: "CandidateName"))
|
2176
2187
|
AutoMLCandidate.add_member(:final_auto_ml_job_objective_metric, Shapes::ShapeRef.new(shape: FinalAutoMLJobObjectiveMetric, location_name: "FinalAutoMLJobObjectiveMetric"))
|
2177
2188
|
AutoMLCandidate.add_member(:objective_status, Shapes::ShapeRef.new(shape: ObjectiveStatus, required: true, location_name: "ObjectiveStatus"))
|
@@ -2186,6 +2197,7 @@ module Aws::SageMaker
|
|
2186
2197
|
AutoMLCandidate.struct_class = Types::AutoMLCandidate
|
2187
2198
|
|
2188
2199
|
AutoMLCandidateGenerationConfig.add_member(:feature_specification_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "FeatureSpecificationS3Uri"))
|
2200
|
+
AutoMLCandidateGenerationConfig.add_member(:algorithms_config, Shapes::ShapeRef.new(shape: AutoMLAlgorithmsConfig, location_name: "AlgorithmsConfig"))
|
2189
2201
|
AutoMLCandidateGenerationConfig.struct_class = Types::AutoMLCandidateGenerationConfig
|
2190
2202
|
|
2191
2203
|
AutoMLCandidateStep.add_member(:candidate_step_type, Shapes::ShapeRef.new(shape: CandidateStepType, required: true, location_name: "CandidateStepType"))
|
@@ -4946,6 +4958,7 @@ module Aws::SageMaker
|
|
4946
4958
|
FinalAutoMLJobObjectiveMetric.add_member(:type, Shapes::ShapeRef.new(shape: AutoMLJobObjectiveType, location_name: "Type"))
|
4947
4959
|
FinalAutoMLJobObjectiveMetric.add_member(:metric_name, Shapes::ShapeRef.new(shape: AutoMLMetricEnum, required: true, location_name: "MetricName"))
|
4948
4960
|
FinalAutoMLJobObjectiveMetric.add_member(:value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "Value"))
|
4961
|
+
FinalAutoMLJobObjectiveMetric.add_member(:standard_metric_name, Shapes::ShapeRef.new(shape: AutoMLMetricEnum, location_name: "StandardMetricName"))
|
4949
4962
|
FinalAutoMLJobObjectiveMetric.struct_class = Types::FinalAutoMLJobObjectiveMetric
|
4950
4963
|
|
4951
4964
|
FinalHyperParameterTuningJobObjectiveMetric.add_member(:type, Shapes::ShapeRef.new(shape: HyperParameterTuningJobObjectiveType, location_name: "Type"))
|
@@ -50,9 +50,6 @@ module Aws::SageMaker
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,42 +14,45 @@ module Aws::SageMaker
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
39
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
41
|
+
end
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
43
|
end
|
41
|
-
|
44
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
45
|
end
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
47
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
49
|
+
end
|
50
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
51
|
end
|
49
|
-
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
50
53
|
end
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
52
54
|
end
|
55
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
53
56
|
raise ArgumentError, 'No endpoint could be resolved'
|
54
57
|
|
55
58
|
end
|
@@ -1642,6 +1642,54 @@ module Aws::SageMaker
|
|
1642
1642
|
include Aws::Structure
|
1643
1643
|
end
|
1644
1644
|
|
1645
|
+
# The collection of algorithms run on a dataset for training the model
|
1646
|
+
# candidates of an Autopilot job.
|
1647
|
+
#
|
1648
|
+
# @!attribute [rw] auto_ml_algorithms
|
1649
|
+
# The selection of algorithms run on a dataset to train the model
|
1650
|
+
# candidates of an Autopilot job.
|
1651
|
+
#
|
1652
|
+
# <note markdown="1"> Selected algorithms must belong to the list corresponding to the
|
1653
|
+
# training mode set in ` AutoMLJobConfig.Mode ` (`ENSEMBLING` or
|
1654
|
+
# `HYPERPARAMETER_TUNING`). Choose a minimum of 1 algorithm.
|
1655
|
+
#
|
1656
|
+
# </note>
|
1657
|
+
#
|
1658
|
+
# * In `ENSEMBLING` mode:
|
1659
|
+
#
|
1660
|
+
# * "catboost"
|
1661
|
+
#
|
1662
|
+
# * "extra-trees"
|
1663
|
+
#
|
1664
|
+
# * "fastai"
|
1665
|
+
#
|
1666
|
+
# * "lightgbm"
|
1667
|
+
#
|
1668
|
+
# * "linear-learner"
|
1669
|
+
#
|
1670
|
+
# * "nn-torch"
|
1671
|
+
#
|
1672
|
+
# * "randomforest"
|
1673
|
+
#
|
1674
|
+
# * "xgboost"
|
1675
|
+
#
|
1676
|
+
# * In `HYPERPARAMETER_TUNING` mode:
|
1677
|
+
#
|
1678
|
+
# * "linear-learner"
|
1679
|
+
#
|
1680
|
+
# * "mlp"
|
1681
|
+
#
|
1682
|
+
# * "xgboost"
|
1683
|
+
# @return [Array<String>]
|
1684
|
+
#
|
1685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLAlgorithmConfig AWS API Documentation
|
1686
|
+
#
|
1687
|
+
class AutoMLAlgorithmConfig < Struct.new(
|
1688
|
+
:auto_ml_algorithms)
|
1689
|
+
SENSITIVE = []
|
1690
|
+
include Aws::Structure
|
1691
|
+
end
|
1692
|
+
|
1645
1693
|
# Information about a candidate produced by an AutoML training job,
|
1646
1694
|
# including its status, steps, and other properties.
|
1647
1695
|
#
|
@@ -1707,7 +1755,7 @@ module Aws::SageMaker
|
|
1707
1755
|
include Aws::Structure
|
1708
1756
|
end
|
1709
1757
|
|
1710
|
-
# Stores the
|
1758
|
+
# Stores the configuration information for how a candidate is generated
|
1711
1759
|
# (optional).
|
1712
1760
|
#
|
1713
1761
|
# @!attribute [rw] feature_specification_s3_uri
|
@@ -1727,10 +1775,10 @@ module Aws::SageMaker
|
|
1727
1775
|
#
|
1728
1776
|
# </note>
|
1729
1777
|
#
|
1730
|
-
# In ensembling mode, Autopilot
|
1731
|
-
# types: `numeric`, `categorical`, `text
|
1732
|
-
# Autopilot can support `numeric`, `categorical`, `text`,
|
1733
|
-
# and `sequence`.
|
1778
|
+
# In ensembling mode, Autopilot only supports the following data
|
1779
|
+
# types: `numeric`, `categorical`, `text`, and `datetime`. In HPO
|
1780
|
+
# mode, Autopilot can support `numeric`, `categorical`, `text`,
|
1781
|
+
# `datetime`, and `sequence`.
|
1734
1782
|
#
|
1735
1783
|
# If only `FeatureDataTypes` is provided, the column keys (`col1`,
|
1736
1784
|
# `col2`,..) should be a subset of the column names in the input data.
|
@@ -1740,16 +1788,48 @@ module Aws::SageMaker
|
|
1740
1788
|
# in `FeatureAttributeNames`.
|
1741
1789
|
#
|
1742
1790
|
# The key name `FeatureAttributeNames` is fixed. The values listed in
|
1743
|
-
# `["col1", "col2", ...]`
|
1791
|
+
# `["col1", "col2", ...]` are case sensitive and should be a list of
|
1744
1792
|
# strings containing unique values that are a subset of the column
|
1745
1793
|
# names in the input data. The list of columns provided must not
|
1746
1794
|
# include the target column.
|
1747
1795
|
# @return [String]
|
1748
1796
|
#
|
1797
|
+
# @!attribute [rw] algorithms_config
|
1798
|
+
# Stores the configuration information for the selection of algorithms
|
1799
|
+
# used to train the model candidates.
|
1800
|
+
#
|
1801
|
+
# The list of available algorithms to choose from depends on the
|
1802
|
+
# training mode set in [ `AutoMLJobConfig.Mode` ][1].
|
1803
|
+
#
|
1804
|
+
# * `AlgorithmsConfig` should not be set in `AUTO` training mode.
|
1805
|
+
#
|
1806
|
+
# * When `AlgorithmsConfig` is provided, one `AutoMLAlgorithms`
|
1807
|
+
# attribute must be set and one only.
|
1808
|
+
#
|
1809
|
+
# If the list of algorithms provided as values for
|
1810
|
+
# `AutoMLAlgorithms` is empty, `AutoMLCandidateGenerationConfig`
|
1811
|
+
# uses the full set of algorithms for the given training mode.
|
1812
|
+
#
|
1813
|
+
# * When `AlgorithmsConfig` is not provided,
|
1814
|
+
# `AutoMLCandidateGenerationConfig` uses the full set of algorithms
|
1815
|
+
# for the given training mode.
|
1816
|
+
#
|
1817
|
+
# For the list of all algorithms per training mode, see .
|
1818
|
+
#
|
1819
|
+
# For more information on each algorithm, see the [Algorithm
|
1820
|
+
# support][2] section in Autopilot developer guide.
|
1821
|
+
#
|
1822
|
+
#
|
1823
|
+
#
|
1824
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobConfig.html
|
1825
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support
|
1826
|
+
# @return [Array<Types::AutoMLAlgorithmConfig>]
|
1827
|
+
#
|
1749
1828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLCandidateGenerationConfig AWS API Documentation
|
1750
1829
|
#
|
1751
1830
|
class AutoMLCandidateGenerationConfig < Struct.new(
|
1752
|
-
:feature_specification_s3_uri
|
1831
|
+
:feature_specification_s3_uri,
|
1832
|
+
:algorithms_config)
|
1753
1833
|
SENSITIVE = []
|
1754
1834
|
include Aws::Structure
|
1755
1835
|
end
|
@@ -1933,7 +2013,7 @@ module Aws::SageMaker
|
|
1933
2013
|
# automatically and its processing is ended gracefully. The AutoML job
|
1934
2014
|
# identifies the best model whose training was completed and marks it
|
1935
2015
|
# as the best-performing model. Any unfinished steps of the job, such
|
1936
|
-
# as automatic one-click Autopilot model deployment,
|
2016
|
+
# as automatic one-click Autopilot model deployment, are not
|
1937
2017
|
# completed.
|
1938
2018
|
# @return [Integer]
|
1939
2019
|
#
|
@@ -1988,11 +2068,11 @@ module Aws::SageMaker
|
|
1988
2068
|
# by `ENSEMBLING` mode.
|
1989
2069
|
#
|
1990
2070
|
# The `HYPERPARAMETER_TUNING` (HPO) mode uses the best hyperparameters
|
1991
|
-
# to train the best version of a model. HPO
|
1992
|
-
#
|
1993
|
-
#
|
1994
|
-
#
|
1995
|
-
#
|
2071
|
+
# to train the best version of a model. HPO automatically selects an
|
2072
|
+
# algorithm for the type of problem you want to solve. Then HPO finds
|
2073
|
+
# the best hyperparameters according to your objective metric. See
|
2074
|
+
# [Autopilot algorithm support][1] for a list of algorithms supported
|
2075
|
+
# by `HYPERPARAMETER_TUNING` mode.
|
1996
2076
|
#
|
1997
2077
|
#
|
1998
2078
|
#
|
@@ -2162,7 +2242,7 @@ module Aws::SageMaker
|
|
2162
2242
|
# find all of the true positives. A false positive (FP) reflects a
|
2163
2243
|
# positive prediction that is actually negative in the data. It is
|
2164
2244
|
# often insufficient to measure only recall, because predicting
|
2165
|
-
# every output as a true positive
|
2245
|
+
# every output as a true positive yield a perfect recall score.
|
2166
2246
|
#
|
2167
2247
|
# RecallMacro
|
2168
2248
|
#
|
@@ -2173,8 +2253,8 @@ module Aws::SageMaker
|
|
2173
2253
|
# true positives (TP) in a dataset. Whereas, a true positive
|
2174
2254
|
# reflects a positive prediction that is also an actual positive
|
2175
2255
|
# value in the data. It is often insufficient to measure only
|
2176
|
-
# recall, because predicting every output as a true positive
|
2177
|
-
#
|
2256
|
+
# recall, because predicting every output as a true positive yields
|
2257
|
+
# a perfect recall score.
|
2178
2258
|
#
|
2179
2259
|
# RMSE
|
2180
2260
|
#
|
@@ -3743,12 +3823,12 @@ module Aws::SageMaker
|
|
3743
3823
|
# If you provide a value for this parameter, SageMaker uses Amazon Web
|
3744
3824
|
# Services Security Token Service to download model artifacts from the
|
3745
3825
|
# S3 path you provide. Amazon Web Services STS is activated in your
|
3746
|
-
#
|
3747
|
-
# Web Services STS for a region, you need to
|
3748
|
-
# Services STS for that region. For more
|
3749
|
-
#
|
3750
|
-
# Region][2] in the *Amazon Web Services
|
3751
|
-
# Management User Guide*.
|
3826
|
+
# Amazon Web Services account by default. If you previously
|
3827
|
+
# deactivated Amazon Web Services STS for a region, you need to
|
3828
|
+
# reactivate Amazon Web Services STS for that region. For more
|
3829
|
+
# information, see [Activating and Deactivating Amazon Web Services
|
3830
|
+
# STS in an Amazon Web Services Region][2] in the *Amazon Web Services
|
3831
|
+
# Identity and Access Management User Guide*.
|
3752
3832
|
#
|
3753
3833
|
# If you use a built-in algorithm to create a model, SageMaker
|
3754
3834
|
# requires that you provide a S3 path to the model artifacts in
|
@@ -4272,7 +4352,7 @@ module Aws::SageMaker
|
|
4272
4352
|
|
4273
4353
|
# @!attribute [rw] auto_ml_job_name
|
4274
4354
|
# Identifies an Autopilot job. The name must be unique to your account
|
4275
|
-
# and is case
|
4355
|
+
# and is case insensitive.
|
4276
4356
|
# @return [String]
|
4277
4357
|
#
|
4278
4358
|
# @!attribute [rw] input_data_config
|
@@ -10076,7 +10156,7 @@ module Aws::SageMaker
|
|
10076
10156
|
# @return [String]
|
10077
10157
|
#
|
10078
10158
|
# @!attribute [rw] input_data_config
|
10079
|
-
# Returns the input data configuration for the AutoML job
|
10159
|
+
# Returns the input data configuration for the AutoML job.
|
10080
10160
|
# @return [Array<Types::AutoMLChannel>]
|
10081
10161
|
#
|
10082
10162
|
# @!attribute [rw] output_data_config
|
@@ -10150,7 +10230,7 @@ module Aws::SageMaker
|
|
10150
10230
|
# @return [Types::AutoMLJobArtifacts]
|
10151
10231
|
#
|
10152
10232
|
# @!attribute [rw] resolved_attributes
|
10153
|
-
#
|
10233
|
+
# Contains `ProblemType`, `AutoMLJobObjective`, and
|
10154
10234
|
# `CompletionCriteria`. If you do not provide these values, they are
|
10155
10235
|
# auto-inferred. If you do provide them, the values used are the ones
|
10156
10236
|
# you provide.
|
@@ -11621,7 +11701,8 @@ module Aws::SageMaker
|
|
11621
11701
|
# @return [String]
|
11622
11702
|
#
|
11623
11703
|
# @!attribute [rw] hub_content_markdown
|
11624
|
-
#
|
11704
|
+
# A string that provides a description of the hub content. This string
|
11705
|
+
# can include links, tables, and standard markdown formating.
|
11625
11706
|
# @return [String]
|
11626
11707
|
#
|
11627
11708
|
# @!attribute [rw] hub_content_document
|
@@ -17157,12 +17238,22 @@ module Aws::SageMaker
|
|
17157
17238
|
# The value of the metric with the best result.
|
17158
17239
|
# @return [Float]
|
17159
17240
|
#
|
17241
|
+
# @!attribute [rw] standard_metric_name
|
17242
|
+
# The name of the standard metric. For a description of the standard
|
17243
|
+
# metrics, see [Autopilot candidate metrics][1].
|
17244
|
+
#
|
17245
|
+
#
|
17246
|
+
#
|
17247
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html#autopilot-metrics
|
17248
|
+
# @return [String]
|
17249
|
+
#
|
17160
17250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/FinalAutoMLJobObjectiveMetric AWS API Documentation
|
17161
17251
|
#
|
17162
17252
|
class FinalAutoMLJobObjectiveMetric < Struct.new(
|
17163
17253
|
:type,
|
17164
17254
|
:metric_name,
|
17165
|
-
:value
|
17255
|
+
:value,
|
17256
|
+
:standard_metric_name)
|
17166
17257
|
SENSITIVE = []
|
17167
17258
|
include Aws::Structure
|
17168
17259
|
end
|
@@ -17601,7 +17692,7 @@ module Aws::SageMaker
|
|
17601
17692
|
# The Amazon S3 storage configuration of a hub.
|
17602
17693
|
#
|
17603
17694
|
# @!attribute [rw] s3_output_path
|
17604
|
-
# The Amazon S3
|
17695
|
+
# The Amazon S3 bucket prefix for hosting hub content.
|
17605
17696
|
# @return [String]
|
17606
17697
|
#
|
17607
17698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HubS3StorageConfig AWS API Documentation
|
@@ -19775,7 +19866,7 @@ module Aws::SageMaker
|
|
19775
19866
|
# @!attribute [rw] min_resource
|
19776
19867
|
# The minimum number of resources (such as epochs) that can be used by
|
19777
19868
|
# a training job launched by a hyperparameter tuning job. If the value
|
19778
|
-
# for `MinResource` has not been reached, the training job
|
19869
|
+
# for `MinResource` has not been reached, the training job is not
|
19779
19870
|
# stopped by `Hyperband`.
|
19780
19871
|
# @return [Integer]
|
19781
19872
|
#
|
@@ -19980,7 +20071,8 @@ module Aws::SageMaker
|
|
19980
20071
|
# @return [String]
|
19981
20072
|
#
|
19982
20073
|
# @!attribute [rw] hub_content_markdown
|
19983
|
-
#
|
20074
|
+
# A string that provides a description of the hub content. This string
|
20075
|
+
# can include links, tables, and standard markdown formating.
|
19984
20076
|
# @return [String]
|
19985
20077
|
#
|
19986
20078
|
# @!attribute [rw] hub_content_document
|
@@ -29777,7 +29869,7 @@ module Aws::SageMaker
|
|
29777
29869
|
#
|
29778
29870
|
# * `"kms:RevokeGrant"`
|
29779
29871
|
#
|
29780
|
-
# The caller (either
|
29872
|
+
# The caller (either user or IAM role) to all DataPlane operations
|
29781
29873
|
# (`PutRecord`, `GetRecord`, `DeleteRecord`) must have the following
|
29782
29874
|
# permissions to the `KmsKeyId`\:
|
29783
29875
|
#
|
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.166.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-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|