aws-sdk-sagemaker 1.107.0 → 1.111.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -203,6 +203,87 @@ module Aws::SageMaker
203
203
  include Aws::Structure
204
204
  end
205
205
 
206
+ # A structure of additional Inference Specification. Additional
207
+ # Inference Specification specifies details about inference jobs that
208
+ # can be run with models based on this model package
209
+ #
210
+ # @note When making an API call, you may pass AdditionalInferenceSpecificationDefinition
211
+ # data as a hash:
212
+ #
213
+ # {
214
+ # name: "EntityName", # required
215
+ # description: "EntityDescription",
216
+ # containers: [ # required
217
+ # {
218
+ # container_hostname: "ContainerHostname",
219
+ # image: "ContainerImage", # required
220
+ # image_digest: "ImageDigest",
221
+ # model_data_url: "Url",
222
+ # product_id: "ProductId",
223
+ # environment: {
224
+ # "EnvironmentKey" => "EnvironmentValue",
225
+ # },
226
+ # model_input: {
227
+ # data_input_config: "DataInputConfig", # required
228
+ # },
229
+ # framework: "String",
230
+ # framework_version: "FrameworkVersion",
231
+ # nearest_model_name: "String",
232
+ # },
233
+ # ],
234
+ # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
235
+ # supported_realtime_inference_instance_types: ["ml.t2.medium"], # accepts 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
236
+ # supported_content_types: ["ContentType"],
237
+ # supported_response_mime_types: ["ResponseMIMEType"],
238
+ # }
239
+ #
240
+ # @!attribute [rw] name
241
+ # A unique name to identify the additional inference specification.
242
+ # The name must be unique within the list of your additional inference
243
+ # specifications for a particular model package.
244
+ # @return [String]
245
+ #
246
+ # @!attribute [rw] description
247
+ # A description of the additional Inference specification
248
+ # @return [String]
249
+ #
250
+ # @!attribute [rw] containers
251
+ # The Amazon ECR registry path of the Docker image that contains the
252
+ # inference code.
253
+ # @return [Array<Types::ModelPackageContainerDefinition>]
254
+ #
255
+ # @!attribute [rw] supported_transform_instance_types
256
+ # A list of the instance types on which a transformation job can be
257
+ # run or on which an endpoint can be deployed.
258
+ # @return [Array<String>]
259
+ #
260
+ # @!attribute [rw] supported_realtime_inference_instance_types
261
+ # A list of the instance types that are used to generate inferences in
262
+ # real-time.
263
+ # @return [Array<String>]
264
+ #
265
+ # @!attribute [rw] supported_content_types
266
+ # The supported MIME types for the input data.
267
+ # @return [Array<String>]
268
+ #
269
+ # @!attribute [rw] supported_response_mime_types
270
+ # The supported MIME types for the output data.
271
+ # @return [Array<String>]
272
+ #
273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AdditionalInferenceSpecificationDefinition AWS API Documentation
274
+ #
275
+ class AdditionalInferenceSpecificationDefinition < Struct.new(
276
+ :name,
277
+ :description,
278
+ :containers,
279
+ :supported_transform_instance_types,
280
+ :supported_realtime_inference_instance_types,
281
+ :supported_content_types,
282
+ :supported_response_mime_types)
283
+ SENSITIVE = []
284
+ include Aws::Structure
285
+ end
286
+
206
287
  # Edge Manager agent version.
207
288
  #
208
289
  # @!attribute [rw] version
@@ -222,7 +303,8 @@ module Aws::SageMaker
222
303
  include Aws::Structure
223
304
  end
224
305
 
225
- # This API is not supported.
306
+ # An Amazon CloudWatch alarm configured to monitor metrics on an
307
+ # endpoint.
226
308
  #
227
309
  # @note When making an API call, you may pass Alarm
228
310
  # data as a hash:
@@ -232,6 +314,7 @@ module Aws::SageMaker
232
314
  # }
233
315
  #
234
316
  # @!attribute [rw] alarm_name
317
+ # The name of a CloudWatch alarm in your account.
235
318
  # @return [String]
236
319
  #
237
320
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Alarm AWS API Documentation
@@ -1640,7 +1723,7 @@ module Aws::SageMaker
1640
1723
  #
1641
1724
  # @!attribute [rw] created_by
1642
1725
  # Information about the user who created or modified an experiment,
1643
- # trial, trial component, or project.
1726
+ # trial, trial component, lineage group, or project.
1644
1727
  # @return [Types::UserContext]
1645
1728
  #
1646
1729
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociationSummary AWS API Documentation
@@ -2402,7 +2485,8 @@ module Aws::SageMaker
2402
2485
  include Aws::Structure
2403
2486
  end
2404
2487
 
2405
- # Currently, the `AutoRollbackConfig` API is not supported.
2488
+ # Automatic rollback configuration for handling endpoint deployment
2489
+ # failures and recovery.
2406
2490
  #
2407
2491
  # @note When making an API call, you may pass AutoRollbackConfig
2408
2492
  # data as a hash:
@@ -2416,6 +2500,9 @@ module Aws::SageMaker
2416
2500
  # }
2417
2501
  #
2418
2502
  # @!attribute [rw] alarms
2503
+ # List of CloudWatch alarms in your account that are configured to
2504
+ # monitor metrics on an endpoint. If any alarms are tripped during a
2505
+ # deployment, SageMaker rolls back the deployment.
2419
2506
  # @return [Array<Types::Alarm>]
2420
2507
  #
2421
2508
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoRollbackConfig AWS API Documentation
@@ -2541,45 +2628,81 @@ module Aws::SageMaker
2541
2628
  # content_digest: "ContentDigest",
2542
2629
  # s3_uri: "S3Uri", # required
2543
2630
  # },
2631
+ # pre_training_report: {
2632
+ # content_type: "ContentType", # required
2633
+ # content_digest: "ContentDigest",
2634
+ # s3_uri: "S3Uri", # required
2635
+ # },
2636
+ # post_training_report: {
2637
+ # content_type: "ContentType", # required
2638
+ # content_digest: "ContentDigest",
2639
+ # s3_uri: "S3Uri", # required
2640
+ # },
2544
2641
  # }
2545
2642
  #
2546
2643
  # @!attribute [rw] report
2547
2644
  # The bias report for a model
2548
2645
  # @return [Types::MetricsSource]
2549
2646
  #
2647
+ # @!attribute [rw] pre_training_report
2648
+ # @return [Types::MetricsSource]
2649
+ #
2650
+ # @!attribute [rw] post_training_report
2651
+ # @return [Types::MetricsSource]
2652
+ #
2550
2653
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Bias AWS API Documentation
2551
2654
  #
2552
2655
  class Bias < Struct.new(
2553
- :report)
2656
+ :report,
2657
+ :pre_training_report,
2658
+ :post_training_report)
2554
2659
  SENSITIVE = []
2555
2660
  include Aws::Structure
2556
2661
  end
2557
2662
 
2558
- # Currently, the `BlueGreenUpdatePolicy` API is not supported.
2663
+ # Update policy for a blue/green deployment. If this update policy is
2664
+ # specified, SageMaker creates a new fleet during the deployment while
2665
+ # maintaining the old fleet. SageMaker flips traffic to the new fleet
2666
+ # according to the specified traffic routing configuration. Only one
2667
+ # update policy should be used in the deployment configuration. If no
2668
+ # update policy is specified, SageMaker uses a blue/green deployment
2669
+ # strategy with all at once traffic shifting by default.
2559
2670
  #
2560
2671
  # @note When making an API call, you may pass BlueGreenUpdatePolicy
2561
2672
  # data as a hash:
2562
2673
  #
2563
2674
  # {
2564
2675
  # traffic_routing_configuration: { # required
2565
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
2676
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
2566
2677
  # wait_interval_in_seconds: 1, # required
2567
2678
  # canary_size: {
2568
2679
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2569
2680
  # value: 1, # required
2570
2681
  # },
2682
+ # linear_step_size: {
2683
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2684
+ # value: 1, # required
2685
+ # },
2571
2686
  # },
2572
2687
  # termination_wait_in_seconds: 1,
2573
2688
  # maximum_execution_timeout_in_seconds: 1,
2574
2689
  # }
2575
2690
  #
2576
2691
  # @!attribute [rw] traffic_routing_configuration
2692
+ # Defines the traffic routing strategy to shift traffic from the old
2693
+ # fleet to the new fleet during an endpoint deployment.
2577
2694
  # @return [Types::TrafficRoutingConfig]
2578
2695
  #
2579
2696
  # @!attribute [rw] termination_wait_in_seconds
2697
+ # Additional waiting time in seconds after the completion of an
2698
+ # endpoint deployment before terminating the old endpoint fleet.
2699
+ # Default is 0.
2580
2700
  # @return [Integer]
2581
2701
  #
2582
2702
  # @!attribute [rw] maximum_execution_timeout_in_seconds
2703
+ # Maximum execution timeout for the deployment. Note that the timeout
2704
+ # value should be larger than the total waiting time specified in
2705
+ # `TerminationWaitInSeconds` and `WaitIntervalInSeconds`.
2583
2706
  # @return [Integer]
2584
2707
  #
2585
2708
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BlueGreenUpdatePolicy AWS API Documentation
@@ -2666,7 +2789,7 @@ module Aws::SageMaker
2666
2789
  include Aws::Structure
2667
2790
  end
2668
2791
 
2669
- # Currently, the `CapacitySize` API is not supported.
2792
+ # Specifies the endpoint capacity to activate for production.
2670
2793
  #
2671
2794
  # @note When making an API call, you may pass CapacitySize
2672
2795
  # data as a hash:
@@ -2677,10 +2800,18 @@ module Aws::SageMaker
2677
2800
  # }
2678
2801
  #
2679
2802
  # @!attribute [rw] type
2680
- # This API is not supported.
2803
+ # Specifies the endpoint capacity type.
2804
+ #
2805
+ # * `INSTANCE_COUNT`\: The endpoint activates based on the number of
2806
+ # instances.
2807
+ #
2808
+ # * `CAPACITY_PERCENT`\: The endpoint activates based on the specified
2809
+ # percentage of capacity.
2681
2810
  # @return [String]
2682
2811
  #
2683
2812
  # @!attribute [rw] value
2813
+ # Defines the capacity size, either as a number of instances or a
2814
+ # capacity percentage.
2684
2815
  # @return [Integer]
2685
2816
  #
2686
2817
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacitySize AWS API Documentation
@@ -2733,6 +2864,33 @@ module Aws::SageMaker
2733
2864
  include Aws::Structure
2734
2865
  end
2735
2866
 
2867
+ # Environment parameters you want to benchmark your load test against.
2868
+ #
2869
+ # @note When making an API call, you may pass CategoricalParameter
2870
+ # data as a hash:
2871
+ #
2872
+ # {
2873
+ # name: "String64", # required
2874
+ # value: ["String128"], # required
2875
+ # }
2876
+ #
2877
+ # @!attribute [rw] name
2878
+ # The Name of the environment variable.
2879
+ # @return [String]
2880
+ #
2881
+ # @!attribute [rw] value
2882
+ # The list of values you can pass.
2883
+ # @return [Array<String>]
2884
+ #
2885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CategoricalParameter AWS API Documentation
2886
+ #
2887
+ class CategoricalParameter < Struct.new(
2888
+ :name,
2889
+ :value)
2890
+ SENSITIVE = []
2891
+ include Aws::Structure
2892
+ end
2893
+
2736
2894
  # A list of categorical hyperparameters to tune.
2737
2895
  #
2738
2896
  # @note When making an API call, you may pass CategoricalParameterRange
@@ -2983,6 +3141,71 @@ module Aws::SageMaker
2983
3141
  include Aws::Structure
2984
3142
  end
2985
3143
 
3144
+ # The container for the metadata for the ClarifyCheck step. For more
3145
+ # information, see the topic on [ClarifyCheck step][1] in the *Amazon
3146
+ # SageMaker Developer Guide*.
3147
+ #
3148
+ #
3149
+ #
3150
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-clarify-check
3151
+ #
3152
+ # @!attribute [rw] check_type
3153
+ # The type of the Clarify Check step
3154
+ # @return [String]
3155
+ #
3156
+ # @!attribute [rw] baseline_used_for_drift_check_constraints
3157
+ # The Amazon S3 URI of baseline constraints file to be used for the
3158
+ # drift check.
3159
+ # @return [String]
3160
+ #
3161
+ # @!attribute [rw] calculated_baseline_constraints
3162
+ # The Amazon S3 URI of the newly calculated baseline constraints file.
3163
+ # @return [String]
3164
+ #
3165
+ # @!attribute [rw] model_package_group_name
3166
+ # The model package group name.
3167
+ # @return [String]
3168
+ #
3169
+ # @!attribute [rw] violation_report
3170
+ # The Amazon S3 URI of the violation report if violations are
3171
+ # detected.
3172
+ # @return [String]
3173
+ #
3174
+ # @!attribute [rw] check_job_arn
3175
+ # The Amazon Resource Name (ARN) of the check processing job that was
3176
+ # run by this step's execution.
3177
+ # @return [String]
3178
+ #
3179
+ # @!attribute [rw] skip_check
3180
+ # This flag indicates if the drift check against the previous baseline
3181
+ # will be skipped or not. If it is set to `False`, the previous
3182
+ # baseline of the configured check type must be available.
3183
+ # @return [Boolean]
3184
+ #
3185
+ # @!attribute [rw] register_new_baseline
3186
+ # This flag indicates if a newly calculated baseline can be accessed
3187
+ # through step properties `BaselineUsedForDriftCheckConstraints` and
3188
+ # `BaselineUsedForDriftCheckStatistics`. If it is set to `False`, the
3189
+ # previous baseline of the configured check type must also be
3190
+ # available. These can be accessed through the
3191
+ # `BaselineUsedForDriftCheckConstraints` property.
3192
+ # @return [Boolean]
3193
+ #
3194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClarifyCheckStepMetadata AWS API Documentation
3195
+ #
3196
+ class ClarifyCheckStepMetadata < Struct.new(
3197
+ :check_type,
3198
+ :baseline_used_for_drift_check_constraints,
3199
+ :calculated_baseline_constraints,
3200
+ :model_package_group_name,
3201
+ :violation_report,
3202
+ :check_job_arn,
3203
+ :skip_check,
3204
+ :register_new_baseline)
3205
+ SENSITIVE = []
3206
+ include Aws::Structure
3207
+ end
3208
+
2986
3209
  # Specifies summary information about a Git repository.
2987
3210
  #
2988
3211
  # @!attribute [rw] code_repository_name
@@ -3245,6 +3468,7 @@ module Aws::SageMaker
3245
3468
  # "EnvironmentKey" => "EnvironmentValue",
3246
3469
  # },
3247
3470
  # model_package_name: "VersionedArnOrName",
3471
+ # inference_specification_name: "InferenceSpecificationName",
3248
3472
  # multi_model_config: {
3249
3473
  # model_cache_setting: "Enabled", # accepts Enabled, Disabled
3250
3474
  # },
@@ -3347,6 +3571,10 @@ module Aws::SageMaker
3347
3571
  # to create the model.
3348
3572
  # @return [String]
3349
3573
  #
3574
+ # @!attribute [rw] inference_specification_name
3575
+ # The inference specification name in the model package version.
3576
+ # @return [String]
3577
+ #
3350
3578
  # @!attribute [rw] multi_model_config
3351
3579
  # Specifies additional configuration for multi-model endpoints.
3352
3580
  # @return [Types::MultiModelConfig]
@@ -3361,6 +3589,7 @@ module Aws::SageMaker
3361
3589
  :model_data_url,
3362
3590
  :environment,
3363
3591
  :model_package_name,
3592
+ :inference_specification_name,
3364
3593
  :multi_model_config)
3365
3594
  SENSITIVE = []
3366
3595
  include Aws::Structure
@@ -3700,6 +3929,12 @@ module Aws::SageMaker
3700
3929
  # environment: {
3701
3930
  # "EnvironmentKey" => "EnvironmentValue",
3702
3931
  # },
3932
+ # model_input: {
3933
+ # data_input_config: "DataInputConfig", # required
3934
+ # },
3935
+ # framework: "String",
3936
+ # framework_version: "FrameworkVersion",
3937
+ # nearest_model_name: "String",
3703
3938
  # },
3704
3939
  # ],
3705
3940
  # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
@@ -4323,7 +4558,8 @@ module Aws::SageMaker
4323
4558
  # {
4324
4559
  # compilation_job_name: "EntityName", # required
4325
4560
  # role_arn: "RoleArn", # required
4326
- # input_config: { # required
4561
+ # model_package_version_arn: "ModelPackageArn",
4562
+ # input_config: {
4327
4563
  # s3_uri: "S3Uri", # required
4328
4564
  # data_input_config: "DataInputConfig", # required
4329
4565
  # framework: "TENSORFLOW", # required, accepts TENSORFLOW, KERAS, MXNET, ONNX, PYTORCH, XGBOOST, TFLITE, DARKNET, SKLEARN
@@ -4331,7 +4567,7 @@ module Aws::SageMaker
4331
4567
  # },
4332
4568
  # output_config: { # required
4333
4569
  # s3_output_location: "S3Uri", # required
4334
- # target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm, imx8mplus
4570
+ # target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv2, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm, imx8mplus
4335
4571
  # target_platform: {
4336
4572
  # os: "ANDROID", # required, accepts ANDROID, LINUX
4337
4573
  # arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
@@ -4386,6 +4622,13 @@ module Aws::SageMaker
4386
4622
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
4387
4623
  # @return [String]
4388
4624
  #
4625
+ # @!attribute [rw] model_package_version_arn
4626
+ # The Amazon Resource Name (ARN) of a versioned model package. Provide
4627
+ # either a `ModelPackageVersionArn` or an `InputConfig` object in the
4628
+ # request syntax. The presence of both objects in the
4629
+ # `CreateCompilationJob` request will return an exception.
4630
+ # @return [String]
4631
+ #
4389
4632
  # @!attribute [rw] input_config
4390
4633
  # Provides information about the location of input model artifacts,
4391
4634
  # the name and shape of the expected data inputs, and the framework in
@@ -4430,6 +4673,7 @@ module Aws::SageMaker
4430
4673
  class CreateCompilationJobRequest < Struct.new(
4431
4674
  :compilation_job_name,
4432
4675
  :role_arn,
4676
+ :model_package_version_arn,
4433
4677
  :input_config,
4434
4678
  :output_config,
4435
4679
  :vpc_config,
@@ -5025,14 +5269,18 @@ module Aws::SageMaker
5025
5269
  # {
5026
5270
  # variant_name: "VariantName", # required
5027
5271
  # model_name: "ModelName", # required
5028
- # initial_instance_count: 1, # required
5029
- # instance_type: "ml.t2.medium", # required, accepts 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
5272
+ # initial_instance_count: 1,
5273
+ # instance_type: "ml.t2.medium", # accepts 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
5030
5274
  # initial_variant_weight: 1.0,
5031
5275
  # accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
5032
5276
  # core_dump_config: {
5033
5277
  # destination_s3_uri: "DestinationS3Uri", # required
5034
5278
  # kms_key_id: "KmsKeyId",
5035
5279
  # },
5280
+ # serverless_config: {
5281
+ # memory_size_in_mb: 1, # required
5282
+ # max_concurrency: 1, # required
5283
+ # },
5036
5284
  # },
5037
5285
  # ],
5038
5286
  # data_capture_config: {
@@ -5185,6 +5433,31 @@ module Aws::SageMaker
5185
5433
  # {
5186
5434
  # endpoint_name: "EndpointName", # required
5187
5435
  # endpoint_config_name: "EndpointConfigName", # required
5436
+ # deployment_config: {
5437
+ # blue_green_update_policy: { # required
5438
+ # traffic_routing_configuration: { # required
5439
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
5440
+ # wait_interval_in_seconds: 1, # required
5441
+ # canary_size: {
5442
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
5443
+ # value: 1, # required
5444
+ # },
5445
+ # linear_step_size: {
5446
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
5447
+ # value: 1, # required
5448
+ # },
5449
+ # },
5450
+ # termination_wait_in_seconds: 1,
5451
+ # maximum_execution_timeout_in_seconds: 1,
5452
+ # },
5453
+ # auto_rollback_configuration: {
5454
+ # alarms: [
5455
+ # {
5456
+ # alarm_name: "AlarmName",
5457
+ # },
5458
+ # ],
5459
+ # },
5460
+ # },
5188
5461
  # tags: [
5189
5462
  # {
5190
5463
  # key: "TagKey", # required
@@ -5205,6 +5478,11 @@ module Aws::SageMaker
5205
5478
  # CreateEndpointConfig.
5206
5479
  # @return [String]
5207
5480
  #
5481
+ # @!attribute [rw] deployment_config
5482
+ # The deployment configuration for an endpoint, which contains the
5483
+ # desired deployment strategy and rollback configurations.
5484
+ # @return [Types::DeploymentConfig]
5485
+ #
5208
5486
  # @!attribute [rw] tags
5209
5487
  # An array of key-value pairs. You can use tags to categorize your
5210
5488
  # Amazon Web Services resources in different ways, for example, by
@@ -5221,6 +5499,7 @@ module Aws::SageMaker
5221
5499
  class CreateEndpointInput < Struct.new(
5222
5500
  :endpoint_name,
5223
5501
  :endpoint_config_name,
5502
+ :deployment_config,
5224
5503
  :tags)
5225
5504
  SENSITIVE = []
5226
5505
  include Aws::Structure
@@ -6110,6 +6389,134 @@ module Aws::SageMaker
6110
6389
  include Aws::Structure
6111
6390
  end
6112
6391
 
6392
+ # @note When making an API call, you may pass CreateInferenceRecommendationsJobRequest
6393
+ # data as a hash:
6394
+ #
6395
+ # {
6396
+ # job_name: "RecommendationJobName", # required
6397
+ # job_type: "Default", # required, accepts Default, Advanced
6398
+ # role_arn: "RoleArn", # required
6399
+ # input_config: { # required
6400
+ # model_package_version_arn: "ModelPackageArn", # required
6401
+ # job_duration_in_seconds: 1,
6402
+ # traffic_pattern: {
6403
+ # traffic_type: "PHASES", # accepts PHASES
6404
+ # phases: [
6405
+ # {
6406
+ # initial_number_of_users: 1,
6407
+ # spawn_rate: 1,
6408
+ # duration_in_seconds: 1,
6409
+ # },
6410
+ # ],
6411
+ # },
6412
+ # resource_limit: {
6413
+ # max_number_of_tests: 1,
6414
+ # max_parallel_of_tests: 1,
6415
+ # },
6416
+ # endpoint_configurations: [
6417
+ # {
6418
+ # instance_type: "ml.t2.medium", # required, accepts 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
6419
+ # inference_specification_name: "InferenceSpecificationName",
6420
+ # environment_parameter_ranges: {
6421
+ # categorical_parameter_ranges: [
6422
+ # {
6423
+ # name: "String64", # required
6424
+ # value: ["String128"], # required
6425
+ # },
6426
+ # ],
6427
+ # },
6428
+ # },
6429
+ # ],
6430
+ # },
6431
+ # job_description: "RecommendationJobDescription",
6432
+ # stopping_conditions: {
6433
+ # max_invocations: 1,
6434
+ # model_latency_thresholds: [
6435
+ # {
6436
+ # percentile: "String64",
6437
+ # value_in_milliseconds: 1,
6438
+ # },
6439
+ # ],
6440
+ # },
6441
+ # tags: [
6442
+ # {
6443
+ # key: "TagKey", # required
6444
+ # value: "TagValue", # required
6445
+ # },
6446
+ # ],
6447
+ # }
6448
+ #
6449
+ # @!attribute [rw] job_name
6450
+ # A name for the recommendation job. The name must be unique within
6451
+ # the Amazon Web Services Region and within your Amazon Web Services
6452
+ # account.
6453
+ # @return [String]
6454
+ #
6455
+ # @!attribute [rw] job_type
6456
+ # Defines the type of recommendation job. Specify `Default` to
6457
+ # initiate an instance recommendation and `Advanced` to initiate a
6458
+ # load test. If left unspecified, Amazon SageMaker Inference
6459
+ # Recommender will run an instance recommendation (`DEFAULT`) job.
6460
+ # @return [String]
6461
+ #
6462
+ # @!attribute [rw] role_arn
6463
+ # The Amazon Resource Name (ARN) of an IAM role that enables Amazon
6464
+ # SageMaker to perform tasks on your behalf.
6465
+ # @return [String]
6466
+ #
6467
+ # @!attribute [rw] input_config
6468
+ # Provides information about the versioned model package Amazon
6469
+ # Resource Name (ARN), the traffic pattern, and endpoint
6470
+ # configurations.
6471
+ # @return [Types::RecommendationJobInputConfig]
6472
+ #
6473
+ # @!attribute [rw] job_description
6474
+ # Description of the recommendation job.
6475
+ # @return [String]
6476
+ #
6477
+ # @!attribute [rw] stopping_conditions
6478
+ # A set of conditions for stopping a recommendation job. If any of the
6479
+ # conditions are met, the job is automatically stopped.
6480
+ # @return [Types::RecommendationJobStoppingConditions]
6481
+ #
6482
+ # @!attribute [rw] tags
6483
+ # The metadata that you apply to Amazon Web Services resources to help
6484
+ # you categorize and organize them. Each tag consists of a key and a
6485
+ # value, both of which you define. For more information, see [Tagging
6486
+ # Amazon Web Services Resources][1] in the Amazon Web Services General
6487
+ # Reference.
6488
+ #
6489
+ #
6490
+ #
6491
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
6492
+ # @return [Array<Types::Tag>]
6493
+ #
6494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateInferenceRecommendationsJobRequest AWS API Documentation
6495
+ #
6496
+ class CreateInferenceRecommendationsJobRequest < Struct.new(
6497
+ :job_name,
6498
+ :job_type,
6499
+ :role_arn,
6500
+ :input_config,
6501
+ :job_description,
6502
+ :stopping_conditions,
6503
+ :tags)
6504
+ SENSITIVE = []
6505
+ include Aws::Structure
6506
+ end
6507
+
6508
+ # @!attribute [rw] job_arn
6509
+ # The Amazon Resource Name (ARN) of the recommendation job.
6510
+ # @return [String]
6511
+ #
6512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateInferenceRecommendationsJobResponse AWS API Documentation
6513
+ #
6514
+ class CreateInferenceRecommendationsJobResponse < Struct.new(
6515
+ :job_arn)
6516
+ SENSITIVE = []
6517
+ include Aws::Structure
6518
+ end
6519
+
6113
6520
  # @note When making an API call, you may pass CreateLabelingJobRequest
6114
6521
  # data as a hash:
6115
6522
  #
@@ -6717,6 +7124,7 @@ module Aws::SageMaker
6717
7124
  # "EnvironmentKey" => "EnvironmentValue",
6718
7125
  # },
6719
7126
  # model_package_name: "VersionedArnOrName",
7127
+ # inference_specification_name: "InferenceSpecificationName",
6720
7128
  # multi_model_config: {
6721
7129
  # model_cache_setting: "Enabled", # accepts Enabled, Disabled
6722
7130
  # },
@@ -6737,6 +7145,7 @@ module Aws::SageMaker
6737
7145
  # "EnvironmentKey" => "EnvironmentValue",
6738
7146
  # },
6739
7147
  # model_package_name: "VersionedArnOrName",
7148
+ # inference_specification_name: "InferenceSpecificationName",
6740
7149
  # multi_model_config: {
6741
7150
  # model_cache_setting: "Enabled", # accepts Enabled, Disabled
6742
7151
  # },
@@ -6924,6 +7333,12 @@ module Aws::SageMaker
6924
7333
  # environment: {
6925
7334
  # "EnvironmentKey" => "EnvironmentValue",
6926
7335
  # },
7336
+ # model_input: {
7337
+ # data_input_config: "DataInputConfig", # required
7338
+ # },
7339
+ # framework: "String",
7340
+ # framework_version: "FrameworkVersion",
7341
+ # nearest_model_name: "String",
6927
7342
  # },
6928
7343
  # ],
6929
7344
  # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
@@ -7022,6 +7437,16 @@ module Aws::SageMaker
7022
7437
  # content_digest: "ContentDigest",
7023
7438
  # s3_uri: "S3Uri", # required
7024
7439
  # },
7440
+ # pre_training_report: {
7441
+ # content_type: "ContentType", # required
7442
+ # content_digest: "ContentDigest",
7443
+ # s3_uri: "S3Uri", # required
7444
+ # },
7445
+ # post_training_report: {
7446
+ # content_type: "ContentType", # required
7447
+ # content_digest: "ContentDigest",
7448
+ # s3_uri: "S3Uri", # required
7449
+ # },
7025
7450
  # },
7026
7451
  # explainability: {
7027
7452
  # report: {
@@ -7035,6 +7460,92 @@ module Aws::SageMaker
7035
7460
  # customer_metadata_properties: {
7036
7461
  # "CustomerMetadataKey" => "CustomerMetadataValue",
7037
7462
  # },
7463
+ # drift_check_baselines: {
7464
+ # bias: {
7465
+ # config_file: {
7466
+ # content_type: "ContentType",
7467
+ # content_digest: "ContentDigest",
7468
+ # s3_uri: "S3Uri", # required
7469
+ # },
7470
+ # pre_training_constraints: {
7471
+ # content_type: "ContentType", # required
7472
+ # content_digest: "ContentDigest",
7473
+ # s3_uri: "S3Uri", # required
7474
+ # },
7475
+ # post_training_constraints: {
7476
+ # content_type: "ContentType", # required
7477
+ # content_digest: "ContentDigest",
7478
+ # s3_uri: "S3Uri", # required
7479
+ # },
7480
+ # },
7481
+ # explainability: {
7482
+ # constraints: {
7483
+ # content_type: "ContentType", # required
7484
+ # content_digest: "ContentDigest",
7485
+ # s3_uri: "S3Uri", # required
7486
+ # },
7487
+ # config_file: {
7488
+ # content_type: "ContentType",
7489
+ # content_digest: "ContentDigest",
7490
+ # s3_uri: "S3Uri", # required
7491
+ # },
7492
+ # },
7493
+ # model_quality: {
7494
+ # statistics: {
7495
+ # content_type: "ContentType", # required
7496
+ # content_digest: "ContentDigest",
7497
+ # s3_uri: "S3Uri", # required
7498
+ # },
7499
+ # constraints: {
7500
+ # content_type: "ContentType", # required
7501
+ # content_digest: "ContentDigest",
7502
+ # s3_uri: "S3Uri", # required
7503
+ # },
7504
+ # },
7505
+ # model_data_quality: {
7506
+ # statistics: {
7507
+ # content_type: "ContentType", # required
7508
+ # content_digest: "ContentDigest",
7509
+ # s3_uri: "S3Uri", # required
7510
+ # },
7511
+ # constraints: {
7512
+ # content_type: "ContentType", # required
7513
+ # content_digest: "ContentDigest",
7514
+ # s3_uri: "S3Uri", # required
7515
+ # },
7516
+ # },
7517
+ # },
7518
+ # domain: "String",
7519
+ # task: "String",
7520
+ # sample_payload_url: "S3Uri",
7521
+ # additional_inference_specifications: [
7522
+ # {
7523
+ # name: "EntityName", # required
7524
+ # description: "EntityDescription",
7525
+ # containers: [ # required
7526
+ # {
7527
+ # container_hostname: "ContainerHostname",
7528
+ # image: "ContainerImage", # required
7529
+ # image_digest: "ImageDigest",
7530
+ # model_data_url: "Url",
7531
+ # product_id: "ProductId",
7532
+ # environment: {
7533
+ # "EnvironmentKey" => "EnvironmentValue",
7534
+ # },
7535
+ # model_input: {
7536
+ # data_input_config: "DataInputConfig", # required
7537
+ # },
7538
+ # framework: "String",
7539
+ # framework_version: "FrameworkVersion",
7540
+ # nearest_model_name: "String",
7541
+ # },
7542
+ # ],
7543
+ # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
7544
+ # supported_realtime_inference_instance_types: ["ml.t2.medium"], # accepts 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
7545
+ # supported_content_types: ["ContentType"],
7546
+ # supported_response_mime_types: ["ResponseMIMEType"],
7547
+ # },
7548
+ # ],
7038
7549
  # }
7039
7550
  #
7040
7551
  # @!attribute [rw] model_package_name
@@ -7130,6 +7641,42 @@ module Aws::SageMaker
7130
7641
  # The metadata properties associated with the model package versions.
7131
7642
  # @return [Hash<String,String>]
7132
7643
  #
7644
+ # @!attribute [rw] drift_check_baselines
7645
+ # Represents the drift check baselines that can be used when the model
7646
+ # monitor is set using the model package. For more information, see
7647
+ # the topic on [Drift Detection against Previous Baselines in
7648
+ # SageMaker Pipelines][1] in the *Amazon SageMaker Developer Guide*.
7649
+ #
7650
+ #
7651
+ #
7652
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection
7653
+ # @return [Types::DriftCheckBaselines]
7654
+ #
7655
+ # @!attribute [rw] domain
7656
+ # The machine learning domain of your model package and its
7657
+ # components. Common machine learning domains include computer vision
7658
+ # and natural language processing.
7659
+ # @return [String]
7660
+ #
7661
+ # @!attribute [rw] task
7662
+ # The machine learning task your model package accomplishes. Common
7663
+ # machine learning tasks include object detection and image
7664
+ # classification.
7665
+ # @return [String]
7666
+ #
7667
+ # @!attribute [rw] sample_payload_url
7668
+ # The Amazon Simple Storage Service (Amazon S3) path where the sample
7669
+ # payload are stored. This path must point to a single gzip compressed
7670
+ # tar archive (.tar.gz suffix).
7671
+ # @return [String]
7672
+ #
7673
+ # @!attribute [rw] additional_inference_specifications
7674
+ # An array of additional Inference Specification objects. Each
7675
+ # additional Inference Specification specifies artifacts based on this
7676
+ # model package that can be used on inference endpoints. Generally
7677
+ # used with SageMaker Neo to store the compiled artifacts.
7678
+ # @return [Array<Types::AdditionalInferenceSpecificationDefinition>]
7679
+ #
7133
7680
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageInput AWS API Documentation
7134
7681
  #
7135
7682
  class CreateModelPackageInput < Struct.new(
@@ -7145,7 +7692,12 @@ module Aws::SageMaker
7145
7692
  :metadata_properties,
7146
7693
  :model_metrics,
7147
7694
  :client_token,
7148
- :customer_metadata_properties)
7695
+ :customer_metadata_properties,
7696
+ :drift_check_baselines,
7697
+ :domain,
7698
+ :task,
7699
+ :sample_payload_url,
7700
+ :additional_inference_specifications)
7149
7701
  SENSITIVE = []
7150
7702
  include Aws::Structure
7151
7703
  end
@@ -11004,7 +11556,8 @@ module Aws::SageMaker
11004
11556
  include Aws::Structure
11005
11557
  end
11006
11558
 
11007
- # Currently, the `DeploymentConfig` API is not supported.
11559
+ # The deployment configuration for an endpoint, which contains the
11560
+ # desired deployment strategy and rollback configurations.
11008
11561
  #
11009
11562
  # @note When making an API call, you may pass DeploymentConfig
11010
11563
  # data as a hash:
@@ -11012,12 +11565,16 @@ module Aws::SageMaker
11012
11565
  # {
11013
11566
  # blue_green_update_policy: { # required
11014
11567
  # traffic_routing_configuration: { # required
11015
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
11568
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
11016
11569
  # wait_interval_in_seconds: 1, # required
11017
11570
  # canary_size: {
11018
11571
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
11019
11572
  # value: 1, # required
11020
11573
  # },
11574
+ # linear_step_size: {
11575
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
11576
+ # value: 1, # required
11577
+ # },
11021
11578
  # },
11022
11579
  # termination_wait_in_seconds: 1,
11023
11580
  # maximum_execution_timeout_in_seconds: 1,
@@ -11032,9 +11589,18 @@ module Aws::SageMaker
11032
11589
  # }
11033
11590
  #
11034
11591
  # @!attribute [rw] blue_green_update_policy
11592
+ # Update policy for a blue/green deployment. If this update policy is
11593
+ # specified, SageMaker creates a new fleet during the deployment while
11594
+ # maintaining the old fleet. SageMaker flips traffic to the new fleet
11595
+ # according to the specified traffic routing configuration. Only one
11596
+ # update policy should be used in the deployment configuration. If no
11597
+ # update policy is specified, SageMaker uses a blue/green deployment
11598
+ # strategy with all at once traffic shifting by default.
11035
11599
  # @return [Types::BlueGreenUpdatePolicy]
11036
11600
  #
11037
11601
  # @!attribute [rw] auto_rollback_configuration
11602
+ # Automatic rollback configuration for handling endpoint deployment
11603
+ # failures and recovery.
11038
11604
  # @return [Types::AutoRollbackConfig]
11039
11605
  #
11040
11606
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeploymentConfig AWS API Documentation
@@ -11124,7 +11690,7 @@ module Aws::SageMaker
11124
11690
  #
11125
11691
  # @!attribute [rw] created_by
11126
11692
  # Information about the user who created or modified an experiment,
11127
- # trial, trial component, or project.
11693
+ # trial, trial component, lineage group, or project.
11128
11694
  # @return [Types::UserContext]
11129
11695
  #
11130
11696
  # @!attribute [rw] last_modified_time
@@ -11133,7 +11699,7 @@ module Aws::SageMaker
11133
11699
  #
11134
11700
  # @!attribute [rw] last_modified_by
11135
11701
  # Information about the user who created or modified an experiment,
11136
- # trial, trial component, or project.
11702
+ # trial, trial component, lineage group, or project.
11137
11703
  # @return [Types::UserContext]
11138
11704
  #
11139
11705
  # @!attribute [rw] metadata_properties
@@ -11141,6 +11707,10 @@ module Aws::SageMaker
11141
11707
  # component.
11142
11708
  # @return [Types::MetadataProperties]
11143
11709
  #
11710
+ # @!attribute [rw] lineage_group_arn
11711
+ # The Amazon Resource Name (ARN) of the lineage group.
11712
+ # @return [String]
11713
+ #
11144
11714
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeActionResponse AWS API Documentation
11145
11715
  #
11146
11716
  class DescribeActionResponse < Struct.new(
@@ -11155,7 +11725,8 @@ module Aws::SageMaker
11155
11725
  :created_by,
11156
11726
  :last_modified_time,
11157
11727
  :last_modified_by,
11158
- :metadata_properties)
11728
+ :metadata_properties,
11729
+ :lineage_group_arn)
11159
11730
  SENSITIVE = []
11160
11731
  include Aws::Structure
11161
11732
  end
@@ -11442,7 +12013,7 @@ module Aws::SageMaker
11442
12013
  #
11443
12014
  # @!attribute [rw] created_by
11444
12015
  # Information about the user who created or modified an experiment,
11445
- # trial, trial component, or project.
12016
+ # trial, trial component, lineage group, or project.
11446
12017
  # @return [Types::UserContext]
11447
12018
  #
11448
12019
  # @!attribute [rw] last_modified_time
@@ -11451,7 +12022,7 @@ module Aws::SageMaker
11451
12022
  #
11452
12023
  # @!attribute [rw] last_modified_by
11453
12024
  # Information about the user who created or modified an experiment,
11454
- # trial, trial component, or project.
12025
+ # trial, trial component, lineage group, or project.
11455
12026
  # @return [Types::UserContext]
11456
12027
  #
11457
12028
  # @!attribute [rw] metadata_properties
@@ -11459,6 +12030,10 @@ module Aws::SageMaker
11459
12030
  # component.
11460
12031
  # @return [Types::MetadataProperties]
11461
12032
  #
12033
+ # @!attribute [rw] lineage_group_arn
12034
+ # The Amazon Resource Name (ARN) of the lineage group.
12035
+ # @return [String]
12036
+ #
11462
12037
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifactResponse AWS API Documentation
11463
12038
  #
11464
12039
  class DescribeArtifactResponse < Struct.new(
@@ -11471,7 +12046,8 @@ module Aws::SageMaker
11471
12046
  :created_by,
11472
12047
  :last_modified_time,
11473
12048
  :last_modified_by,
11474
- :metadata_properties)
12049
+ :metadata_properties,
12050
+ :lineage_group_arn)
11475
12051
  SENSITIVE = []
11476
12052
  include Aws::Structure
11477
12053
  end
@@ -11731,6 +12307,11 @@ module Aws::SageMaker
11731
12307
  # only if the target device is a cloud instance.
11732
12308
  # @return [String]
11733
12309
  #
12310
+ # @!attribute [rw] model_package_version_arn
12311
+ # The Amazon Resource Name (ARN) of the versioned model package that
12312
+ # was provided to SageMaker Neo when you initiated a compilation job.
12313
+ # @return [String]
12314
+ #
11734
12315
  # @!attribute [rw] creation_time
11735
12316
  # The time that the model compilation job was created.
11736
12317
  # @return [Time]
@@ -11791,6 +12372,7 @@ module Aws::SageMaker
11791
12372
  :compilation_end_time,
11792
12373
  :stopping_condition,
11793
12374
  :inference_image,
12375
+ :model_package_version_arn,
11794
12376
  :creation_time,
11795
12377
  :last_modified_time,
11796
12378
  :failure_reason,
@@ -11808,7 +12390,7 @@ module Aws::SageMaker
11808
12390
  # data as a hash:
11809
12391
  #
11810
12392
  # {
11811
- # context_name: "ExperimentEntityName", # required
12393
+ # context_name: "ExperimentEntityNameOrArn", # required
11812
12394
  # }
11813
12395
  #
11814
12396
  # @!attribute [rw] context_name
@@ -11853,7 +12435,7 @@ module Aws::SageMaker
11853
12435
  #
11854
12436
  # @!attribute [rw] created_by
11855
12437
  # Information about the user who created or modified an experiment,
11856
- # trial, trial component, or project.
12438
+ # trial, trial component, lineage group, or project.
11857
12439
  # @return [Types::UserContext]
11858
12440
  #
11859
12441
  # @!attribute [rw] last_modified_time
@@ -11862,9 +12444,13 @@ module Aws::SageMaker
11862
12444
  #
11863
12445
  # @!attribute [rw] last_modified_by
11864
12446
  # Information about the user who created or modified an experiment,
11865
- # trial, trial component, or project.
12447
+ # trial, trial component, lineage group, or project.
11866
12448
  # @return [Types::UserContext]
11867
12449
  #
12450
+ # @!attribute [rw] lineage_group_arn
12451
+ # The Amazon Resource Name (ARN) of the lineage group.
12452
+ # @return [String]
12453
+ #
11868
12454
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContextResponse AWS API Documentation
11869
12455
  #
11870
12456
  class DescribeContextResponse < Struct.new(
@@ -11877,7 +12463,8 @@ module Aws::SageMaker
11877
12463
  :creation_time,
11878
12464
  :created_by,
11879
12465
  :last_modified_time,
11880
- :last_modified_by)
12466
+ :last_modified_by,
12467
+ :lineage_group_arn)
11881
12468
  SENSITIVE = []
11882
12469
  include Aws::Structure
11883
12470
  end
@@ -12548,6 +13135,12 @@ module Aws::SageMaker
12548
13135
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html
12549
13136
  # @return [Types::AsyncInferenceConfig]
12550
13137
  #
13138
+ # @!attribute [rw] pending_deployment_summary
13139
+ # Returns the summary of an in-progress deployment. This field is only
13140
+ # returned when the endpoint is creating or updating with a new
13141
+ # endpoint configuration.
13142
+ # @return [Types::PendingDeploymentSummary]
13143
+ #
12551
13144
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointOutput AWS API Documentation
12552
13145
  #
12553
13146
  class DescribeEndpointOutput < Struct.new(
@@ -12561,7 +13154,8 @@ module Aws::SageMaker
12561
13154
  :creation_time,
12562
13155
  :last_modified_time,
12563
13156
  :last_deployment_config,
12564
- :async_inference_config)
13157
+ :async_inference_config,
13158
+ :pending_deployment_summary)
12565
13159
  SENSITIVE = []
12566
13160
  include Aws::Structure
12567
13161
  end
@@ -13166,6 +13760,104 @@ module Aws::SageMaker
13166
13760
  include Aws::Structure
13167
13761
  end
13168
13762
 
13763
+ # @note When making an API call, you may pass DescribeInferenceRecommendationsJobRequest
13764
+ # data as a hash:
13765
+ #
13766
+ # {
13767
+ # job_name: "RecommendationJobName", # required
13768
+ # }
13769
+ #
13770
+ # @!attribute [rw] job_name
13771
+ # The name of the job. The name must be unique within an Amazon Web
13772
+ # Services Region in the Amazon Web Services account.
13773
+ # @return [String]
13774
+ #
13775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJobRequest AWS API Documentation
13776
+ #
13777
+ class DescribeInferenceRecommendationsJobRequest < Struct.new(
13778
+ :job_name)
13779
+ SENSITIVE = []
13780
+ include Aws::Structure
13781
+ end
13782
+
13783
+ # @!attribute [rw] job_name
13784
+ # The name of the job. The name must be unique within an Amazon Web
13785
+ # Services Region in the Amazon Web Services account.
13786
+ # @return [String]
13787
+ #
13788
+ # @!attribute [rw] job_description
13789
+ # The job description that you provided when you initiated the job.
13790
+ # @return [String]
13791
+ #
13792
+ # @!attribute [rw] job_type
13793
+ # The job type that you provided when you initiated the job.
13794
+ # @return [String]
13795
+ #
13796
+ # @!attribute [rw] job_arn
13797
+ # The Amazon Resource Name (ARN) of the job.
13798
+ # @return [String]
13799
+ #
13800
+ # @!attribute [rw] role_arn
13801
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Identity
13802
+ # and Access Management (IAM) role you provided when you initiated the
13803
+ # job.
13804
+ # @return [String]
13805
+ #
13806
+ # @!attribute [rw] status
13807
+ # The status of the job.
13808
+ # @return [String]
13809
+ #
13810
+ # @!attribute [rw] creation_time
13811
+ # A timestamp that shows when the job was created.
13812
+ # @return [Time]
13813
+ #
13814
+ # @!attribute [rw] completion_time
13815
+ # A timestamp that shows when the job completed.
13816
+ # @return [Time]
13817
+ #
13818
+ # @!attribute [rw] last_modified_time
13819
+ # A timestamp that shows when the job was last modified.
13820
+ # @return [Time]
13821
+ #
13822
+ # @!attribute [rw] failure_reason
13823
+ # If the job fails, provides information why the job failed.
13824
+ # @return [String]
13825
+ #
13826
+ # @!attribute [rw] input_config
13827
+ # Returns information about the versioned model package Amazon
13828
+ # Resource Name (ARN), the traffic pattern, and endpoint
13829
+ # configurations you provided when you initiated the job.
13830
+ # @return [Types::RecommendationJobInputConfig]
13831
+ #
13832
+ # @!attribute [rw] stopping_conditions
13833
+ # The stopping conditions that you provided when you initiated the
13834
+ # job.
13835
+ # @return [Types::RecommendationJobStoppingConditions]
13836
+ #
13837
+ # @!attribute [rw] inference_recommendations
13838
+ # The recommendations made by Inference Recommender.
13839
+ # @return [Array<Types::InferenceRecommendation>]
13840
+ #
13841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJobResponse AWS API Documentation
13842
+ #
13843
+ class DescribeInferenceRecommendationsJobResponse < Struct.new(
13844
+ :job_name,
13845
+ :job_description,
13846
+ :job_type,
13847
+ :job_arn,
13848
+ :role_arn,
13849
+ :status,
13850
+ :creation_time,
13851
+ :completion_time,
13852
+ :last_modified_time,
13853
+ :failure_reason,
13854
+ :input_config,
13855
+ :stopping_conditions,
13856
+ :inference_recommendations)
13857
+ SENSITIVE = []
13858
+ include Aws::Structure
13859
+ end
13860
+
13169
13861
  # @note When making an API call, you may pass DescribeLabelingJobRequest
13170
13862
  # data as a hash:
13171
13863
  #
@@ -13337,6 +14029,74 @@ module Aws::SageMaker
13337
14029
  include Aws::Structure
13338
14030
  end
13339
14031
 
14032
+ # @note When making an API call, you may pass DescribeLineageGroupRequest
14033
+ # data as a hash:
14034
+ #
14035
+ # {
14036
+ # lineage_group_name: "ExperimentEntityName", # required
14037
+ # }
14038
+ #
14039
+ # @!attribute [rw] lineage_group_name
14040
+ # The name of the lineage group.
14041
+ # @return [String]
14042
+ #
14043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLineageGroupRequest AWS API Documentation
14044
+ #
14045
+ class DescribeLineageGroupRequest < Struct.new(
14046
+ :lineage_group_name)
14047
+ SENSITIVE = []
14048
+ include Aws::Structure
14049
+ end
14050
+
14051
+ # @!attribute [rw] lineage_group_name
14052
+ # The name of the lineage group.
14053
+ # @return [String]
14054
+ #
14055
+ # @!attribute [rw] lineage_group_arn
14056
+ # The Amazon Resource Name (ARN) of the lineage group.
14057
+ # @return [String]
14058
+ #
14059
+ # @!attribute [rw] display_name
14060
+ # The display name of the lineage group.
14061
+ # @return [String]
14062
+ #
14063
+ # @!attribute [rw] description
14064
+ # The description of the lineage group.
14065
+ # @return [String]
14066
+ #
14067
+ # @!attribute [rw] creation_time
14068
+ # The creation time of lineage group.
14069
+ # @return [Time]
14070
+ #
14071
+ # @!attribute [rw] created_by
14072
+ # Information about the user who created or modified an experiment,
14073
+ # trial, trial component, lineage group, or project.
14074
+ # @return [Types::UserContext]
14075
+ #
14076
+ # @!attribute [rw] last_modified_time
14077
+ # The last modified time of the lineage group.
14078
+ # @return [Time]
14079
+ #
14080
+ # @!attribute [rw] last_modified_by
14081
+ # Information about the user who created or modified an experiment,
14082
+ # trial, trial component, lineage group, or project.
14083
+ # @return [Types::UserContext]
14084
+ #
14085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLineageGroupResponse AWS API Documentation
14086
+ #
14087
+ class DescribeLineageGroupResponse < Struct.new(
14088
+ :lineage_group_name,
14089
+ :lineage_group_arn,
14090
+ :display_name,
14091
+ :description,
14092
+ :creation_time,
14093
+ :created_by,
14094
+ :last_modified_time,
14095
+ :last_modified_by)
14096
+ SENSITIVE = []
14097
+ include Aws::Structure
14098
+ end
14099
+
13340
14100
  # @note When making an API call, you may pass DescribeModelBiasJobDefinitionRequest
13341
14101
  # data as a hash:
13342
14102
  #
@@ -13635,7 +14395,7 @@ module Aws::SageMaker
13635
14395
  #
13636
14396
  # @!attribute [rw] created_by
13637
14397
  # Information about the user who created or modified an experiment,
13638
- # trial, trial component, or project.
14398
+ # trial, trial component, lineage group, or project.
13639
14399
  # @return [Types::UserContext]
13640
14400
  #
13641
14401
  # @!attribute [rw] model_package_group_status
@@ -13737,7 +14497,7 @@ module Aws::SageMaker
13737
14497
  #
13738
14498
  # @!attribute [rw] created_by
13739
14499
  # Information about the user who created or modified an experiment,
13740
- # trial, trial component, or project.
14500
+ # trial, trial component, lineage group, or project.
13741
14501
  # @return [Types::UserContext]
13742
14502
  #
13743
14503
  # @!attribute [rw] metadata_properties
@@ -13755,7 +14515,7 @@ module Aws::SageMaker
13755
14515
  #
13756
14516
  # @!attribute [rw] last_modified_by
13757
14517
  # Information about the user who created or modified an experiment,
13758
- # trial, trial component, or project.
14518
+ # trial, trial component, lineage group, or project.
13759
14519
  # @return [Types::UserContext]
13760
14520
  #
13761
14521
  # @!attribute [rw] approval_description
@@ -13766,6 +14526,42 @@ module Aws::SageMaker
13766
14526
  # The metadata properties associated with the model package versions.
13767
14527
  # @return [Hash<String,String>]
13768
14528
  #
14529
+ # @!attribute [rw] drift_check_baselines
14530
+ # Represents the drift check baselines that can be used when the model
14531
+ # monitor is set using the model package. For more information, see
14532
+ # the topic on [Drift Detection against Previous Baselines in
14533
+ # SageMaker Pipelines][1] in the *Amazon SageMaker Developer Guide*.
14534
+ #
14535
+ #
14536
+ #
14537
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection
14538
+ # @return [Types::DriftCheckBaselines]
14539
+ #
14540
+ # @!attribute [rw] domain
14541
+ # The machine learning domain of the model package you specified.
14542
+ # Common machine learning domains include computer vision and natural
14543
+ # language processing.
14544
+ # @return [String]
14545
+ #
14546
+ # @!attribute [rw] task
14547
+ # The machine learning task you specified that your model package
14548
+ # accomplishes. Common machine learning tasks include object detection
14549
+ # and image classification.
14550
+ # @return [String]
14551
+ #
14552
+ # @!attribute [rw] sample_payload_url
14553
+ # The Amazon Simple Storage Service (Amazon S3) path where the sample
14554
+ # payload are stored. This path points to a single gzip compressed tar
14555
+ # archive (.tar.gz suffix).
14556
+ # @return [String]
14557
+ #
14558
+ # @!attribute [rw] additional_inference_specifications
14559
+ # An array of additional Inference Specification objects. Each
14560
+ # additional Inference Specification specifies artifacts based on this
14561
+ # model package that can be used on inference endpoints. Generally
14562
+ # used with SageMaker Neo to store the compiled artifacts.
14563
+ # @return [Array<Types::AdditionalInferenceSpecificationDefinition>]
14564
+ #
13769
14565
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageOutput AWS API Documentation
13770
14566
  #
13771
14567
  class DescribeModelPackageOutput < Struct.new(
@@ -13788,7 +14584,12 @@ module Aws::SageMaker
13788
14584
  :last_modified_time,
13789
14585
  :last_modified_by,
13790
14586
  :approval_description,
13791
- :customer_metadata_properties)
14587
+ :customer_metadata_properties,
14588
+ :drift_check_baselines,
14589
+ :domain,
14590
+ :task,
14591
+ :sample_payload_url,
14592
+ :additional_inference_specifications)
13792
14593
  SENSITIVE = []
13793
14594
  include Aws::Structure
13794
14595
  end
@@ -14319,12 +15120,12 @@ module Aws::SageMaker
14319
15120
  #
14320
15121
  # @!attribute [rw] created_by
14321
15122
  # Information about the user who created or modified an experiment,
14322
- # trial, trial component, or project.
15123
+ # trial, trial component, lineage group, or project.
14323
15124
  # @return [Types::UserContext]
14324
15125
  #
14325
15126
  # @!attribute [rw] last_modified_by
14326
15127
  # Information about the user who created or modified an experiment,
14327
- # trial, trial component, or project.
15128
+ # trial, trial component, lineage group, or project.
14328
15129
  # @return [Types::UserContext]
14329
15130
  #
14330
15131
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecutionResponse AWS API Documentation
@@ -14406,12 +15207,12 @@ module Aws::SageMaker
14406
15207
  #
14407
15208
  # @!attribute [rw] created_by
14408
15209
  # Information about the user who created or modified an experiment,
14409
- # trial, trial component, or project.
15210
+ # trial, trial component, lineage group, or project.
14410
15211
  # @return [Types::UserContext]
14411
15212
  #
14412
15213
  # @!attribute [rw] last_modified_by
14413
15214
  # Information about the user who created or modified an experiment,
14414
- # trial, trial component, or project.
15215
+ # trial, trial component, lineage group, or project.
14415
15216
  # @return [Types::UserContext]
14416
15217
  #
14417
15218
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineResponse AWS API Documentation
@@ -14626,7 +15427,7 @@ module Aws::SageMaker
14626
15427
  #
14627
15428
  # @!attribute [rw] created_by
14628
15429
  # Information about the user who created or modified an experiment,
14629
- # trial, trial component, or project.
15430
+ # trial, trial component, lineage group, or project.
14630
15431
  # @return [Types::UserContext]
14631
15432
  #
14632
15433
  # @!attribute [rw] creation_time
@@ -14639,7 +15440,7 @@ module Aws::SageMaker
14639
15440
  #
14640
15441
  # @!attribute [rw] last_modified_by
14641
15442
  # Information about the user who created or modified an experiment,
14642
- # trial, trial component, or project.
15443
+ # trial, trial component, lineage group, or project.
14643
15444
  # @return [Types::UserContext]
14644
15445
  #
14645
15446
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProjectOutput AWS API Documentation
@@ -15303,7 +16104,7 @@ module Aws::SageMaker
15303
16104
  # data as a hash:
15304
16105
  #
15305
16106
  # {
15306
- # trial_component_name: "ExperimentEntityName", # required
16107
+ # trial_component_name: "ExperimentEntityNameOrArn", # required
15307
16108
  # }
15308
16109
  #
15309
16110
  # @!attribute [rw] trial_component_name
@@ -15391,6 +16192,10 @@ module Aws::SageMaker
15391
16192
  # The metrics for the component.
15392
16193
  # @return [Array<Types::TrialComponentMetricSummary>]
15393
16194
  #
16195
+ # @!attribute [rw] lineage_group_arn
16196
+ # The Amazon Resource Name (ARN) of the lineage group.
16197
+ # @return [String]
16198
+ #
15394
16199
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponentResponse AWS API Documentation
15395
16200
  #
15396
16201
  class DescribeTrialComponentResponse < Struct.new(
@@ -15409,7 +16214,8 @@ module Aws::SageMaker
15409
16214
  :input_artifacts,
15410
16215
  :output_artifacts,
15411
16216
  :metadata_properties,
15412
- :metrics)
16217
+ :metrics,
16218
+ :lineage_group_arn)
15413
16219
  SENSITIVE = []
15414
16220
  include Aws::Structure
15415
16221
  end
@@ -15990,6 +16796,274 @@ module Aws::SageMaker
15990
16796
  include Aws::Structure
15991
16797
  end
15992
16798
 
16799
+ # Represents the drift check baselines that can be used when the model
16800
+ # monitor is set using the model package.
16801
+ #
16802
+ # @note When making an API call, you may pass DriftCheckBaselines
16803
+ # data as a hash:
16804
+ #
16805
+ # {
16806
+ # bias: {
16807
+ # config_file: {
16808
+ # content_type: "ContentType",
16809
+ # content_digest: "ContentDigest",
16810
+ # s3_uri: "S3Uri", # required
16811
+ # },
16812
+ # pre_training_constraints: {
16813
+ # content_type: "ContentType", # required
16814
+ # content_digest: "ContentDigest",
16815
+ # s3_uri: "S3Uri", # required
16816
+ # },
16817
+ # post_training_constraints: {
16818
+ # content_type: "ContentType", # required
16819
+ # content_digest: "ContentDigest",
16820
+ # s3_uri: "S3Uri", # required
16821
+ # },
16822
+ # },
16823
+ # explainability: {
16824
+ # constraints: {
16825
+ # content_type: "ContentType", # required
16826
+ # content_digest: "ContentDigest",
16827
+ # s3_uri: "S3Uri", # required
16828
+ # },
16829
+ # config_file: {
16830
+ # content_type: "ContentType",
16831
+ # content_digest: "ContentDigest",
16832
+ # s3_uri: "S3Uri", # required
16833
+ # },
16834
+ # },
16835
+ # model_quality: {
16836
+ # statistics: {
16837
+ # content_type: "ContentType", # required
16838
+ # content_digest: "ContentDigest",
16839
+ # s3_uri: "S3Uri", # required
16840
+ # },
16841
+ # constraints: {
16842
+ # content_type: "ContentType", # required
16843
+ # content_digest: "ContentDigest",
16844
+ # s3_uri: "S3Uri", # required
16845
+ # },
16846
+ # },
16847
+ # model_data_quality: {
16848
+ # statistics: {
16849
+ # content_type: "ContentType", # required
16850
+ # content_digest: "ContentDigest",
16851
+ # s3_uri: "S3Uri", # required
16852
+ # },
16853
+ # constraints: {
16854
+ # content_type: "ContentType", # required
16855
+ # content_digest: "ContentDigest",
16856
+ # s3_uri: "S3Uri", # required
16857
+ # },
16858
+ # },
16859
+ # }
16860
+ #
16861
+ # @!attribute [rw] bias
16862
+ # Represents the drift check bias baselines that can be used when the
16863
+ # model monitor is set using the model package.
16864
+ # @return [Types::DriftCheckBias]
16865
+ #
16866
+ # @!attribute [rw] explainability
16867
+ # Represents the drift check explainability baselines that can be used
16868
+ # when the model monitor is set using the model package.
16869
+ # @return [Types::DriftCheckExplainability]
16870
+ #
16871
+ # @!attribute [rw] model_quality
16872
+ # Represents the drift check model quality baselines that can be used
16873
+ # when the model monitor is set using the model package.
16874
+ # @return [Types::DriftCheckModelQuality]
16875
+ #
16876
+ # @!attribute [rw] model_data_quality
16877
+ # Represents the drift check model data quality baselines that can be
16878
+ # used when the model monitor is set using the model package.
16879
+ # @return [Types::DriftCheckModelDataQuality]
16880
+ #
16881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DriftCheckBaselines AWS API Documentation
16882
+ #
16883
+ class DriftCheckBaselines < Struct.new(
16884
+ :bias,
16885
+ :explainability,
16886
+ :model_quality,
16887
+ :model_data_quality)
16888
+ SENSITIVE = []
16889
+ include Aws::Structure
16890
+ end
16891
+
16892
+ # Represents the drift check bias baselines that can be used when the
16893
+ # model monitor is set using the model package.
16894
+ #
16895
+ # @note When making an API call, you may pass DriftCheckBias
16896
+ # data as a hash:
16897
+ #
16898
+ # {
16899
+ # config_file: {
16900
+ # content_type: "ContentType",
16901
+ # content_digest: "ContentDigest",
16902
+ # s3_uri: "S3Uri", # required
16903
+ # },
16904
+ # pre_training_constraints: {
16905
+ # content_type: "ContentType", # required
16906
+ # content_digest: "ContentDigest",
16907
+ # s3_uri: "S3Uri", # required
16908
+ # },
16909
+ # post_training_constraints: {
16910
+ # content_type: "ContentType", # required
16911
+ # content_digest: "ContentDigest",
16912
+ # s3_uri: "S3Uri", # required
16913
+ # },
16914
+ # }
16915
+ #
16916
+ # @!attribute [rw] config_file
16917
+ # The bias config file for a model.
16918
+ # @return [Types::FileSource]
16919
+ #
16920
+ # @!attribute [rw] pre_training_constraints
16921
+ # @return [Types::MetricsSource]
16922
+ #
16923
+ # @!attribute [rw] post_training_constraints
16924
+ # @return [Types::MetricsSource]
16925
+ #
16926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DriftCheckBias AWS API Documentation
16927
+ #
16928
+ class DriftCheckBias < Struct.new(
16929
+ :config_file,
16930
+ :pre_training_constraints,
16931
+ :post_training_constraints)
16932
+ SENSITIVE = []
16933
+ include Aws::Structure
16934
+ end
16935
+
16936
+ # Represents the drift check explainability baselines that can be used
16937
+ # when the model monitor is set using the model package.
16938
+ #
16939
+ # @note When making an API call, you may pass DriftCheckExplainability
16940
+ # data as a hash:
16941
+ #
16942
+ # {
16943
+ # constraints: {
16944
+ # content_type: "ContentType", # required
16945
+ # content_digest: "ContentDigest",
16946
+ # s3_uri: "S3Uri", # required
16947
+ # },
16948
+ # config_file: {
16949
+ # content_type: "ContentType",
16950
+ # content_digest: "ContentDigest",
16951
+ # s3_uri: "S3Uri", # required
16952
+ # },
16953
+ # }
16954
+ #
16955
+ # @!attribute [rw] constraints
16956
+ # @return [Types::MetricsSource]
16957
+ #
16958
+ # @!attribute [rw] config_file
16959
+ # The explainability config file for the model.
16960
+ # @return [Types::FileSource]
16961
+ #
16962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DriftCheckExplainability AWS API Documentation
16963
+ #
16964
+ class DriftCheckExplainability < Struct.new(
16965
+ :constraints,
16966
+ :config_file)
16967
+ SENSITIVE = []
16968
+ include Aws::Structure
16969
+ end
16970
+
16971
+ # Represents the drift check data quality baselines that can be used
16972
+ # when the model monitor is set using the model package.
16973
+ #
16974
+ # @note When making an API call, you may pass DriftCheckModelDataQuality
16975
+ # data as a hash:
16976
+ #
16977
+ # {
16978
+ # statistics: {
16979
+ # content_type: "ContentType", # required
16980
+ # content_digest: "ContentDigest",
16981
+ # s3_uri: "S3Uri", # required
16982
+ # },
16983
+ # constraints: {
16984
+ # content_type: "ContentType", # required
16985
+ # content_digest: "ContentDigest",
16986
+ # s3_uri: "S3Uri", # required
16987
+ # },
16988
+ # }
16989
+ #
16990
+ # @!attribute [rw] statistics
16991
+ # @return [Types::MetricsSource]
16992
+ #
16993
+ # @!attribute [rw] constraints
16994
+ # @return [Types::MetricsSource]
16995
+ #
16996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DriftCheckModelDataQuality AWS API Documentation
16997
+ #
16998
+ class DriftCheckModelDataQuality < Struct.new(
16999
+ :statistics,
17000
+ :constraints)
17001
+ SENSITIVE = []
17002
+ include Aws::Structure
17003
+ end
17004
+
17005
+ # Represents the drift check model quality baselines that can be used
17006
+ # when the model monitor is set using the model package.
17007
+ #
17008
+ # @note When making an API call, you may pass DriftCheckModelQuality
17009
+ # data as a hash:
17010
+ #
17011
+ # {
17012
+ # statistics: {
17013
+ # content_type: "ContentType", # required
17014
+ # content_digest: "ContentDigest",
17015
+ # s3_uri: "S3Uri", # required
17016
+ # },
17017
+ # constraints: {
17018
+ # content_type: "ContentType", # required
17019
+ # content_digest: "ContentDigest",
17020
+ # s3_uri: "S3Uri", # required
17021
+ # },
17022
+ # }
17023
+ #
17024
+ # @!attribute [rw] statistics
17025
+ # @return [Types::MetricsSource]
17026
+ #
17027
+ # @!attribute [rw] constraints
17028
+ # @return [Types::MetricsSource]
17029
+ #
17030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DriftCheckModelQuality AWS API Documentation
17031
+ #
17032
+ class DriftCheckModelQuality < Struct.new(
17033
+ :statistics,
17034
+ :constraints)
17035
+ SENSITIVE = []
17036
+ include Aws::Structure
17037
+ end
17038
+
17039
+ # A directed edge connecting two lineage entities.
17040
+ #
17041
+ # @!attribute [rw] source_arn
17042
+ # The Amazon Resource Name (ARN) of the source lineage entity of the
17043
+ # directed edge.
17044
+ # @return [String]
17045
+ #
17046
+ # @!attribute [rw] destination_arn
17047
+ # The Amazon Resource Name (ARN) of the destination lineage entity of
17048
+ # the directed edge.
17049
+ # @return [String]
17050
+ #
17051
+ # @!attribute [rw] association_type
17052
+ # The type of the Association(Edge) between the source and
17053
+ # destination. For example `ContributedTo`, `Produced`, or
17054
+ # `DerivedFrom`.
17055
+ # @return [String]
17056
+ #
17057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Edge AWS API Documentation
17058
+ #
17059
+ class Edge < Struct.new(
17060
+ :source_arn,
17061
+ :destination_arn,
17062
+ :association_type)
17063
+ SENSITIVE = []
17064
+ include Aws::Structure
17065
+ end
17066
+
15993
17067
  # The model on the edge device.
15994
17068
  #
15995
17069
  # @!attribute [rw] model_name
@@ -16446,6 +17520,78 @@ module Aws::SageMaker
16446
17520
  include Aws::Structure
16447
17521
  end
16448
17522
 
17523
+ # The endpoint configuration for the load test.
17524
+ #
17525
+ # @note When making an API call, you may pass EndpointInputConfiguration
17526
+ # data as a hash:
17527
+ #
17528
+ # {
17529
+ # instance_type: "ml.t2.medium", # required, accepts 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
17530
+ # inference_specification_name: "InferenceSpecificationName",
17531
+ # environment_parameter_ranges: {
17532
+ # categorical_parameter_ranges: [
17533
+ # {
17534
+ # name: "String64", # required
17535
+ # value: ["String128"], # required
17536
+ # },
17537
+ # ],
17538
+ # },
17539
+ # }
17540
+ #
17541
+ # @!attribute [rw] instance_type
17542
+ # The instance types to use for the load test.
17543
+ # @return [String]
17544
+ #
17545
+ # @!attribute [rw] inference_specification_name
17546
+ # The inference specification name in the model package version.
17547
+ # @return [String]
17548
+ #
17549
+ # @!attribute [rw] environment_parameter_ranges
17550
+ # The parameter you want to benchmark against.
17551
+ # @return [Types::EnvironmentParameterRanges]
17552
+ #
17553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointInputConfiguration AWS API Documentation
17554
+ #
17555
+ class EndpointInputConfiguration < Struct.new(
17556
+ :instance_type,
17557
+ :inference_specification_name,
17558
+ :environment_parameter_ranges)
17559
+ SENSITIVE = []
17560
+ include Aws::Structure
17561
+ end
17562
+
17563
+ # The endpoint configuration made by Inference Recommender during a
17564
+ # recommendation job.
17565
+ #
17566
+ # @!attribute [rw] endpoint_name
17567
+ # The name of the endpoint made during a recommendation job.
17568
+ # @return [String]
17569
+ #
17570
+ # @!attribute [rw] variant_name
17571
+ # The name of the production variant (deployed model) made during a
17572
+ # recommendation job.
17573
+ # @return [String]
17574
+ #
17575
+ # @!attribute [rw] instance_type
17576
+ # The instance type recommended by Amazon SageMaker Inference
17577
+ # Recommender.
17578
+ # @return [String]
17579
+ #
17580
+ # @!attribute [rw] initial_instance_count
17581
+ # The number of instances recommended to launch initially.
17582
+ # @return [Integer]
17583
+ #
17584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointOutputConfiguration AWS API Documentation
17585
+ #
17586
+ class EndpointOutputConfiguration < Struct.new(
17587
+ :endpoint_name,
17588
+ :variant_name,
17589
+ :instance_type,
17590
+ :initial_instance_count)
17591
+ SENSITIVE = []
17592
+ include Aws::Structure
17593
+ end
17594
+
16449
17595
  # Provides summary information for an endpoint.
16450
17596
  #
16451
17597
  # @!attribute [rw] endpoint_name
@@ -16515,6 +17661,59 @@ module Aws::SageMaker
16515
17661
  include Aws::Structure
16516
17662
  end
16517
17663
 
17664
+ # A list of environment parameters suggested by the Amazon SageMaker
17665
+ # Inference Recommender.
17666
+ #
17667
+ # @!attribute [rw] key
17668
+ # The environment key suggested by the Amazon SageMaker Inference
17669
+ # Recommender.
17670
+ # @return [String]
17671
+ #
17672
+ # @!attribute [rw] value_type
17673
+ # The value type suggested by the Amazon SageMaker Inference
17674
+ # Recommender.
17675
+ # @return [String]
17676
+ #
17677
+ # @!attribute [rw] value
17678
+ # The value suggested by the Amazon SageMaker Inference Recommender.
17679
+ # @return [String]
17680
+ #
17681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnvironmentParameter AWS API Documentation
17682
+ #
17683
+ class EnvironmentParameter < Struct.new(
17684
+ :key,
17685
+ :value_type,
17686
+ :value)
17687
+ SENSITIVE = []
17688
+ include Aws::Structure
17689
+ end
17690
+
17691
+ # Specifies the range of environment parameters
17692
+ #
17693
+ # @note When making an API call, you may pass EnvironmentParameterRanges
17694
+ # data as a hash:
17695
+ #
17696
+ # {
17697
+ # categorical_parameter_ranges: [
17698
+ # {
17699
+ # name: "String64", # required
17700
+ # value: ["String128"], # required
17701
+ # },
17702
+ # ],
17703
+ # }
17704
+ #
17705
+ # @!attribute [rw] categorical_parameter_ranges
17706
+ # Specified a list of parameters for each category.
17707
+ # @return [Array<Types::CategoricalParameter>]
17708
+ #
17709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnvironmentParameterRanges AWS API Documentation
17710
+ #
17711
+ class EnvironmentParameterRanges < Struct.new(
17712
+ :categorical_parameter_ranges)
17713
+ SENSITIVE = []
17714
+ include Aws::Structure
17715
+ end
17716
+
16518
17717
  # The properties of an experiment as returned by the Search API.
16519
17718
  #
16520
17719
  # @!attribute [rw] experiment_name
@@ -16552,7 +17751,7 @@ module Aws::SageMaker
16552
17751
  #
16553
17752
  # @!attribute [rw] last_modified_by
16554
17753
  # Information about the user who created or modified an experiment,
16555
- # trial, trial component, or project.
17754
+ # trial, trial component, lineage group, or project.
16556
17755
  # @return [Types::UserContext]
16557
17756
  #
16558
17757
  # @!attribute [rw] tags
@@ -16890,6 +18089,39 @@ module Aws::SageMaker
16890
18089
  include Aws::Structure
16891
18090
  end
16892
18091
 
18092
+ # Contains details regarding the file source.
18093
+ #
18094
+ # @note When making an API call, you may pass FileSource
18095
+ # data as a hash:
18096
+ #
18097
+ # {
18098
+ # content_type: "ContentType",
18099
+ # content_digest: "ContentDigest",
18100
+ # s3_uri: "S3Uri", # required
18101
+ # }
18102
+ #
18103
+ # @!attribute [rw] content_type
18104
+ # The type of content stored in the file source.
18105
+ # @return [String]
18106
+ #
18107
+ # @!attribute [rw] content_digest
18108
+ # The digest of the file source.
18109
+ # @return [String]
18110
+ #
18111
+ # @!attribute [rw] s3_uri
18112
+ # The Amazon S3 URI for the file source.
18113
+ # @return [String]
18114
+ #
18115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/FileSource AWS API Documentation
18116
+ #
18117
+ class FileSource < Struct.new(
18118
+ :content_type,
18119
+ :content_digest,
18120
+ :s3_uri)
18121
+ SENSITIVE = []
18122
+ include Aws::Structure
18123
+ end
18124
+
16893
18125
  # The Amazon Elastic File System (EFS) storage configuration for a
16894
18126
  # SageMaker image.
16895
18127
  #
@@ -17325,6 +18557,43 @@ module Aws::SageMaker
17325
18557
  include Aws::Structure
17326
18558
  end
17327
18559
 
18560
+ # @note When making an API call, you may pass GetLineageGroupPolicyRequest
18561
+ # data as a hash:
18562
+ #
18563
+ # {
18564
+ # lineage_group_name: "LineageGroupNameOrArn", # required
18565
+ # }
18566
+ #
18567
+ # @!attribute [rw] lineage_group_name
18568
+ # The name or Amazon Resource Name (ARN) of the lineage group.
18569
+ # @return [String]
18570
+ #
18571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetLineageGroupPolicyRequest AWS API Documentation
18572
+ #
18573
+ class GetLineageGroupPolicyRequest < Struct.new(
18574
+ :lineage_group_name)
18575
+ SENSITIVE = []
18576
+ include Aws::Structure
18577
+ end
18578
+
18579
+ # @!attribute [rw] lineage_group_arn
18580
+ # The Amazon Resource Name (ARN) of the lineage group.
18581
+ # @return [String]
18582
+ #
18583
+ # @!attribute [rw] resource_policy
18584
+ # The resource policy that gives access to the lineage group in
18585
+ # another account.
18586
+ # @return [String]
18587
+ #
18588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetLineageGroupPolicyResponse AWS API Documentation
18589
+ #
18590
+ class GetLineageGroupPolicyResponse < Struct.new(
18591
+ :lineage_group_arn,
18592
+ :resource_policy)
18593
+ SENSITIVE = []
18594
+ include Aws::Structure
18595
+ end
18596
+
17328
18597
  # @note When making an API call, you may pass GetModelPackageGroupPolicyInput
17329
18598
  # data as a hash:
17330
18599
  #
@@ -18597,8 +19866,8 @@ module Aws::SageMaker
18597
19866
  # (28,800 seconds).
18598
19867
  #
18599
19868
  # * For [3D point cloud][4] and [video frame][5] labeling jobs, the
18600
- # maximum is 7 days (604,800 seconds). If you want to change these
18601
- # limits, contact Amazon Web Services Support.
19869
+ # maximum is 30 days (2952,000 seconds) for non-AL mode. For most
19870
+ # users, the maximum is also 30 days.
18602
19871
  #
18603
19872
  #
18604
19873
  #
@@ -18619,9 +19888,8 @@ module Aws::SageMaker
18619
19888
  # seconds).
18620
19889
  #
18621
19890
  # * If you choose a private or vendor workforce, the default value is
18622
- # 10 days (864,000 seconds). For most users, the maximum is also 10
18623
- # days. If you want to change this limit, contact Amazon Web
18624
- # Services Support.
19891
+ # 30 days (2592,000 seconds) for non-AL mode. For most users, the
19892
+ # maximum is also 30 days.
18625
19893
  # @return [Integer]
18626
19894
  #
18627
19895
  # @!attribute [rw] max_concurrent_task_count
@@ -19657,6 +20925,91 @@ module Aws::SageMaker
19657
20925
  include Aws::Structure
19658
20926
  end
19659
20927
 
20928
+ # A list of recommendations made by Amazon SageMaker Inference
20929
+ # Recommender.
20930
+ #
20931
+ # @!attribute [rw] metrics
20932
+ # The metrics used to decide what recommendation to make.
20933
+ # @return [Types::RecommendationMetrics]
20934
+ #
20935
+ # @!attribute [rw] endpoint_configuration
20936
+ # Defines the endpoint configuration parameters.
20937
+ # @return [Types::EndpointOutputConfiguration]
20938
+ #
20939
+ # @!attribute [rw] model_configuration
20940
+ # Defines the model configuration.
20941
+ # @return [Types::ModelConfiguration]
20942
+ #
20943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendation AWS API Documentation
20944
+ #
20945
+ class InferenceRecommendation < Struct.new(
20946
+ :metrics,
20947
+ :endpoint_configuration,
20948
+ :model_configuration)
20949
+ SENSITIVE = []
20950
+ include Aws::Structure
20951
+ end
20952
+
20953
+ # A structure that contains a list of recommendation jobs.
20954
+ #
20955
+ # @!attribute [rw] job_name
20956
+ # The name of the job.
20957
+ # @return [String]
20958
+ #
20959
+ # @!attribute [rw] job_description
20960
+ # The job description.
20961
+ # @return [String]
20962
+ #
20963
+ # @!attribute [rw] job_type
20964
+ # The recommendation job type.
20965
+ # @return [String]
20966
+ #
20967
+ # @!attribute [rw] job_arn
20968
+ # The Amazon Resource Name (ARN) of the recommendation job.
20969
+ # @return [String]
20970
+ #
20971
+ # @!attribute [rw] status
20972
+ # The status of the job.
20973
+ # @return [String]
20974
+ #
20975
+ # @!attribute [rw] creation_time
20976
+ # A timestamp that shows when the job was created.
20977
+ # @return [Time]
20978
+ #
20979
+ # @!attribute [rw] completion_time
20980
+ # A timestamp that shows when the job completed.
20981
+ # @return [Time]
20982
+ #
20983
+ # @!attribute [rw] role_arn
20984
+ # The Amazon Resource Name (ARN) of an IAM role that enables Amazon
20985
+ # SageMaker to perform tasks on your behalf.
20986
+ # @return [String]
20987
+ #
20988
+ # @!attribute [rw] last_modified_time
20989
+ # A timestamp that shows when the job was last modified.
20990
+ # @return [Time]
20991
+ #
20992
+ # @!attribute [rw] failure_reason
20993
+ # If the job fails, provides information why the job failed.
20994
+ # @return [String]
20995
+ #
20996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendationsJob AWS API Documentation
20997
+ #
20998
+ class InferenceRecommendationsJob < Struct.new(
20999
+ :job_name,
21000
+ :job_description,
21001
+ :job_type,
21002
+ :job_arn,
21003
+ :status,
21004
+ :creation_time,
21005
+ :completion_time,
21006
+ :role_arn,
21007
+ :last_modified_time,
21008
+ :failure_reason)
21009
+ SENSITIVE = []
21010
+ include Aws::Structure
21011
+ end
21012
+
19660
21013
  # Defines how to perform inference generation after a training job is
19661
21014
  # run.
19662
21015
  #
@@ -19674,6 +21027,12 @@ module Aws::SageMaker
19674
21027
  # environment: {
19675
21028
  # "EnvironmentKey" => "EnvironmentValue",
19676
21029
  # },
21030
+ # model_input: {
21031
+ # data_input_config: "DataInputConfig", # required
21032
+ # },
21033
+ # framework: "String",
21034
+ # framework_version: "FrameworkVersion",
21035
+ # nearest_model_name: "String",
19677
21036
  # },
19678
21037
  # ],
19679
21038
  # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
@@ -20795,6 +22154,41 @@ module Aws::SageMaker
20795
22154
  include Aws::Structure
20796
22155
  end
20797
22156
 
22157
+ # Lists a summary of the properties of a lineage group. A lineage group
22158
+ # provides a group of shareable lineage entity resources.
22159
+ #
22160
+ # @!attribute [rw] lineage_group_arn
22161
+ # The Amazon Resource Name (ARN) of the lineage group resource.
22162
+ # @return [String]
22163
+ #
22164
+ # @!attribute [rw] lineage_group_name
22165
+ # The name or Amazon Resource Name (ARN) of the lineage group.
22166
+ # @return [String]
22167
+ #
22168
+ # @!attribute [rw] display_name
22169
+ # The display name of the lineage group summary.
22170
+ # @return [String]
22171
+ #
22172
+ # @!attribute [rw] creation_time
22173
+ # The creation time of the lineage group summary.
22174
+ # @return [Time]
22175
+ #
22176
+ # @!attribute [rw] last_modified_time
22177
+ # The last modified time of the lineage group summary.
22178
+ # @return [Time]
22179
+ #
22180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LineageGroupSummary AWS API Documentation
22181
+ #
22182
+ class LineageGroupSummary < Struct.new(
22183
+ :lineage_group_arn,
22184
+ :lineage_group_name,
22185
+ :display_name,
22186
+ :creation_time,
22187
+ :last_modified_time)
22188
+ SENSITIVE = []
22189
+ include Aws::Structure
22190
+ end
22191
+
20798
22192
  # @note When making an API call, you may pass ListActionsRequest
20799
22193
  # data as a hash:
20800
22194
  #
@@ -22912,6 +24306,107 @@ module Aws::SageMaker
22912
24306
  include Aws::Structure
22913
24307
  end
22914
24308
 
24309
+ # @note When making an API call, you may pass ListInferenceRecommendationsJobsRequest
24310
+ # data as a hash:
24311
+ #
24312
+ # {
24313
+ # creation_time_after: Time.now,
24314
+ # creation_time_before: Time.now,
24315
+ # last_modified_time_after: Time.now,
24316
+ # last_modified_time_before: Time.now,
24317
+ # name_contains: "NameContains",
24318
+ # status_equals: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPING, STOPPED
24319
+ # sort_by: "Name", # accepts Name, CreationTime, Status
24320
+ # sort_order: "Ascending", # accepts Ascending, Descending
24321
+ # next_token: "NextToken",
24322
+ # max_results: 1,
24323
+ # }
24324
+ #
24325
+ # @!attribute [rw] creation_time_after
24326
+ # A filter that returns only jobs created after the specified time
24327
+ # (timestamp).
24328
+ # @return [Time]
24329
+ #
24330
+ # @!attribute [rw] creation_time_before
24331
+ # A filter that returns only jobs created before the specified time
24332
+ # (timestamp).
24333
+ # @return [Time]
24334
+ #
24335
+ # @!attribute [rw] last_modified_time_after
24336
+ # A filter that returns only jobs that were last modified after the
24337
+ # specified time (timestamp).
24338
+ # @return [Time]
24339
+ #
24340
+ # @!attribute [rw] last_modified_time_before
24341
+ # A filter that returns only jobs that were last modified before the
24342
+ # specified time (timestamp).
24343
+ # @return [Time]
24344
+ #
24345
+ # @!attribute [rw] name_contains
24346
+ # A string in the job name. This filter returns only recommendations
24347
+ # whose name contains the specified string.
24348
+ # @return [String]
24349
+ #
24350
+ # @!attribute [rw] status_equals
24351
+ # A filter that retrieves only inference recommendations jobs with a
24352
+ # specific status.
24353
+ # @return [String]
24354
+ #
24355
+ # @!attribute [rw] sort_by
24356
+ # The parameter by which to sort the results.
24357
+ # @return [String]
24358
+ #
24359
+ # @!attribute [rw] sort_order
24360
+ # The sort order for the results.
24361
+ # @return [String]
24362
+ #
24363
+ # @!attribute [rw] next_token
24364
+ # If the response to a previous
24365
+ # `ListInferenceRecommendationsJobsRequest` request was truncated, the
24366
+ # response includes a `NextToken`. To retrieve the next set of
24367
+ # recommendations, use the token in the next request.
24368
+ # @return [String]
24369
+ #
24370
+ # @!attribute [rw] max_results
24371
+ # The maximum number of recommendations to return in the response.
24372
+ # @return [Integer]
24373
+ #
24374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobsRequest AWS API Documentation
24375
+ #
24376
+ class ListInferenceRecommendationsJobsRequest < Struct.new(
24377
+ :creation_time_after,
24378
+ :creation_time_before,
24379
+ :last_modified_time_after,
24380
+ :last_modified_time_before,
24381
+ :name_contains,
24382
+ :status_equals,
24383
+ :sort_by,
24384
+ :sort_order,
24385
+ :next_token,
24386
+ :max_results)
24387
+ SENSITIVE = []
24388
+ include Aws::Structure
24389
+ end
24390
+
24391
+ # @!attribute [rw] inference_recommendations_jobs
24392
+ # The recommendations created from the Amazon SageMaker Inference
24393
+ # Recommender job.
24394
+ # @return [Array<Types::InferenceRecommendationsJob>]
24395
+ #
24396
+ # @!attribute [rw] next_token
24397
+ # A token for getting the next set of recommendations, if there are
24398
+ # any.
24399
+ # @return [String]
24400
+ #
24401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobsResponse AWS API Documentation
24402
+ #
24403
+ class ListInferenceRecommendationsJobsResponse < Struct.new(
24404
+ :inference_recommendations_jobs,
24405
+ :next_token)
24406
+ SENSITIVE = []
24407
+ include Aws::Structure
24408
+ end
24409
+
22915
24410
  # @note When making an API call, you may pass ListLabelingJobsForWorkteamRequest
22916
24411
  # data as a hash:
22917
24412
  #
@@ -23101,6 +24596,80 @@ module Aws::SageMaker
23101
24596
  include Aws::Structure
23102
24597
  end
23103
24598
 
24599
+ # @note When making an API call, you may pass ListLineageGroupsRequest
24600
+ # data as a hash:
24601
+ #
24602
+ # {
24603
+ # created_after: Time.now,
24604
+ # created_before: Time.now,
24605
+ # sort_by: "Name", # accepts Name, CreationTime
24606
+ # sort_order: "Ascending", # accepts Ascending, Descending
24607
+ # next_token: "NextToken",
24608
+ # max_results: 1,
24609
+ # }
24610
+ #
24611
+ # @!attribute [rw] created_after
24612
+ # A timestamp to filter against lineage groups created after a certain
24613
+ # point in time.
24614
+ # @return [Time]
24615
+ #
24616
+ # @!attribute [rw] created_before
24617
+ # A timestamp to filter against lineage groups created before a
24618
+ # certain point in time.
24619
+ # @return [Time]
24620
+ #
24621
+ # @!attribute [rw] sort_by
24622
+ # The parameter by which to sort the results. The default is
24623
+ # `CreationTime`.
24624
+ # @return [String]
24625
+ #
24626
+ # @!attribute [rw] sort_order
24627
+ # The sort order for the results. The default is `Ascending`.
24628
+ # @return [String]
24629
+ #
24630
+ # @!attribute [rw] next_token
24631
+ # If the response is truncated, SageMaker returns this token. To
24632
+ # retrieve the next set of algorithms, use it in the subsequent
24633
+ # request.
24634
+ # @return [String]
24635
+ #
24636
+ # @!attribute [rw] max_results
24637
+ # The maximum number of endpoints to return in the response. This
24638
+ # value defaults to 10.
24639
+ # @return [Integer]
24640
+ #
24641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLineageGroupsRequest AWS API Documentation
24642
+ #
24643
+ class ListLineageGroupsRequest < Struct.new(
24644
+ :created_after,
24645
+ :created_before,
24646
+ :sort_by,
24647
+ :sort_order,
24648
+ :next_token,
24649
+ :max_results)
24650
+ SENSITIVE = []
24651
+ include Aws::Structure
24652
+ end
24653
+
24654
+ # @!attribute [rw] lineage_group_summaries
24655
+ # A list of lineage groups and their properties.
24656
+ # @return [Array<Types::LineageGroupSummary>]
24657
+ #
24658
+ # @!attribute [rw] next_token
24659
+ # If the response is truncated, SageMaker returns this token. To
24660
+ # retrieve the next set of algorithms, use it in the subsequent
24661
+ # request.
24662
+ # @return [String]
24663
+ #
24664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLineageGroupsResponse AWS API Documentation
24665
+ #
24666
+ class ListLineageGroupsResponse < Struct.new(
24667
+ :lineage_group_summaries,
24668
+ :next_token)
24669
+ SENSITIVE = []
24670
+ include Aws::Structure
24671
+ end
24672
+
23104
24673
  # @note When making an API call, you may pass ListModelBiasJobDefinitionsRequest
23105
24674
  # data as a hash:
23106
24675
  #
@@ -23274,6 +24843,68 @@ module Aws::SageMaker
23274
24843
  include Aws::Structure
23275
24844
  end
23276
24845
 
24846
+ # @note When making an API call, you may pass ListModelMetadataRequest
24847
+ # data as a hash:
24848
+ #
24849
+ # {
24850
+ # search_expression: {
24851
+ # filters: [
24852
+ # {
24853
+ # name: "Domain", # required, accepts Domain, Framework, Task, FrameworkVersion
24854
+ # value: "String256", # required
24855
+ # },
24856
+ # ],
24857
+ # },
24858
+ # next_token: "NextToken",
24859
+ # max_results: 1,
24860
+ # }
24861
+ #
24862
+ # @!attribute [rw] search_expression
24863
+ # One or more filters that searches for the specified resource or
24864
+ # resources in a search. All resource objects that satisfy the
24865
+ # expression's condition are included in the search results. Specify
24866
+ # the Framework, FrameworkVersion, Domain or Task to filter supported.
24867
+ # Filter names and values are case-sensitive.
24868
+ # @return [Types::ModelMetadataSearchExpression]
24869
+ #
24870
+ # @!attribute [rw] next_token
24871
+ # If the response to a previous `ListModelMetadataResponse` request
24872
+ # was truncated, the response includes a NextToken. To retrieve the
24873
+ # next set of model metadata, use the token in the next request.
24874
+ # @return [String]
24875
+ #
24876
+ # @!attribute [rw] max_results
24877
+ # The maximum number of models to return in the response.
24878
+ # @return [Integer]
24879
+ #
24880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelMetadataRequest AWS API Documentation
24881
+ #
24882
+ class ListModelMetadataRequest < Struct.new(
24883
+ :search_expression,
24884
+ :next_token,
24885
+ :max_results)
24886
+ SENSITIVE = []
24887
+ include Aws::Structure
24888
+ end
24889
+
24890
+ # @!attribute [rw] model_metadata_summaries
24891
+ # A structure that holds model metadata.
24892
+ # @return [Array<Types::ModelMetadataSummary>]
24893
+ #
24894
+ # @!attribute [rw] next_token
24895
+ # A token for getting the next set of recommendations, if there are
24896
+ # any.
24897
+ # @return [String]
24898
+ #
24899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelMetadataResponse AWS API Documentation
24900
+ #
24901
+ class ListModelMetadataResponse < Struct.new(
24902
+ :model_metadata_summaries,
24903
+ :next_token)
24904
+ SENSITIVE = []
24905
+ include Aws::Structure
24906
+ end
24907
+
23277
24908
  # @note When making an API call, you may pass ListModelPackageGroupsInput
23278
24909
  # data as a hash:
23279
24910
  #
@@ -25782,6 +27413,27 @@ module Aws::SageMaker
25782
27413
  include Aws::Structure
25783
27414
  end
25784
27415
 
27416
+ # Defines the model configuration. Includes the specification name and
27417
+ # environment parameters.
27418
+ #
27419
+ # @!attribute [rw] inference_specification_name
27420
+ # The inference specification name in the model package version.
27421
+ # @return [String]
27422
+ #
27423
+ # @!attribute [rw] environment_parameters
27424
+ # Defines the environment parameters that includes key, value types,
27425
+ # and values.
27426
+ # @return [Array<Types::EnvironmentParameter>]
27427
+ #
27428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelConfiguration AWS API Documentation
27429
+ #
27430
+ class ModelConfiguration < Struct.new(
27431
+ :inference_specification_name,
27432
+ :environment_parameters)
27433
+ SENSITIVE = []
27434
+ include Aws::Structure
27435
+ end
27436
+
25785
27437
  # Data quality constraints and statistics for a model.
25786
27438
  #
25787
27439
  # @note When making an API call, you may pass ModelDataQuality
@@ -25996,6 +27648,144 @@ module Aws::SageMaker
25996
27648
  include Aws::Structure
25997
27649
  end
25998
27650
 
27651
+ # Input object for the model.
27652
+ #
27653
+ # @note When making an API call, you may pass ModelInput
27654
+ # data as a hash:
27655
+ #
27656
+ # {
27657
+ # data_input_config: "DataInputConfig", # required
27658
+ # }
27659
+ #
27660
+ # @!attribute [rw] data_input_config
27661
+ # The input configuration object for the model.
27662
+ # @return [String]
27663
+ #
27664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelInput AWS API Documentation
27665
+ #
27666
+ class ModelInput < Struct.new(
27667
+ :data_input_config)
27668
+ SENSITIVE = []
27669
+ include Aws::Structure
27670
+ end
27671
+
27672
+ # The model latency threshold.
27673
+ #
27674
+ # @note When making an API call, you may pass ModelLatencyThreshold
27675
+ # data as a hash:
27676
+ #
27677
+ # {
27678
+ # percentile: "String64",
27679
+ # value_in_milliseconds: 1,
27680
+ # }
27681
+ #
27682
+ # @!attribute [rw] percentile
27683
+ # The model latency percentile threshold.
27684
+ # @return [String]
27685
+ #
27686
+ # @!attribute [rw] value_in_milliseconds
27687
+ # The model latency percentile value in milliseconds.
27688
+ # @return [Integer]
27689
+ #
27690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelLatencyThreshold AWS API Documentation
27691
+ #
27692
+ class ModelLatencyThreshold < Struct.new(
27693
+ :percentile,
27694
+ :value_in_milliseconds)
27695
+ SENSITIVE = []
27696
+ include Aws::Structure
27697
+ end
27698
+
27699
+ # Part of the search expression. You can specify the name and value
27700
+ # (domain, task, framework, framework version, task, and model).
27701
+ #
27702
+ # @note When making an API call, you may pass ModelMetadataFilter
27703
+ # data as a hash:
27704
+ #
27705
+ # {
27706
+ # name: "Domain", # required, accepts Domain, Framework, Task, FrameworkVersion
27707
+ # value: "String256", # required
27708
+ # }
27709
+ #
27710
+ # @!attribute [rw] name
27711
+ # The name of the of the model to filter by.
27712
+ # @return [String]
27713
+ #
27714
+ # @!attribute [rw] value
27715
+ # The value to filter the model metadata.
27716
+ # @return [String]
27717
+ #
27718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelMetadataFilter AWS API Documentation
27719
+ #
27720
+ class ModelMetadataFilter < Struct.new(
27721
+ :name,
27722
+ :value)
27723
+ SENSITIVE = []
27724
+ include Aws::Structure
27725
+ end
27726
+
27727
+ # One or more filters that searches for the specified resource or
27728
+ # resources in a search. All resource objects that satisfy the
27729
+ # expression's condition are included in the search results
27730
+ #
27731
+ # @note When making an API call, you may pass ModelMetadataSearchExpression
27732
+ # data as a hash:
27733
+ #
27734
+ # {
27735
+ # filters: [
27736
+ # {
27737
+ # name: "Domain", # required, accepts Domain, Framework, Task, FrameworkVersion
27738
+ # value: "String256", # required
27739
+ # },
27740
+ # ],
27741
+ # }
27742
+ #
27743
+ # @!attribute [rw] filters
27744
+ # A list of filter objects.
27745
+ # @return [Array<Types::ModelMetadataFilter>]
27746
+ #
27747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelMetadataSearchExpression AWS API Documentation
27748
+ #
27749
+ class ModelMetadataSearchExpression < Struct.new(
27750
+ :filters)
27751
+ SENSITIVE = []
27752
+ include Aws::Structure
27753
+ end
27754
+
27755
+ # A summary of the model metadata.
27756
+ #
27757
+ # @!attribute [rw] domain
27758
+ # The machine learning domain of the model.
27759
+ # @return [String]
27760
+ #
27761
+ # @!attribute [rw] framework
27762
+ # The machine learning framework of the model.
27763
+ # @return [String]
27764
+ #
27765
+ # @!attribute [rw] task
27766
+ # The machine learning task of the model.
27767
+ # @return [String]
27768
+ #
27769
+ # @!attribute [rw] model
27770
+ # The name of the model.
27771
+ # @return [String]
27772
+ #
27773
+ # @!attribute [rw] framework_version
27774
+ # The framework version of the model.
27775
+ # @return [String]
27776
+ #
27777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelMetadataSummary AWS API Documentation
27778
+ #
27779
+ class ModelMetadataSummary < Struct.new(
27780
+ :domain,
27781
+ :framework,
27782
+ :task,
27783
+ :model,
27784
+ :framework_version)
27785
+ SENSITIVE = []
27786
+ include Aws::Structure
27787
+ end
27788
+
25999
27789
  # Contains metrics captured from a model.
26000
27790
  #
26001
27791
  # @note When making an API call, you may pass ModelMetrics
@@ -26032,6 +27822,16 @@ module Aws::SageMaker
26032
27822
  # content_digest: "ContentDigest",
26033
27823
  # s3_uri: "S3Uri", # required
26034
27824
  # },
27825
+ # pre_training_report: {
27826
+ # content_type: "ContentType", # required
27827
+ # content_digest: "ContentDigest",
27828
+ # s3_uri: "S3Uri", # required
27829
+ # },
27830
+ # post_training_report: {
27831
+ # content_type: "ContentType", # required
27832
+ # content_digest: "ContentDigest",
27833
+ # s3_uri: "S3Uri", # required
27834
+ # },
26035
27835
  # },
26036
27836
  # explainability: {
26037
27837
  # report: {
@@ -26155,7 +27955,7 @@ module Aws::SageMaker
26155
27955
  #
26156
27956
  # @!attribute [rw] created_by
26157
27957
  # Information about the user who created or modified an experiment,
26158
- # trial, trial component, or project.
27958
+ # trial, trial component, lineage group, or project.
26159
27959
  # @return [Types::UserContext]
26160
27960
  #
26161
27961
  # @!attribute [rw] metadata_properties
@@ -26173,13 +27973,35 @@ module Aws::SageMaker
26173
27973
  #
26174
27974
  # @!attribute [rw] last_modified_by
26175
27975
  # Information about the user who created or modified an experiment,
26176
- # trial, trial component, or project.
27976
+ # trial, trial component, lineage group, or project.
26177
27977
  # @return [Types::UserContext]
26178
27978
  #
26179
27979
  # @!attribute [rw] approval_description
26180
27980
  # A description provided when the model approval is set.
26181
27981
  # @return [String]
26182
27982
  #
27983
+ # @!attribute [rw] domain
27984
+ # The machine learning domain of your model package and its
27985
+ # components. Common machine learning domains include computer vision
27986
+ # and natural language processing.
27987
+ # @return [String]
27988
+ #
27989
+ # @!attribute [rw] task
27990
+ # The machine learning task your model package accomplishes. Common
27991
+ # machine learning tasks include object detection and image
27992
+ # classification.
27993
+ # @return [String]
27994
+ #
27995
+ # @!attribute [rw] sample_payload_url
27996
+ # The Amazon Simple Storage Service path where the sample payload are
27997
+ # stored. This path must point to a single gzip compressed tar archive
27998
+ # (.tar.gz suffix).
27999
+ # @return [String]
28000
+ #
28001
+ # @!attribute [rw] additional_inference_specifications
28002
+ # An array of additional Inference Specification objects.
28003
+ # @return [Array<Types::AdditionalInferenceSpecificationDefinition>]
28004
+ #
26183
28005
  # @!attribute [rw] tags
26184
28006
  # A list of the tags associated with the model package. For more
26185
28007
  # information, see [Tagging Amazon Web Services resources][1] in the
@@ -26194,6 +28016,11 @@ module Aws::SageMaker
26194
28016
  # The metadata properties for the model package.
26195
28017
  # @return [Hash<String,String>]
26196
28018
  #
28019
+ # @!attribute [rw] drift_check_baselines
28020
+ # Represents the drift check baselines that can be used when the model
28021
+ # monitor is set using the model package.
28022
+ # @return [Types::DriftCheckBaselines]
28023
+ #
26197
28024
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackage AWS API Documentation
26198
28025
  #
26199
28026
  class ModelPackage < Struct.new(
@@ -26216,8 +28043,13 @@ module Aws::SageMaker
26216
28043
  :last_modified_time,
26217
28044
  :last_modified_by,
26218
28045
  :approval_description,
28046
+ :domain,
28047
+ :task,
28048
+ :sample_payload_url,
28049
+ :additional_inference_specifications,
26219
28050
  :tags,
26220
- :customer_metadata_properties)
28051
+ :customer_metadata_properties,
28052
+ :drift_check_baselines)
26221
28053
  SENSITIVE = []
26222
28054
  include Aws::Structure
26223
28055
  end
@@ -26236,6 +28068,12 @@ module Aws::SageMaker
26236
28068
  # environment: {
26237
28069
  # "EnvironmentKey" => "EnvironmentValue",
26238
28070
  # },
28071
+ # model_input: {
28072
+ # data_input_config: "DataInputConfig", # required
28073
+ # },
28074
+ # framework: "String",
28075
+ # framework_version: "FrameworkVersion",
28076
+ # nearest_model_name: "String",
26239
28077
  # }
26240
28078
  #
26241
28079
  # @!attribute [rw] container_hostname
@@ -26284,6 +28122,25 @@ module Aws::SageMaker
26284
28122
  # of up to 1024. We support up to 16 entries in the map.
26285
28123
  # @return [Hash<String,String>]
26286
28124
  #
28125
+ # @!attribute [rw] model_input
28126
+ # A structure with Model Input details.
28127
+ # @return [Types::ModelInput]
28128
+ #
28129
+ # @!attribute [rw] framework
28130
+ # The machine learning framework of the model package container image.
28131
+ # @return [String]
28132
+ #
28133
+ # @!attribute [rw] framework_version
28134
+ # The framework version of the Model Package Container Image.
28135
+ # @return [String]
28136
+ #
28137
+ # @!attribute [rw] nearest_model_name
28138
+ # The name of a pre-trained machine learning benchmarked by Amazon
28139
+ # SageMaker Inference Recommender model that matches your model. You
28140
+ # can find a list of benchmarked models by calling
28141
+ # `ListModelMetadata`.
28142
+ # @return [String]
28143
+ #
26287
28144
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackageContainerDefinition AWS API Documentation
26288
28145
  #
26289
28146
  class ModelPackageContainerDefinition < Struct.new(
@@ -26292,7 +28149,11 @@ module Aws::SageMaker
26292
28149
  :image_digest,
26293
28150
  :model_data_url,
26294
28151
  :product_id,
26295
- :environment)
28152
+ :environment,
28153
+ :model_input,
28154
+ :framework,
28155
+ :framework_version,
28156
+ :nearest_model_name)
26296
28157
  SENSITIVE = []
26297
28158
  include Aws::Structure
26298
28159
  end
@@ -26317,7 +28178,7 @@ module Aws::SageMaker
26317
28178
  #
26318
28179
  # @!attribute [rw] created_by
26319
28180
  # Information about the user who created or modified an experiment,
26320
- # trial, trial component, or project.
28181
+ # trial, trial component, lineage group, or project.
26321
28182
  # @return [Types::UserContext]
26322
28183
  #
26323
28184
  # @!attribute [rw] model_package_group_status
@@ -28458,7 +30319,7 @@ module Aws::SageMaker
28458
30319
  #
28459
30320
  # {
28460
30321
  # s3_output_location: "S3Uri", # required
28461
- # target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm, imx8mplus
30322
+ # target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv2, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm, imx8mplus
28462
30323
  # target_platform: {
28463
30324
  # os: "ANDROID", # required, accepts ANDROID, LINUX
28464
30325
  # arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
@@ -28949,6 +30810,158 @@ module Aws::SageMaker
28949
30810
  include Aws::Structure
28950
30811
  end
28951
30812
 
30813
+ # The summary of an in-progress deployment when an endpoint is creating
30814
+ # or updating with a new endpoint configuration.
30815
+ #
30816
+ # @!attribute [rw] endpoint_config_name
30817
+ # The name of the endpoint configuration used in the deployment.
30818
+ # @return [String]
30819
+ #
30820
+ # @!attribute [rw] production_variants
30821
+ # List of `PendingProductionVariantSummary` objects.
30822
+ # @return [Array<Types::PendingProductionVariantSummary>]
30823
+ #
30824
+ # @!attribute [rw] start_time
30825
+ # The start time of the deployment.
30826
+ # @return [Time]
30827
+ #
30828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PendingDeploymentSummary AWS API Documentation
30829
+ #
30830
+ class PendingDeploymentSummary < Struct.new(
30831
+ :endpoint_config_name,
30832
+ :production_variants,
30833
+ :start_time)
30834
+ SENSITIVE = []
30835
+ include Aws::Structure
30836
+ end
30837
+
30838
+ # The production variant summary for a deployment when an endpoint is
30839
+ # creating or updating with the ` CreateEndpoint ` or ` UpdateEndpoint `
30840
+ # operations. Describes the `VariantStatus `, weight and capacity for a
30841
+ # production variant associated with an endpoint.
30842
+ #
30843
+ # @!attribute [rw] variant_name
30844
+ # The name of the variant.
30845
+ # @return [String]
30846
+ #
30847
+ # @!attribute [rw] deployed_images
30848
+ # An array of `DeployedImage` objects that specify the Amazon EC2
30849
+ # Container Registry paths of the inference images deployed on
30850
+ # instances of this `ProductionVariant`.
30851
+ # @return [Array<Types::DeployedImage>]
30852
+ #
30853
+ # @!attribute [rw] current_weight
30854
+ # The weight associated with the variant.
30855
+ # @return [Float]
30856
+ #
30857
+ # @!attribute [rw] desired_weight
30858
+ # The requested weight for the variant in this deployment, as
30859
+ # specified in the endpoint configuration for the endpoint. The value
30860
+ # is taken from the request to the ` CreateEndpointConfig ` operation.
30861
+ # @return [Float]
30862
+ #
30863
+ # @!attribute [rw] current_instance_count
30864
+ # The number of instances associated with the variant.
30865
+ # @return [Integer]
30866
+ #
30867
+ # @!attribute [rw] desired_instance_count
30868
+ # The number of instances requested in this deployment, as specified
30869
+ # in the endpoint configuration for the endpoint. The value is taken
30870
+ # from the request to the ` CreateEndpointConfig ` operation.
30871
+ # @return [Integer]
30872
+ #
30873
+ # @!attribute [rw] instance_type
30874
+ # The type of instances associated with the variant.
30875
+ # @return [String]
30876
+ #
30877
+ # @!attribute [rw] accelerator_type
30878
+ # The size of the Elastic Inference (EI) instance to use for the
30879
+ # production variant. EI instances provide on-demand GPU computing for
30880
+ # inference. For more information, see [Using Elastic Inference in
30881
+ # Amazon SageMaker][1].
30882
+ #
30883
+ #
30884
+ #
30885
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
30886
+ # @return [String]
30887
+ #
30888
+ # @!attribute [rw] variant_status
30889
+ # The endpoint variant status which describes the current deployment
30890
+ # stage status or operational status.
30891
+ # @return [Array<Types::ProductionVariantStatus>]
30892
+ #
30893
+ # @!attribute [rw] current_serverless_config
30894
+ # The serverless configuration for the endpoint.
30895
+ #
30896
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
30897
+ # is subject to change. We do not recommend using this feature in
30898
+ # production environments.
30899
+ #
30900
+ # </note>
30901
+ # @return [Types::ProductionVariantServerlessConfig]
30902
+ #
30903
+ # @!attribute [rw] desired_serverless_config
30904
+ # The serverless configuration requested for this deployment, as
30905
+ # specified in the endpoint configuration for the endpoint.
30906
+ #
30907
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
30908
+ # is subject to change. We do not recommend using this feature in
30909
+ # production environments.
30910
+ #
30911
+ # </note>
30912
+ # @return [Types::ProductionVariantServerlessConfig]
30913
+ #
30914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PendingProductionVariantSummary AWS API Documentation
30915
+ #
30916
+ class PendingProductionVariantSummary < Struct.new(
30917
+ :variant_name,
30918
+ :deployed_images,
30919
+ :current_weight,
30920
+ :desired_weight,
30921
+ :current_instance_count,
30922
+ :desired_instance_count,
30923
+ :instance_type,
30924
+ :accelerator_type,
30925
+ :variant_status,
30926
+ :current_serverless_config,
30927
+ :desired_serverless_config)
30928
+ SENSITIVE = []
30929
+ include Aws::Structure
30930
+ end
30931
+
30932
+ # Defines the traffic pattern.
30933
+ #
30934
+ # @note When making an API call, you may pass Phase
30935
+ # data as a hash:
30936
+ #
30937
+ # {
30938
+ # initial_number_of_users: 1,
30939
+ # spawn_rate: 1,
30940
+ # duration_in_seconds: 1,
30941
+ # }
30942
+ #
30943
+ # @!attribute [rw] initial_number_of_users
30944
+ # Specifies how many concurrent users to start with.
30945
+ # @return [Integer]
30946
+ #
30947
+ # @!attribute [rw] spawn_rate
30948
+ # Specified how many new users to spawn in a minute.
30949
+ # @return [Integer]
30950
+ #
30951
+ # @!attribute [rw] duration_in_seconds
30952
+ # Specifies how long traffic phase should be.
30953
+ # @return [Integer]
30954
+ #
30955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Phase AWS API Documentation
30956
+ #
30957
+ class Phase < Struct.new(
30958
+ :initial_number_of_users,
30959
+ :spawn_rate,
30960
+ :duration_in_seconds)
30961
+ SENSITIVE = []
30962
+ include Aws::Structure
30963
+ end
30964
+
28952
30965
  # A SageMaker Model Building Pipeline instance.
28953
30966
  #
28954
30967
  # @!attribute [rw] pipeline_arn
@@ -28990,12 +31003,12 @@ module Aws::SageMaker
28990
31003
  #
28991
31004
  # @!attribute [rw] created_by
28992
31005
  # Information about the user who created or modified an experiment,
28993
- # trial, trial component, or project.
31006
+ # trial, trial component, lineage group, or project.
28994
31007
  # @return [Types::UserContext]
28995
31008
  #
28996
31009
  # @!attribute [rw] last_modified_by
28997
31010
  # Information about the user who created or modified an experiment,
28998
- # trial, trial component, or project.
31011
+ # trial, trial component, lineage group, or project.
28999
31012
  # @return [Types::UserContext]
29000
31013
  #
29001
31014
  # @!attribute [rw] tags
@@ -29062,12 +31075,12 @@ module Aws::SageMaker
29062
31075
  #
29063
31076
  # @!attribute [rw] created_by
29064
31077
  # Information about the user who created or modified an experiment,
29065
- # trial, trial component, or project.
31078
+ # trial, trial component, lineage group, or project.
29066
31079
  # @return [Types::UserContext]
29067
31080
  #
29068
31081
  # @!attribute [rw] last_modified_by
29069
31082
  # Information about the user who created or modified an experiment,
29070
- # trial, trial component, or project.
31083
+ # trial, trial component, lineage group, or project.
29071
31084
  # @return [Types::UserContext]
29072
31085
  #
29073
31086
  # @!attribute [rw] pipeline_parameters
@@ -29116,6 +31129,9 @@ module Aws::SageMaker
29116
31129
  # hit.
29117
31130
  # @return [Types::CacheHitResult]
29118
31131
  #
31132
+ # @!attribute [rw] attempt_count
31133
+ # @return [Integer]
31134
+ #
29119
31135
  # @!attribute [rw] failure_reason
29120
31136
  # The reason why the step failed execution. This is only returned if
29121
31137
  # the step failed its execution.
@@ -29133,6 +31149,7 @@ module Aws::SageMaker
29133
31149
  :end_time,
29134
31150
  :step_status,
29135
31151
  :cache_hit_result,
31152
+ :attempt_count,
29136
31153
  :failure_reason,
29137
31154
  :metadata)
29138
31155
  SENSITIVE = []
@@ -29186,6 +31203,57 @@ module Aws::SageMaker
29186
31203
  # by this step execution and a list of output parameters.
29187
31204
  # @return [Types::LambdaStepMetadata]
29188
31205
  #
31206
+ # @!attribute [rw] quality_check
31207
+ # The configurations and outcomes of the check step execution. This
31208
+ # includes:
31209
+ #
31210
+ # * The type of the check conducted,
31211
+ #
31212
+ # * The Amazon S3 URIs of baseline constraints and statistics files to
31213
+ # be used for the drift check.
31214
+ #
31215
+ # * The Amazon S3 URIs of newly calculated baseline constraints and
31216
+ # statistics.
31217
+ #
31218
+ # * The model package group name provided.
31219
+ #
31220
+ # * The Amazon S3 URI of the violation report if violations detected.
31221
+ #
31222
+ # * The Amazon Resource Name (ARN) of check processing job initiated
31223
+ # by the step execution.
31224
+ #
31225
+ # * The boolean flags indicating if the drift check is skipped.
31226
+ #
31227
+ # * If step property `BaselineUsedForDriftCheck` is set the same as
31228
+ # `CalculatedBaseline`.
31229
+ # @return [Types::QualityCheckStepMetadata]
31230
+ #
31231
+ # @!attribute [rw] clarify_check
31232
+ # Container for the metadata for a Clarify check step. The
31233
+ # configurations and outcomes of the check step execution. This
31234
+ # includes:
31235
+ #
31236
+ # * The type of the check conducted,
31237
+ #
31238
+ # * The Amazon S3 URIs of baseline constraints and statistics files to
31239
+ # be used for the drift check.
31240
+ #
31241
+ # * The Amazon S3 URIs of newly calculated baseline constraints and
31242
+ # statistics.
31243
+ #
31244
+ # * The model package group name provided.
31245
+ #
31246
+ # * The Amazon S3 URI of the violation report if violations detected.
31247
+ #
31248
+ # * The Amazon Resource Name (ARN) of check processing job initiated
31249
+ # by the step execution.
31250
+ #
31251
+ # * The boolean flags indicating if the drift check is skipped.
31252
+ #
31253
+ # * If step property `BaselineUsedForDriftCheck` is set the same as
31254
+ # `CalculatedBaseline`.
31255
+ # @return [Types::ClarifyCheckStepMetadata]
31256
+ #
29189
31257
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecutionStepMetadata AWS API Documentation
29190
31258
  #
29191
31259
  class PipelineExecutionStepMetadata < Struct.new(
@@ -29197,7 +31265,9 @@ module Aws::SageMaker
29197
31265
  :register_model,
29198
31266
  :condition,
29199
31267
  :callback,
29200
- :lambda)
31268
+ :lambda,
31269
+ :quality_check,
31270
+ :clarify_check)
29201
31271
  SENSITIVE = []
29202
31272
  include Aws::Structure
29203
31273
  end
@@ -29972,14 +32042,18 @@ module Aws::SageMaker
29972
32042
  # {
29973
32043
  # variant_name: "VariantName", # required
29974
32044
  # model_name: "ModelName", # required
29975
- # initial_instance_count: 1, # required
29976
- # instance_type: "ml.t2.medium", # required, accepts 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
32045
+ # initial_instance_count: 1,
32046
+ # instance_type: "ml.t2.medium", # accepts 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
29977
32047
  # initial_variant_weight: 1.0,
29978
32048
  # accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
29979
32049
  # core_dump_config: {
29980
32050
  # destination_s3_uri: "DestinationS3Uri", # required
29981
32051
  # kms_key_id: "KmsKeyId",
29982
32052
  # },
32053
+ # serverless_config: {
32054
+ # memory_size_in_mb: 1, # required
32055
+ # max_concurrency: 1, # required
32056
+ # },
29983
32057
  # }
29984
32058
  #
29985
32059
  # @!attribute [rw] variant_name
@@ -30023,6 +32097,18 @@ module Aws::SageMaker
30023
32097
  # when the process crashes.
30024
32098
  # @return [Types::ProductionVariantCoreDumpConfig]
30025
32099
  #
32100
+ # @!attribute [rw] serverless_config
32101
+ # The serverless configuration for an endpoint. Specifies a serverless
32102
+ # endpoint configuration instead of an instance-based endpoint
32103
+ # configuration.
32104
+ #
32105
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32106
+ # is subject to change. We do not recommend using this feature in
32107
+ # production environments.
32108
+ #
32109
+ # </note>
32110
+ # @return [Types::ProductionVariantServerlessConfig]
32111
+ #
30026
32112
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
30027
32113
  #
30028
32114
  class ProductionVariant < Struct.new(
@@ -30032,7 +32118,8 @@ module Aws::SageMaker
30032
32118
  :instance_type,
30033
32119
  :initial_variant_weight,
30034
32120
  :accelerator_type,
30035
- :core_dump_config)
32121
+ :core_dump_config,
32122
+ :serverless_config)
30036
32123
  SENSITIVE = []
30037
32124
  include Aws::Structure
30038
32125
  end
@@ -30107,6 +32194,79 @@ module Aws::SageMaker
30107
32194
  include Aws::Structure
30108
32195
  end
30109
32196
 
32197
+ # Serverless Inference is in preview release for Amazon SageMaker and is
32198
+ # subject to change. We do not recommend using this feature in
32199
+ # production environments.
32200
+ #
32201
+ # Specifies the serverless configuration for an endpoint variant.
32202
+ #
32203
+ # @note When making an API call, you may pass ProductionVariantServerlessConfig
32204
+ # data as a hash:
32205
+ #
32206
+ # {
32207
+ # memory_size_in_mb: 1, # required
32208
+ # max_concurrency: 1, # required
32209
+ # }
32210
+ #
32211
+ # @!attribute [rw] memory_size_in_mb
32212
+ # The memory size of your serverless endpoint. Valid values are in 1
32213
+ # GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144
32214
+ # MB.
32215
+ # @return [Integer]
32216
+ #
32217
+ # @!attribute [rw] max_concurrency
32218
+ # The maximum number of concurrent invocations your serverless
32219
+ # endpoint can process.
32220
+ # @return [Integer]
32221
+ #
32222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantServerlessConfig AWS API Documentation
32223
+ #
32224
+ class ProductionVariantServerlessConfig < Struct.new(
32225
+ :memory_size_in_mb,
32226
+ :max_concurrency)
32227
+ SENSITIVE = []
32228
+ include Aws::Structure
32229
+ end
32230
+
32231
+ # Describes the status of the production variant.
32232
+ #
32233
+ # @!attribute [rw] status
32234
+ # The endpoint variant status which describes the current deployment
32235
+ # stage status or operational status.
32236
+ #
32237
+ # * `Creating`\: Creating inference resources for the production
32238
+ # variant.
32239
+ #
32240
+ # * `Deleting`\: Terminating inference resources for the production
32241
+ # variant.
32242
+ #
32243
+ # * `Updating`\: Updating capacity for the production variant.
32244
+ #
32245
+ # * `ActivatingTraffic`\: Turning on traffic for the production
32246
+ # variant.
32247
+ #
32248
+ # * `Baking`\: Waiting period to monitor the CloudWatch alarms in the
32249
+ # automatic rollback configuration.
32250
+ # @return [String]
32251
+ #
32252
+ # @!attribute [rw] status_message
32253
+ # A message that describes the status of the production variant.
32254
+ # @return [String]
32255
+ #
32256
+ # @!attribute [rw] start_time
32257
+ # The start time of the current status change.
32258
+ # @return [Time]
32259
+ #
32260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantStatus AWS API Documentation
32261
+ #
32262
+ class ProductionVariantStatus < Struct.new(
32263
+ :status,
32264
+ :status_message,
32265
+ :start_time)
32266
+ SENSITIVE = []
32267
+ include Aws::Structure
32268
+ end
32269
+
30110
32270
  # Describes weight and capacities for a production variant associated
30111
32271
  # with an endpoint. If you sent a request to the
30112
32272
  # `UpdateEndpointWeightsAndCapacities` API and the endpoint status is
@@ -30140,6 +32300,31 @@ module Aws::SageMaker
30140
32300
  # `UpdateEndpointWeightsAndCapacities` request.
30141
32301
  # @return [Integer]
30142
32302
  #
32303
+ # @!attribute [rw] variant_status
32304
+ # The endpoint variant status which describes the current deployment
32305
+ # stage status or operational status.
32306
+ # @return [Array<Types::ProductionVariantStatus>]
32307
+ #
32308
+ # @!attribute [rw] current_serverless_config
32309
+ # The serverless configuration for the endpoint.
32310
+ #
32311
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32312
+ # is subject to change. We do not recommend using this feature in
32313
+ # production environments.
32314
+ #
32315
+ # </note>
32316
+ # @return [Types::ProductionVariantServerlessConfig]
32317
+ #
32318
+ # @!attribute [rw] desired_serverless_config
32319
+ # The serverless configuration requested for the endpoint update.
32320
+ #
32321
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32322
+ # is subject to change. We do not recommend using this feature in
32323
+ # production environments.
32324
+ #
32325
+ # </note>
32326
+ # @return [Types::ProductionVariantServerlessConfig]
32327
+ #
30143
32328
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantSummary AWS API Documentation
30144
32329
  #
30145
32330
  class ProductionVariantSummary < Struct.new(
@@ -30148,7 +32333,10 @@ module Aws::SageMaker
30148
32333
  :current_weight,
30149
32334
  :desired_weight,
30150
32335
  :current_instance_count,
30151
- :desired_instance_count)
32336
+ :desired_instance_count,
32337
+ :variant_status,
32338
+ :current_serverless_config,
32339
+ :desired_serverless_config)
30152
32340
  SENSITIVE = []
30153
32341
  include Aws::Structure
30154
32342
  end
@@ -30425,7 +32613,7 @@ module Aws::SageMaker
30425
32613
  #
30426
32614
  # @!attribute [rw] last_modified_by
30427
32615
  # Information about the user who created or modified an experiment,
30428
- # trial, trial component, or project.
32616
+ # trial, trial component, lineage group, or project.
30429
32617
  # @return [Types::UserContext]
30430
32618
  #
30431
32619
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Project AWS API Documentation
@@ -30824,6 +33012,266 @@ module Aws::SageMaker
30824
33012
  include Aws::Structure
30825
33013
  end
30826
33014
 
33015
+ # Container for the metadata for a Quality check step. For more
33016
+ # information, see the topic on [QualityCheck step][1] in the *Amazon
33017
+ # SageMaker Developer Guide*.
33018
+ #
33019
+ #
33020
+ #
33021
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-quality-check
33022
+ #
33023
+ # @!attribute [rw] check_type
33024
+ # The type of the Quality check step.
33025
+ # @return [String]
33026
+ #
33027
+ # @!attribute [rw] baseline_used_for_drift_check_statistics
33028
+ # The Amazon S3 URI of the baseline statistics file used for the drift
33029
+ # check.
33030
+ # @return [String]
33031
+ #
33032
+ # @!attribute [rw] baseline_used_for_drift_check_constraints
33033
+ # The Amazon S3 URI of the baseline constraints file used for the
33034
+ # drift check.
33035
+ # @return [String]
33036
+ #
33037
+ # @!attribute [rw] calculated_baseline_statistics
33038
+ # The Amazon S3 URI of the newly calculated baseline statistics file.
33039
+ # @return [String]
33040
+ #
33041
+ # @!attribute [rw] calculated_baseline_constraints
33042
+ # The Amazon S3 URI of the newly calculated baseline constraints file.
33043
+ # @return [String]
33044
+ #
33045
+ # @!attribute [rw] model_package_group_name
33046
+ # The model package group name.
33047
+ # @return [String]
33048
+ #
33049
+ # @!attribute [rw] violation_report
33050
+ # The Amazon S3 URI of violation report if violations are detected.
33051
+ # @return [String]
33052
+ #
33053
+ # @!attribute [rw] check_job_arn
33054
+ # The Amazon Resource Name (ARN) of the Quality check processing job
33055
+ # that was run by this step execution.
33056
+ # @return [String]
33057
+ #
33058
+ # @!attribute [rw] skip_check
33059
+ # This flag indicates if the drift check against the previous baseline
33060
+ # will be skipped or not. If it is set to `False`, the previous
33061
+ # baseline of the configured check type must be available.
33062
+ # @return [Boolean]
33063
+ #
33064
+ # @!attribute [rw] register_new_baseline
33065
+ # This flag indicates if a newly calculated baseline can be accessed
33066
+ # through step properties `BaselineUsedForDriftCheckConstraints` and
33067
+ # `BaselineUsedForDriftCheckStatistics`. If it is set to `False`, the
33068
+ # previous baseline of the configured check type must also be
33069
+ # available. These can be accessed through the
33070
+ # `BaselineUsedForDriftCheckConstraints` and `
33071
+ # BaselineUsedForDriftCheckStatistics` properties.
33072
+ # @return [Boolean]
33073
+ #
33074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QualityCheckStepMetadata AWS API Documentation
33075
+ #
33076
+ class QualityCheckStepMetadata < Struct.new(
33077
+ :check_type,
33078
+ :baseline_used_for_drift_check_statistics,
33079
+ :baseline_used_for_drift_check_constraints,
33080
+ :calculated_baseline_statistics,
33081
+ :calculated_baseline_constraints,
33082
+ :model_package_group_name,
33083
+ :violation_report,
33084
+ :check_job_arn,
33085
+ :skip_check,
33086
+ :register_new_baseline)
33087
+ SENSITIVE = []
33088
+ include Aws::Structure
33089
+ end
33090
+
33091
+ # A set of filters to narrow the set of lineage entities connected to
33092
+ # the `StartArn`(s) returned by the `QueryLineage` API action.
33093
+ #
33094
+ # @note When making an API call, you may pass QueryFilters
33095
+ # data as a hash:
33096
+ #
33097
+ # {
33098
+ # types: ["String40"],
33099
+ # lineage_types: ["TrialComponent"], # accepts TrialComponent, Artifact, Context, Action
33100
+ # created_before: Time.now,
33101
+ # created_after: Time.now,
33102
+ # modified_before: Time.now,
33103
+ # modified_after: Time.now,
33104
+ # properties: {
33105
+ # "String256" => "String256",
33106
+ # },
33107
+ # }
33108
+ #
33109
+ # @!attribute [rw] types
33110
+ # Filter the lineage entities connected to the `StartArn` by type. For
33111
+ # example: `DataSet`, `Model`, `Endpoint`, or `ModelDeployment`.
33112
+ # @return [Array<String>]
33113
+ #
33114
+ # @!attribute [rw] lineage_types
33115
+ # Filter the lineage entities connected to the `StartArn`(s) by the
33116
+ # type of the lineage entity.
33117
+ # @return [Array<String>]
33118
+ #
33119
+ # @!attribute [rw] created_before
33120
+ # Filter the lineage entities connected to the `StartArn`(s) by
33121
+ # created date.
33122
+ # @return [Time]
33123
+ #
33124
+ # @!attribute [rw] created_after
33125
+ # Filter the lineage entities connected to the `StartArn`(s) after the
33126
+ # create date.
33127
+ # @return [Time]
33128
+ #
33129
+ # @!attribute [rw] modified_before
33130
+ # Filter the lineage entities connected to the `StartArn`(s) before
33131
+ # the last modified date.
33132
+ # @return [Time]
33133
+ #
33134
+ # @!attribute [rw] modified_after
33135
+ # Filter the lineage entities connected to the `StartArn`(s) after the
33136
+ # last modified date.
33137
+ # @return [Time]
33138
+ #
33139
+ # @!attribute [rw] properties
33140
+ # Filter the lineage entities connected to the `StartArn`(s) by a set
33141
+ # if property key value pairs. If multiple pairs are provided, an
33142
+ # entity will be included in the results if it matches any of the
33143
+ # provided pairs.
33144
+ # @return [Hash<String,String>]
33145
+ #
33146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryFilters AWS API Documentation
33147
+ #
33148
+ class QueryFilters < Struct.new(
33149
+ :types,
33150
+ :lineage_types,
33151
+ :created_before,
33152
+ :created_after,
33153
+ :modified_before,
33154
+ :modified_after,
33155
+ :properties)
33156
+ SENSITIVE = []
33157
+ include Aws::Structure
33158
+ end
33159
+
33160
+ # @note When making an API call, you may pass QueryLineageRequest
33161
+ # data as a hash:
33162
+ #
33163
+ # {
33164
+ # start_arns: ["AssociationEntityArn"], # required
33165
+ # direction: "Both", # accepts Both, Ascendants, Descendants
33166
+ # include_edges: false,
33167
+ # filters: {
33168
+ # types: ["String40"],
33169
+ # lineage_types: ["TrialComponent"], # accepts TrialComponent, Artifact, Context, Action
33170
+ # created_before: Time.now,
33171
+ # created_after: Time.now,
33172
+ # modified_before: Time.now,
33173
+ # modified_after: Time.now,
33174
+ # properties: {
33175
+ # "String256" => "String256",
33176
+ # },
33177
+ # },
33178
+ # max_depth: 1,
33179
+ # max_results: 1,
33180
+ # next_token: "String8192",
33181
+ # }
33182
+ #
33183
+ # @!attribute [rw] start_arns
33184
+ # A list of resource Amazon Resource Name (ARN) that represent the
33185
+ # starting point for your lineage query.
33186
+ # @return [Array<String>]
33187
+ #
33188
+ # @!attribute [rw] direction
33189
+ # Associations between lineage entities are directed. This parameter
33190
+ # determines the direction from the StartArn(s) the query will look.
33191
+ # @return [String]
33192
+ #
33193
+ # @!attribute [rw] include_edges
33194
+ # Setting this value to `True` will retrieve not only the entities of
33195
+ # interest but also the [Associations][1] and lineage entities on the
33196
+ # path. Set to `False` to only return lineage entities that match your
33197
+ # query.
33198
+ #
33199
+ #
33200
+ #
33201
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking-entities.html
33202
+ # @return [Boolean]
33203
+ #
33204
+ # @!attribute [rw] filters
33205
+ # A set of filtering parameters that allow you to specify which
33206
+ # entities should be returned.
33207
+ #
33208
+ # * Properties - Key-value pairs to match on the lineage entities'
33209
+ # properties.
33210
+ #
33211
+ # * LineageTypes - A set of lineage entity types to match on. For
33212
+ # example: `TrialComponent`, `Artifact`, or `Context`.
33213
+ #
33214
+ # * CreatedBefore - Filter entities created before this date.
33215
+ #
33216
+ # * ModifiedBefore - Filter entities modified before this date.
33217
+ #
33218
+ # * ModifiedAfter - Filter entities modified after this date.
33219
+ # @return [Types::QueryFilters]
33220
+ #
33221
+ # @!attribute [rw] max_depth
33222
+ # The maximum depth in lineage relationships from the `StartArns` that
33223
+ # will be traversed. Depth is a measure of the number of
33224
+ # `Associations` from the `StartArn` entity to the matched results.
33225
+ # @return [Integer]
33226
+ #
33227
+ # @!attribute [rw] max_results
33228
+ # Limits the number of vertices in the results. Use the `NextToken` in
33229
+ # a response to to retrieve the next page of results.
33230
+ # @return [Integer]
33231
+ #
33232
+ # @!attribute [rw] next_token
33233
+ # Limits the number of vertices in the request. Use the `NextToken` in
33234
+ # a response to to retrieve the next page of results.
33235
+ # @return [String]
33236
+ #
33237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineageRequest AWS API Documentation
33238
+ #
33239
+ class QueryLineageRequest < Struct.new(
33240
+ :start_arns,
33241
+ :direction,
33242
+ :include_edges,
33243
+ :filters,
33244
+ :max_depth,
33245
+ :max_results,
33246
+ :next_token)
33247
+ SENSITIVE = []
33248
+ include Aws::Structure
33249
+ end
33250
+
33251
+ # @!attribute [rw] vertices
33252
+ # A list of vertices connected to the start entity(ies) in the lineage
33253
+ # graph.
33254
+ # @return [Array<Types::Vertex>]
33255
+ #
33256
+ # @!attribute [rw] edges
33257
+ # A list of edges that connect vertices in the response.
33258
+ # @return [Array<Types::Edge>]
33259
+ #
33260
+ # @!attribute [rw] next_token
33261
+ # Limits the number of vertices in the response. Use the `NextToken`
33262
+ # in a response to to retrieve the next page of results.
33263
+ # @return [String]
33264
+ #
33265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineageResponse AWS API Documentation
33266
+ #
33267
+ class QueryLineageResponse < Struct.new(
33268
+ :vertices,
33269
+ :edges,
33270
+ :next_token)
33271
+ SENSITIVE = []
33272
+ include Aws::Structure
33273
+ end
33274
+
30827
33275
  # A collection of settings that apply to an `RSessionGateway` app.
30828
33276
  #
30829
33277
  # @api private
@@ -30947,6 +33395,171 @@ module Aws::SageMaker
30947
33395
  include Aws::Structure
30948
33396
  end
30949
33397
 
33398
+ # The input configuration of the recommendation job.
33399
+ #
33400
+ # @note When making an API call, you may pass RecommendationJobInputConfig
33401
+ # data as a hash:
33402
+ #
33403
+ # {
33404
+ # model_package_version_arn: "ModelPackageArn", # required
33405
+ # job_duration_in_seconds: 1,
33406
+ # traffic_pattern: {
33407
+ # traffic_type: "PHASES", # accepts PHASES
33408
+ # phases: [
33409
+ # {
33410
+ # initial_number_of_users: 1,
33411
+ # spawn_rate: 1,
33412
+ # duration_in_seconds: 1,
33413
+ # },
33414
+ # ],
33415
+ # },
33416
+ # resource_limit: {
33417
+ # max_number_of_tests: 1,
33418
+ # max_parallel_of_tests: 1,
33419
+ # },
33420
+ # endpoint_configurations: [
33421
+ # {
33422
+ # instance_type: "ml.t2.medium", # required, accepts 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
33423
+ # inference_specification_name: "InferenceSpecificationName",
33424
+ # environment_parameter_ranges: {
33425
+ # categorical_parameter_ranges: [
33426
+ # {
33427
+ # name: "String64", # required
33428
+ # value: ["String128"], # required
33429
+ # },
33430
+ # ],
33431
+ # },
33432
+ # },
33433
+ # ],
33434
+ # }
33435
+ #
33436
+ # @!attribute [rw] model_package_version_arn
33437
+ # The Amazon Resource Name (ARN) of a versioned model package.
33438
+ # @return [String]
33439
+ #
33440
+ # @!attribute [rw] job_duration_in_seconds
33441
+ # Specifies the maximum duration of the job, in seconds.&gt;
33442
+ # @return [Integer]
33443
+ #
33444
+ # @!attribute [rw] traffic_pattern
33445
+ # Specifies the traffic pattern of the job.
33446
+ # @return [Types::TrafficPattern]
33447
+ #
33448
+ # @!attribute [rw] resource_limit
33449
+ # Defines the resource limit of the job.
33450
+ # @return [Types::RecommendationJobResourceLimit]
33451
+ #
33452
+ # @!attribute [rw] endpoint_configurations
33453
+ # Specifies the endpoint configuration to use for a job.
33454
+ # @return [Array<Types::EndpointInputConfiguration>]
33455
+ #
33456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
33457
+ #
33458
+ class RecommendationJobInputConfig < Struct.new(
33459
+ :model_package_version_arn,
33460
+ :job_duration_in_seconds,
33461
+ :traffic_pattern,
33462
+ :resource_limit,
33463
+ :endpoint_configurations)
33464
+ SENSITIVE = []
33465
+ include Aws::Structure
33466
+ end
33467
+
33468
+ # Specifies the maximum number of jobs that can run in parallel and the
33469
+ # maximum number of jobs that can run.
33470
+ #
33471
+ # @note When making an API call, you may pass RecommendationJobResourceLimit
33472
+ # data as a hash:
33473
+ #
33474
+ # {
33475
+ # max_number_of_tests: 1,
33476
+ # max_parallel_of_tests: 1,
33477
+ # }
33478
+ #
33479
+ # @!attribute [rw] max_number_of_tests
33480
+ # Defines the maximum number of load tests.
33481
+ # @return [Integer]
33482
+ #
33483
+ # @!attribute [rw] max_parallel_of_tests
33484
+ # Defines the maximum number of parallel load tests.
33485
+ # @return [Integer]
33486
+ #
33487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobResourceLimit AWS API Documentation
33488
+ #
33489
+ class RecommendationJobResourceLimit < Struct.new(
33490
+ :max_number_of_tests,
33491
+ :max_parallel_of_tests)
33492
+ SENSITIVE = []
33493
+ include Aws::Structure
33494
+ end
33495
+
33496
+ # Specifies conditions for stopping a job. When a job reaches a stopping
33497
+ # condition limit, SageMaker ends the job.
33498
+ #
33499
+ # @note When making an API call, you may pass RecommendationJobStoppingConditions
33500
+ # data as a hash:
33501
+ #
33502
+ # {
33503
+ # max_invocations: 1,
33504
+ # model_latency_thresholds: [
33505
+ # {
33506
+ # percentile: "String64",
33507
+ # value_in_milliseconds: 1,
33508
+ # },
33509
+ # ],
33510
+ # }
33511
+ #
33512
+ # @!attribute [rw] max_invocations
33513
+ # The maximum number of requests per minute expected for the endpoint.
33514
+ # @return [Integer]
33515
+ #
33516
+ # @!attribute [rw] model_latency_thresholds
33517
+ # The interval of time taken by a model to respond as viewed from
33518
+ # SageMaker. The interval includes the local communication time taken
33519
+ # to send the request and to fetch the response from the container of
33520
+ # a model and the time taken to complete the inference in the
33521
+ # container.
33522
+ # @return [Array<Types::ModelLatencyThreshold>]
33523
+ #
33524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobStoppingConditions AWS API Documentation
33525
+ #
33526
+ class RecommendationJobStoppingConditions < Struct.new(
33527
+ :max_invocations,
33528
+ :model_latency_thresholds)
33529
+ SENSITIVE = []
33530
+ include Aws::Structure
33531
+ end
33532
+
33533
+ # The metrics of recommendations.
33534
+ #
33535
+ # @!attribute [rw] cost_per_hour
33536
+ # Defines the cost per hour for the instance.
33537
+ # @return [Float]
33538
+ #
33539
+ # @!attribute [rw] cost_per_inference
33540
+ # Defines the cost per inference for the instance .
33541
+ # @return [Float]
33542
+ #
33543
+ # @!attribute [rw] max_invocations
33544
+ # The expected maximum number of requests per minute for the instance.
33545
+ # @return [Integer]
33546
+ #
33547
+ # @!attribute [rw] model_latency
33548
+ # The expected model latency at maximum invocation per minute for the
33549
+ # instance.
33550
+ # @return [Integer]
33551
+ #
33552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationMetrics AWS API Documentation
33553
+ #
33554
+ class RecommendationMetrics < Struct.new(
33555
+ :cost_per_hour,
33556
+ :cost_per_inference,
33557
+ :max_invocations,
33558
+ :model_latency)
33559
+ SENSITIVE = []
33560
+ include Aws::Structure
33561
+ end
33562
+
30950
33563
  # Configuration for Redshift Dataset Definition input.
30951
33564
  #
30952
33565
  # @note When making an API call, you may pass RedshiftDatasetDefinition
@@ -32776,6 +35389,25 @@ module Aws::SageMaker
32776
35389
  include Aws::Structure
32777
35390
  end
32778
35391
 
35392
+ # @note When making an API call, you may pass StopInferenceRecommendationsJobRequest
35393
+ # data as a hash:
35394
+ #
35395
+ # {
35396
+ # job_name: "RecommendationJobName", # required
35397
+ # }
35398
+ #
35399
+ # @!attribute [rw] job_name
35400
+ # The name of the job you want to stop.
35401
+ # @return [String]
35402
+ #
35403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopInferenceRecommendationsJobRequest AWS API Documentation
35404
+ #
35405
+ class StopInferenceRecommendationsJobRequest < Struct.new(
35406
+ :job_name)
35407
+ SENSITIVE = []
35408
+ include Aws::Structure
35409
+ end
35410
+
32779
35411
  # @note When making an API call, you may pass StopLabelingJobRequest
32780
35412
  # data as a hash:
32781
35413
  #
@@ -33257,27 +35889,87 @@ module Aws::SageMaker
33257
35889
  include Aws::Structure
33258
35890
  end
33259
35891
 
33260
- # Currently, the `TrafficRoutingConfig` API is not supported.
35892
+ # Defines the traffic pattern of the load test.
35893
+ #
35894
+ # @note When making an API call, you may pass TrafficPattern
35895
+ # data as a hash:
35896
+ #
35897
+ # {
35898
+ # traffic_type: "PHASES", # accepts PHASES
35899
+ # phases: [
35900
+ # {
35901
+ # initial_number_of_users: 1,
35902
+ # spawn_rate: 1,
35903
+ # duration_in_seconds: 1,
35904
+ # },
35905
+ # ],
35906
+ # }
35907
+ #
35908
+ # @!attribute [rw] traffic_type
35909
+ # Defines the traffic patterns.
35910
+ # @return [String]
35911
+ #
35912
+ # @!attribute [rw] phases
35913
+ # Defines the phases traffic specification.
35914
+ # @return [Array<Types::Phase>]
35915
+ #
35916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficPattern AWS API Documentation
35917
+ #
35918
+ class TrafficPattern < Struct.new(
35919
+ :traffic_type,
35920
+ :phases)
35921
+ SENSITIVE = []
35922
+ include Aws::Structure
35923
+ end
35924
+
35925
+ # Defines the traffic routing strategy during an endpoint deployment to
35926
+ # shift traffic from the old fleet to the new fleet.
33261
35927
  #
33262
35928
  # @note When making an API call, you may pass TrafficRoutingConfig
33263
35929
  # data as a hash:
33264
35930
  #
33265
35931
  # {
33266
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
35932
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
33267
35933
  # wait_interval_in_seconds: 1, # required
33268
35934
  # canary_size: {
33269
35935
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
33270
35936
  # value: 1, # required
33271
35937
  # },
35938
+ # linear_step_size: {
35939
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
35940
+ # value: 1, # required
35941
+ # },
33272
35942
  # }
33273
35943
  #
33274
35944
  # @!attribute [rw] type
35945
+ # Traffic routing strategy type.
35946
+ #
35947
+ # * `ALL_AT_ONCE`\: Endpoint traffic shifts to the new fleet in a
35948
+ # single step.
35949
+ #
35950
+ # * `CANARY`\: Endpoint traffic shifts to the new fleet in two steps.
35951
+ # The first step is the canary, which is a small portion of the
35952
+ # traffic. The second step is the remainder of the traffic.
35953
+ #
35954
+ # * `LINEAR`\: Endpoint traffic shifts to the new fleet in n steps of
35955
+ # a configurable size.
33275
35956
  # @return [String]
33276
35957
  #
33277
35958
  # @!attribute [rw] wait_interval_in_seconds
35959
+ # The waiting time (in seconds) between incremental steps to turn on
35960
+ # traffic on the new endpoint fleet.
33278
35961
  # @return [Integer]
33279
35962
  #
33280
35963
  # @!attribute [rw] canary_size
35964
+ # Batch size for the first step to turn on traffic on the new endpoint
35965
+ # fleet. `Value` must be less than or equal to 50% of the variant's
35966
+ # total instance count.
35967
+ # @return [Types::CapacitySize]
35968
+ #
35969
+ # @!attribute [rw] linear_step_size
35970
+ # Batch size for each step to turn on traffic on the new endpoint
35971
+ # fleet. `Value` must be 10-50% of the variant's total instance
35972
+ # count.
33281
35973
  # @return [Types::CapacitySize]
33282
35974
  #
33283
35975
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficRoutingConfig AWS API Documentation
@@ -33285,7 +35977,8 @@ module Aws::SageMaker
33285
35977
  class TrafficRoutingConfig < Struct.new(
33286
35978
  :type,
33287
35979
  :wait_interval_in_seconds,
33288
- :canary_size)
35980
+ :canary_size,
35981
+ :linear_step_size)
33289
35982
  SENSITIVE = []
33290
35983
  include Aws::Structure
33291
35984
  end
@@ -34699,7 +37392,7 @@ module Aws::SageMaker
34699
37392
  #
34700
37393
  # @!attribute [rw] last_modified_by
34701
37394
  # Information about the user who created or modified an experiment,
34702
- # trial, trial component, or project.
37395
+ # trial, trial component, lineage group, or project.
34703
37396
  # @return [Types::UserContext]
34704
37397
  #
34705
37398
  # @!attribute [rw] metadata_properties
@@ -34782,7 +37475,7 @@ module Aws::SageMaker
34782
37475
  #
34783
37476
  # @!attribute [rw] last_modified_by
34784
37477
  # Information about the user who created or modified an experiment,
34785
- # trial, trial component, or project.
37478
+ # trial, trial component, lineage group, or project.
34786
37479
  # @return [Types::UserContext]
34787
37480
  #
34788
37481
  # @!attribute [rw] parameters
@@ -34810,6 +37503,10 @@ module Aws::SageMaker
34810
37503
  # Details of the source of the component.
34811
37504
  # @return [Types::TrialComponentSourceDetail]
34812
37505
  #
37506
+ # @!attribute [rw] lineage_group_arn
37507
+ # The Amazon Resource Name (ARN) of the lineage group resource.
37508
+ # @return [String]
37509
+ #
34813
37510
  # @!attribute [rw] tags
34814
37511
  # The list of tags that are associated with the component. You can use
34815
37512
  # Search API to search on the tags.
@@ -34841,6 +37538,7 @@ module Aws::SageMaker
34841
37538
  :metrics,
34842
37539
  :metadata_properties,
34843
37540
  :source_detail,
37541
+ :lineage_group_arn,
34844
37542
  :tags,
34845
37543
  :parents)
34846
37544
  SENSITIVE = []
@@ -34993,7 +37691,7 @@ module Aws::SageMaker
34993
37691
  #
34994
37692
  # @!attribute [rw] created_by
34995
37693
  # Information about the user who created or modified an experiment,
34996
- # trial, trial component, or project.
37694
+ # trial, trial component, lineage group, or project.
34997
37695
  # @return [Types::UserContext]
34998
37696
  #
34999
37697
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrialComponentSimpleSummary AWS API Documentation
@@ -35882,12 +38580,16 @@ module Aws::SageMaker
35882
38580
  # deployment_config: {
35883
38581
  # blue_green_update_policy: { # required
35884
38582
  # traffic_routing_configuration: { # required
35885
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
38583
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
35886
38584
  # wait_interval_in_seconds: 1, # required
35887
38585
  # canary_size: {
35888
38586
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
35889
38587
  # value: 1, # required
35890
38588
  # },
38589
+ # linear_step_size: {
38590
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
38591
+ # value: 1, # required
38592
+ # },
35891
38593
  # },
35892
38594
  # termination_wait_in_seconds: 1,
35893
38595
  # maximum_execution_timeout_in_seconds: 1,
@@ -35900,6 +38602,7 @@ module Aws::SageMaker
35900
38602
  # ],
35901
38603
  # },
35902
38604
  # },
38605
+ # retain_deployment_config: false,
35903
38606
  # }
35904
38607
  #
35905
38608
  # @!attribute [rw] endpoint_name
@@ -35934,9 +38637,15 @@ module Aws::SageMaker
35934
38637
  # @return [Array<Types::VariantProperty>]
35935
38638
  #
35936
38639
  # @!attribute [rw] deployment_config
35937
- # The deployment configuration for the endpoint to be updated.
38640
+ # The deployment configuration for an endpoint, which contains the
38641
+ # desired deployment strategy and rollback configurations.
35938
38642
  # @return [Types::DeploymentConfig]
35939
38643
  #
38644
+ # @!attribute [rw] retain_deployment_config
38645
+ # Specifies whether to reuse the last deployment configuration. The
38646
+ # default value is false (the configuration is not reused).
38647
+ # @return [Boolean]
38648
+ #
35940
38649
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointInput AWS API Documentation
35941
38650
  #
35942
38651
  class UpdateEndpointInput < Struct.new(
@@ -35944,7 +38653,8 @@ module Aws::SageMaker
35944
38653
  :endpoint_config_name,
35945
38654
  :retain_all_variant_properties,
35946
38655
  :exclude_retained_variant_properties,
35947
- :deployment_config)
38656
+ :deployment_config,
38657
+ :retain_deployment_config)
35948
38658
  SENSITIVE = []
35949
38659
  include Aws::Structure
35950
38660
  end
@@ -36118,6 +38828,34 @@ module Aws::SageMaker
36118
38828
  # "CustomerMetadataKey" => "CustomerMetadataValue",
36119
38829
  # },
36120
38830
  # customer_metadata_properties_to_remove: ["CustomerMetadataKey"],
38831
+ # additional_inference_specifications_to_add: [
38832
+ # {
38833
+ # name: "EntityName", # required
38834
+ # description: "EntityDescription",
38835
+ # containers: [ # required
38836
+ # {
38837
+ # container_hostname: "ContainerHostname",
38838
+ # image: "ContainerImage", # required
38839
+ # image_digest: "ImageDigest",
38840
+ # model_data_url: "Url",
38841
+ # product_id: "ProductId",
38842
+ # environment: {
38843
+ # "EnvironmentKey" => "EnvironmentValue",
38844
+ # },
38845
+ # model_input: {
38846
+ # data_input_config: "DataInputConfig", # required
38847
+ # },
38848
+ # framework: "String",
38849
+ # framework_version: "FrameworkVersion",
38850
+ # nearest_model_name: "String",
38851
+ # },
38852
+ # ],
38853
+ # supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, 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.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
38854
+ # supported_realtime_inference_instance_types: ["ml.t2.medium"], # accepts 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
38855
+ # supported_content_types: ["ContentType"],
38856
+ # supported_response_mime_types: ["ResponseMIMEType"],
38857
+ # },
38858
+ # ],
36121
38859
  # }
36122
38860
  #
36123
38861
  # @!attribute [rw] model_package_arn
@@ -36141,6 +38879,15 @@ module Aws::SageMaker
36141
38879
  # to remove.
36142
38880
  # @return [Array<String>]
36143
38881
  #
38882
+ # @!attribute [rw] additional_inference_specifications_to_add
38883
+ # An array of additional Inference Specification objects to be added
38884
+ # to the existing array additional Inference Specification. Total
38885
+ # number of additional Inference Specifications can not exceed 15.
38886
+ # Each additional Inference Specification specifies artifacts based on
38887
+ # this model package that can be used on inference endpoints.
38888
+ # Generally used with SageMaker Neo to store the compiled artifacts.
38889
+ # @return [Array<Types::AdditionalInferenceSpecificationDefinition>]
38890
+ #
36144
38891
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackageInput AWS API Documentation
36145
38892
  #
36146
38893
  class UpdateModelPackageInput < Struct.new(
@@ -36148,7 +38895,8 @@ module Aws::SageMaker
36148
38895
  :model_approval_status,
36149
38896
  :approval_description,
36150
38897
  :customer_metadata_properties,
36151
- :customer_metadata_properties_to_remove)
38898
+ :customer_metadata_properties_to_remove,
38899
+ :additional_inference_specifications_to_add)
36152
38900
  SENSITIVE = []
36153
38901
  include Aws::Structure
36154
38902
  end
@@ -37140,7 +39888,7 @@ module Aws::SageMaker
37140
39888
  end
37141
39889
 
37142
39890
  # Information about the user who created or modified an experiment,
37143
- # trial, trial component, or project.
39891
+ # trial, trial component, lineage group, or project.
37144
39892
  #
37145
39893
  # @!attribute [rw] user_profile_arn
37146
39894
  # The Amazon Resource Name (ARN) of the user's profile.
@@ -37356,6 +40104,31 @@ module Aws::SageMaker
37356
40104
  include Aws::Structure
37357
40105
  end
37358
40106
 
40107
+ # A lineage entity connected to the starting entity(ies).
40108
+ #
40109
+ # @!attribute [rw] arn
40110
+ # The Amazon Resource Name (ARN) of the lineage entity resource.
40111
+ # @return [String]
40112
+ #
40113
+ # @!attribute [rw] type
40114
+ # The type of the lineage entity resource. For example: `DataSet`,
40115
+ # `Model`, `Endpoint`, etc...
40116
+ # @return [String]
40117
+ #
40118
+ # @!attribute [rw] lineage_type
40119
+ # The type of resource of the lineage entity.
40120
+ # @return [String]
40121
+ #
40122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Vertex AWS API Documentation
40123
+ #
40124
+ class Vertex < Struct.new(
40125
+ :arn,
40126
+ :type,
40127
+ :lineage_type)
40128
+ SENSITIVE = []
40129
+ include Aws::Structure
40130
+ end
40131
+
37359
40132
  # Specifies a VPC that your training jobs and hosted models have access
37360
40133
  # to. Control access to and from your training and model containers by
37361
40134
  # configuring the VPC. For more information, see [Protect Endpoints by