aws-sdk-sagemaker 1.178.0 → 1.179.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 +20 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +11 -0
- data/lib/aws-sdk-sagemaker/types.rb +65 -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: 5f41b686302579ebb3a0e6b8175acd6d78c6656eb125cf8e85fb5315484f6e76
|
4
|
+
data.tar.gz: b5cb5ebd11a722cebbb09a48933276c4e6ab3d0fbb5b9a71e84ea1b96078e669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65bdd9a23be09eb708f0fba08cb296a288de02d12a6625a63311f34fbb06596da008a07defb47cc691c0171d7cb4703c0e34faafa260634b9fc73066d9851d8f
|
7
|
+
data.tar.gz: ba3a27abf772d6f51ee39939769e11f9ad34cc013ab6009a916515727bf5bbf50bd9575fc1391b2a0c870ab40d447200bb454ec1d6d95813affb2e5a39821b2c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.179.0 (2023-05-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added ModelNameEquals, ModelPackageVersionArnEquals in request and ModelName, SamplePayloadUrl, ModelPackageVersionArn in response of ListInferenceRecommendationsJobs API. Added Invocation timestamps in response of DescribeInferenceRecommendationsJob API & ListInferenceRecommendationsJobSteps API.
|
8
|
+
|
4
9
|
1.178.0 (2023-05-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.179.0
|
@@ -7052,6 +7052,9 @@ module Aws::SageMaker
|
|
7052
7052
|
# example, if you specify an EFS location, input data files are
|
7053
7053
|
# available as input streams. They do not need to be downloaded.
|
7054
7054
|
#
|
7055
|
+
# Your input must be in the same Amazon Web Services region as your
|
7056
|
+
# training job.
|
7057
|
+
#
|
7055
7058
|
# @option params [required, Types::OutputDataConfig] :output_data_config
|
7056
7059
|
# Specifies the path to the S3 location where you want to store model
|
7057
7060
|
# artifacts. SageMaker creates subfolders for the artifacts.
|
@@ -12069,6 +12072,8 @@ module Aws::SageMaker
|
|
12069
12072
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].value #=> String
|
12070
12073
|
# resp.inference_recommendations[0].model_configuration.compilation_job_name #=> String
|
12071
12074
|
# resp.inference_recommendations[0].recommendation_id #=> String
|
12075
|
+
# resp.inference_recommendations[0].invocation_end_time #=> Time
|
12076
|
+
# resp.inference_recommendations[0].invocation_start_time #=> Time
|
12072
12077
|
# resp.endpoint_performances #=> Array
|
12073
12078
|
# resp.endpoint_performances[0].metrics.max_invocations #=> Integer
|
12074
12079
|
# resp.endpoint_performances[0].metrics.model_latency #=> Integer
|
@@ -17073,6 +17078,8 @@ module Aws::SageMaker
|
|
17073
17078
|
# resp.steps[0].inference_benchmark.failure_reason #=> String
|
17074
17079
|
# resp.steps[0].inference_benchmark.endpoint_metrics.max_invocations #=> Integer
|
17075
17080
|
# resp.steps[0].inference_benchmark.endpoint_metrics.model_latency #=> Integer
|
17081
|
+
# resp.steps[0].inference_benchmark.invocation_end_time #=> Time
|
17082
|
+
# resp.steps[0].inference_benchmark.invocation_start_time #=> Time
|
17076
17083
|
# resp.next_token #=> String
|
17077
17084
|
#
|
17078
17085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobSteps AWS API Documentation
|
@@ -17125,6 +17132,13 @@ module Aws::SageMaker
|
|
17125
17132
|
# @option params [Integer] :max_results
|
17126
17133
|
# The maximum number of recommendations to return in the response.
|
17127
17134
|
#
|
17135
|
+
# @option params [String] :model_name_equals
|
17136
|
+
# A filter that returns only jobs that were created for this model.
|
17137
|
+
#
|
17138
|
+
# @option params [String] :model_package_version_arn_equals
|
17139
|
+
# A filter that returns only jobs that were created for this versioned
|
17140
|
+
# model package.
|
17141
|
+
#
|
17128
17142
|
# @return [Types::ListInferenceRecommendationsJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17129
17143
|
#
|
17130
17144
|
# * {Types::ListInferenceRecommendationsJobsResponse#inference_recommendations_jobs #inference_recommendations_jobs} => Array<Types::InferenceRecommendationsJob>
|
@@ -17145,6 +17159,8 @@ module Aws::SageMaker
|
|
17145
17159
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
17146
17160
|
# next_token: "NextToken",
|
17147
17161
|
# max_results: 1,
|
17162
|
+
# model_name_equals: "ModelName",
|
17163
|
+
# model_package_version_arn_equals: "ModelPackageArn",
|
17148
17164
|
# })
|
17149
17165
|
#
|
17150
17166
|
# @example Response structure
|
@@ -17160,6 +17176,9 @@ module Aws::SageMaker
|
|
17160
17176
|
# resp.inference_recommendations_jobs[0].role_arn #=> String
|
17161
17177
|
# resp.inference_recommendations_jobs[0].last_modified_time #=> Time
|
17162
17178
|
# resp.inference_recommendations_jobs[0].failure_reason #=> String
|
17179
|
+
# resp.inference_recommendations_jobs[0].model_name #=> String
|
17180
|
+
# resp.inference_recommendations_jobs[0].sample_payload_url #=> String
|
17181
|
+
# resp.inference_recommendations_jobs[0].model_package_version_arn #=> String
|
17163
17182
|
# resp.next_token #=> String
|
17164
17183
|
#
|
17165
17184
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobs AWS API Documentation
|
@@ -23490,7 +23509,7 @@ module Aws::SageMaker
|
|
23490
23509
|
params: params,
|
23491
23510
|
config: config)
|
23492
23511
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23493
|
-
context[:gem_version] = '1.
|
23512
|
+
context[:gem_version] = '1.179.0'
|
23494
23513
|
Seahorse::Client::Request.new(handlers, context)
|
23495
23514
|
end
|
23496
23515
|
|
@@ -958,6 +958,8 @@ module Aws::SageMaker
|
|
958
958
|
IntegerParameterRangeSpecification = Shapes::StructureShape.new(name: 'IntegerParameterRangeSpecification')
|
959
959
|
IntegerParameterRanges = Shapes::ListShape.new(name: 'IntegerParameterRanges')
|
960
960
|
IntegerValue = Shapes::IntegerShape.new(name: 'IntegerValue')
|
961
|
+
InvocationEndTime = Shapes::TimestampShape.new(name: 'InvocationEndTime')
|
962
|
+
InvocationStartTime = Shapes::TimestampShape.new(name: 'InvocationStartTime')
|
961
963
|
InvocationsMaxRetries = Shapes::IntegerShape.new(name: 'InvocationsMaxRetries')
|
962
964
|
InvocationsTimeoutInSeconds = Shapes::IntegerShape.new(name: 'InvocationsTimeoutInSeconds')
|
963
965
|
IotRoleAlias = Shapes::StringShape.new(name: 'IotRoleAlias')
|
@@ -5433,6 +5435,8 @@ module Aws::SageMaker
|
|
5433
5435
|
InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
|
5434
5436
|
InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
5435
5437
|
InferenceRecommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
5438
|
+
InferenceRecommendation.add_member(:invocation_end_time, Shapes::ShapeRef.new(shape: InvocationEndTime, location_name: "InvocationEndTime"))
|
5439
|
+
InferenceRecommendation.add_member(:invocation_start_time, Shapes::ShapeRef.new(shape: InvocationStartTime, location_name: "InvocationStartTime"))
|
5436
5440
|
InferenceRecommendation.struct_class = Types::InferenceRecommendation
|
5437
5441
|
|
5438
5442
|
InferenceRecommendations.member = Shapes::ShapeRef.new(shape: InferenceRecommendation)
|
@@ -5447,6 +5451,9 @@ module Aws::SageMaker
|
|
5447
5451
|
InferenceRecommendationsJob.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
5448
5452
|
InferenceRecommendationsJob.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, required: true, location_name: "LastModifiedTime"))
|
5449
5453
|
InferenceRecommendationsJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
5454
|
+
InferenceRecommendationsJob.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
5455
|
+
InferenceRecommendationsJob.add_member(:sample_payload_url, Shapes::ShapeRef.new(shape: S3Uri, location_name: "SamplePayloadUrl"))
|
5456
|
+
InferenceRecommendationsJob.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArn"))
|
5450
5457
|
InferenceRecommendationsJob.struct_class = Types::InferenceRecommendationsJob
|
5451
5458
|
|
5452
5459
|
InferenceRecommendationsJobStep.add_member(:step_type, Shapes::ShapeRef.new(shape: RecommendationStepType, required: true, location_name: "StepType"))
|
@@ -6083,6 +6090,8 @@ module Aws::SageMaker
|
|
6083
6090
|
ListInferenceRecommendationsJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "SortOrder"))
|
6084
6091
|
ListInferenceRecommendationsJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
6085
6092
|
ListInferenceRecommendationsJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
6093
|
+
ListInferenceRecommendationsJobsRequest.add_member(:model_name_equals, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelNameEquals"))
|
6094
|
+
ListInferenceRecommendationsJobsRequest.add_member(:model_package_version_arn_equals, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArnEquals"))
|
6086
6095
|
ListInferenceRecommendationsJobsRequest.struct_class = Types::ListInferenceRecommendationsJobsRequest
|
6087
6096
|
|
6088
6097
|
ListInferenceRecommendationsJobsResponse.add_member(:inference_recommendations_jobs, Shapes::ShapeRef.new(shape: InferenceRecommendationsJobs, required: true, location_name: "InferenceRecommendationsJobs"))
|
@@ -7743,6 +7752,8 @@ module Aws::SageMaker
|
|
7743
7752
|
RecommendationJobInferenceBenchmark.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
7744
7753
|
RecommendationJobInferenceBenchmark.add_member(:failure_reason, Shapes::ShapeRef.new(shape: RecommendationFailureReason, location_name: "FailureReason"))
|
7745
7754
|
RecommendationJobInferenceBenchmark.add_member(:endpoint_metrics, Shapes::ShapeRef.new(shape: InferenceMetrics, location_name: "EndpointMetrics"))
|
7755
|
+
RecommendationJobInferenceBenchmark.add_member(:invocation_end_time, Shapes::ShapeRef.new(shape: InvocationEndTime, location_name: "InvocationEndTime"))
|
7756
|
+
RecommendationJobInferenceBenchmark.add_member(:invocation_start_time, Shapes::ShapeRef.new(shape: InvocationStartTime, location_name: "InvocationStartTime"))
|
7746
7757
|
RecommendationJobInferenceBenchmark.struct_class = Types::RecommendationJobInferenceBenchmark
|
7747
7758
|
|
7748
7759
|
RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArn"))
|
@@ -7805,6 +7805,9 @@ module Aws::SageMaker
|
|
7805
7805
|
# streams. For example, if you specify an EFS location, input data
|
7806
7806
|
# files are available as input streams. They do not need to be
|
7807
7807
|
# downloaded.
|
7808
|
+
#
|
7809
|
+
# Your input must be in the same Amazon Web Services region as your
|
7810
|
+
# training job.
|
7808
7811
|
# @return [Array<Types::Channel>]
|
7809
7812
|
#
|
7810
7813
|
# @!attribute [rw] output_data_config
|
@@ -20922,13 +20925,23 @@ module Aws::SageMaker
|
|
20922
20925
|
# The recommendation ID which uniquely identifies each recommendation.
|
20923
20926
|
# @return [String]
|
20924
20927
|
#
|
20928
|
+
# @!attribute [rw] invocation_end_time
|
20929
|
+
# A timestamp that shows when the benchmark completed.
|
20930
|
+
# @return [Time]
|
20931
|
+
#
|
20932
|
+
# @!attribute [rw] invocation_start_time
|
20933
|
+
# A timestamp that shows when the benchmark started.
|
20934
|
+
# @return [Time]
|
20935
|
+
#
|
20925
20936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendation AWS API Documentation
|
20926
20937
|
#
|
20927
20938
|
class InferenceRecommendation < Struct.new(
|
20928
20939
|
:metrics,
|
20929
20940
|
:endpoint_configuration,
|
20930
20941
|
:model_configuration,
|
20931
|
-
:recommendation_id
|
20942
|
+
:recommendation_id,
|
20943
|
+
:invocation_end_time,
|
20944
|
+
:invocation_start_time)
|
20932
20945
|
SENSITIVE = []
|
20933
20946
|
include Aws::Structure
|
20934
20947
|
end
|
@@ -20976,6 +20989,20 @@ module Aws::SageMaker
|
|
20976
20989
|
# If the job fails, provides information why the job failed.
|
20977
20990
|
# @return [String]
|
20978
20991
|
#
|
20992
|
+
# @!attribute [rw] model_name
|
20993
|
+
# The name of the created model.
|
20994
|
+
# @return [String]
|
20995
|
+
#
|
20996
|
+
# @!attribute [rw] sample_payload_url
|
20997
|
+
# The Amazon Simple Storage Service (Amazon S3) path where the sample
|
20998
|
+
# payload is stored. This path must point to a single gzip compressed
|
20999
|
+
# tar archive (.tar.gz suffix).
|
21000
|
+
# @return [String]
|
21001
|
+
#
|
21002
|
+
# @!attribute [rw] model_package_version_arn
|
21003
|
+
# The Amazon Resource Name (ARN) of a versioned model package.
|
21004
|
+
# @return [String]
|
21005
|
+
#
|
20979
21006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendationsJob AWS API Documentation
|
20980
21007
|
#
|
20981
21008
|
class InferenceRecommendationsJob < Struct.new(
|
@@ -20988,7 +21015,10 @@ module Aws::SageMaker
|
|
20988
21015
|
:completion_time,
|
20989
21016
|
:role_arn,
|
20990
21017
|
:last_modified_time,
|
20991
|
-
:failure_reason
|
21018
|
+
:failure_reason,
|
21019
|
+
:model_name,
|
21020
|
+
:sample_payload_url,
|
21021
|
+
:model_package_version_arn)
|
20992
21022
|
SENSITIVE = []
|
20993
21023
|
include Aws::Structure
|
20994
21024
|
end
|
@@ -24476,6 +24506,15 @@ module Aws::SageMaker
|
|
24476
24506
|
# The maximum number of recommendations to return in the response.
|
24477
24507
|
# @return [Integer]
|
24478
24508
|
#
|
24509
|
+
# @!attribute [rw] model_name_equals
|
24510
|
+
# A filter that returns only jobs that were created for this model.
|
24511
|
+
# @return [String]
|
24512
|
+
#
|
24513
|
+
# @!attribute [rw] model_package_version_arn_equals
|
24514
|
+
# A filter that returns only jobs that were created for this versioned
|
24515
|
+
# model package.
|
24516
|
+
# @return [String]
|
24517
|
+
#
|
24479
24518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobsRequest AWS API Documentation
|
24480
24519
|
#
|
24481
24520
|
class ListInferenceRecommendationsJobsRequest < Struct.new(
|
@@ -24488,7 +24527,9 @@ module Aws::SageMaker
|
|
24488
24527
|
:sort_by,
|
24489
24528
|
:sort_order,
|
24490
24529
|
:next_token,
|
24491
|
-
:max_results
|
24530
|
+
:max_results,
|
24531
|
+
:model_name_equals,
|
24532
|
+
:model_package_version_arn_equals)
|
24492
24533
|
SENSITIVE = []
|
24493
24534
|
include Aws::Structure
|
24494
24535
|
end
|
@@ -33611,6 +33652,14 @@ module Aws::SageMaker
|
|
33611
33652
|
# Recommender job.
|
33612
33653
|
# @return [Types::InferenceMetrics]
|
33613
33654
|
#
|
33655
|
+
# @!attribute [rw] invocation_end_time
|
33656
|
+
# A timestamp that shows when the benchmark completed.
|
33657
|
+
# @return [Time]
|
33658
|
+
#
|
33659
|
+
# @!attribute [rw] invocation_start_time
|
33660
|
+
# A timestamp that shows when the benchmark started.
|
33661
|
+
# @return [Time]
|
33662
|
+
#
|
33614
33663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInferenceBenchmark AWS API Documentation
|
33615
33664
|
#
|
33616
33665
|
class RecommendationJobInferenceBenchmark < Struct.new(
|
@@ -33618,7 +33667,9 @@ module Aws::SageMaker
|
|
33618
33667
|
:endpoint_configuration,
|
33619
33668
|
:model_configuration,
|
33620
33669
|
:failure_reason,
|
33621
|
-
:endpoint_metrics
|
33670
|
+
:endpoint_metrics,
|
33671
|
+
:invocation_end_time,
|
33672
|
+
:invocation_start_time)
|
33622
33673
|
SENSITIVE = []
|
33623
33674
|
include Aws::Structure
|
33624
33675
|
end
|
@@ -34483,6 +34534,9 @@ module Aws::SageMaker
|
|
34483
34534
|
|
34484
34535
|
# Describes the S3 data source.
|
34485
34536
|
#
|
34537
|
+
# Your input bucket must be in the same Amazon Web Services region as
|
34538
|
+
# your training job.
|
34539
|
+
#
|
34486
34540
|
# @!attribute [rw] s3_data_type
|
34487
34541
|
# If you choose `S3Prefix`, `S3Uri` identifies a key name prefix.
|
34488
34542
|
# SageMaker uses all objects that match the specified key name prefix
|
@@ -34545,6 +34599,9 @@ module Aws::SageMaker
|
|
34545
34599
|
# the channel for this data source. The object that each `S3Uri`
|
34546
34600
|
# points to must be readable by the IAM role that SageMaker uses to
|
34547
34601
|
# perform tasks on your behalf.
|
34602
|
+
#
|
34603
|
+
# Your input bucket must be located in same Amazon Web Services region
|
34604
|
+
# as your training job.
|
34548
34605
|
# @return [String]
|
34549
34606
|
#
|
34550
34607
|
# @!attribute [rw] s3_data_distribution_type
|
@@ -35331,7 +35388,7 @@ module Aws::SageMaker
|
|
35331
35388
|
# compressed tar archive (`.tar.gz` suffix).
|
35332
35389
|
#
|
35333
35390
|
# <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same
|
35334
|
-
# region as the algorithm.
|
35391
|
+
# Amazon Web Services region as the algorithm.
|
35335
35392
|
#
|
35336
35393
|
# </note>
|
35337
35394
|
# @return [String]
|
@@ -36369,6 +36426,9 @@ module Aws::SageMaker
|
|
36369
36426
|
# @!attribute [rw] input_data_config
|
36370
36427
|
# An array of `Channel` objects that describes each data input
|
36371
36428
|
# channel.
|
36429
|
+
#
|
36430
|
+
# Your input must be in the same Amazon Web Services region as your
|
36431
|
+
# training job.
|
36372
36432
|
# @return [Array<Types::Channel>]
|
36373
36433
|
#
|
36374
36434
|
# @!attribute [rw] output_data_config
|
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.179.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-05-
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|