aws-sdk-sagemaker 1.179.0 → 1.180.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: 5f41b686302579ebb3a0e6b8175acd6d78c6656eb125cf8e85fb5315484f6e76
4
- data.tar.gz: b5cb5ebd11a722cebbb09a48933276c4e6ab3d0fbb5b9a71e84ea1b96078e669
3
+ metadata.gz: f4123f7fd8172d5a3b1f78e7e64a553762145ed00f42652a1e41dcba208dda82
4
+ data.tar.gz: c78a82a99160831a58a2334c52de9d1ae5d0b886597efc1965e09bb15380b064
5
5
  SHA512:
6
- metadata.gz: 65bdd9a23be09eb708f0fba08cb296a288de02d12a6625a63311f34fbb06596da008a07defb47cc691c0171d7cb4703c0e34faafa260634b9fc73066d9851d8f
7
- data.tar.gz: ba3a27abf772d6f51ee39939769e11f9ad34cc013ab6009a916515727bf5bbf50bd9575fc1391b2a0c870ab40d447200bb454ec1d6d95813affb2e5a39821b2c
6
+ metadata.gz: 3c44e619a37d560fc9662f739f2f5b30286396b2401158099315634f73b937d897d11f814e3e1edcabd16ef487fa3de5c8af3f917f437b0b16c36f1778c13e9e
7
+ data.tar.gz: 906af87b2e61dcd8c20bc3b3265de7696da1f22544667641fa8fbd83a8ca1034c058a729fb7b831bae761e23c9c0f3ca182e5b86898b6aa6b18fc85e425b52f8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.179.0 (2023-05-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.179.0
1
+ 1.180.0
@@ -12258,6 +12258,7 @@ module Aws::SageMaker
12258
12258
  # * {Types::DescribeModelOutput#creation_time #creation_time} => Time
12259
12259
  # * {Types::DescribeModelOutput#model_arn #model_arn} => String
12260
12260
  # * {Types::DescribeModelOutput#enable_network_isolation #enable_network_isolation} => Boolean
12261
+ # * {Types::DescribeModelOutput#deployment_recommendation #deployment_recommendation} => Types::DeploymentRecommendation
12261
12262
  #
12262
12263
  # @example Request syntax with placeholder values
12263
12264
  #
@@ -12300,6 +12301,12 @@ module Aws::SageMaker
12300
12301
  # resp.creation_time #=> Time
12301
12302
  # resp.model_arn #=> String
12302
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
12303
12310
  #
12304
12311
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel AWS API Documentation
12305
12312
  #
@@ -23509,7 +23516,7 @@ module Aws::SageMaker
23509
23516
  params: params,
23510
23517
  config: config)
23511
23518
  context[:gem_name] = 'aws-sdk-sagemaker'
23512
- context[:gem_version] = '1.179.0'
23519
+ context[:gem_version] = '1.180.0'
23513
23520
  Seahorse::Client::Request.new(handlers, context)
23514
23521
  end
23515
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')
@@ -1570,6 +1571,8 @@ module Aws::SageMaker
1570
1571
  RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
1571
1572
  RandomSeed = Shapes::IntegerShape.new(name: 'RandomSeed')
1572
1573
  RealTimeInferenceConfig = Shapes::StructureShape.new(name: 'RealTimeInferenceConfig')
1574
+ RealTimeInferenceRecommendation = Shapes::StructureShape.new(name: 'RealTimeInferenceRecommendation')
1575
+ RealTimeInferenceRecommendations = Shapes::ListShape.new(name: 'RealTimeInferenceRecommendations')
1573
1576
  RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
1574
1577
  RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
1575
1578
  RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
@@ -1595,6 +1598,7 @@ module Aws::SageMaker
1595
1598
  RecommendationJobVpcSubnetId = Shapes::StringShape.new(name: 'RecommendationJobVpcSubnetId')
1596
1599
  RecommendationJobVpcSubnets = Shapes::ListShape.new(name: 'RecommendationJobVpcSubnets')
1597
1600
  RecommendationMetrics = Shapes::StructureShape.new(name: 'RecommendationMetrics')
1601
+ RecommendationStatus = Shapes::StringShape.new(name: 'RecommendationStatus')
1598
1602
  RecommendationStepType = Shapes::StringShape.new(name: 'RecommendationStepType')
1599
1603
  RecordWrapper = Shapes::StringShape.new(name: 'RecordWrapper')
1600
1604
  RedshiftClusterId = Shapes::StringShape.new(name: 'RedshiftClusterId')
@@ -3590,6 +3594,10 @@ module Aws::SageMaker
3590
3594
  DeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
3591
3595
  DeploymentConfig.struct_class = Types::DeploymentConfig
3592
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
+
3593
3601
  DeploymentStage.add_member(:stage_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "StageName"))
3594
3602
  DeploymentStage.add_member(:device_selection_config, Shapes::ShapeRef.new(shape: DeviceSelectionConfig, required: true, location_name: "DeviceSelectionConfig"))
3595
3603
  DeploymentStage.add_member(:deployment_config, Shapes::ShapeRef.new(shape: EdgeDeploymentConfig, location_name: "DeploymentConfig"))
@@ -4258,6 +4266,7 @@ module Aws::SageMaker
4258
4266
  DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
4259
4267
  DescribeModelOutput.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "ModelArn"))
4260
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"))
4261
4270
  DescribeModelOutput.struct_class = Types::DescribeModelOutput
4262
4271
 
4263
4272
  DescribeModelPackageGroupInput.add_member(:model_package_group_name, Shapes::ShapeRef.new(shape: ArnOrName, required: true, location_name: "ModelPackageGroupName"))
@@ -6664,6 +6673,7 @@ module Aws::SageMaker
6664
6673
  Model.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
6665
6674
  Model.add_member(:enable_network_isolation, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableNetworkIsolation"))
6666
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"))
6667
6677
  Model.struct_class = Types::Model
6668
6678
 
6669
6679
  ModelArtifacts.add_member(:s3_model_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ModelArtifacts"))
@@ -7732,6 +7742,13 @@ module Aws::SageMaker
7732
7742
  RealTimeInferenceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: TaskCount, required: true, location_name: "InstanceCount"))
7733
7743
  RealTimeInferenceConfig.struct_class = Types::RealTimeInferenceConfig
7734
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
+
7735
7752
  RealtimeInferenceInstanceTypes.member = Shapes::ShapeRef.new(shape: ProductionVariantInstanceType)
7736
7753
 
7737
7754
  RecommendationJobCompiledOutputConfig.add_member(:s3_output_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputUri"))
@@ -9940,6 +9940,31 @@ module Aws::SageMaker
9940
9940
  include Aws::Structure
9941
9941
  end
9942
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
+
9943
9968
  # Contains information about a stage in an edge deployment plan.
9944
9969
  #
9945
9970
  # @!attribute [rw] stage_name
@@ -13515,6 +13540,10 @@ module Aws::SageMaker
13515
13540
  # from the model container.
13516
13541
  # @return [Boolean]
13517
13542
  #
13543
+ # @!attribute [rw] deployment_recommendation
13544
+ # A set of recommended deployment configurations for the model.
13545
+ # @return [Types::DeploymentRecommendation]
13546
+ #
13518
13547
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelOutput AWS API Documentation
13519
13548
  #
13520
13549
  class DescribeModelOutput < Struct.new(
@@ -13526,7 +13555,8 @@ module Aws::SageMaker
13526
13555
  :vpc_config,
13527
13556
  :creation_time,
13528
13557
  :model_arn,
13529
- :enable_network_isolation)
13558
+ :enable_network_isolation,
13559
+ :deployment_recommendation)
13530
13560
  SENSITIVE = []
13531
13561
  include Aws::Structure
13532
13562
  end
@@ -27477,6 +27507,10 @@ module Aws::SageMaker
27477
27507
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
27478
27508
  # @return [Array<Types::Tag>]
27479
27509
  #
27510
+ # @!attribute [rw] deployment_recommendation
27511
+ # A set of recommended deployment configurations for the model.
27512
+ # @return [Types::DeploymentRecommendation]
27513
+ #
27480
27514
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Model AWS API Documentation
27481
27515
  #
27482
27516
  class Model < Struct.new(
@@ -27489,7 +27523,8 @@ module Aws::SageMaker
27489
27523
  :creation_time,
27490
27524
  :model_arn,
27491
27525
  :enable_network_isolation,
27492
- :tags)
27526
+ :tags,
27527
+ :deployment_recommendation)
27493
27528
  SENSITIVE = []
27494
27529
  include Aws::Structure
27495
27530
  end
@@ -33526,6 +33561,31 @@ module Aws::SageMaker
33526
33561
  include Aws::Structure
33527
33562
  end
33528
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
+
33529
33589
  # Provides information about the output configuration for the compiled
33530
33590
  # model.
33531
33591
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.179.0'
56
+ GEM_VERSION = '1.180.0'
57
57
 
58
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.179.0
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-23 00:00:00.000000000 Z
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