aws-sdk-sagemaker 1.145.0 → 1.147.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 +89 -3
- data/lib/aws-sdk-sagemaker/client_api.rb +68 -0
- data/lib/aws-sdk-sagemaker/types.rb +227 -5
- 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: d30133b30a55095ff6f9b9f1c585cd78704f9d6e748e2f22a8bbdb9d7ada92aa
|
4
|
+
data.tar.gz: 4571e0f397878b638278db47b599bff5ba339d7a605d979a391f89b3f6d0897d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64cf887cbf8db655696b2735a06cb89ad50461721d8459e948a2ae89742b80df17f23b61b2334c02cb4d0df8f52ec26be4c899c239868e0064d7ec3817c72e33
|
7
|
+
data.tar.gz: f3641d9e5e67013aef1a7875e07a7c33b13b052a3e9c2aa303655795f701eae83dbcf5358b8b270228d8398a77fc6fab96dbf7c656e84343eb6c50aed4def3ab
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.147.0 (2022-10-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker Inference Recommender now supports a new API ListInferenceRecommendationJobSteps to return the details of all the benchmark we create for an inference recommendation job.
|
8
|
+
|
9
|
+
1.146.0 (2022-10-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - CreateInferenceRecommenderjob API now supports passing endpoint details directly, that will help customers to identify the max invocation and max latency they can achieve for their model and the associated endpoint along with getting recommendations on other instances.
|
13
|
+
|
4
14
|
1.145.0 (2022-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.147.0
|
@@ -3617,6 +3617,11 @@ module Aws::SageMaker
|
|
3617
3617
|
# nearest_model_name: "String",
|
3618
3618
|
# supported_instance_types: ["String"],
|
3619
3619
|
# },
|
3620
|
+
# endpoints: [
|
3621
|
+
# {
|
3622
|
+
# endpoint_name: "EndpointName", # required
|
3623
|
+
# },
|
3624
|
+
# ],
|
3620
3625
|
# },
|
3621
3626
|
# job_description: "RecommendationJobDescription",
|
3622
3627
|
# stopping_conditions: {
|
@@ -8803,7 +8808,7 @@ module Aws::SageMaker
|
|
8803
8808
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
8804
8809
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].value #=> Float
|
8805
8810
|
# resp.best_candidate.candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
|
8806
|
-
# resp.best_candidate.candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss"
|
8811
|
+
# resp.best_candidate.candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss", "InferenceLatency"
|
8807
8812
|
# resp.auto_ml_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
|
8808
8813
|
# resp.auto_ml_job_secondary_status #=> String, one of "Starting", "AnalyzingData", "FeatureEngineering", "ModelTuning", "MaxCandidatesReached", "Failed", "Stopped", "MaxAutoMLJobRuntimeReached", "Stopping", "CandidateDefinitionsGenerated", "GeneratingExplainabilityReport", "Completed", "ExplainabilityError", "DeployingModel", "ModelDeploymentError", "GeneratingModelInsightsReport", "ModelInsightsError"
|
8809
8814
|
# resp.generate_candidate_definitions_only #=> Boolean
|
@@ -10331,6 +10336,7 @@ module Aws::SageMaker
|
|
10331
10336
|
# * {Types::DescribeInferenceRecommendationsJobResponse#input_config #input_config} => Types::RecommendationJobInputConfig
|
10332
10337
|
# * {Types::DescribeInferenceRecommendationsJobResponse#stopping_conditions #stopping_conditions} => Types::RecommendationJobStoppingConditions
|
10333
10338
|
# * {Types::DescribeInferenceRecommendationsJobResponse#inference_recommendations #inference_recommendations} => Array<Types::InferenceRecommendation>
|
10339
|
+
# * {Types::DescribeInferenceRecommendationsJobResponse#endpoint_performances #endpoint_performances} => Array<Types::EndpointPerformance>
|
10334
10340
|
#
|
10335
10341
|
# @example Request syntax with placeholder values
|
10336
10342
|
#
|
@@ -10377,6 +10383,8 @@ module Aws::SageMaker
|
|
10377
10383
|
# resp.input_config.container_config.nearest_model_name #=> String
|
10378
10384
|
# resp.input_config.container_config.supported_instance_types #=> Array
|
10379
10385
|
# resp.input_config.container_config.supported_instance_types[0] #=> String
|
10386
|
+
# resp.input_config.endpoints #=> Array
|
10387
|
+
# resp.input_config.endpoints[0].endpoint_name #=> String
|
10380
10388
|
# resp.stopping_conditions.max_invocations #=> Integer
|
10381
10389
|
# resp.stopping_conditions.model_latency_thresholds #=> Array
|
10382
10390
|
# resp.stopping_conditions.model_latency_thresholds[0].percentile #=> String
|
@@ -10395,6 +10403,10 @@ module Aws::SageMaker
|
|
10395
10403
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].key #=> String
|
10396
10404
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].value_type #=> String
|
10397
10405
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].value #=> String
|
10406
|
+
# resp.endpoint_performances #=> Array
|
10407
|
+
# resp.endpoint_performances[0].metrics.max_invocations #=> Integer
|
10408
|
+
# resp.endpoint_performances[0].metrics.model_latency #=> Integer
|
10409
|
+
# resp.endpoint_performances[0].endpoint_info.endpoint_name #=> String
|
10398
10410
|
#
|
10399
10411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJob AWS API Documentation
|
10400
10412
|
#
|
@@ -13257,7 +13269,7 @@ module Aws::SageMaker
|
|
13257
13269
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
13258
13270
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].value #=> Float
|
13259
13271
|
# resp.candidates[0].candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
|
13260
|
-
# resp.candidates[0].candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss"
|
13272
|
+
# resp.candidates[0].candidate_properties.candidate_metrics[0].standard_metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "MAE", "R2", "BalancedAccuracy", "Precision", "PrecisionMacro", "Recall", "RecallMacro", "LogLoss", "InferenceLatency"
|
13261
13273
|
# resp.next_token #=> String
|
13262
13274
|
#
|
13263
13275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob AWS API Documentation
|
@@ -14577,6 +14589,80 @@ module Aws::SageMaker
|
|
14577
14589
|
req.send_request(options)
|
14578
14590
|
end
|
14579
14591
|
|
14592
|
+
# Returns a list of the subtasks for an Inference Recommender job.
|
14593
|
+
#
|
14594
|
+
# The supported subtasks are benchmarks, which evaluate the performance
|
14595
|
+
# of your model on different instance types.
|
14596
|
+
#
|
14597
|
+
# @option params [required, String] :job_name
|
14598
|
+
# The name for the Inference Recommender job.
|
14599
|
+
#
|
14600
|
+
# @option params [String] :status
|
14601
|
+
# A filter to return benchmarks of a specified status. If this field is
|
14602
|
+
# left empty, then all benchmarks are returned.
|
14603
|
+
#
|
14604
|
+
# @option params [String] :step_type
|
14605
|
+
# A filter to return details about the specified type of subtask.
|
14606
|
+
#
|
14607
|
+
# `BENCHMARK`\: Evaluate the performance of your model on different
|
14608
|
+
# instance types.
|
14609
|
+
#
|
14610
|
+
# @option params [Integer] :max_results
|
14611
|
+
# The maximum number of results to return.
|
14612
|
+
#
|
14613
|
+
# @option params [String] :next_token
|
14614
|
+
# A token that you can specify to return more results from the list.
|
14615
|
+
# Specify this field if you have a token that was returned from a
|
14616
|
+
# previous request.
|
14617
|
+
#
|
14618
|
+
# @return [Types::ListInferenceRecommendationsJobStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14619
|
+
#
|
14620
|
+
# * {Types::ListInferenceRecommendationsJobStepsResponse#steps #steps} => Array<Types::InferenceRecommendationsJobStep>
|
14621
|
+
# * {Types::ListInferenceRecommendationsJobStepsResponse#next_token #next_token} => String
|
14622
|
+
#
|
14623
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
14624
|
+
#
|
14625
|
+
# @example Request syntax with placeholder values
|
14626
|
+
#
|
14627
|
+
# resp = client.list_inference_recommendations_job_steps({
|
14628
|
+
# job_name: "RecommendationJobName", # required
|
14629
|
+
# status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPING, STOPPED
|
14630
|
+
# step_type: "BENCHMARK", # accepts BENCHMARK
|
14631
|
+
# max_results: 1,
|
14632
|
+
# next_token: "NextToken",
|
14633
|
+
# })
|
14634
|
+
#
|
14635
|
+
# @example Response structure
|
14636
|
+
#
|
14637
|
+
# resp.steps #=> Array
|
14638
|
+
# resp.steps[0].step_type #=> String, one of "BENCHMARK"
|
14639
|
+
# resp.steps[0].job_name #=> String
|
14640
|
+
# resp.steps[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "STOPPING", "STOPPED"
|
14641
|
+
# resp.steps[0].inference_benchmark.metrics.cost_per_hour #=> Float
|
14642
|
+
# resp.steps[0].inference_benchmark.metrics.cost_per_inference #=> Float
|
14643
|
+
# resp.steps[0].inference_benchmark.metrics.max_invocations #=> Integer
|
14644
|
+
# resp.steps[0].inference_benchmark.metrics.model_latency #=> Integer
|
14645
|
+
# resp.steps[0].inference_benchmark.endpoint_configuration.endpoint_name #=> String
|
14646
|
+
# resp.steps[0].inference_benchmark.endpoint_configuration.variant_name #=> String
|
14647
|
+
# resp.steps[0].inference_benchmark.endpoint_configuration.instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge"
|
14648
|
+
# resp.steps[0].inference_benchmark.endpoint_configuration.initial_instance_count #=> Integer
|
14649
|
+
# resp.steps[0].inference_benchmark.model_configuration.inference_specification_name #=> String
|
14650
|
+
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters #=> Array
|
14651
|
+
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].key #=> String
|
14652
|
+
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value_type #=> String
|
14653
|
+
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value #=> String
|
14654
|
+
# resp.steps[0].inference_benchmark.failure_reason #=> String
|
14655
|
+
# resp.next_token #=> String
|
14656
|
+
#
|
14657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobSteps AWS API Documentation
|
14658
|
+
#
|
14659
|
+
# @overload list_inference_recommendations_job_steps(params = {})
|
14660
|
+
# @param [Hash] params ({})
|
14661
|
+
def list_inference_recommendations_job_steps(params = {}, options = {})
|
14662
|
+
req = build_request(:list_inference_recommendations_job_steps, params)
|
14663
|
+
req.send_request(options)
|
14664
|
+
end
|
14665
|
+
|
14580
14666
|
# Lists recommendation jobs that satisfy various filters.
|
14581
14667
|
#
|
14582
14668
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
@@ -20975,7 +21061,7 @@ module Aws::SageMaker
|
|
20975
21061
|
params: params,
|
20976
21062
|
config: config)
|
20977
21063
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
20978
|
-
context[:gem_version] = '1.
|
21064
|
+
context[:gem_version] = '1.147.0'
|
20979
21065
|
Seahorse::Client::Request.new(handlers, context)
|
20980
21066
|
end
|
20981
21067
|
|
@@ -645,16 +645,20 @@ module Aws::SageMaker
|
|
645
645
|
EndpointConfigSortKey = Shapes::StringShape.new(name: 'EndpointConfigSortKey')
|
646
646
|
EndpointConfigSummary = Shapes::StructureShape.new(name: 'EndpointConfigSummary')
|
647
647
|
EndpointConfigSummaryList = Shapes::ListShape.new(name: 'EndpointConfigSummaryList')
|
648
|
+
EndpointInfo = Shapes::StructureShape.new(name: 'EndpointInfo')
|
648
649
|
EndpointInput = Shapes::StructureShape.new(name: 'EndpointInput')
|
649
650
|
EndpointInputConfiguration = Shapes::StructureShape.new(name: 'EndpointInputConfiguration')
|
650
651
|
EndpointInputConfigurations = Shapes::ListShape.new(name: 'EndpointInputConfigurations')
|
651
652
|
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
652
653
|
EndpointNameContains = Shapes::StringShape.new(name: 'EndpointNameContains')
|
653
654
|
EndpointOutputConfiguration = Shapes::StructureShape.new(name: 'EndpointOutputConfiguration')
|
655
|
+
EndpointPerformance = Shapes::StructureShape.new(name: 'EndpointPerformance')
|
656
|
+
EndpointPerformances = Shapes::ListShape.new(name: 'EndpointPerformances')
|
654
657
|
EndpointSortKey = Shapes::StringShape.new(name: 'EndpointSortKey')
|
655
658
|
EndpointStatus = Shapes::StringShape.new(name: 'EndpointStatus')
|
656
659
|
EndpointSummary = Shapes::StructureShape.new(name: 'EndpointSummary')
|
657
660
|
EndpointSummaryList = Shapes::ListShape.new(name: 'EndpointSummaryList')
|
661
|
+
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
658
662
|
EntityDescription = Shapes::StringShape.new(name: 'EntityDescription')
|
659
663
|
EntityName = Shapes::StringShape.new(name: 'EntityName')
|
660
664
|
EnvironmentKey = Shapes::StringShape.new(name: 'EnvironmentKey')
|
@@ -825,9 +829,12 @@ module Aws::SageMaker
|
|
825
829
|
InferenceExecutionConfig = Shapes::StructureShape.new(name: 'InferenceExecutionConfig')
|
826
830
|
InferenceExecutionMode = Shapes::StringShape.new(name: 'InferenceExecutionMode')
|
827
831
|
InferenceImage = Shapes::StringShape.new(name: 'InferenceImage')
|
832
|
+
InferenceMetrics = Shapes::StructureShape.new(name: 'InferenceMetrics')
|
828
833
|
InferenceRecommendation = Shapes::StructureShape.new(name: 'InferenceRecommendation')
|
829
834
|
InferenceRecommendations = Shapes::ListShape.new(name: 'InferenceRecommendations')
|
830
835
|
InferenceRecommendationsJob = Shapes::StructureShape.new(name: 'InferenceRecommendationsJob')
|
836
|
+
InferenceRecommendationsJobStep = Shapes::StructureShape.new(name: 'InferenceRecommendationsJobStep')
|
837
|
+
InferenceRecommendationsJobSteps = Shapes::ListShape.new(name: 'InferenceRecommendationsJobSteps')
|
831
838
|
InferenceRecommendationsJobs = Shapes::ListShape.new(name: 'InferenceRecommendationsJobs')
|
832
839
|
InferenceSpecification = Shapes::StructureShape.new(name: 'InferenceSpecification')
|
833
840
|
InferenceSpecificationName = Shapes::StringShape.new(name: 'InferenceSpecificationName')
|
@@ -958,6 +965,8 @@ module Aws::SageMaker
|
|
958
965
|
ListImageVersionsResponse = Shapes::StructureShape.new(name: 'ListImageVersionsResponse')
|
959
966
|
ListImagesRequest = Shapes::StructureShape.new(name: 'ListImagesRequest')
|
960
967
|
ListImagesResponse = Shapes::StructureShape.new(name: 'ListImagesResponse')
|
968
|
+
ListInferenceRecommendationsJobStepsRequest = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobStepsRequest')
|
969
|
+
ListInferenceRecommendationsJobStepsResponse = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobStepsResponse')
|
961
970
|
ListInferenceRecommendationsJobsRequest = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobsRequest')
|
962
971
|
ListInferenceRecommendationsJobsResponse = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobsResponse')
|
963
972
|
ListInferenceRecommendationsJobsSortBy = Shapes::StringShape.new(name: 'ListInferenceRecommendationsJobsSortBy')
|
@@ -1374,10 +1383,12 @@ module Aws::SageMaker
|
|
1374
1383
|
RStudioServerProDomainSettingsForUpdate = Shapes::StructureShape.new(name: 'RStudioServerProDomainSettingsForUpdate')
|
1375
1384
|
RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
|
1376
1385
|
RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
|
1386
|
+
RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
|
1377
1387
|
RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
|
1378
1388
|
RecommendationJobCompiledOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobCompiledOutputConfig')
|
1379
1389
|
RecommendationJobContainerConfig = Shapes::StructureShape.new(name: 'RecommendationJobContainerConfig')
|
1380
1390
|
RecommendationJobDescription = Shapes::StringShape.new(name: 'RecommendationJobDescription')
|
1391
|
+
RecommendationJobInferenceBenchmark = Shapes::StructureShape.new(name: 'RecommendationJobInferenceBenchmark')
|
1381
1392
|
RecommendationJobInputConfig = Shapes::StructureShape.new(name: 'RecommendationJobInputConfig')
|
1382
1393
|
RecommendationJobName = Shapes::StringShape.new(name: 'RecommendationJobName')
|
1383
1394
|
RecommendationJobOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobOutputConfig')
|
@@ -1389,6 +1400,7 @@ module Aws::SageMaker
|
|
1389
1400
|
RecommendationJobSupportedInstanceTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedInstanceTypes')
|
1390
1401
|
RecommendationJobType = Shapes::StringShape.new(name: 'RecommendationJobType')
|
1391
1402
|
RecommendationMetrics = Shapes::StructureShape.new(name: 'RecommendationMetrics')
|
1403
|
+
RecommendationStepType = Shapes::StringShape.new(name: 'RecommendationStepType')
|
1392
1404
|
RecordWrapper = Shapes::StringShape.new(name: 'RecordWrapper')
|
1393
1405
|
RedshiftClusterId = Shapes::StringShape.new(name: 'RedshiftClusterId')
|
1394
1406
|
RedshiftDatabase = Shapes::StringShape.new(name: 'RedshiftDatabase')
|
@@ -3625,6 +3637,7 @@ module Aws::SageMaker
|
|
3625
3637
|
DescribeInferenceRecommendationsJobResponse.add_member(:input_config, Shapes::ShapeRef.new(shape: RecommendationJobInputConfig, required: true, location_name: "InputConfig"))
|
3626
3638
|
DescribeInferenceRecommendationsJobResponse.add_member(:stopping_conditions, Shapes::ShapeRef.new(shape: RecommendationJobStoppingConditions, location_name: "StoppingConditions"))
|
3627
3639
|
DescribeInferenceRecommendationsJobResponse.add_member(:inference_recommendations, Shapes::ShapeRef.new(shape: InferenceRecommendations, location_name: "InferenceRecommendations"))
|
3640
|
+
DescribeInferenceRecommendationsJobResponse.add_member(:endpoint_performances, Shapes::ShapeRef.new(shape: EndpointPerformances, location_name: "EndpointPerformances"))
|
3628
3641
|
DescribeInferenceRecommendationsJobResponse.struct_class = Types::DescribeInferenceRecommendationsJobResponse
|
3629
3642
|
|
3630
3643
|
DescribeLabelingJobRequest.add_member(:labeling_job_name, Shapes::ShapeRef.new(shape: LabelingJobName, required: true, location_name: "LabelingJobName"))
|
@@ -4291,6 +4304,9 @@ module Aws::SageMaker
|
|
4291
4304
|
|
4292
4305
|
EndpointConfigSummaryList.member = Shapes::ShapeRef.new(shape: EndpointConfigSummary)
|
4293
4306
|
|
4307
|
+
EndpointInfo.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
|
4308
|
+
EndpointInfo.struct_class = Types::EndpointInfo
|
4309
|
+
|
4294
4310
|
EndpointInput.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
|
4295
4311
|
EndpointInput.add_member(:local_path, Shapes::ShapeRef.new(shape: ProcessingLocalPath, required: true, location_name: "LocalPath"))
|
4296
4312
|
EndpointInput.add_member(:s3_input_mode, Shapes::ShapeRef.new(shape: ProcessingS3InputMode, location_name: "S3InputMode"))
|
@@ -4316,6 +4332,12 @@ module Aws::SageMaker
|
|
4316
4332
|
EndpointOutputConfiguration.add_member(:initial_instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InitialInstanceCount"))
|
4317
4333
|
EndpointOutputConfiguration.struct_class = Types::EndpointOutputConfiguration
|
4318
4334
|
|
4335
|
+
EndpointPerformance.add_member(:metrics, Shapes::ShapeRef.new(shape: InferenceMetrics, required: true, location_name: "Metrics"))
|
4336
|
+
EndpointPerformance.add_member(:endpoint_info, Shapes::ShapeRef.new(shape: EndpointInfo, required: true, location_name: "EndpointInfo"))
|
4337
|
+
EndpointPerformance.struct_class = Types::EndpointPerformance
|
4338
|
+
|
4339
|
+
EndpointPerformances.member = Shapes::ShapeRef.new(shape: EndpointPerformance)
|
4340
|
+
|
4319
4341
|
EndpointSummary.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
|
4320
4342
|
EndpointSummary.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EndpointArn, required: true, location_name: "EndpointArn"))
|
4321
4343
|
EndpointSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
@@ -4325,6 +4347,8 @@ module Aws::SageMaker
|
|
4325
4347
|
|
4326
4348
|
EndpointSummaryList.member = Shapes::ShapeRef.new(shape: EndpointSummary)
|
4327
4349
|
|
4350
|
+
Endpoints.member = Shapes::ShapeRef.new(shape: EndpointInfo)
|
4351
|
+
|
4328
4352
|
EnvironmentMap.key = Shapes::ShapeRef.new(shape: EnvironmentKey)
|
4329
4353
|
EnvironmentMap.value = Shapes::ShapeRef.new(shape: EnvironmentValue)
|
4330
4354
|
|
@@ -4737,6 +4761,10 @@ module Aws::SageMaker
|
|
4737
4761
|
InferenceExecutionConfig.add_member(:mode, Shapes::ShapeRef.new(shape: InferenceExecutionMode, required: true, location_name: "Mode"))
|
4738
4762
|
InferenceExecutionConfig.struct_class = Types::InferenceExecutionConfig
|
4739
4763
|
|
4764
|
+
InferenceMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxInvocations"))
|
4765
|
+
InferenceMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ModelLatency"))
|
4766
|
+
InferenceMetrics.struct_class = Types::InferenceMetrics
|
4767
|
+
|
4740
4768
|
InferenceRecommendation.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, required: true, location_name: "Metrics"))
|
4741
4769
|
InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
|
4742
4770
|
InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
@@ -4756,6 +4784,14 @@ module Aws::SageMaker
|
|
4756
4784
|
InferenceRecommendationsJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
4757
4785
|
InferenceRecommendationsJob.struct_class = Types::InferenceRecommendationsJob
|
4758
4786
|
|
4787
|
+
InferenceRecommendationsJobStep.add_member(:step_type, Shapes::ShapeRef.new(shape: RecommendationStepType, required: true, location_name: "StepType"))
|
4788
|
+
InferenceRecommendationsJobStep.add_member(:job_name, Shapes::ShapeRef.new(shape: RecommendationJobName, required: true, location_name: "JobName"))
|
4789
|
+
InferenceRecommendationsJobStep.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationJobStatus, required: true, location_name: "Status"))
|
4790
|
+
InferenceRecommendationsJobStep.add_member(:inference_benchmark, Shapes::ShapeRef.new(shape: RecommendationJobInferenceBenchmark, location_name: "InferenceBenchmark"))
|
4791
|
+
InferenceRecommendationsJobStep.struct_class = Types::InferenceRecommendationsJobStep
|
4792
|
+
|
4793
|
+
InferenceRecommendationsJobSteps.member = Shapes::ShapeRef.new(shape: InferenceRecommendationsJobStep)
|
4794
|
+
|
4759
4795
|
InferenceRecommendationsJobs.member = Shapes::ShapeRef.new(shape: InferenceRecommendationsJob)
|
4760
4796
|
|
4761
4797
|
InferenceSpecification.add_member(:containers, Shapes::ShapeRef.new(shape: ModelPackageContainerDefinitionList, required: true, location_name: "Containers"))
|
@@ -5283,6 +5319,17 @@ module Aws::SageMaker
|
|
5283
5319
|
ListImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5284
5320
|
ListImagesResponse.struct_class = Types::ListImagesResponse
|
5285
5321
|
|
5322
|
+
ListInferenceRecommendationsJobStepsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: RecommendationJobName, required: true, location_name: "JobName"))
|
5323
|
+
ListInferenceRecommendationsJobStepsRequest.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationJobStatus, location_name: "Status"))
|
5324
|
+
ListInferenceRecommendationsJobStepsRequest.add_member(:step_type, Shapes::ShapeRef.new(shape: RecommendationStepType, location_name: "StepType"))
|
5325
|
+
ListInferenceRecommendationsJobStepsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
5326
|
+
ListInferenceRecommendationsJobStepsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5327
|
+
ListInferenceRecommendationsJobStepsRequest.struct_class = Types::ListInferenceRecommendationsJobStepsRequest
|
5328
|
+
|
5329
|
+
ListInferenceRecommendationsJobStepsResponse.add_member(:steps, Shapes::ShapeRef.new(shape: InferenceRecommendationsJobSteps, location_name: "Steps"))
|
5330
|
+
ListInferenceRecommendationsJobStepsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5331
|
+
ListInferenceRecommendationsJobStepsResponse.struct_class = Types::ListInferenceRecommendationsJobStepsResponse
|
5332
|
+
|
5286
5333
|
ListInferenceRecommendationsJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTimeAfter"))
|
5287
5334
|
ListInferenceRecommendationsJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTimeBefore"))
|
5288
5335
|
ListInferenceRecommendationsJobsRequest.add_member(:last_modified_time_after, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "LastModifiedTimeAfter"))
|
@@ -6688,6 +6735,12 @@ module Aws::SageMaker
|
|
6688
6735
|
RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes"))
|
6689
6736
|
RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig
|
6690
6737
|
|
6738
|
+
RecommendationJobInferenceBenchmark.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, location_name: "Metrics"))
|
6739
|
+
RecommendationJobInferenceBenchmark.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, location_name: "EndpointConfiguration"))
|
6740
|
+
RecommendationJobInferenceBenchmark.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
6741
|
+
RecommendationJobInferenceBenchmark.add_member(:failure_reason, Shapes::ShapeRef.new(shape: RecommendationFailureReason, location_name: "FailureReason"))
|
6742
|
+
RecommendationJobInferenceBenchmark.struct_class = Types::RecommendationJobInferenceBenchmark
|
6743
|
+
|
6691
6744
|
RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageVersionArn"))
|
6692
6745
|
RecommendationJobInputConfig.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: JobDurationInSeconds, location_name: "JobDurationInSeconds"))
|
6693
6746
|
RecommendationJobInputConfig.add_member(:traffic_pattern, Shapes::ShapeRef.new(shape: TrafficPattern, location_name: "TrafficPattern"))
|
@@ -6695,6 +6748,7 @@ module Aws::SageMaker
|
|
6695
6748
|
RecommendationJobInputConfig.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointInputConfigurations, location_name: "EndpointConfigurations"))
|
6696
6749
|
RecommendationJobInputConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
6697
6750
|
RecommendationJobInputConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: RecommendationJobContainerConfig, location_name: "ContainerConfig"))
|
6751
|
+
RecommendationJobInputConfig.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
|
6698
6752
|
RecommendationJobInputConfig.struct_class = Types::RecommendationJobInputConfig
|
6699
6753
|
|
6700
6754
|
RecommendationJobOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
@@ -9448,6 +9502,20 @@ module Aws::SageMaker
|
|
9448
9502
|
)
|
9449
9503
|
end)
|
9450
9504
|
|
9505
|
+
api.add_operation(:list_inference_recommendations_job_steps, Seahorse::Model::Operation.new.tap do |o|
|
9506
|
+
o.name = "ListInferenceRecommendationsJobSteps"
|
9507
|
+
o.http_method = "POST"
|
9508
|
+
o.http_request_uri = "/"
|
9509
|
+
o.input = Shapes::ShapeRef.new(shape: ListInferenceRecommendationsJobStepsRequest)
|
9510
|
+
o.output = Shapes::ShapeRef.new(shape: ListInferenceRecommendationsJobStepsResponse)
|
9511
|
+
o[:pager] = Aws::Pager.new(
|
9512
|
+
limit_key: "max_results",
|
9513
|
+
tokens: {
|
9514
|
+
"next_token" => "next_token"
|
9515
|
+
}
|
9516
|
+
)
|
9517
|
+
end)
|
9518
|
+
|
9451
9519
|
api.add_operation(:list_inference_recommendations_jobs, Seahorse::Model::Operation.new.tap do |o|
|
9452
9520
|
o.name = "ListInferenceRecommendationsJobs"
|
9453
9521
|
o.http_method = "POST"
|
@@ -7553,6 +7553,11 @@ module Aws::SageMaker
|
|
7553
7553
|
# nearest_model_name: "String",
|
7554
7554
|
# supported_instance_types: ["String"],
|
7555
7555
|
# },
|
7556
|
+
# endpoints: [
|
7557
|
+
# {
|
7558
|
+
# endpoint_name: "EndpointName", # required
|
7559
|
+
# },
|
7560
|
+
# ],
|
7556
7561
|
# },
|
7557
7562
|
# job_description: "RecommendationJobDescription",
|
7558
7563
|
# stopping_conditions: {
|
@@ -15535,6 +15540,11 @@ module Aws::SageMaker
|
|
15535
15540
|
# The recommendations made by Inference Recommender.
|
15536
15541
|
# @return [Array<Types::InferenceRecommendation>]
|
15537
15542
|
#
|
15543
|
+
# @!attribute [rw] endpoint_performances
|
15544
|
+
# The performance results from running an Inference Recommender job on
|
15545
|
+
# an existing endpoint.
|
15546
|
+
# @return [Array<Types::EndpointPerformance>]
|
15547
|
+
#
|
15538
15548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJobResponse AWS API Documentation
|
15539
15549
|
#
|
15540
15550
|
class DescribeInferenceRecommendationsJobResponse < Struct.new(
|
@@ -15550,7 +15560,8 @@ module Aws::SageMaker
|
|
15550
15560
|
:failure_reason,
|
15551
15561
|
:input_config,
|
15552
15562
|
:stopping_conditions,
|
15553
|
-
:inference_recommendations
|
15563
|
+
:inference_recommendations,
|
15564
|
+
:endpoint_performances)
|
15554
15565
|
SENSITIVE = []
|
15555
15566
|
include Aws::Structure
|
15556
15567
|
end
|
@@ -19451,6 +19462,28 @@ module Aws::SageMaker
|
|
19451
19462
|
include Aws::Structure
|
19452
19463
|
end
|
19453
19464
|
|
19465
|
+
# Details about a customer endpoint that was compared in an Inference
|
19466
|
+
# Recommender job.
|
19467
|
+
#
|
19468
|
+
# @note When making an API call, you may pass EndpointInfo
|
19469
|
+
# data as a hash:
|
19470
|
+
#
|
19471
|
+
# {
|
19472
|
+
# endpoint_name: "EndpointName", # required
|
19473
|
+
# }
|
19474
|
+
#
|
19475
|
+
# @!attribute [rw] endpoint_name
|
19476
|
+
# The name of a customer's endpoint.
|
19477
|
+
# @return [String]
|
19478
|
+
#
|
19479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointInfo AWS API Documentation
|
19480
|
+
#
|
19481
|
+
class EndpointInfo < Struct.new(
|
19482
|
+
:endpoint_name)
|
19483
|
+
SENSITIVE = []
|
19484
|
+
include Aws::Structure
|
19485
|
+
end
|
19486
|
+
|
19454
19487
|
# Input object for the endpoint
|
19455
19488
|
#
|
19456
19489
|
# @note When making an API call, you may pass EndpointInput
|
@@ -19619,6 +19652,27 @@ module Aws::SageMaker
|
|
19619
19652
|
include Aws::Structure
|
19620
19653
|
end
|
19621
19654
|
|
19655
|
+
# The performance results from running an Inference Recommender job on
|
19656
|
+
# an existing endpoint.
|
19657
|
+
#
|
19658
|
+
# @!attribute [rw] metrics
|
19659
|
+
# The metrics for an existing endpoint.
|
19660
|
+
# @return [Types::InferenceMetrics]
|
19661
|
+
#
|
19662
|
+
# @!attribute [rw] endpoint_info
|
19663
|
+
# Details about a customer endpoint that was compared in an Inference
|
19664
|
+
# Recommender job.
|
19665
|
+
# @return [Types::EndpointInfo]
|
19666
|
+
#
|
19667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointPerformance AWS API Documentation
|
19668
|
+
#
|
19669
|
+
class EndpointPerformance < Struct.new(
|
19670
|
+
:metrics,
|
19671
|
+
:endpoint_info)
|
19672
|
+
SENSITIVE = []
|
19673
|
+
include Aws::Structure
|
19674
|
+
end
|
19675
|
+
|
19622
19676
|
# Provides summary information for an endpoint.
|
19623
19677
|
#
|
19624
19678
|
# @!attribute [rw] endpoint_name
|
@@ -23574,6 +23628,27 @@ module Aws::SageMaker
|
|
23574
23628
|
include Aws::Structure
|
23575
23629
|
end
|
23576
23630
|
|
23631
|
+
# The metrics for an existing endpoint compared in an Inference
|
23632
|
+
# Recommender job.
|
23633
|
+
#
|
23634
|
+
# @!attribute [rw] max_invocations
|
23635
|
+
# The expected maximum number of requests per minute for the instance.
|
23636
|
+
# @return [Integer]
|
23637
|
+
#
|
23638
|
+
# @!attribute [rw] model_latency
|
23639
|
+
# The expected model latency at maximum invocations per minute for the
|
23640
|
+
# instance.
|
23641
|
+
# @return [Integer]
|
23642
|
+
#
|
23643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceMetrics AWS API Documentation
|
23644
|
+
#
|
23645
|
+
class InferenceMetrics < Struct.new(
|
23646
|
+
:max_invocations,
|
23647
|
+
:model_latency)
|
23648
|
+
SENSITIVE = []
|
23649
|
+
include Aws::Structure
|
23650
|
+
end
|
23651
|
+
|
23577
23652
|
# A list of recommendations made by Amazon SageMaker Inference
|
23578
23653
|
# Recommender.
|
23579
23654
|
#
|
@@ -23659,6 +23734,43 @@ module Aws::SageMaker
|
|
23659
23734
|
include Aws::Structure
|
23660
23735
|
end
|
23661
23736
|
|
23737
|
+
# A returned array object for the `Steps` response field in the
|
23738
|
+
# [ListInferenceRecommendationsJobSteps][1] API command.
|
23739
|
+
#
|
23740
|
+
#
|
23741
|
+
#
|
23742
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_InferenceRecommendationsJobStep.html
|
23743
|
+
#
|
23744
|
+
# @!attribute [rw] step_type
|
23745
|
+
# The type of the subtask.
|
23746
|
+
#
|
23747
|
+
# `BENCHMARK`\: Evaluate the performance of your model on different
|
23748
|
+
# instance types.
|
23749
|
+
# @return [String]
|
23750
|
+
#
|
23751
|
+
# @!attribute [rw] job_name
|
23752
|
+
# The name of the Inference Recommender job.
|
23753
|
+
# @return [String]
|
23754
|
+
#
|
23755
|
+
# @!attribute [rw] status
|
23756
|
+
# The current status of the benchmark.
|
23757
|
+
# @return [String]
|
23758
|
+
#
|
23759
|
+
# @!attribute [rw] inference_benchmark
|
23760
|
+
# The details for a specific benchmark.
|
23761
|
+
# @return [Types::RecommendationJobInferenceBenchmark]
|
23762
|
+
#
|
23763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendationsJobStep AWS API Documentation
|
23764
|
+
#
|
23765
|
+
class InferenceRecommendationsJobStep < Struct.new(
|
23766
|
+
:step_type,
|
23767
|
+
:job_name,
|
23768
|
+
:status,
|
23769
|
+
:inference_benchmark)
|
23770
|
+
SENSITIVE = []
|
23771
|
+
include Aws::Structure
|
23772
|
+
end
|
23773
|
+
|
23662
23774
|
# Defines how to perform inference generation after a training job is
|
23663
23775
|
# run.
|
23664
23776
|
#
|
@@ -27184,6 +27296,73 @@ module Aws::SageMaker
|
|
27184
27296
|
include Aws::Structure
|
27185
27297
|
end
|
27186
27298
|
|
27299
|
+
# @note When making an API call, you may pass ListInferenceRecommendationsJobStepsRequest
|
27300
|
+
# data as a hash:
|
27301
|
+
#
|
27302
|
+
# {
|
27303
|
+
# job_name: "RecommendationJobName", # required
|
27304
|
+
# status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPING, STOPPED
|
27305
|
+
# step_type: "BENCHMARK", # accepts BENCHMARK
|
27306
|
+
# max_results: 1,
|
27307
|
+
# next_token: "NextToken",
|
27308
|
+
# }
|
27309
|
+
#
|
27310
|
+
# @!attribute [rw] job_name
|
27311
|
+
# The name for the Inference Recommender job.
|
27312
|
+
# @return [String]
|
27313
|
+
#
|
27314
|
+
# @!attribute [rw] status
|
27315
|
+
# A filter to return benchmarks of a specified status. If this field
|
27316
|
+
# is left empty, then all benchmarks are returned.
|
27317
|
+
# @return [String]
|
27318
|
+
#
|
27319
|
+
# @!attribute [rw] step_type
|
27320
|
+
# A filter to return details about the specified type of subtask.
|
27321
|
+
#
|
27322
|
+
# `BENCHMARK`\: Evaluate the performance of your model on different
|
27323
|
+
# instance types.
|
27324
|
+
# @return [String]
|
27325
|
+
#
|
27326
|
+
# @!attribute [rw] max_results
|
27327
|
+
# The maximum number of results to return.
|
27328
|
+
# @return [Integer]
|
27329
|
+
#
|
27330
|
+
# @!attribute [rw] next_token
|
27331
|
+
# A token that you can specify to return more results from the list.
|
27332
|
+
# Specify this field if you have a token that was returned from a
|
27333
|
+
# previous request.
|
27334
|
+
# @return [String]
|
27335
|
+
#
|
27336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobStepsRequest AWS API Documentation
|
27337
|
+
#
|
27338
|
+
class ListInferenceRecommendationsJobStepsRequest < Struct.new(
|
27339
|
+
:job_name,
|
27340
|
+
:status,
|
27341
|
+
:step_type,
|
27342
|
+
:max_results,
|
27343
|
+
:next_token)
|
27344
|
+
SENSITIVE = []
|
27345
|
+
include Aws::Structure
|
27346
|
+
end
|
27347
|
+
|
27348
|
+
# @!attribute [rw] steps
|
27349
|
+
# A list of all subtask details in Inference Recommender.
|
27350
|
+
# @return [Array<Types::InferenceRecommendationsJobStep>]
|
27351
|
+
#
|
27352
|
+
# @!attribute [rw] next_token
|
27353
|
+
# A token that you can specify in your next request to return more
|
27354
|
+
# results from the list.
|
27355
|
+
# @return [String]
|
27356
|
+
#
|
27357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobStepsResponse AWS API Documentation
|
27358
|
+
#
|
27359
|
+
class ListInferenceRecommendationsJobStepsResponse < Struct.new(
|
27360
|
+
:steps,
|
27361
|
+
:next_token)
|
27362
|
+
SENSITIVE = []
|
27363
|
+
include Aws::Structure
|
27364
|
+
end
|
27365
|
+
|
27187
27366
|
# @note When making an API call, you may pass ListInferenceRecommendationsJobsRequest
|
27188
27367
|
# data as a hash:
|
27189
27368
|
#
|
@@ -36840,6 +37019,38 @@ module Aws::SageMaker
|
|
36840
37019
|
include Aws::Structure
|
36841
37020
|
end
|
36842
37021
|
|
37022
|
+
# The details for a specific benchmark from an Inference Recommender
|
37023
|
+
# job.
|
37024
|
+
#
|
37025
|
+
# @!attribute [rw] metrics
|
37026
|
+
# The metrics of recommendations.
|
37027
|
+
# @return [Types::RecommendationMetrics]
|
37028
|
+
#
|
37029
|
+
# @!attribute [rw] endpoint_configuration
|
37030
|
+
# The endpoint configuration made by Inference Recommender during a
|
37031
|
+
# recommendation job.
|
37032
|
+
# @return [Types::EndpointOutputConfiguration]
|
37033
|
+
#
|
37034
|
+
# @!attribute [rw] model_configuration
|
37035
|
+
# Defines the model configuration. Includes the specification name and
|
37036
|
+
# environment parameters.
|
37037
|
+
# @return [Types::ModelConfiguration]
|
37038
|
+
#
|
37039
|
+
# @!attribute [rw] failure_reason
|
37040
|
+
# The reason why a benchmark failed.
|
37041
|
+
# @return [String]
|
37042
|
+
#
|
37043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInferenceBenchmark AWS API Documentation
|
37044
|
+
#
|
37045
|
+
class RecommendationJobInferenceBenchmark < Struct.new(
|
37046
|
+
:metrics,
|
37047
|
+
:endpoint_configuration,
|
37048
|
+
:model_configuration,
|
37049
|
+
:failure_reason)
|
37050
|
+
SENSITIVE = []
|
37051
|
+
include Aws::Structure
|
37052
|
+
end
|
37053
|
+
|
36843
37054
|
# The input configuration of the recommendation job.
|
36844
37055
|
#
|
36845
37056
|
# @note When making an API call, you may pass RecommendationJobInputConfig
|
@@ -36889,6 +37100,11 @@ module Aws::SageMaker
|
|
36889
37100
|
# nearest_model_name: "String",
|
36890
37101
|
# supported_instance_types: ["String"],
|
36891
37102
|
# },
|
37103
|
+
# endpoints: [
|
37104
|
+
# {
|
37105
|
+
# endpoint_name: "EndpointName", # required
|
37106
|
+
# },
|
37107
|
+
# ],
|
36892
37108
|
# }
|
36893
37109
|
#
|
36894
37110
|
# @!attribute [rw] model_package_version_arn
|
@@ -36957,6 +37173,11 @@ module Aws::SageMaker
|
|
36957
37173
|
# fields in the model package.
|
36958
37174
|
# @return [Types::RecommendationJobContainerConfig]
|
36959
37175
|
#
|
37176
|
+
# @!attribute [rw] endpoints
|
37177
|
+
# Existing customer endpoints on which to run an Inference Recommender
|
37178
|
+
# job.
|
37179
|
+
# @return [Array<Types::EndpointInfo>]
|
37180
|
+
#
|
36960
37181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
|
36961
37182
|
#
|
36962
37183
|
class RecommendationJobInputConfig < Struct.new(
|
@@ -36966,7 +37187,8 @@ module Aws::SageMaker
|
|
36966
37187
|
:resource_limit,
|
36967
37188
|
:endpoint_configurations,
|
36968
37189
|
:volume_kms_key_id,
|
36969
|
-
:container_config
|
37190
|
+
:container_config,
|
37191
|
+
:endpoints)
|
36970
37192
|
SENSITIVE = []
|
36971
37193
|
include Aws::Structure
|
36972
37194
|
end
|
@@ -41021,9 +41243,9 @@ module Aws::SageMaker
|
|
41021
41243
|
# @return [String]
|
41022
41244
|
#
|
41023
41245
|
# @!attribute [rw] instance_count
|
41024
|
-
# The number of ML compute instances to use in the transform job.
|
41025
|
-
#
|
41026
|
-
#
|
41246
|
+
# The number of ML compute instances to use in the transform job. The
|
41247
|
+
# default value is `1`, and the maximum is `100`. For distributed
|
41248
|
+
# transform jobs, specify a value greater than `1`.
|
41027
41249
|
# @return [Integer]
|
41028
41250
|
#
|
41029
41251
|
# @!attribute [rw] volume_kms_key_id
|
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.147.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|