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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +96 -5
- data/lib/aws-sdk-sagemaker/client_api.rb +46 -0
- data/lib/aws-sdk-sagemaker/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +128 -0
- data/lib/aws-sdk-sagemaker/endpoints.rb +3711 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +596 -0
- data/lib/aws-sdk-sagemaker/types.rb +136 -0
- data/lib/aws-sdk-sagemaker.rb +5 -1
- metadata +8 -4
@@ -23734,6 +23734,43 @@ module Aws::SageMaker
|
|
23734
23734
|
include Aws::Structure
|
23735
23735
|
end
|
23736
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
|
+
|
23737
23774
|
# Defines how to perform inference generation after a training job is
|
23738
23775
|
# run.
|
23739
23776
|
#
|
@@ -27259,6 +27296,73 @@ module Aws::SageMaker
|
|
27259
27296
|
include Aws::Structure
|
27260
27297
|
end
|
27261
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
|
+
|
27262
27366
|
# @note When making an API call, you may pass ListInferenceRecommendationsJobsRequest
|
27263
27367
|
# data as a hash:
|
27264
27368
|
#
|
@@ -36915,6 +37019,38 @@ module Aws::SageMaker
|
|
36915
37019
|
include Aws::Structure
|
36916
37020
|
end
|
36917
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
|
+
|
36918
37054
|
# The input configuration of the recommendation job.
|
36919
37055
|
#
|
36920
37056
|
# @note When making an API call, you may pass RecommendationJobInputConfig
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-sagemaker/types'
|
15
15
|
require_relative 'aws-sdk-sagemaker/client_api'
|
16
|
+
require_relative 'aws-sdk-sagemaker/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-sagemaker/client'
|
17
18
|
require_relative 'aws-sdk-sagemaker/errors'
|
18
19
|
require_relative 'aws-sdk-sagemaker/waiters'
|
19
20
|
require_relative 'aws-sdk-sagemaker/resource'
|
21
|
+
require_relative 'aws-sdk-sagemaker/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-sagemaker/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-sagemaker/endpoints'
|
20
24
|
require_relative 'aws-sdk-sagemaker/customizations'
|
21
25
|
|
22
26
|
# This module provides support for Amazon SageMaker Service. This module is available in the
|
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
|
|
49
53
|
# @!group service
|
50
54
|
module Aws::SageMaker
|
51
55
|
|
52
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.148.0'
|
53
57
|
|
54
58
|
end
|
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.148.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-sagemaker/client.rb
|
60
60
|
- lib/aws-sdk-sagemaker/client_api.rb
|
61
61
|
- lib/aws-sdk-sagemaker/customizations.rb
|
62
|
+
- lib/aws-sdk-sagemaker/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-sagemaker/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-sagemaker/endpoints.rb
|
62
65
|
- lib/aws-sdk-sagemaker/errors.rb
|
66
|
+
- lib/aws-sdk-sagemaker/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-sagemaker/resource.rb
|
64
68
|
- lib/aws-sdk-sagemaker/types.rb
|
65
69
|
- lib/aws-sdk-sagemaker/waiters.rb
|