aws-sdk-sagemaker 1.146.0 → 1.148.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebd394d38d55f5b3a6b5e4d066da97a20e1fdbd0b90f18edf5fcd218a868306c
4
- data.tar.gz: 03a3cc6c12079bdd81ea09a83986d71439aa30fe87339c6f206abb763d9fbd59
3
+ metadata.gz: 96541be27161586a7ed521844a9ad4cacaa1a997dc6bb099bbef008f3ca6b31a
4
+ data.tar.gz: ad3a8796009de28e83fe9ac3ef342b7f15cd9fe49aac25186d523741d865c319
5
5
  SHA512:
6
- metadata.gz: 349df1460fe17a33087ceb79894a81939098272070d88998fdfcfdcb29f499d32b3c14d965d94c20e0eda329f013b81ecdc139c21e8bc3a501beeaa8cf750d72
7
- data.tar.gz: 26dd2ce5ffde1515f689a466ae0fc2a189b7418aa3b283ce2cdf0cf1fc11bb096a2bc9ac347745a8ea7cb1d6f4f7e74062c7edb3e4fc52565cf4e72736f7fc18
6
+ metadata.gz: b206844326903bcdd1c6da77f1fa17738902d8bfea533991b174e5b62f4b5ad21e677c76283370e1c5d95c62a89712a57c34573848a308442e589b602e4e596f
7
+ data.tar.gz: 8dbb2b0efe8d0c6f58596dbb3b8c6dae5d8e15a50457fdea56ead2ba355b02e8d1999bf8c532d88f21c96e082a3066d20b72eaddb8320d2ba16a90ee483908a5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.148.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.147.0 (2022-10-24)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.146.0 (2022-10-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.0
1
+ 1.148.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:sagemaker)
@@ -79,8 +79,9 @@ module Aws::SageMaker
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::SageMaker::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::SageMaker
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::SageMaker
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::SageMaker::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SageMaker::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -8808,7 +8825,7 @@ module Aws::SageMaker
8808
8825
  # resp.best_candidate.candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
8809
8826
  # resp.best_candidate.candidate_properties.candidate_metrics[0].value #=> Float
8810
8827
  # resp.best_candidate.candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
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"
8828
+ # 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"
8812
8829
  # resp.auto_ml_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
8813
8830
  # 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"
8814
8831
  # resp.generate_candidate_definitions_only #=> Boolean
@@ -13269,7 +13286,7 @@ module Aws::SageMaker
13269
13286
  # resp.candidates[0].candidate_properties.candidate_metrics[0].metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
13270
13287
  # resp.candidates[0].candidate_properties.candidate_metrics[0].value #=> Float
13271
13288
  # resp.candidates[0].candidate_properties.candidate_metrics[0].set #=> String, one of "Train", "Validation", "Test"
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"
13289
+ # 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"
13273
13290
  # resp.next_token #=> String
13274
13291
  #
13275
13292
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob AWS API Documentation
@@ -14589,6 +14606,80 @@ module Aws::SageMaker
14589
14606
  req.send_request(options)
14590
14607
  end
14591
14608
 
14609
+ # Returns a list of the subtasks for an Inference Recommender job.
14610
+ #
14611
+ # The supported subtasks are benchmarks, which evaluate the performance
14612
+ # of your model on different instance types.
14613
+ #
14614
+ # @option params [required, String] :job_name
14615
+ # The name for the Inference Recommender job.
14616
+ #
14617
+ # @option params [String] :status
14618
+ # A filter to return benchmarks of a specified status. If this field is
14619
+ # left empty, then all benchmarks are returned.
14620
+ #
14621
+ # @option params [String] :step_type
14622
+ # A filter to return details about the specified type of subtask.
14623
+ #
14624
+ # `BENCHMARK`\: Evaluate the performance of your model on different
14625
+ # instance types.
14626
+ #
14627
+ # @option params [Integer] :max_results
14628
+ # The maximum number of results to return.
14629
+ #
14630
+ # @option params [String] :next_token
14631
+ # A token that you can specify to return more results from the list.
14632
+ # Specify this field if you have a token that was returned from a
14633
+ # previous request.
14634
+ #
14635
+ # @return [Types::ListInferenceRecommendationsJobStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14636
+ #
14637
+ # * {Types::ListInferenceRecommendationsJobStepsResponse#steps #steps} => Array<Types::InferenceRecommendationsJobStep>
14638
+ # * {Types::ListInferenceRecommendationsJobStepsResponse#next_token #next_token} => String
14639
+ #
14640
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
14641
+ #
14642
+ # @example Request syntax with placeholder values
14643
+ #
14644
+ # resp = client.list_inference_recommendations_job_steps({
14645
+ # job_name: "RecommendationJobName", # required
14646
+ # status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPING, STOPPED
14647
+ # step_type: "BENCHMARK", # accepts BENCHMARK
14648
+ # max_results: 1,
14649
+ # next_token: "NextToken",
14650
+ # })
14651
+ #
14652
+ # @example Response structure
14653
+ #
14654
+ # resp.steps #=> Array
14655
+ # resp.steps[0].step_type #=> String, one of "BENCHMARK"
14656
+ # resp.steps[0].job_name #=> String
14657
+ # resp.steps[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "STOPPING", "STOPPED"
14658
+ # resp.steps[0].inference_benchmark.metrics.cost_per_hour #=> Float
14659
+ # resp.steps[0].inference_benchmark.metrics.cost_per_inference #=> Float
14660
+ # resp.steps[0].inference_benchmark.metrics.max_invocations #=> Integer
14661
+ # resp.steps[0].inference_benchmark.metrics.model_latency #=> Integer
14662
+ # resp.steps[0].inference_benchmark.endpoint_configuration.endpoint_name #=> String
14663
+ # resp.steps[0].inference_benchmark.endpoint_configuration.variant_name #=> String
14664
+ # 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"
14665
+ # resp.steps[0].inference_benchmark.endpoint_configuration.initial_instance_count #=> Integer
14666
+ # resp.steps[0].inference_benchmark.model_configuration.inference_specification_name #=> String
14667
+ # resp.steps[0].inference_benchmark.model_configuration.environment_parameters #=> Array
14668
+ # resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].key #=> String
14669
+ # resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value_type #=> String
14670
+ # resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value #=> String
14671
+ # resp.steps[0].inference_benchmark.failure_reason #=> String
14672
+ # resp.next_token #=> String
14673
+ #
14674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobSteps AWS API Documentation
14675
+ #
14676
+ # @overload list_inference_recommendations_job_steps(params = {})
14677
+ # @param [Hash] params ({})
14678
+ def list_inference_recommendations_job_steps(params = {}, options = {})
14679
+ req = build_request(:list_inference_recommendations_job_steps, params)
14680
+ req.send_request(options)
14681
+ end
14682
+
14592
14683
  # Lists recommendation jobs that satisfy various filters.
14593
14684
  #
14594
14685
  # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
@@ -20987,7 +21078,7 @@ module Aws::SageMaker
20987
21078
  params: params,
20988
21079
  config: config)
20989
21080
  context[:gem_name] = 'aws-sdk-sagemaker'
20990
- context[:gem_version] = '1.146.0'
21081
+ context[:gem_version] = '1.148.0'
20991
21082
  Seahorse::Client::Request.new(handlers, context)
20992
21083
  end
20993
21084
 
@@ -833,6 +833,8 @@ module Aws::SageMaker
833
833
  InferenceRecommendation = Shapes::StructureShape.new(name: 'InferenceRecommendation')
834
834
  InferenceRecommendations = Shapes::ListShape.new(name: 'InferenceRecommendations')
835
835
  InferenceRecommendationsJob = Shapes::StructureShape.new(name: 'InferenceRecommendationsJob')
836
+ InferenceRecommendationsJobStep = Shapes::StructureShape.new(name: 'InferenceRecommendationsJobStep')
837
+ InferenceRecommendationsJobSteps = Shapes::ListShape.new(name: 'InferenceRecommendationsJobSteps')
836
838
  InferenceRecommendationsJobs = Shapes::ListShape.new(name: 'InferenceRecommendationsJobs')
837
839
  InferenceSpecification = Shapes::StructureShape.new(name: 'InferenceSpecification')
838
840
  InferenceSpecificationName = Shapes::StringShape.new(name: 'InferenceSpecificationName')
@@ -963,6 +965,8 @@ module Aws::SageMaker
963
965
  ListImageVersionsResponse = Shapes::StructureShape.new(name: 'ListImageVersionsResponse')
964
966
  ListImagesRequest = Shapes::StructureShape.new(name: 'ListImagesRequest')
965
967
  ListImagesResponse = Shapes::StructureShape.new(name: 'ListImagesResponse')
968
+ ListInferenceRecommendationsJobStepsRequest = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobStepsRequest')
969
+ ListInferenceRecommendationsJobStepsResponse = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobStepsResponse')
966
970
  ListInferenceRecommendationsJobsRequest = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobsRequest')
967
971
  ListInferenceRecommendationsJobsResponse = Shapes::StructureShape.new(name: 'ListInferenceRecommendationsJobsResponse')
968
972
  ListInferenceRecommendationsJobsSortBy = Shapes::StringShape.new(name: 'ListInferenceRecommendationsJobsSortBy')
@@ -1379,10 +1383,12 @@ module Aws::SageMaker
1379
1383
  RStudioServerProDomainSettingsForUpdate = Shapes::StructureShape.new(name: 'RStudioServerProDomainSettingsForUpdate')
1380
1384
  RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
1381
1385
  RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
1386
+ RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
1382
1387
  RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
1383
1388
  RecommendationJobCompiledOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobCompiledOutputConfig')
1384
1389
  RecommendationJobContainerConfig = Shapes::StructureShape.new(name: 'RecommendationJobContainerConfig')
1385
1390
  RecommendationJobDescription = Shapes::StringShape.new(name: 'RecommendationJobDescription')
1391
+ RecommendationJobInferenceBenchmark = Shapes::StructureShape.new(name: 'RecommendationJobInferenceBenchmark')
1386
1392
  RecommendationJobInputConfig = Shapes::StructureShape.new(name: 'RecommendationJobInputConfig')
1387
1393
  RecommendationJobName = Shapes::StringShape.new(name: 'RecommendationJobName')
1388
1394
  RecommendationJobOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobOutputConfig')
@@ -1394,6 +1400,7 @@ module Aws::SageMaker
1394
1400
  RecommendationJobSupportedInstanceTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedInstanceTypes')
1395
1401
  RecommendationJobType = Shapes::StringShape.new(name: 'RecommendationJobType')
1396
1402
  RecommendationMetrics = Shapes::StructureShape.new(name: 'RecommendationMetrics')
1403
+ RecommendationStepType = Shapes::StringShape.new(name: 'RecommendationStepType')
1397
1404
  RecordWrapper = Shapes::StringShape.new(name: 'RecordWrapper')
1398
1405
  RedshiftClusterId = Shapes::StringShape.new(name: 'RedshiftClusterId')
1399
1406
  RedshiftDatabase = Shapes::StringShape.new(name: 'RedshiftDatabase')
@@ -4777,6 +4784,14 @@ module Aws::SageMaker
4777
4784
  InferenceRecommendationsJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
4778
4785
  InferenceRecommendationsJob.struct_class = Types::InferenceRecommendationsJob
4779
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
+
4780
4795
  InferenceRecommendationsJobs.member = Shapes::ShapeRef.new(shape: InferenceRecommendationsJob)
4781
4796
 
4782
4797
  InferenceSpecification.add_member(:containers, Shapes::ShapeRef.new(shape: ModelPackageContainerDefinitionList, required: true, location_name: "Containers"))
@@ -5304,6 +5319,17 @@ module Aws::SageMaker
5304
5319
  ListImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
5305
5320
  ListImagesResponse.struct_class = Types::ListImagesResponse
5306
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
+
5307
5333
  ListInferenceRecommendationsJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTimeAfter"))
5308
5334
  ListInferenceRecommendationsJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTimeBefore"))
5309
5335
  ListInferenceRecommendationsJobsRequest.add_member(:last_modified_time_after, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "LastModifiedTimeAfter"))
@@ -6709,6 +6735,12 @@ module Aws::SageMaker
6709
6735
  RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes"))
6710
6736
  RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig
6711
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
+
6712
6744
  RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageVersionArn"))
6713
6745
  RecommendationJobInputConfig.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: JobDurationInSeconds, location_name: "JobDurationInSeconds"))
6714
6746
  RecommendationJobInputConfig.add_member(:traffic_pattern, Shapes::ShapeRef.new(shape: TrafficPattern, location_name: "TrafficPattern"))
@@ -9470,6 +9502,20 @@ module Aws::SageMaker
9470
9502
  )
9471
9503
  end)
9472
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
+
9473
9519
  api.add_operation(:list_inference_recommendations_jobs, Seahorse::Model::Operation.new.tap do |o|
9474
9520
  o.name = "ListInferenceRecommendationsJobs"
9475
9521
  o.http_method = "POST"
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SageMaker
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,128 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SageMaker
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
+ dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
+ ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
+ ZSB0aG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