aws-sdk-sagemaker 1.178.0 → 1.180.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 +27 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +28 -0
- data/lib/aws-sdk-sagemaker/types.rb +127 -7
- 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: f4123f7fd8172d5a3b1f78e7e64a553762145ed00f42652a1e41dcba208dda82
|
4
|
+
data.tar.gz: c78a82a99160831a58a2334c52de9d1ae5d0b886597efc1965e09bb15380b064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c44e619a37d560fc9662f739f2f5b30286396b2401158099315634f73b937d897d11f814e3e1edcabd16ef487fa3de5c8af3f917f437b0b16c36f1778c13e9e
|
7
|
+
data.tar.gz: 906af87b2e61dcd8c20bc3b3265de7696da1f22544667641fa8fbd83a8ca1034c058a729fb7b831bae761e23c9c0f3ca182e5b86898b6aa6b18fc85e425b52f8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.180.0 (2023-05-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker now provides an instantaneous deployment recommendation through the DescribeModel API
|
8
|
+
|
9
|
+
1.179.0 (2023-05-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.178.0 (2023-05-09)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.180.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
|
@@ -12253,6 +12258,7 @@ module Aws::SageMaker
|
|
12253
12258
|
# * {Types::DescribeModelOutput#creation_time #creation_time} => Time
|
12254
12259
|
# * {Types::DescribeModelOutput#model_arn #model_arn} => String
|
12255
12260
|
# * {Types::DescribeModelOutput#enable_network_isolation #enable_network_isolation} => Boolean
|
12261
|
+
# * {Types::DescribeModelOutput#deployment_recommendation #deployment_recommendation} => Types::DeploymentRecommendation
|
12256
12262
|
#
|
12257
12263
|
# @example Request syntax with placeholder values
|
12258
12264
|
#
|
@@ -12295,6 +12301,12 @@ module Aws::SageMaker
|
|
12295
12301
|
# resp.creation_time #=> Time
|
12296
12302
|
# resp.model_arn #=> String
|
12297
12303
|
# resp.enable_network_isolation #=> Boolean
|
12304
|
+
# resp.deployment_recommendation.recommendation_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED", "NOT_APPLICABLE"
|
12305
|
+
# resp.deployment_recommendation.real_time_inference_recommendations #=> Array
|
12306
|
+
# resp.deployment_recommendation.real_time_inference_recommendations[0].recommendation_id #=> String
|
12307
|
+
# resp.deployment_recommendation.real_time_inference_recommendations[0].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", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge"
|
12308
|
+
# resp.deployment_recommendation.real_time_inference_recommendations[0].environment #=> Hash
|
12309
|
+
# resp.deployment_recommendation.real_time_inference_recommendations[0].environment["EnvironmentKey"] #=> String
|
12298
12310
|
#
|
12299
12311
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel AWS API Documentation
|
12300
12312
|
#
|
@@ -17073,6 +17085,8 @@ module Aws::SageMaker
|
|
17073
17085
|
# resp.steps[0].inference_benchmark.failure_reason #=> String
|
17074
17086
|
# resp.steps[0].inference_benchmark.endpoint_metrics.max_invocations #=> Integer
|
17075
17087
|
# resp.steps[0].inference_benchmark.endpoint_metrics.model_latency #=> Integer
|
17088
|
+
# resp.steps[0].inference_benchmark.invocation_end_time #=> Time
|
17089
|
+
# resp.steps[0].inference_benchmark.invocation_start_time #=> Time
|
17076
17090
|
# resp.next_token #=> String
|
17077
17091
|
#
|
17078
17092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobSteps AWS API Documentation
|
@@ -17125,6 +17139,13 @@ module Aws::SageMaker
|
|
17125
17139
|
# @option params [Integer] :max_results
|
17126
17140
|
# The maximum number of recommendations to return in the response.
|
17127
17141
|
#
|
17142
|
+
# @option params [String] :model_name_equals
|
17143
|
+
# A filter that returns only jobs that were created for this model.
|
17144
|
+
#
|
17145
|
+
# @option params [String] :model_package_version_arn_equals
|
17146
|
+
# A filter that returns only jobs that were created for this versioned
|
17147
|
+
# model package.
|
17148
|
+
#
|
17128
17149
|
# @return [Types::ListInferenceRecommendationsJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17129
17150
|
#
|
17130
17151
|
# * {Types::ListInferenceRecommendationsJobsResponse#inference_recommendations_jobs #inference_recommendations_jobs} => Array<Types::InferenceRecommendationsJob>
|
@@ -17145,6 +17166,8 @@ module Aws::SageMaker
|
|
17145
17166
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
17146
17167
|
# next_token: "NextToken",
|
17147
17168
|
# max_results: 1,
|
17169
|
+
# model_name_equals: "ModelName",
|
17170
|
+
# model_package_version_arn_equals: "ModelPackageArn",
|
17148
17171
|
# })
|
17149
17172
|
#
|
17150
17173
|
# @example Response structure
|
@@ -17160,6 +17183,9 @@ module Aws::SageMaker
|
|
17160
17183
|
# resp.inference_recommendations_jobs[0].role_arn #=> String
|
17161
17184
|
# resp.inference_recommendations_jobs[0].last_modified_time #=> Time
|
17162
17185
|
# resp.inference_recommendations_jobs[0].failure_reason #=> String
|
17186
|
+
# resp.inference_recommendations_jobs[0].model_name #=> String
|
17187
|
+
# resp.inference_recommendations_jobs[0].sample_payload_url #=> String
|
17188
|
+
# resp.inference_recommendations_jobs[0].model_package_version_arn #=> String
|
17163
17189
|
# resp.next_token #=> String
|
17164
17190
|
#
|
17165
17191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobs AWS API Documentation
|
@@ -23490,7 +23516,7 @@ module Aws::SageMaker
|
|
23490
23516
|
params: params,
|
23491
23517
|
config: config)
|
23492
23518
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23493
|
-
context[:gem_version] = '1.
|
23519
|
+
context[:gem_version] = '1.180.0'
|
23494
23520
|
Seahorse::Client::Request.new(handlers, context)
|
23495
23521
|
end
|
23496
23522
|
|
@@ -485,6 +485,7 @@ module Aws::SageMaker
|
|
485
485
|
DeployedImage = Shapes::StructureShape.new(name: 'DeployedImage')
|
486
486
|
DeployedImages = Shapes::ListShape.new(name: 'DeployedImages')
|
487
487
|
DeploymentConfig = Shapes::StructureShape.new(name: 'DeploymentConfig')
|
488
|
+
DeploymentRecommendation = Shapes::StructureShape.new(name: 'DeploymentRecommendation')
|
488
489
|
DeploymentStage = Shapes::StructureShape.new(name: 'DeploymentStage')
|
489
490
|
DeploymentStageMaxResults = Shapes::IntegerShape.new(name: 'DeploymentStageMaxResults')
|
490
491
|
DeploymentStageStatusSummaries = Shapes::ListShape.new(name: 'DeploymentStageStatusSummaries')
|
@@ -958,6 +959,8 @@ module Aws::SageMaker
|
|
958
959
|
IntegerParameterRangeSpecification = Shapes::StructureShape.new(name: 'IntegerParameterRangeSpecification')
|
959
960
|
IntegerParameterRanges = Shapes::ListShape.new(name: 'IntegerParameterRanges')
|
960
961
|
IntegerValue = Shapes::IntegerShape.new(name: 'IntegerValue')
|
962
|
+
InvocationEndTime = Shapes::TimestampShape.new(name: 'InvocationEndTime')
|
963
|
+
InvocationStartTime = Shapes::TimestampShape.new(name: 'InvocationStartTime')
|
961
964
|
InvocationsMaxRetries = Shapes::IntegerShape.new(name: 'InvocationsMaxRetries')
|
962
965
|
InvocationsTimeoutInSeconds = Shapes::IntegerShape.new(name: 'InvocationsTimeoutInSeconds')
|
963
966
|
IotRoleAlias = Shapes::StringShape.new(name: 'IotRoleAlias')
|
@@ -1568,6 +1571,8 @@ module Aws::SageMaker
|
|
1568
1571
|
RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
|
1569
1572
|
RandomSeed = Shapes::IntegerShape.new(name: 'RandomSeed')
|
1570
1573
|
RealTimeInferenceConfig = Shapes::StructureShape.new(name: 'RealTimeInferenceConfig')
|
1574
|
+
RealTimeInferenceRecommendation = Shapes::StructureShape.new(name: 'RealTimeInferenceRecommendation')
|
1575
|
+
RealTimeInferenceRecommendations = Shapes::ListShape.new(name: 'RealTimeInferenceRecommendations')
|
1571
1576
|
RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
|
1572
1577
|
RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
|
1573
1578
|
RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
|
@@ -1593,6 +1598,7 @@ module Aws::SageMaker
|
|
1593
1598
|
RecommendationJobVpcSubnetId = Shapes::StringShape.new(name: 'RecommendationJobVpcSubnetId')
|
1594
1599
|
RecommendationJobVpcSubnets = Shapes::ListShape.new(name: 'RecommendationJobVpcSubnets')
|
1595
1600
|
RecommendationMetrics = Shapes::StructureShape.new(name: 'RecommendationMetrics')
|
1601
|
+
RecommendationStatus = Shapes::StringShape.new(name: 'RecommendationStatus')
|
1596
1602
|
RecommendationStepType = Shapes::StringShape.new(name: 'RecommendationStepType')
|
1597
1603
|
RecordWrapper = Shapes::StringShape.new(name: 'RecordWrapper')
|
1598
1604
|
RedshiftClusterId = Shapes::StringShape.new(name: 'RedshiftClusterId')
|
@@ -3588,6 +3594,10 @@ module Aws::SageMaker
|
|
3588
3594
|
DeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
|
3589
3595
|
DeploymentConfig.struct_class = Types::DeploymentConfig
|
3590
3596
|
|
3597
|
+
DeploymentRecommendation.add_member(:recommendation_status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "RecommendationStatus"))
|
3598
|
+
DeploymentRecommendation.add_member(:real_time_inference_recommendations, Shapes::ShapeRef.new(shape: RealTimeInferenceRecommendations, location_name: "RealTimeInferenceRecommendations"))
|
3599
|
+
DeploymentRecommendation.struct_class = Types::DeploymentRecommendation
|
3600
|
+
|
3591
3601
|
DeploymentStage.add_member(:stage_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "StageName"))
|
3592
3602
|
DeploymentStage.add_member(:device_selection_config, Shapes::ShapeRef.new(shape: DeviceSelectionConfig, required: true, location_name: "DeviceSelectionConfig"))
|
3593
3603
|
DeploymentStage.add_member(:deployment_config, Shapes::ShapeRef.new(shape: EdgeDeploymentConfig, location_name: "DeploymentConfig"))
|
@@ -4256,6 +4266,7 @@ module Aws::SageMaker
|
|
4256
4266
|
DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
4257
4267
|
DescribeModelOutput.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "ModelArn"))
|
4258
4268
|
DescribeModelOutput.add_member(:enable_network_isolation, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableNetworkIsolation"))
|
4269
|
+
DescribeModelOutput.add_member(:deployment_recommendation, Shapes::ShapeRef.new(shape: DeploymentRecommendation, location_name: "DeploymentRecommendation"))
|
4259
4270
|
DescribeModelOutput.struct_class = Types::DescribeModelOutput
|
4260
4271
|
|
4261
4272
|
DescribeModelPackageGroupInput.add_member(:model_package_group_name, Shapes::ShapeRef.new(shape: ArnOrName, required: true, location_name: "ModelPackageGroupName"))
|
@@ -5433,6 +5444,8 @@ module Aws::SageMaker
|
|
5433
5444
|
InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
|
5434
5445
|
InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
5435
5446
|
InferenceRecommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
5447
|
+
InferenceRecommendation.add_member(:invocation_end_time, Shapes::ShapeRef.new(shape: InvocationEndTime, location_name: "InvocationEndTime"))
|
5448
|
+
InferenceRecommendation.add_member(:invocation_start_time, Shapes::ShapeRef.new(shape: InvocationStartTime, location_name: "InvocationStartTime"))
|
5436
5449
|
InferenceRecommendation.struct_class = Types::InferenceRecommendation
|
5437
5450
|
|
5438
5451
|
InferenceRecommendations.member = Shapes::ShapeRef.new(shape: InferenceRecommendation)
|
@@ -5447,6 +5460,9 @@ module Aws::SageMaker
|
|
5447
5460
|
InferenceRecommendationsJob.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
5448
5461
|
InferenceRecommendationsJob.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, required: true, location_name: "LastModifiedTime"))
|
5449
5462
|
InferenceRecommendationsJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
5463
|
+
InferenceRecommendationsJob.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
5464
|
+
InferenceRecommendationsJob.add_member(:sample_payload_url, Shapes::ShapeRef.new(shape: S3Uri, location_name: "SamplePayloadUrl"))
|
5465
|
+
InferenceRecommendationsJob.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArn"))
|
5450
5466
|
InferenceRecommendationsJob.struct_class = Types::InferenceRecommendationsJob
|
5451
5467
|
|
5452
5468
|
InferenceRecommendationsJobStep.add_member(:step_type, Shapes::ShapeRef.new(shape: RecommendationStepType, required: true, location_name: "StepType"))
|
@@ -6083,6 +6099,8 @@ module Aws::SageMaker
|
|
6083
6099
|
ListInferenceRecommendationsJobsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "SortOrder"))
|
6084
6100
|
ListInferenceRecommendationsJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
6085
6101
|
ListInferenceRecommendationsJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
6102
|
+
ListInferenceRecommendationsJobsRequest.add_member(:model_name_equals, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelNameEquals"))
|
6103
|
+
ListInferenceRecommendationsJobsRequest.add_member(:model_package_version_arn_equals, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArnEquals"))
|
6086
6104
|
ListInferenceRecommendationsJobsRequest.struct_class = Types::ListInferenceRecommendationsJobsRequest
|
6087
6105
|
|
6088
6106
|
ListInferenceRecommendationsJobsResponse.add_member(:inference_recommendations_jobs, Shapes::ShapeRef.new(shape: InferenceRecommendationsJobs, required: true, location_name: "InferenceRecommendationsJobs"))
|
@@ -6655,6 +6673,7 @@ module Aws::SageMaker
|
|
6655
6673
|
Model.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
|
6656
6674
|
Model.add_member(:enable_network_isolation, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableNetworkIsolation"))
|
6657
6675
|
Model.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
6676
|
+
Model.add_member(:deployment_recommendation, Shapes::ShapeRef.new(shape: DeploymentRecommendation, location_name: "DeploymentRecommendation"))
|
6658
6677
|
Model.struct_class = Types::Model
|
6659
6678
|
|
6660
6679
|
ModelArtifacts.add_member(:s3_model_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ModelArtifacts"))
|
@@ -7723,6 +7742,13 @@ module Aws::SageMaker
|
|
7723
7742
|
RealTimeInferenceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: TaskCount, required: true, location_name: "InstanceCount"))
|
7724
7743
|
RealTimeInferenceConfig.struct_class = Types::RealTimeInferenceConfig
|
7725
7744
|
|
7745
|
+
RealTimeInferenceRecommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RecommendationId"))
|
7746
|
+
RealTimeInferenceRecommendation.add_member(:instance_type, Shapes::ShapeRef.new(shape: ProductionVariantInstanceType, required: true, location_name: "InstanceType"))
|
7747
|
+
RealTimeInferenceRecommendation.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
|
7748
|
+
RealTimeInferenceRecommendation.struct_class = Types::RealTimeInferenceRecommendation
|
7749
|
+
|
7750
|
+
RealTimeInferenceRecommendations.member = Shapes::ShapeRef.new(shape: RealTimeInferenceRecommendation)
|
7751
|
+
|
7726
7752
|
RealtimeInferenceInstanceTypes.member = Shapes::ShapeRef.new(shape: ProductionVariantInstanceType)
|
7727
7753
|
|
7728
7754
|
RecommendationJobCompiledOutputConfig.add_member(:s3_output_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputUri"))
|
@@ -7743,6 +7769,8 @@ module Aws::SageMaker
|
|
7743
7769
|
RecommendationJobInferenceBenchmark.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
7744
7770
|
RecommendationJobInferenceBenchmark.add_member(:failure_reason, Shapes::ShapeRef.new(shape: RecommendationFailureReason, location_name: "FailureReason"))
|
7745
7771
|
RecommendationJobInferenceBenchmark.add_member(:endpoint_metrics, Shapes::ShapeRef.new(shape: InferenceMetrics, location_name: "EndpointMetrics"))
|
7772
|
+
RecommendationJobInferenceBenchmark.add_member(:invocation_end_time, Shapes::ShapeRef.new(shape: InvocationEndTime, location_name: "InvocationEndTime"))
|
7773
|
+
RecommendationJobInferenceBenchmark.add_member(:invocation_start_time, Shapes::ShapeRef.new(shape: InvocationStartTime, location_name: "InvocationStartTime"))
|
7746
7774
|
RecommendationJobInferenceBenchmark.struct_class = Types::RecommendationJobInferenceBenchmark
|
7747
7775
|
|
7748
7776
|
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
|
@@ -9937,6 +9940,31 @@ module Aws::SageMaker
|
|
9937
9940
|
include Aws::Structure
|
9938
9941
|
end
|
9939
9942
|
|
9943
|
+
# A set of recommended deployment configurations for the model.
|
9944
|
+
#
|
9945
|
+
# @!attribute [rw] recommendation_status
|
9946
|
+
# Status of the deployment recommendation. `NOT_APPLICABLE` means that
|
9947
|
+
# SageMaker is unable to provide a default recommendation for the
|
9948
|
+
# model using the information provided.
|
9949
|
+
# @return [String]
|
9950
|
+
#
|
9951
|
+
# @!attribute [rw] real_time_inference_recommendations
|
9952
|
+
# A list of [RealTimeInferenceRecommendation][1] items.
|
9953
|
+
#
|
9954
|
+
#
|
9955
|
+
#
|
9956
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_RealTimeInferenceRecommendation.html
|
9957
|
+
# @return [Array<Types::RealTimeInferenceRecommendation>]
|
9958
|
+
#
|
9959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeploymentRecommendation AWS API Documentation
|
9960
|
+
#
|
9961
|
+
class DeploymentRecommendation < Struct.new(
|
9962
|
+
:recommendation_status,
|
9963
|
+
:real_time_inference_recommendations)
|
9964
|
+
SENSITIVE = []
|
9965
|
+
include Aws::Structure
|
9966
|
+
end
|
9967
|
+
|
9940
9968
|
# Contains information about a stage in an edge deployment plan.
|
9941
9969
|
#
|
9942
9970
|
# @!attribute [rw] stage_name
|
@@ -13512,6 +13540,10 @@ module Aws::SageMaker
|
|
13512
13540
|
# from the model container.
|
13513
13541
|
# @return [Boolean]
|
13514
13542
|
#
|
13543
|
+
# @!attribute [rw] deployment_recommendation
|
13544
|
+
# A set of recommended deployment configurations for the model.
|
13545
|
+
# @return [Types::DeploymentRecommendation]
|
13546
|
+
#
|
13515
13547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelOutput AWS API Documentation
|
13516
13548
|
#
|
13517
13549
|
class DescribeModelOutput < Struct.new(
|
@@ -13523,7 +13555,8 @@ module Aws::SageMaker
|
|
13523
13555
|
:vpc_config,
|
13524
13556
|
:creation_time,
|
13525
13557
|
:model_arn,
|
13526
|
-
:enable_network_isolation
|
13558
|
+
:enable_network_isolation,
|
13559
|
+
:deployment_recommendation)
|
13527
13560
|
SENSITIVE = []
|
13528
13561
|
include Aws::Structure
|
13529
13562
|
end
|
@@ -20922,13 +20955,23 @@ module Aws::SageMaker
|
|
20922
20955
|
# The recommendation ID which uniquely identifies each recommendation.
|
20923
20956
|
# @return [String]
|
20924
20957
|
#
|
20958
|
+
# @!attribute [rw] invocation_end_time
|
20959
|
+
# A timestamp that shows when the benchmark completed.
|
20960
|
+
# @return [Time]
|
20961
|
+
#
|
20962
|
+
# @!attribute [rw] invocation_start_time
|
20963
|
+
# A timestamp that shows when the benchmark started.
|
20964
|
+
# @return [Time]
|
20965
|
+
#
|
20925
20966
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendation AWS API Documentation
|
20926
20967
|
#
|
20927
20968
|
class InferenceRecommendation < Struct.new(
|
20928
20969
|
:metrics,
|
20929
20970
|
:endpoint_configuration,
|
20930
20971
|
:model_configuration,
|
20931
|
-
:recommendation_id
|
20972
|
+
:recommendation_id,
|
20973
|
+
:invocation_end_time,
|
20974
|
+
:invocation_start_time)
|
20932
20975
|
SENSITIVE = []
|
20933
20976
|
include Aws::Structure
|
20934
20977
|
end
|
@@ -20976,6 +21019,20 @@ module Aws::SageMaker
|
|
20976
21019
|
# If the job fails, provides information why the job failed.
|
20977
21020
|
# @return [String]
|
20978
21021
|
#
|
21022
|
+
# @!attribute [rw] model_name
|
21023
|
+
# The name of the created model.
|
21024
|
+
# @return [String]
|
21025
|
+
#
|
21026
|
+
# @!attribute [rw] sample_payload_url
|
21027
|
+
# The Amazon Simple Storage Service (Amazon S3) path where the sample
|
21028
|
+
# payload is stored. This path must point to a single gzip compressed
|
21029
|
+
# tar archive (.tar.gz suffix).
|
21030
|
+
# @return [String]
|
21031
|
+
#
|
21032
|
+
# @!attribute [rw] model_package_version_arn
|
21033
|
+
# The Amazon Resource Name (ARN) of a versioned model package.
|
21034
|
+
# @return [String]
|
21035
|
+
#
|
20979
21036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendationsJob AWS API Documentation
|
20980
21037
|
#
|
20981
21038
|
class InferenceRecommendationsJob < Struct.new(
|
@@ -20988,7 +21045,10 @@ module Aws::SageMaker
|
|
20988
21045
|
:completion_time,
|
20989
21046
|
:role_arn,
|
20990
21047
|
:last_modified_time,
|
20991
|
-
:failure_reason
|
21048
|
+
:failure_reason,
|
21049
|
+
:model_name,
|
21050
|
+
:sample_payload_url,
|
21051
|
+
:model_package_version_arn)
|
20992
21052
|
SENSITIVE = []
|
20993
21053
|
include Aws::Structure
|
20994
21054
|
end
|
@@ -24476,6 +24536,15 @@ module Aws::SageMaker
|
|
24476
24536
|
# The maximum number of recommendations to return in the response.
|
24477
24537
|
# @return [Integer]
|
24478
24538
|
#
|
24539
|
+
# @!attribute [rw] model_name_equals
|
24540
|
+
# A filter that returns only jobs that were created for this model.
|
24541
|
+
# @return [String]
|
24542
|
+
#
|
24543
|
+
# @!attribute [rw] model_package_version_arn_equals
|
24544
|
+
# A filter that returns only jobs that were created for this versioned
|
24545
|
+
# model package.
|
24546
|
+
# @return [String]
|
24547
|
+
#
|
24479
24548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobsRequest AWS API Documentation
|
24480
24549
|
#
|
24481
24550
|
class ListInferenceRecommendationsJobsRequest < Struct.new(
|
@@ -24488,7 +24557,9 @@ module Aws::SageMaker
|
|
24488
24557
|
:sort_by,
|
24489
24558
|
:sort_order,
|
24490
24559
|
:next_token,
|
24491
|
-
:max_results
|
24560
|
+
:max_results,
|
24561
|
+
:model_name_equals,
|
24562
|
+
:model_package_version_arn_equals)
|
24492
24563
|
SENSITIVE = []
|
24493
24564
|
include Aws::Structure
|
24494
24565
|
end
|
@@ -27436,6 +27507,10 @@ module Aws::SageMaker
|
|
27436
27507
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
27437
27508
|
# @return [Array<Types::Tag>]
|
27438
27509
|
#
|
27510
|
+
# @!attribute [rw] deployment_recommendation
|
27511
|
+
# A set of recommended deployment configurations for the model.
|
27512
|
+
# @return [Types::DeploymentRecommendation]
|
27513
|
+
#
|
27439
27514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Model AWS API Documentation
|
27440
27515
|
#
|
27441
27516
|
class Model < Struct.new(
|
@@ -27448,7 +27523,8 @@ module Aws::SageMaker
|
|
27448
27523
|
:creation_time,
|
27449
27524
|
:model_arn,
|
27450
27525
|
:enable_network_isolation,
|
27451
|
-
:tags
|
27526
|
+
:tags,
|
27527
|
+
:deployment_recommendation)
|
27452
27528
|
SENSITIVE = []
|
27453
27529
|
include Aws::Structure
|
27454
27530
|
end
|
@@ -33485,6 +33561,31 @@ module Aws::SageMaker
|
|
33485
33561
|
include Aws::Structure
|
33486
33562
|
end
|
33487
33563
|
|
33564
|
+
# The recommended configuration to use for Real-Time Inference.
|
33565
|
+
#
|
33566
|
+
# @!attribute [rw] recommendation_id
|
33567
|
+
# The recommendation ID which uniquely identifies each recommendation.
|
33568
|
+
# @return [String]
|
33569
|
+
#
|
33570
|
+
# @!attribute [rw] instance_type
|
33571
|
+
# The recommended instance type for Real-Time Inference.
|
33572
|
+
# @return [String]
|
33573
|
+
#
|
33574
|
+
# @!attribute [rw] environment
|
33575
|
+
# The recommended environment variables to set in the model container
|
33576
|
+
# for Real-Time Inference.
|
33577
|
+
# @return [Hash<String,String>]
|
33578
|
+
#
|
33579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RealTimeInferenceRecommendation AWS API Documentation
|
33580
|
+
#
|
33581
|
+
class RealTimeInferenceRecommendation < Struct.new(
|
33582
|
+
:recommendation_id,
|
33583
|
+
:instance_type,
|
33584
|
+
:environment)
|
33585
|
+
SENSITIVE = []
|
33586
|
+
include Aws::Structure
|
33587
|
+
end
|
33588
|
+
|
33488
33589
|
# Provides information about the output configuration for the compiled
|
33489
33590
|
# model.
|
33490
33591
|
#
|
@@ -33611,6 +33712,14 @@ module Aws::SageMaker
|
|
33611
33712
|
# Recommender job.
|
33612
33713
|
# @return [Types::InferenceMetrics]
|
33613
33714
|
#
|
33715
|
+
# @!attribute [rw] invocation_end_time
|
33716
|
+
# A timestamp that shows when the benchmark completed.
|
33717
|
+
# @return [Time]
|
33718
|
+
#
|
33719
|
+
# @!attribute [rw] invocation_start_time
|
33720
|
+
# A timestamp that shows when the benchmark started.
|
33721
|
+
# @return [Time]
|
33722
|
+
#
|
33614
33723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInferenceBenchmark AWS API Documentation
|
33615
33724
|
#
|
33616
33725
|
class RecommendationJobInferenceBenchmark < Struct.new(
|
@@ -33618,7 +33727,9 @@ module Aws::SageMaker
|
|
33618
33727
|
:endpoint_configuration,
|
33619
33728
|
:model_configuration,
|
33620
33729
|
:failure_reason,
|
33621
|
-
:endpoint_metrics
|
33730
|
+
:endpoint_metrics,
|
33731
|
+
:invocation_end_time,
|
33732
|
+
:invocation_start_time)
|
33622
33733
|
SENSITIVE = []
|
33623
33734
|
include Aws::Structure
|
33624
33735
|
end
|
@@ -34483,6 +34594,9 @@ module Aws::SageMaker
|
|
34483
34594
|
|
34484
34595
|
# Describes the S3 data source.
|
34485
34596
|
#
|
34597
|
+
# Your input bucket must be in the same Amazon Web Services region as
|
34598
|
+
# your training job.
|
34599
|
+
#
|
34486
34600
|
# @!attribute [rw] s3_data_type
|
34487
34601
|
# If you choose `S3Prefix`, `S3Uri` identifies a key name prefix.
|
34488
34602
|
# SageMaker uses all objects that match the specified key name prefix
|
@@ -34545,6 +34659,9 @@ module Aws::SageMaker
|
|
34545
34659
|
# the channel for this data source. The object that each `S3Uri`
|
34546
34660
|
# points to must be readable by the IAM role that SageMaker uses to
|
34547
34661
|
# perform tasks on your behalf.
|
34662
|
+
#
|
34663
|
+
# Your input bucket must be located in same Amazon Web Services region
|
34664
|
+
# as your training job.
|
34548
34665
|
# @return [String]
|
34549
34666
|
#
|
34550
34667
|
# @!attribute [rw] s3_data_distribution_type
|
@@ -35331,7 +35448,7 @@ module Aws::SageMaker
|
|
35331
35448
|
# compressed tar archive (`.tar.gz` suffix).
|
35332
35449
|
#
|
35333
35450
|
# <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same
|
35334
|
-
# region as the algorithm.
|
35451
|
+
# Amazon Web Services region as the algorithm.
|
35335
35452
|
#
|
35336
35453
|
# </note>
|
35337
35454
|
# @return [String]
|
@@ -36369,6 +36486,9 @@ module Aws::SageMaker
|
|
36369
36486
|
# @!attribute [rw] input_data_config
|
36370
36487
|
# An array of `Channel` objects that describes each data input
|
36371
36488
|
# channel.
|
36489
|
+
#
|
36490
|
+
# Your input must be in the same Amazon Web Services region as your
|
36491
|
+
# training job.
|
36372
36492
|
# @return [Array<Types::Channel>]
|
36373
36493
|
#
|
36374
36494
|
# @!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.180.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|