aws-sdk-sagemaker 1.145.0 → 1.146.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: 12972bc7e35ad769998dc843f391ce56097e8d74ae7ff853b709fed7e29d7d74
4
- data.tar.gz: 27d061dbdde035f00d784930f072ae064e61aa832f5fb44fb479e5c09b6d9b8d
3
+ metadata.gz: ebd394d38d55f5b3a6b5e4d066da97a20e1fdbd0b90f18edf5fcd218a868306c
4
+ data.tar.gz: 03a3cc6c12079bdd81ea09a83986d71439aa30fe87339c6f206abb763d9fbd59
5
5
  SHA512:
6
- metadata.gz: 3abb7cf433a4e622dc3ca5eab7289ccc00e0cdd508a43a672f7ce84414cb009f95d357b2d5eba0902aac2abd4adc3cacb8a4244a4190b6ad7cfcab8f2ea25b60
7
- data.tar.gz: 4151379ded5cb9a43c680eee973183081f3a8261fa16917b780540746ad7cac715aa2902b1d336b02b57bf4350764b407de5b15f484b9c5fc98db72f4dd997e7
6
+ metadata.gz: 349df1460fe17a33087ceb79894a81939098272070d88998fdfcfdcb29f499d32b3c14d965d94c20e0eda329f013b81ecdc139c21e8bc3a501beeaa8cf750d72
7
+ data.tar.gz: 26dd2ce5ffde1515f689a466ae0fc2a189b7418aa3b283ce2cdf0cf1fc11bb096a2bc9ac347745a8ea7cb1d6f4f7e74062c7edb3e4fc52565cf4e72736f7fc18
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.146.0 (2022-10-21)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.145.0 (2022-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.145.0
1
+ 1.146.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: {
@@ -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
  #
@@ -20975,7 +20987,7 @@ module Aws::SageMaker
20975
20987
  params: params,
20976
20988
  config: config)
20977
20989
  context[:gem_name] = 'aws-sdk-sagemaker'
20978
- context[:gem_version] = '1.145.0'
20990
+ context[:gem_version] = '1.146.0'
20979
20991
  Seahorse::Client::Request.new(handlers, context)
20980
20992
  end
20981
20993
 
@@ -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,6 +829,7 @@ 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')
@@ -3625,6 +3630,7 @@ module Aws::SageMaker
3625
3630
  DescribeInferenceRecommendationsJobResponse.add_member(:input_config, Shapes::ShapeRef.new(shape: RecommendationJobInputConfig, required: true, location_name: "InputConfig"))
3626
3631
  DescribeInferenceRecommendationsJobResponse.add_member(:stopping_conditions, Shapes::ShapeRef.new(shape: RecommendationJobStoppingConditions, location_name: "StoppingConditions"))
3627
3632
  DescribeInferenceRecommendationsJobResponse.add_member(:inference_recommendations, Shapes::ShapeRef.new(shape: InferenceRecommendations, location_name: "InferenceRecommendations"))
3633
+ DescribeInferenceRecommendationsJobResponse.add_member(:endpoint_performances, Shapes::ShapeRef.new(shape: EndpointPerformances, location_name: "EndpointPerformances"))
3628
3634
  DescribeInferenceRecommendationsJobResponse.struct_class = Types::DescribeInferenceRecommendationsJobResponse
3629
3635
 
3630
3636
  DescribeLabelingJobRequest.add_member(:labeling_job_name, Shapes::ShapeRef.new(shape: LabelingJobName, required: true, location_name: "LabelingJobName"))
@@ -4291,6 +4297,9 @@ module Aws::SageMaker
4291
4297
 
4292
4298
  EndpointConfigSummaryList.member = Shapes::ShapeRef.new(shape: EndpointConfigSummary)
4293
4299
 
4300
+ EndpointInfo.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
4301
+ EndpointInfo.struct_class = Types::EndpointInfo
4302
+
4294
4303
  EndpointInput.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
4295
4304
  EndpointInput.add_member(:local_path, Shapes::ShapeRef.new(shape: ProcessingLocalPath, required: true, location_name: "LocalPath"))
4296
4305
  EndpointInput.add_member(:s3_input_mode, Shapes::ShapeRef.new(shape: ProcessingS3InputMode, location_name: "S3InputMode"))
@@ -4316,6 +4325,12 @@ module Aws::SageMaker
4316
4325
  EndpointOutputConfiguration.add_member(:initial_instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InitialInstanceCount"))
4317
4326
  EndpointOutputConfiguration.struct_class = Types::EndpointOutputConfiguration
4318
4327
 
4328
+ EndpointPerformance.add_member(:metrics, Shapes::ShapeRef.new(shape: InferenceMetrics, required: true, location_name: "Metrics"))
4329
+ EndpointPerformance.add_member(:endpoint_info, Shapes::ShapeRef.new(shape: EndpointInfo, required: true, location_name: "EndpointInfo"))
4330
+ EndpointPerformance.struct_class = Types::EndpointPerformance
4331
+
4332
+ EndpointPerformances.member = Shapes::ShapeRef.new(shape: EndpointPerformance)
4333
+
4319
4334
  EndpointSummary.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
4320
4335
  EndpointSummary.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EndpointArn, required: true, location_name: "EndpointArn"))
4321
4336
  EndpointSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
@@ -4325,6 +4340,8 @@ module Aws::SageMaker
4325
4340
 
4326
4341
  EndpointSummaryList.member = Shapes::ShapeRef.new(shape: EndpointSummary)
4327
4342
 
4343
+ Endpoints.member = Shapes::ShapeRef.new(shape: EndpointInfo)
4344
+
4328
4345
  EnvironmentMap.key = Shapes::ShapeRef.new(shape: EnvironmentKey)
4329
4346
  EnvironmentMap.value = Shapes::ShapeRef.new(shape: EnvironmentValue)
4330
4347
 
@@ -4737,6 +4754,10 @@ module Aws::SageMaker
4737
4754
  InferenceExecutionConfig.add_member(:mode, Shapes::ShapeRef.new(shape: InferenceExecutionMode, required: true, location_name: "Mode"))
4738
4755
  InferenceExecutionConfig.struct_class = Types::InferenceExecutionConfig
4739
4756
 
4757
+ InferenceMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxInvocations"))
4758
+ InferenceMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ModelLatency"))
4759
+ InferenceMetrics.struct_class = Types::InferenceMetrics
4760
+
4740
4761
  InferenceRecommendation.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, required: true, location_name: "Metrics"))
4741
4762
  InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
4742
4763
  InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
@@ -6695,6 +6716,7 @@ module Aws::SageMaker
6695
6716
  RecommendationJobInputConfig.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointInputConfigurations, location_name: "EndpointConfigurations"))
6696
6717
  RecommendationJobInputConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
6697
6718
  RecommendationJobInputConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: RecommendationJobContainerConfig, location_name: "ContainerConfig"))
6719
+ RecommendationJobInputConfig.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
6698
6720
  RecommendationJobInputConfig.struct_class = Types::RecommendationJobInputConfig
6699
6721
 
6700
6722
  RecommendationJobOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
@@ -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
  #
@@ -36889,6 +36964,11 @@ module Aws::SageMaker
36889
36964
  # nearest_model_name: "String",
36890
36965
  # supported_instance_types: ["String"],
36891
36966
  # },
36967
+ # endpoints: [
36968
+ # {
36969
+ # endpoint_name: "EndpointName", # required
36970
+ # },
36971
+ # ],
36892
36972
  # }
36893
36973
  #
36894
36974
  # @!attribute [rw] model_package_version_arn
@@ -36957,6 +37037,11 @@ module Aws::SageMaker
36957
37037
  # fields in the model package.
36958
37038
  # @return [Types::RecommendationJobContainerConfig]
36959
37039
  #
37040
+ # @!attribute [rw] endpoints
37041
+ # Existing customer endpoints on which to run an Inference Recommender
37042
+ # job.
37043
+ # @return [Array<Types::EndpointInfo>]
37044
+ #
36960
37045
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
36961
37046
  #
36962
37047
  class RecommendationJobInputConfig < Struct.new(
@@ -36966,7 +37051,8 @@ module Aws::SageMaker
36966
37051
  :resource_limit,
36967
37052
  :endpoint_configurations,
36968
37053
  :volume_kms_key_id,
36969
- :container_config)
37054
+ :container_config,
37055
+ :endpoints)
36970
37056
  SENSITIVE = []
36971
37057
  include Aws::Structure
36972
37058
  end
@@ -41021,9 +41107,9 @@ module Aws::SageMaker
41021
41107
  # @return [String]
41022
41108
  #
41023
41109
  # @!attribute [rw] instance_count
41024
- # The number of ML compute instances to use in the transform job. For
41025
- # distributed transform jobs, specify a value greater than 1. The
41026
- # default value is `1`.
41110
+ # The number of ML compute instances to use in the transform job. The
41111
+ # default value is `1`, and the maximum is `100`. For distributed
41112
+ # transform jobs, specify a value greater than `1`.
41027
41113
  # @return [Integer]
41028
41114
  #
41029
41115
  # @!attribute [rw] volume_kms_key_id
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
49
49
  # @!group service
50
50
  module Aws::SageMaker
51
51
 
52
- GEM_VERSION = '1.145.0'
52
+ GEM_VERSION = '1.146.0'
53
53
 
54
54
  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.145.0
4
+ version: 1.146.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-18 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core