aws-sdk-sagemaker 1.200.0 → 1.201.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e5369f5bb546bc4a434084786180743b3c465f88f079270f4aeb875104a2f5e
4
- data.tar.gz: 4b21b756570b018c4f72496c571dbc8dcd58138e3851bab0a50d971df7771782
3
+ metadata.gz: c5b6fea3265b9752cfc962e3781266f9c10766078e0e980578db85301c38089b
4
+ data.tar.gz: 14f39ff7c90f92a283ae22ad8fb06bfdc240faf1516354d6a971f841346185b7
5
5
  SHA512:
6
- metadata.gz: bbf4fd1b274d7c25a5d3722e91e30bbcb5817b13a8d32d978a9800a31e4abfc94bc0c1b7e2089380e09cf0deecbbe9e36d4ec7ab397902afd93d64eaf15d5d41
7
- data.tar.gz: 528122c7a215f0a6901a12249845b09e8c08fff72f3928ee3800700fd9ea3b168e0af011197f6cd04c5f2094081da87f535af0f73d452202880f0efd1bcf9fe3
6
+ metadata.gz: 65a11118f5f73e2ee8fc3c290d446d7b330d136c0b8fff942e5fe8b3e9cd26ff68958ba686588565c0f8163767d6facfc45a3c1f8a13020155d77b2d3646e903
7
+ data.tar.gz: 06c0ee3f3802aaac5323376cc422a2744e8322e59348ab89ad69f94096021166487b034cc493e7e30642ca85ee678b0700ef98da0f4e9d940730f28645026d89
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.201.0 (2023-08-01)
5
+ ------------------
6
+
7
+ * Feature - Add Stairs TrafficPattern and FlatInvocations to RecommendationJobStoppingConditions
8
+
4
9
  1.200.0 (2023-07-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.200.0
1
+ 1.201.0
@@ -4463,7 +4463,7 @@ module Aws::SageMaker
4463
4463
  # model_package_version_arn: "ModelPackageArn",
4464
4464
  # job_duration_in_seconds: 1,
4465
4465
  # traffic_pattern: {
4466
- # traffic_type: "PHASES", # accepts PHASES
4466
+ # traffic_type: "PHASES", # accepts PHASES, STAIRS
4467
4467
  # phases: [
4468
4468
  # {
4469
4469
  # initial_number_of_users: 1,
@@ -4471,6 +4471,11 @@ module Aws::SageMaker
4471
4471
  # duration_in_seconds: 1,
4472
4472
  # },
4473
4473
  # ],
4474
+ # stairs: {
4475
+ # duration_in_seconds: 1,
4476
+ # number_of_steps: 1,
4477
+ # users_per_step: 1,
4478
+ # },
4474
4479
  # },
4475
4480
  # resource_limit: {
4476
4481
  # max_number_of_tests: 1,
@@ -4530,6 +4535,7 @@ module Aws::SageMaker
4530
4535
  # value_in_milliseconds: 1,
4531
4536
  # },
4532
4537
  # ],
4538
+ # flat_invocations: "Continue", # accepts Continue, Stop
4533
4539
  # },
4534
4540
  # output_config: {
4535
4541
  # kms_key_id: "KmsKeyId",
@@ -12315,11 +12321,14 @@ module Aws::SageMaker
12315
12321
  # resp.failure_reason #=> String
12316
12322
  # resp.input_config.model_package_version_arn #=> String
12317
12323
  # resp.input_config.job_duration_in_seconds #=> Integer
12318
- # resp.input_config.traffic_pattern.traffic_type #=> String, one of "PHASES"
12324
+ # resp.input_config.traffic_pattern.traffic_type #=> String, one of "PHASES", "STAIRS"
12319
12325
  # resp.input_config.traffic_pattern.phases #=> Array
12320
12326
  # resp.input_config.traffic_pattern.phases[0].initial_number_of_users #=> Integer
12321
12327
  # resp.input_config.traffic_pattern.phases[0].spawn_rate #=> Integer
12322
12328
  # resp.input_config.traffic_pattern.phases[0].duration_in_seconds #=> Integer
12329
+ # resp.input_config.traffic_pattern.stairs.duration_in_seconds #=> Integer
12330
+ # resp.input_config.traffic_pattern.stairs.number_of_steps #=> Integer
12331
+ # resp.input_config.traffic_pattern.stairs.users_per_step #=> Integer
12323
12332
  # resp.input_config.resource_limit.max_number_of_tests #=> Integer
12324
12333
  # resp.input_config.resource_limit.max_parallel_of_tests #=> Integer
12325
12334
  # resp.input_config.endpoint_configurations #=> Array
@@ -12356,6 +12365,7 @@ module Aws::SageMaker
12356
12365
  # resp.stopping_conditions.model_latency_thresholds #=> Array
12357
12366
  # resp.stopping_conditions.model_latency_thresholds[0].percentile #=> String
12358
12367
  # resp.stopping_conditions.model_latency_thresholds[0].value_in_milliseconds #=> Integer
12368
+ # resp.stopping_conditions.flat_invocations #=> String, one of "Continue", "Stop"
12359
12369
  # resp.inference_recommendations #=> Array
12360
12370
  # resp.inference_recommendations[0].metrics.cost_per_hour #=> Float
12361
12371
  # resp.inference_recommendations[0].metrics.cost_per_inference #=> Float
@@ -23997,7 +24007,7 @@ module Aws::SageMaker
23997
24007
  params: params,
23998
24008
  config: config)
23999
24009
  context[:gem_name] = 'aws-sdk-sagemaker'
24000
- context[:gem_version] = '1.200.0'
24010
+ context[:gem_version] = '1.201.0'
24001
24011
  Seahorse::Client::Request.new(handlers, context)
24002
24012
  end
24003
24013
 
@@ -796,6 +796,7 @@ module Aws::SageMaker
796
796
  FinalAutoMLJobObjectiveMetric = Shapes::StructureShape.new(name: 'FinalAutoMLJobObjectiveMetric')
797
797
  FinalHyperParameterTuningJobObjectiveMetric = Shapes::StructureShape.new(name: 'FinalHyperParameterTuningJobObjectiveMetric')
798
798
  FinalMetricDataList = Shapes::ListShape.new(name: 'FinalMetricDataList')
799
+ FlatInvocations = Shapes::StringShape.new(name: 'FlatInvocations')
799
800
  Float = Shapes::FloatShape.new(name: 'Float')
800
801
  FlowDefinitionArn = Shapes::StringShape.new(name: 'FlowDefinitionArn')
801
802
  FlowDefinitionName = Shapes::StringShape.new(name: 'FlowDefinitionName')
@@ -1432,6 +1433,7 @@ module Aws::SageMaker
1432
1433
  NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
1433
1434
  NotificationTopicArn = Shapes::StringShape.new(name: 'NotificationTopicArn')
1434
1435
  NumberOfHumanWorkersPerDataObject = Shapes::IntegerShape.new(name: 'NumberOfHumanWorkersPerDataObject')
1436
+ NumberOfSteps = Shapes::IntegerShape.new(name: 'NumberOfSteps')
1435
1437
  ObjectiveStatus = Shapes::StringShape.new(name: 'ObjectiveStatus')
1436
1438
  ObjectiveStatusCounter = Shapes::IntegerShape.new(name: 'ObjectiveStatusCounter')
1437
1439
  ObjectiveStatusCounters = Shapes::StructureShape.new(name: 'ObjectiveStatusCounters')
@@ -1770,6 +1772,7 @@ module Aws::SageMaker
1770
1772
  SpawnRate = Shapes::IntegerShape.new(name: 'SpawnRate')
1771
1773
  SplitType = Shapes::StringShape.new(name: 'SplitType')
1772
1774
  StageStatus = Shapes::StringShape.new(name: 'StageStatus')
1775
+ Stairs = Shapes::StructureShape.new(name: 'Stairs')
1773
1776
  StartEdgeDeploymentStageRequest = Shapes::StructureShape.new(name: 'StartEdgeDeploymentStageRequest')
1774
1777
  StartInferenceExperimentRequest = Shapes::StructureShape.new(name: 'StartInferenceExperimentRequest')
1775
1778
  StartInferenceExperimentResponse = Shapes::StructureShape.new(name: 'StartInferenceExperimentResponse')
@@ -2027,6 +2030,7 @@ module Aws::SageMaker
2027
2030
  UserProfileSortKey = Shapes::StringShape.new(name: 'UserProfileSortKey')
2028
2031
  UserProfileStatus = Shapes::StringShape.new(name: 'UserProfileStatus')
2029
2032
  UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
2033
+ UsersPerStep = Shapes::IntegerShape.new(name: 'UsersPerStep')
2030
2034
  UtilizationMetric = Shapes::FloatShape.new(name: 'UtilizationMetric')
2031
2035
  ValidationFraction = Shapes::FloatShape.new(name: 'ValidationFraction')
2032
2036
  VariantName = Shapes::StringShape.new(name: 'VariantName')
@@ -7936,6 +7940,7 @@ module Aws::SageMaker
7936
7940
 
7937
7941
  RecommendationJobStoppingConditions.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxInvocations"))
7938
7942
  RecommendationJobStoppingConditions.add_member(:model_latency_thresholds, Shapes::ShapeRef.new(shape: ModelLatencyThresholds, location_name: "ModelLatencyThresholds"))
7943
+ RecommendationJobStoppingConditions.add_member(:flat_invocations, Shapes::ShapeRef.new(shape: FlatInvocations, location_name: "FlatInvocations"))
7939
7944
  RecommendationJobStoppingConditions.struct_class = Types::RecommendationJobStoppingConditions
7940
7945
 
7941
7946
  RecommendationJobSupportedContentTypes.member = Shapes::ShapeRef.new(shape: String)
@@ -8226,6 +8231,11 @@ module Aws::SageMaker
8226
8231
  SpaceSettings.add_member(:kernel_gateway_app_settings, Shapes::ShapeRef.new(shape: KernelGatewayAppSettings, location_name: "KernelGatewayAppSettings"))
8227
8232
  SpaceSettings.struct_class = Types::SpaceSettings
8228
8233
 
8234
+ Stairs.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: TrafficDurationInSeconds, location_name: "DurationInSeconds"))
8235
+ Stairs.add_member(:number_of_steps, Shapes::ShapeRef.new(shape: NumberOfSteps, location_name: "NumberOfSteps"))
8236
+ Stairs.add_member(:users_per_step, Shapes::ShapeRef.new(shape: UsersPerStep, location_name: "UsersPerStep"))
8237
+ Stairs.struct_class = Types::Stairs
8238
+
8229
8239
  StartEdgeDeploymentStageRequest.add_member(:edge_deployment_plan_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "EdgeDeploymentPlanName"))
8230
8240
  StartEdgeDeploymentStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "StageName"))
8231
8241
  StartEdgeDeploymentStageRequest.struct_class = Types::StartEdgeDeploymentStageRequest
@@ -8400,6 +8410,7 @@ module Aws::SageMaker
8400
8410
 
8401
8411
  TrafficPattern.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "TrafficType"))
8402
8412
  TrafficPattern.add_member(:phases, Shapes::ShapeRef.new(shape: Phases, location_name: "Phases"))
8413
+ TrafficPattern.add_member(:stairs, Shapes::ShapeRef.new(shape: Stairs, location_name: "Stairs"))
8403
8414
  TrafficPattern.struct_class = Types::TrafficPattern
8404
8415
 
8405
8416
  TrafficRoutingConfig.add_member(:type, Shapes::ShapeRef.new(shape: TrafficRoutingConfigType, required: true, location_name: "Type"))
@@ -2858,7 +2858,7 @@ module Aws::SageMaker
2858
2858
  # @return [String]
2859
2859
  #
2860
2860
  # @!attribute [rw] end_time_offset
2861
- # If specified, monitoring jobs substract this time from the end time.
2861
+ # If specified, monitoring jobs subtract this time from the end time.
2862
2862
  # For information about using offsets for scheduling monitoring jobs,
2863
2863
  # see [Schedule Model Quality Monitoring Jobs][1].
2864
2864
  #
@@ -11956,6 +11956,12 @@ module Aws::SageMaker
11956
11956
  # for information about the failure. [DeleteEndpoint][4] is the only
11957
11957
  # operation that can be performed on a failed endpoint.
11958
11958
  #
11959
+ # * `UpdateRollbackFailed`: Both the rolling deployment and
11960
+ # auto-rollback failed. Your endpoint is in service with a mix of
11961
+ # the old and new endpoint configurations. For information about how
11962
+ # to remedy this issue and restore the endpoint's status to
11963
+ # `InService`, see [Rolling Deployments][6].
11964
+ #
11959
11965
  #
11960
11966
  #
11961
11967
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html
@@ -11963,6 +11969,7 @@ module Aws::SageMaker
11963
11969
  # [3]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpointWeightsAndCapacities.html
11964
11970
  # [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteEndpoint.html
11965
11971
  # [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html
11972
+ # [6]: https://docs.aws.amazon.com/sagemaker/latest/dg/deployment-guardrails-rolling.html
11966
11973
  # @return [String]
11967
11974
  #
11968
11975
  # @!attribute [rw] failure_reason
@@ -28827,7 +28834,8 @@ module Aws::SageMaker
28827
28834
  # The model latency threshold.
28828
28835
  #
28829
28836
  # @!attribute [rw] percentile
28830
- # The model latency percentile threshold.
28837
+ # The model latency percentile threshold. For custom load tests,
28838
+ # specify the value as `P95`.
28831
28839
  # @return [String]
28832
28840
  #
28833
28841
  # @!attribute [rw] value_in_milliseconds
@@ -31739,7 +31747,8 @@ module Aws::SageMaker
31739
31747
  # Defines the traffic pattern.
31740
31748
  #
31741
31749
  # @!attribute [rw] initial_number_of_users
31742
- # Specifies how many concurrent users to start with.
31750
+ # Specifies how many concurrent users to start with. The value should
31751
+ # be between 1 and 3.
31743
31752
  # @return [Integer]
31744
31753
  #
31745
31754
  # @!attribute [rw] spawn_rate
@@ -31747,7 +31756,9 @@ module Aws::SageMaker
31747
31756
  # @return [Integer]
31748
31757
  #
31749
31758
  # @!attribute [rw] duration_in_seconds
31750
- # Specifies how long traffic phase should be.
31759
+ # Specifies how long a traffic phase should be. For custom load tests,
31760
+ # the value should be between 120 and 3600. This value should not
31761
+ # exceed `JobDurationInSeconds`.
31751
31762
  # @return [Integer]
31752
31763
  #
31753
31764
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Phase AWS API Documentation
@@ -34263,7 +34274,8 @@ module Aws::SageMaker
34263
34274
  # @return [String]
34264
34275
  #
34265
34276
  # @!attribute [rw] job_duration_in_seconds
34266
- # Specifies the maximum duration of the job, in seconds.>
34277
+ # Specifies the maximum duration of the job, in seconds. The maximum
34278
+ # value is 7200.
34267
34279
  # @return [Integer]
34268
34280
  #
34269
34281
  # @!attribute [rw] traffic_pattern
@@ -34462,11 +34474,19 @@ module Aws::SageMaker
34462
34474
  # container.
34463
34475
  # @return [Array<Types::ModelLatencyThreshold>]
34464
34476
  #
34477
+ # @!attribute [rw] flat_invocations
34478
+ # Stops a load test when the number of invocations (TPS) peaks and
34479
+ # flattens, which means that the instance has reached capacity. The
34480
+ # default value is `Stop`. If you want the load test to continue after
34481
+ # invocations have flattened, set the value to `Continue`.
34482
+ # @return [String]
34483
+ #
34465
34484
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobStoppingConditions AWS API Documentation
34466
34485
  #
34467
34486
  class RecommendationJobStoppingConditions < Struct.new(
34468
34487
  :max_invocations,
34469
- :model_latency_thresholds)
34488
+ :model_latency_thresholds,
34489
+ :flat_invocations)
34470
34490
  SENSITIVE = []
34471
34491
  include Aws::Structure
34472
34492
  end
@@ -36338,6 +36358,34 @@ module Aws::SageMaker
36338
36358
  include Aws::Structure
36339
36359
  end
36340
36360
 
36361
+ # Defines the stairs traffic pattern for an Inference Recommender load
36362
+ # test. This pattern type consists of multiple steps where the number of
36363
+ # users increases at each step.
36364
+ #
36365
+ # Specify either the stairs or phases traffic pattern.
36366
+ #
36367
+ # @!attribute [rw] duration_in_seconds
36368
+ # Defines how long each traffic step should be.
36369
+ # @return [Integer]
36370
+ #
36371
+ # @!attribute [rw] number_of_steps
36372
+ # Specifies how many steps to perform during traffic.
36373
+ # @return [Integer]
36374
+ #
36375
+ # @!attribute [rw] users_per_step
36376
+ # Specifies how many new users to spawn in each step.
36377
+ # @return [Integer]
36378
+ #
36379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Stairs AWS API Documentation
36380
+ #
36381
+ class Stairs < Struct.new(
36382
+ :duration_in_seconds,
36383
+ :number_of_steps,
36384
+ :users_per_step)
36385
+ SENSITIVE = []
36386
+ include Aws::Structure
36387
+ end
36388
+
36341
36389
  # @!attribute [rw] edge_deployment_plan_name
36342
36390
  # The name of the edge deployment plan to start.
36343
36391
  # @return [String]
@@ -37402,18 +37450,23 @@ module Aws::SageMaker
37402
37450
  # Defines the traffic pattern of the load test.
37403
37451
  #
37404
37452
  # @!attribute [rw] traffic_type
37405
- # Defines the traffic patterns.
37453
+ # Defines the traffic patterns. Choose either `PHASES` or `STAIRS`.
37406
37454
  # @return [String]
37407
37455
  #
37408
37456
  # @!attribute [rw] phases
37409
37457
  # Defines the phases traffic specification.
37410
37458
  # @return [Array<Types::Phase>]
37411
37459
  #
37460
+ # @!attribute [rw] stairs
37461
+ # Defines the stairs traffic pattern.
37462
+ # @return [Types::Stairs]
37463
+ #
37412
37464
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficPattern AWS API Documentation
37413
37465
  #
37414
37466
  class TrafficPattern < Struct.new(
37415
37467
  :traffic_type,
37416
- :phases)
37468
+ :phases,
37469
+ :stairs)
37417
37470
  SENSITIVE = []
37418
37471
  include Aws::Structure
37419
37472
  end
@@ -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.200.0'
56
+ GEM_VERSION = '1.201.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.200.0
4
+ version: 1.201.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-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core