aws-sdk-sagemaker 1.106.0 → 1.110.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
@@ -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
@@ -12111,6 +12698,10 @@ module Aws::SageMaker
12111
12698
  # to need tokening.
12112
12699
  # @return [String]
12113
12700
  #
12701
+ # @!attribute [rw] agent_version
12702
+ # Edge Manager agent version.
12703
+ # @return [String]
12704
+ #
12114
12705
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceResponse AWS API Documentation
12115
12706
  #
12116
12707
  class DescribeDeviceResponse < Struct.new(
@@ -12123,7 +12714,8 @@ module Aws::SageMaker
12123
12714
  :latest_heartbeat,
12124
12715
  :models,
12125
12716
  :max_models,
12126
- :next_token)
12717
+ :next_token,
12718
+ :agent_version)
12127
12719
  SENSITIVE = []
12128
12720
  include Aws::Structure
12129
12721
  end
@@ -12543,6 +13135,12 @@ module Aws::SageMaker
12543
13135
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html
12544
13136
  # @return [Types::AsyncInferenceConfig]
12545
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
+ #
12546
13144
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointOutput AWS API Documentation
12547
13145
  #
12548
13146
  class DescribeEndpointOutput < Struct.new(
@@ -12556,7 +13154,8 @@ module Aws::SageMaker
12556
13154
  :creation_time,
12557
13155
  :last_modified_time,
12558
13156
  :last_deployment_config,
12559
- :async_inference_config)
13157
+ :async_inference_config,
13158
+ :pending_deployment_summary)
12560
13159
  SENSITIVE = []
12561
13160
  include Aws::Structure
12562
13161
  end
@@ -13161,6 +13760,104 @@ module Aws::SageMaker
13161
13760
  include Aws::Structure
13162
13761
  end
13163
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
+
13164
13861
  # @note When making an API call, you may pass DescribeLabelingJobRequest
13165
13862
  # data as a hash:
13166
13863
  #
@@ -13332,6 +14029,74 @@ module Aws::SageMaker
13332
14029
  include Aws::Structure
13333
14030
  end
13334
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
+
13335
14100
  # @note When making an API call, you may pass DescribeModelBiasJobDefinitionRequest
13336
14101
  # data as a hash:
13337
14102
  #
@@ -13630,7 +14395,7 @@ module Aws::SageMaker
13630
14395
  #
13631
14396
  # @!attribute [rw] created_by
13632
14397
  # Information about the user who created or modified an experiment,
13633
- # trial, trial component, or project.
14398
+ # trial, trial component, lineage group, or project.
13634
14399
  # @return [Types::UserContext]
13635
14400
  #
13636
14401
  # @!attribute [rw] model_package_group_status
@@ -13732,7 +14497,7 @@ module Aws::SageMaker
13732
14497
  #
13733
14498
  # @!attribute [rw] created_by
13734
14499
  # Information about the user who created or modified an experiment,
13735
- # trial, trial component, or project.
14500
+ # trial, trial component, lineage group, or project.
13736
14501
  # @return [Types::UserContext]
13737
14502
  #
13738
14503
  # @!attribute [rw] metadata_properties
@@ -13750,7 +14515,7 @@ module Aws::SageMaker
13750
14515
  #
13751
14516
  # @!attribute [rw] last_modified_by
13752
14517
  # Information about the user who created or modified an experiment,
13753
- # trial, trial component, or project.
14518
+ # trial, trial component, lineage group, or project.
13754
14519
  # @return [Types::UserContext]
13755
14520
  #
13756
14521
  # @!attribute [rw] approval_description
@@ -13761,6 +14526,42 @@ module Aws::SageMaker
13761
14526
  # The metadata properties associated with the model package versions.
13762
14527
  # @return [Hash<String,String>]
13763
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
+ #
13764
14565
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageOutput AWS API Documentation
13765
14566
  #
13766
14567
  class DescribeModelPackageOutput < Struct.new(
@@ -13783,7 +14584,12 @@ module Aws::SageMaker
13783
14584
  :last_modified_time,
13784
14585
  :last_modified_by,
13785
14586
  :approval_description,
13786
- :customer_metadata_properties)
14587
+ :customer_metadata_properties,
14588
+ :drift_check_baselines,
14589
+ :domain,
14590
+ :task,
14591
+ :sample_payload_url,
14592
+ :additional_inference_specifications)
13787
14593
  SENSITIVE = []
13788
14594
  include Aws::Structure
13789
14595
  end
@@ -14314,12 +15120,12 @@ module Aws::SageMaker
14314
15120
  #
14315
15121
  # @!attribute [rw] created_by
14316
15122
  # Information about the user who created or modified an experiment,
14317
- # trial, trial component, or project.
15123
+ # trial, trial component, lineage group, or project.
14318
15124
  # @return [Types::UserContext]
14319
15125
  #
14320
15126
  # @!attribute [rw] last_modified_by
14321
15127
  # Information about the user who created or modified an experiment,
14322
- # trial, trial component, or project.
15128
+ # trial, trial component, lineage group, or project.
14323
15129
  # @return [Types::UserContext]
14324
15130
  #
14325
15131
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecutionResponse AWS API Documentation
@@ -14401,12 +15207,12 @@ module Aws::SageMaker
14401
15207
  #
14402
15208
  # @!attribute [rw] created_by
14403
15209
  # Information about the user who created or modified an experiment,
14404
- # trial, trial component, or project.
15210
+ # trial, trial component, lineage group, or project.
14405
15211
  # @return [Types::UserContext]
14406
15212
  #
14407
15213
  # @!attribute [rw] last_modified_by
14408
15214
  # Information about the user who created or modified an experiment,
14409
- # trial, trial component, or project.
15215
+ # trial, trial component, lineage group, or project.
14410
15216
  # @return [Types::UserContext]
14411
15217
  #
14412
15218
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineResponse AWS API Documentation
@@ -14621,7 +15427,7 @@ module Aws::SageMaker
14621
15427
  #
14622
15428
  # @!attribute [rw] created_by
14623
15429
  # Information about the user who created or modified an experiment,
14624
- # trial, trial component, or project.
15430
+ # trial, trial component, lineage group, or project.
14625
15431
  # @return [Types::UserContext]
14626
15432
  #
14627
15433
  # @!attribute [rw] creation_time
@@ -14634,7 +15440,7 @@ module Aws::SageMaker
14634
15440
  #
14635
15441
  # @!attribute [rw] last_modified_by
14636
15442
  # Information about the user who created or modified an experiment,
14637
- # trial, trial component, or project.
15443
+ # trial, trial component, lineage group, or project.
14638
15444
  # @return [Types::UserContext]
14639
15445
  #
14640
15446
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProjectOutput AWS API Documentation
@@ -15298,7 +16104,7 @@ module Aws::SageMaker
15298
16104
  # data as a hash:
15299
16105
  #
15300
16106
  # {
15301
- # trial_component_name: "ExperimentEntityName", # required
16107
+ # trial_component_name: "ExperimentEntityNameOrArn", # required
15302
16108
  # }
15303
16109
  #
15304
16110
  # @!attribute [rw] trial_component_name
@@ -15386,6 +16192,10 @@ module Aws::SageMaker
15386
16192
  # The metrics for the component.
15387
16193
  # @return [Array<Types::TrialComponentMetricSummary>]
15388
16194
  #
16195
+ # @!attribute [rw] lineage_group_arn
16196
+ # The Amazon Resource Name (ARN) of the lineage group.
16197
+ # @return [String]
16198
+ #
15389
16199
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponentResponse AWS API Documentation
15390
16200
  #
15391
16201
  class DescribeTrialComponentResponse < Struct.new(
@@ -15404,7 +16214,8 @@ module Aws::SageMaker
15404
16214
  :input_artifacts,
15405
16215
  :output_artifacts,
15406
16216
  :metadata_properties,
15407
- :metrics)
16217
+ :metrics,
16218
+ :lineage_group_arn)
15408
16219
  SENSITIVE = []
15409
16220
  include Aws::Structure
15410
16221
  end
@@ -15798,6 +16609,10 @@ module Aws::SageMaker
15798
16609
  # Models on the device.
15799
16610
  # @return [Array<Types::EdgeModelSummary>]
15800
16611
  #
16612
+ # @!attribute [rw] agent_version
16613
+ # Edge Manager agent version.
16614
+ # @return [String]
16615
+ #
15801
16616
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeviceSummary AWS API Documentation
15802
16617
  #
15803
16618
  class DeviceSummary < Struct.new(
@@ -15808,7 +16623,8 @@ module Aws::SageMaker
15808
16623
  :iot_thing_name,
15809
16624
  :registration_time,
15810
16625
  :latest_heartbeat,
15811
- :models)
16626
+ :models,
16627
+ :agent_version)
15812
16628
  SENSITIVE = []
15813
16629
  include Aws::Structure
15814
16630
  end
@@ -15980,6 +16796,274 @@ module Aws::SageMaker
15980
16796
  include Aws::Structure
15981
16797
  end
15982
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
+
15983
17067
  # The model on the edge device.
15984
17068
  #
15985
17069
  # @!attribute [rw] model_name
@@ -16436,6 +17520,78 @@ module Aws::SageMaker
16436
17520
  include Aws::Structure
16437
17521
  end
16438
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
+
16439
17595
  # Provides summary information for an endpoint.
16440
17596
  #
16441
17597
  # @!attribute [rw] endpoint_name
@@ -16505,6 +17661,59 @@ module Aws::SageMaker
16505
17661
  include Aws::Structure
16506
17662
  end
16507
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
+
16508
17717
  # The properties of an experiment as returned by the Search API.
16509
17718
  #
16510
17719
  # @!attribute [rw] experiment_name
@@ -16542,7 +17751,7 @@ module Aws::SageMaker
16542
17751
  #
16543
17752
  # @!attribute [rw] last_modified_by
16544
17753
  # Information about the user who created or modified an experiment,
16545
- # trial, trial component, or project.
17754
+ # trial, trial component, lineage group, or project.
16546
17755
  # @return [Types::UserContext]
16547
17756
  #
16548
17757
  # @!attribute [rw] tags
@@ -16880,6 +18089,39 @@ module Aws::SageMaker
16880
18089
  include Aws::Structure
16881
18090
  end
16882
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
+
16883
18125
  # The Amazon Elastic File System (EFS) storage configuration for a
16884
18126
  # SageMaker image.
16885
18127
  #
@@ -17315,6 +18557,43 @@ module Aws::SageMaker
17315
18557
  include Aws::Structure
17316
18558
  end
17317
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
+
17318
18597
  # @note When making an API call, you may pass GetModelPackageGroupPolicyInput
17319
18598
  # data as a hash:
17320
18599
  #
@@ -18587,8 +19866,8 @@ module Aws::SageMaker
18587
19866
  # (28,800 seconds).
18588
19867
  #
18589
19868
  # * For [3D point cloud][4] and [video frame][5] labeling jobs, the
18590
- # maximum is 7 days (604,800 seconds). If you want to change these
18591
- # 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.
18592
19871
  #
18593
19872
  #
18594
19873
  #
@@ -18609,9 +19888,8 @@ module Aws::SageMaker
18609
19888
  # seconds).
18610
19889
  #
18611
19890
  # * If you choose a private or vendor workforce, the default value is
18612
- # 10 days (864,000 seconds). For most users, the maximum is also 10
18613
- # days. If you want to change this limit, contact Amazon Web
18614
- # Services Support.
19891
+ # 30 days (2592,000 seconds) for non-AL mode. For most users, the
19892
+ # maximum is also 30 days.
18615
19893
  # @return [Integer]
18616
19894
  #
18617
19895
  # @!attribute [rw] max_concurrent_task_count
@@ -19647,6 +20925,91 @@ module Aws::SageMaker
19647
20925
  include Aws::Structure
19648
20926
  end
19649
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
+
19650
21013
  # Defines how to perform inference generation after a training job is
19651
21014
  # run.
19652
21015
  #
@@ -19664,6 +21027,12 @@ module Aws::SageMaker
19664
21027
  # environment: {
19665
21028
  # "EnvironmentKey" => "EnvironmentValue",
19666
21029
  # },
21030
+ # model_input: {
21031
+ # data_input_config: "DataInputConfig", # required
21032
+ # },
21033
+ # framework: "String",
21034
+ # framework_version: "FrameworkVersion",
21035
+ # nearest_model_name: "String",
19667
21036
  # },
19668
21037
  # ],
19669
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
@@ -20785,6 +22154,41 @@ module Aws::SageMaker
20785
22154
  include Aws::Structure
20786
22155
  end
20787
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
+
20788
22192
  # @note When making an API call, you may pass ListActionsRequest
20789
22193
  # data as a hash:
20790
22194
  #
@@ -22902,6 +24306,107 @@ module Aws::SageMaker
22902
24306
  include Aws::Structure
22903
24307
  end
22904
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
+
22905
24410
  # @note When making an API call, you may pass ListLabelingJobsForWorkteamRequest
22906
24411
  # data as a hash:
22907
24412
  #
@@ -23091,6 +24596,80 @@ module Aws::SageMaker
23091
24596
  include Aws::Structure
23092
24597
  end
23093
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
+
23094
24673
  # @note When making an API call, you may pass ListModelBiasJobDefinitionsRequest
23095
24674
  # data as a hash:
23096
24675
  #
@@ -23264,6 +24843,68 @@ module Aws::SageMaker
23264
24843
  include Aws::Structure
23265
24844
  end
23266
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
+
23267
24908
  # @note When making an API call, you may pass ListModelPackageGroupsInput
23268
24909
  # data as a hash:
23269
24910
  #
@@ -25772,6 +27413,27 @@ module Aws::SageMaker
25772
27413
  include Aws::Structure
25773
27414
  end
25774
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
+
25775
27437
  # Data quality constraints and statistics for a model.
25776
27438
  #
25777
27439
  # @note When making an API call, you may pass ModelDataQuality
@@ -25986,6 +27648,144 @@ module Aws::SageMaker
25986
27648
  include Aws::Structure
25987
27649
  end
25988
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
+
25989
27789
  # Contains metrics captured from a model.
25990
27790
  #
25991
27791
  # @note When making an API call, you may pass ModelMetrics
@@ -26022,6 +27822,16 @@ module Aws::SageMaker
26022
27822
  # content_digest: "ContentDigest",
26023
27823
  # s3_uri: "S3Uri", # required
26024
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
+ # },
26025
27835
  # },
26026
27836
  # explainability: {
26027
27837
  # report: {
@@ -26145,7 +27955,7 @@ module Aws::SageMaker
26145
27955
  #
26146
27956
  # @!attribute [rw] created_by
26147
27957
  # Information about the user who created or modified an experiment,
26148
- # trial, trial component, or project.
27958
+ # trial, trial component, lineage group, or project.
26149
27959
  # @return [Types::UserContext]
26150
27960
  #
26151
27961
  # @!attribute [rw] metadata_properties
@@ -26163,13 +27973,35 @@ module Aws::SageMaker
26163
27973
  #
26164
27974
  # @!attribute [rw] last_modified_by
26165
27975
  # Information about the user who created or modified an experiment,
26166
- # trial, trial component, or project.
27976
+ # trial, trial component, lineage group, or project.
26167
27977
  # @return [Types::UserContext]
26168
27978
  #
26169
27979
  # @!attribute [rw] approval_description
26170
27980
  # A description provided when the model approval is set.
26171
27981
  # @return [String]
26172
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
+ #
26173
28005
  # @!attribute [rw] tags
26174
28006
  # A list of the tags associated with the model package. For more
26175
28007
  # information, see [Tagging Amazon Web Services resources][1] in the
@@ -26184,6 +28016,11 @@ module Aws::SageMaker
26184
28016
  # The metadata properties for the model package.
26185
28017
  # @return [Hash<String,String>]
26186
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
+ #
26187
28024
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackage AWS API Documentation
26188
28025
  #
26189
28026
  class ModelPackage < Struct.new(
@@ -26206,8 +28043,13 @@ module Aws::SageMaker
26206
28043
  :last_modified_time,
26207
28044
  :last_modified_by,
26208
28045
  :approval_description,
28046
+ :domain,
28047
+ :task,
28048
+ :sample_payload_url,
28049
+ :additional_inference_specifications,
26209
28050
  :tags,
26210
- :customer_metadata_properties)
28051
+ :customer_metadata_properties,
28052
+ :drift_check_baselines)
26211
28053
  SENSITIVE = []
26212
28054
  include Aws::Structure
26213
28055
  end
@@ -26226,6 +28068,12 @@ module Aws::SageMaker
26226
28068
  # environment: {
26227
28069
  # "EnvironmentKey" => "EnvironmentValue",
26228
28070
  # },
28071
+ # model_input: {
28072
+ # data_input_config: "DataInputConfig", # required
28073
+ # },
28074
+ # framework: "String",
28075
+ # framework_version: "FrameworkVersion",
28076
+ # nearest_model_name: "String",
26229
28077
  # }
26230
28078
  #
26231
28079
  # @!attribute [rw] container_hostname
@@ -26274,6 +28122,25 @@ module Aws::SageMaker
26274
28122
  # of up to 1024. We support up to 16 entries in the map.
26275
28123
  # @return [Hash<String,String>]
26276
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
+ #
26277
28144
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackageContainerDefinition AWS API Documentation
26278
28145
  #
26279
28146
  class ModelPackageContainerDefinition < Struct.new(
@@ -26282,7 +28149,11 @@ module Aws::SageMaker
26282
28149
  :image_digest,
26283
28150
  :model_data_url,
26284
28151
  :product_id,
26285
- :environment)
28152
+ :environment,
28153
+ :model_input,
28154
+ :framework,
28155
+ :framework_version,
28156
+ :nearest_model_name)
26286
28157
  SENSITIVE = []
26287
28158
  include Aws::Structure
26288
28159
  end
@@ -26307,7 +28178,7 @@ module Aws::SageMaker
26307
28178
  #
26308
28179
  # @!attribute [rw] created_by
26309
28180
  # Information about the user who created or modified an experiment,
26310
- # trial, trial component, or project.
28181
+ # trial, trial component, lineage group, or project.
26311
28182
  # @return [Types::UserContext]
26312
28183
  #
26313
28184
  # @!attribute [rw] model_package_group_status
@@ -28939,6 +30810,158 @@ module Aws::SageMaker
28939
30810
  include Aws::Structure
28940
30811
  end
28941
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
+
28942
30965
  # A SageMaker Model Building Pipeline instance.
28943
30966
  #
28944
30967
  # @!attribute [rw] pipeline_arn
@@ -28980,12 +31003,12 @@ module Aws::SageMaker
28980
31003
  #
28981
31004
  # @!attribute [rw] created_by
28982
31005
  # Information about the user who created or modified an experiment,
28983
- # trial, trial component, or project.
31006
+ # trial, trial component, lineage group, or project.
28984
31007
  # @return [Types::UserContext]
28985
31008
  #
28986
31009
  # @!attribute [rw] last_modified_by
28987
31010
  # Information about the user who created or modified an experiment,
28988
- # trial, trial component, or project.
31011
+ # trial, trial component, lineage group, or project.
28989
31012
  # @return [Types::UserContext]
28990
31013
  #
28991
31014
  # @!attribute [rw] tags
@@ -29052,12 +31075,12 @@ module Aws::SageMaker
29052
31075
  #
29053
31076
  # @!attribute [rw] created_by
29054
31077
  # Information about the user who created or modified an experiment,
29055
- # trial, trial component, or project.
31078
+ # trial, trial component, lineage group, or project.
29056
31079
  # @return [Types::UserContext]
29057
31080
  #
29058
31081
  # @!attribute [rw] last_modified_by
29059
31082
  # Information about the user who created or modified an experiment,
29060
- # trial, trial component, or project.
31083
+ # trial, trial component, lineage group, or project.
29061
31084
  # @return [Types::UserContext]
29062
31085
  #
29063
31086
  # @!attribute [rw] pipeline_parameters
@@ -29176,6 +31199,57 @@ module Aws::SageMaker
29176
31199
  # by this step execution and a list of output parameters.
29177
31200
  # @return [Types::LambdaStepMetadata]
29178
31201
  #
31202
+ # @!attribute [rw] quality_check
31203
+ # The configurations and outcomes of the check step execution. This
31204
+ # includes:
31205
+ #
31206
+ # * The type of the check conducted,
31207
+ #
31208
+ # * The Amazon S3 URIs of baseline constraints and statistics files to
31209
+ # be used for the drift check.
31210
+ #
31211
+ # * The Amazon S3 URIs of newly calculated baseline constraints and
31212
+ # statistics.
31213
+ #
31214
+ # * The model package group name provided.
31215
+ #
31216
+ # * The Amazon S3 URI of the violation report if violations detected.
31217
+ #
31218
+ # * The Amazon Resource Name (ARN) of check processing job initiated
31219
+ # by the step execution.
31220
+ #
31221
+ # * The boolean flags indicating if the drift check is skipped.
31222
+ #
31223
+ # * If step property `BaselineUsedForDriftCheck` is set the same as
31224
+ # `CalculatedBaseline`.
31225
+ # @return [Types::QualityCheckStepMetadata]
31226
+ #
31227
+ # @!attribute [rw] clarify_check
31228
+ # Container for the metadata for a Clarify check step. The
31229
+ # configurations and outcomes of the check step execution. This
31230
+ # includes:
31231
+ #
31232
+ # * The type of the check conducted,
31233
+ #
31234
+ # * The Amazon S3 URIs of baseline constraints and statistics files to
31235
+ # be used for the drift check.
31236
+ #
31237
+ # * The Amazon S3 URIs of newly calculated baseline constraints and
31238
+ # statistics.
31239
+ #
31240
+ # * The model package group name provided.
31241
+ #
31242
+ # * The Amazon S3 URI of the violation report if violations detected.
31243
+ #
31244
+ # * The Amazon Resource Name (ARN) of check processing job initiated
31245
+ # by the step execution.
31246
+ #
31247
+ # * The boolean flags indicating if the drift check is skipped.
31248
+ #
31249
+ # * If step property `BaselineUsedForDriftCheck` is set the same as
31250
+ # `CalculatedBaseline`.
31251
+ # @return [Types::ClarifyCheckStepMetadata]
31252
+ #
29179
31253
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecutionStepMetadata AWS API Documentation
29180
31254
  #
29181
31255
  class PipelineExecutionStepMetadata < Struct.new(
@@ -29187,7 +31261,9 @@ module Aws::SageMaker
29187
31261
  :register_model,
29188
31262
  :condition,
29189
31263
  :callback,
29190
- :lambda)
31264
+ :lambda,
31265
+ :quality_check,
31266
+ :clarify_check)
29191
31267
  SENSITIVE = []
29192
31268
  include Aws::Structure
29193
31269
  end
@@ -29962,14 +32038,18 @@ module Aws::SageMaker
29962
32038
  # {
29963
32039
  # variant_name: "VariantName", # required
29964
32040
  # model_name: "ModelName", # required
29965
- # initial_instance_count: 1, # required
29966
- # 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
32041
+ # initial_instance_count: 1,
32042
+ # 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
29967
32043
  # initial_variant_weight: 1.0,
29968
32044
  # accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
29969
32045
  # core_dump_config: {
29970
32046
  # destination_s3_uri: "DestinationS3Uri", # required
29971
32047
  # kms_key_id: "KmsKeyId",
29972
32048
  # },
32049
+ # serverless_config: {
32050
+ # memory_size_in_mb: 1, # required
32051
+ # max_concurrency: 1, # required
32052
+ # },
29973
32053
  # }
29974
32054
  #
29975
32055
  # @!attribute [rw] variant_name
@@ -30013,6 +32093,18 @@ module Aws::SageMaker
30013
32093
  # when the process crashes.
30014
32094
  # @return [Types::ProductionVariantCoreDumpConfig]
30015
32095
  #
32096
+ # @!attribute [rw] serverless_config
32097
+ # The serverless configuration for an endpoint. Specifies a serverless
32098
+ # endpoint configuration instead of an instance-based endpoint
32099
+ # configuration.
32100
+ #
32101
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32102
+ # is subject to change. We do not recommend using this feature in
32103
+ # production environments.
32104
+ #
32105
+ # </note>
32106
+ # @return [Types::ProductionVariantServerlessConfig]
32107
+ #
30016
32108
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
30017
32109
  #
30018
32110
  class ProductionVariant < Struct.new(
@@ -30022,7 +32114,8 @@ module Aws::SageMaker
30022
32114
  :instance_type,
30023
32115
  :initial_variant_weight,
30024
32116
  :accelerator_type,
30025
- :core_dump_config)
32117
+ :core_dump_config,
32118
+ :serverless_config)
30026
32119
  SENSITIVE = []
30027
32120
  include Aws::Structure
30028
32121
  end
@@ -30097,6 +32190,79 @@ module Aws::SageMaker
30097
32190
  include Aws::Structure
30098
32191
  end
30099
32192
 
32193
+ # Serverless Inference is in preview release for Amazon SageMaker and is
32194
+ # subject to change. We do not recommend using this feature in
32195
+ # production environments.
32196
+ #
32197
+ # Specifies the serverless configuration for an endpoint variant.
32198
+ #
32199
+ # @note When making an API call, you may pass ProductionVariantServerlessConfig
32200
+ # data as a hash:
32201
+ #
32202
+ # {
32203
+ # memory_size_in_mb: 1, # required
32204
+ # max_concurrency: 1, # required
32205
+ # }
32206
+ #
32207
+ # @!attribute [rw] memory_size_in_mb
32208
+ # The memory size of your serverless endpoint. Valid values are in 1
32209
+ # GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144
32210
+ # MB.
32211
+ # @return [Integer]
32212
+ #
32213
+ # @!attribute [rw] max_concurrency
32214
+ # The maximum number of concurrent invocations your serverless
32215
+ # endpoint can process.
32216
+ # @return [Integer]
32217
+ #
32218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantServerlessConfig AWS API Documentation
32219
+ #
32220
+ class ProductionVariantServerlessConfig < Struct.new(
32221
+ :memory_size_in_mb,
32222
+ :max_concurrency)
32223
+ SENSITIVE = []
32224
+ include Aws::Structure
32225
+ end
32226
+
32227
+ # Describes the status of the production variant.
32228
+ #
32229
+ # @!attribute [rw] status
32230
+ # The endpoint variant status which describes the current deployment
32231
+ # stage status or operational status.
32232
+ #
32233
+ # * `Creating`\: Creating inference resources for the production
32234
+ # variant.
32235
+ #
32236
+ # * `Deleting`\: Terminating inference resources for the production
32237
+ # variant.
32238
+ #
32239
+ # * `Updating`\: Updating capacity for the production variant.
32240
+ #
32241
+ # * `ActivatingTraffic`\: Turning on traffic for the production
32242
+ # variant.
32243
+ #
32244
+ # * `Baking`\: Waiting period to monitor the CloudWatch alarms in the
32245
+ # automatic rollback configuration.
32246
+ # @return [String]
32247
+ #
32248
+ # @!attribute [rw] status_message
32249
+ # A message that describes the status of the production variant.
32250
+ # @return [String]
32251
+ #
32252
+ # @!attribute [rw] start_time
32253
+ # The start time of the current status change.
32254
+ # @return [Time]
32255
+ #
32256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantStatus AWS API Documentation
32257
+ #
32258
+ class ProductionVariantStatus < Struct.new(
32259
+ :status,
32260
+ :status_message,
32261
+ :start_time)
32262
+ SENSITIVE = []
32263
+ include Aws::Structure
32264
+ end
32265
+
30100
32266
  # Describes weight and capacities for a production variant associated
30101
32267
  # with an endpoint. If you sent a request to the
30102
32268
  # `UpdateEndpointWeightsAndCapacities` API and the endpoint status is
@@ -30130,6 +32296,31 @@ module Aws::SageMaker
30130
32296
  # `UpdateEndpointWeightsAndCapacities` request.
30131
32297
  # @return [Integer]
30132
32298
  #
32299
+ # @!attribute [rw] variant_status
32300
+ # The endpoint variant status which describes the current deployment
32301
+ # stage status or operational status.
32302
+ # @return [Array<Types::ProductionVariantStatus>]
32303
+ #
32304
+ # @!attribute [rw] current_serverless_config
32305
+ # The serverless configuration for the endpoint.
32306
+ #
32307
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32308
+ # is subject to change. We do not recommend using this feature in
32309
+ # production environments.
32310
+ #
32311
+ # </note>
32312
+ # @return [Types::ProductionVariantServerlessConfig]
32313
+ #
32314
+ # @!attribute [rw] desired_serverless_config
32315
+ # The serverless configuration requested for the endpoint update.
32316
+ #
32317
+ # <note markdown="1"> Serverless Inference is in preview release for Amazon SageMaker and
32318
+ # is subject to change. We do not recommend using this feature in
32319
+ # production environments.
32320
+ #
32321
+ # </note>
32322
+ # @return [Types::ProductionVariantServerlessConfig]
32323
+ #
30133
32324
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantSummary AWS API Documentation
30134
32325
  #
30135
32326
  class ProductionVariantSummary < Struct.new(
@@ -30138,7 +32329,10 @@ module Aws::SageMaker
30138
32329
  :current_weight,
30139
32330
  :desired_weight,
30140
32331
  :current_instance_count,
30141
- :desired_instance_count)
32332
+ :desired_instance_count,
32333
+ :variant_status,
32334
+ :current_serverless_config,
32335
+ :desired_serverless_config)
30142
32336
  SENSITIVE = []
30143
32337
  include Aws::Structure
30144
32338
  end
@@ -30415,7 +32609,7 @@ module Aws::SageMaker
30415
32609
  #
30416
32610
  # @!attribute [rw] last_modified_by
30417
32611
  # Information about the user who created or modified an experiment,
30418
- # trial, trial component, or project.
32612
+ # trial, trial component, lineage group, or project.
30419
32613
  # @return [Types::UserContext]
30420
32614
  #
30421
32615
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Project AWS API Documentation
@@ -30814,6 +33008,266 @@ module Aws::SageMaker
30814
33008
  include Aws::Structure
30815
33009
  end
30816
33010
 
33011
+ # Container for the metadata for a Quality check step. For more
33012
+ # information, see the topic on [QualityCheck step][1] in the *Amazon
33013
+ # SageMaker Developer Guide*.
33014
+ #
33015
+ #
33016
+ #
33017
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-quality-check
33018
+ #
33019
+ # @!attribute [rw] check_type
33020
+ # The type of the Quality check step.
33021
+ # @return [String]
33022
+ #
33023
+ # @!attribute [rw] baseline_used_for_drift_check_statistics
33024
+ # The Amazon S3 URI of the baseline statistics file used for the drift
33025
+ # check.
33026
+ # @return [String]
33027
+ #
33028
+ # @!attribute [rw] baseline_used_for_drift_check_constraints
33029
+ # The Amazon S3 URI of the baseline constraints file used for the
33030
+ # drift check.
33031
+ # @return [String]
33032
+ #
33033
+ # @!attribute [rw] calculated_baseline_statistics
33034
+ # The Amazon S3 URI of the newly calculated baseline statistics file.
33035
+ # @return [String]
33036
+ #
33037
+ # @!attribute [rw] calculated_baseline_constraints
33038
+ # The Amazon S3 URI of the newly calculated baseline constraints file.
33039
+ # @return [String]
33040
+ #
33041
+ # @!attribute [rw] model_package_group_name
33042
+ # The model package group name.
33043
+ # @return [String]
33044
+ #
33045
+ # @!attribute [rw] violation_report
33046
+ # The Amazon S3 URI of violation report if violations are detected.
33047
+ # @return [String]
33048
+ #
33049
+ # @!attribute [rw] check_job_arn
33050
+ # The Amazon Resource Name (ARN) of the Quality check processing job
33051
+ # that was run by this step execution.
33052
+ # @return [String]
33053
+ #
33054
+ # @!attribute [rw] skip_check
33055
+ # This flag indicates if the drift check against the previous baseline
33056
+ # will be skipped or not. If it is set to `False`, the previous
33057
+ # baseline of the configured check type must be available.
33058
+ # @return [Boolean]
33059
+ #
33060
+ # @!attribute [rw] register_new_baseline
33061
+ # This flag indicates if a newly calculated baseline can be accessed
33062
+ # through step properties `BaselineUsedForDriftCheckConstraints` and
33063
+ # `BaselineUsedForDriftCheckStatistics`. If it is set to `False`, the
33064
+ # previous baseline of the configured check type must also be
33065
+ # available. These can be accessed through the
33066
+ # `BaselineUsedForDriftCheckConstraints` and `
33067
+ # BaselineUsedForDriftCheckStatistics` properties.
33068
+ # @return [Boolean]
33069
+ #
33070
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QualityCheckStepMetadata AWS API Documentation
33071
+ #
33072
+ class QualityCheckStepMetadata < Struct.new(
33073
+ :check_type,
33074
+ :baseline_used_for_drift_check_statistics,
33075
+ :baseline_used_for_drift_check_constraints,
33076
+ :calculated_baseline_statistics,
33077
+ :calculated_baseline_constraints,
33078
+ :model_package_group_name,
33079
+ :violation_report,
33080
+ :check_job_arn,
33081
+ :skip_check,
33082
+ :register_new_baseline)
33083
+ SENSITIVE = []
33084
+ include Aws::Structure
33085
+ end
33086
+
33087
+ # A set of filters to narrow the set of lineage entities connected to
33088
+ # the `StartArn`(s) returned by the `QueryLineage` API action.
33089
+ #
33090
+ # @note When making an API call, you may pass QueryFilters
33091
+ # data as a hash:
33092
+ #
33093
+ # {
33094
+ # types: ["String40"],
33095
+ # lineage_types: ["TrialComponent"], # accepts TrialComponent, Artifact, Context, Action
33096
+ # created_before: Time.now,
33097
+ # created_after: Time.now,
33098
+ # modified_before: Time.now,
33099
+ # modified_after: Time.now,
33100
+ # properties: {
33101
+ # "String256" => "String256",
33102
+ # },
33103
+ # }
33104
+ #
33105
+ # @!attribute [rw] types
33106
+ # Filter the lineage entities connected to the `StartArn` by type. For
33107
+ # example: `DataSet`, `Model`, `Endpoint`, or `ModelDeployment`.
33108
+ # @return [Array<String>]
33109
+ #
33110
+ # @!attribute [rw] lineage_types
33111
+ # Filter the lineage entities connected to the `StartArn`(s) by the
33112
+ # type of the lineage entity.
33113
+ # @return [Array<String>]
33114
+ #
33115
+ # @!attribute [rw] created_before
33116
+ # Filter the lineage entities connected to the `StartArn`(s) by
33117
+ # created date.
33118
+ # @return [Time]
33119
+ #
33120
+ # @!attribute [rw] created_after
33121
+ # Filter the lineage entities connected to the `StartArn`(s) after the
33122
+ # create date.
33123
+ # @return [Time]
33124
+ #
33125
+ # @!attribute [rw] modified_before
33126
+ # Filter the lineage entities connected to the `StartArn`(s) before
33127
+ # the last modified date.
33128
+ # @return [Time]
33129
+ #
33130
+ # @!attribute [rw] modified_after
33131
+ # Filter the lineage entities connected to the `StartArn`(s) after the
33132
+ # last modified date.
33133
+ # @return [Time]
33134
+ #
33135
+ # @!attribute [rw] properties
33136
+ # Filter the lineage entities connected to the `StartArn`(s) by a set
33137
+ # if property key value pairs. If multiple pairs are provided, an
33138
+ # entity will be included in the results if it matches any of the
33139
+ # provided pairs.
33140
+ # @return [Hash<String,String>]
33141
+ #
33142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryFilters AWS API Documentation
33143
+ #
33144
+ class QueryFilters < Struct.new(
33145
+ :types,
33146
+ :lineage_types,
33147
+ :created_before,
33148
+ :created_after,
33149
+ :modified_before,
33150
+ :modified_after,
33151
+ :properties)
33152
+ SENSITIVE = []
33153
+ include Aws::Structure
33154
+ end
33155
+
33156
+ # @note When making an API call, you may pass QueryLineageRequest
33157
+ # data as a hash:
33158
+ #
33159
+ # {
33160
+ # start_arns: ["AssociationEntityArn"], # required
33161
+ # direction: "Both", # accepts Both, Ascendants, Descendants
33162
+ # include_edges: false,
33163
+ # filters: {
33164
+ # types: ["String40"],
33165
+ # lineage_types: ["TrialComponent"], # accepts TrialComponent, Artifact, Context, Action
33166
+ # created_before: Time.now,
33167
+ # created_after: Time.now,
33168
+ # modified_before: Time.now,
33169
+ # modified_after: Time.now,
33170
+ # properties: {
33171
+ # "String256" => "String256",
33172
+ # },
33173
+ # },
33174
+ # max_depth: 1,
33175
+ # max_results: 1,
33176
+ # next_token: "String8192",
33177
+ # }
33178
+ #
33179
+ # @!attribute [rw] start_arns
33180
+ # A list of resource Amazon Resource Name (ARN) that represent the
33181
+ # starting point for your lineage query.
33182
+ # @return [Array<String>]
33183
+ #
33184
+ # @!attribute [rw] direction
33185
+ # Associations between lineage entities are directed. This parameter
33186
+ # determines the direction from the StartArn(s) the query will look.
33187
+ # @return [String]
33188
+ #
33189
+ # @!attribute [rw] include_edges
33190
+ # Setting this value to `True` will retrieve not only the entities of
33191
+ # interest but also the [Associations][1] and lineage entities on the
33192
+ # path. Set to `False` to only return lineage entities that match your
33193
+ # query.
33194
+ #
33195
+ #
33196
+ #
33197
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking-entities.html
33198
+ # @return [Boolean]
33199
+ #
33200
+ # @!attribute [rw] filters
33201
+ # A set of filtering parameters that allow you to specify which
33202
+ # entities should be returned.
33203
+ #
33204
+ # * Properties - Key-value pairs to match on the lineage entities'
33205
+ # properties.
33206
+ #
33207
+ # * LineageTypes - A set of lineage entity types to match on. For
33208
+ # example: `TrialComponent`, `Artifact`, or `Context`.
33209
+ #
33210
+ # * CreatedBefore - Filter entities created before this date.
33211
+ #
33212
+ # * ModifiedBefore - Filter entities modified before this date.
33213
+ #
33214
+ # * ModifiedAfter - Filter entities modified after this date.
33215
+ # @return [Types::QueryFilters]
33216
+ #
33217
+ # @!attribute [rw] max_depth
33218
+ # The maximum depth in lineage relationships from the `StartArns` that
33219
+ # will be traversed. Depth is a measure of the number of
33220
+ # `Associations` from the `StartArn` entity to the matched results.
33221
+ # @return [Integer]
33222
+ #
33223
+ # @!attribute [rw] max_results
33224
+ # Limits the number of vertices in the results. Use the `NextToken` in
33225
+ # a response to to retrieve the next page of results.
33226
+ # @return [Integer]
33227
+ #
33228
+ # @!attribute [rw] next_token
33229
+ # Limits the number of vertices in the request. Use the `NextToken` in
33230
+ # a response to to retrieve the next page of results.
33231
+ # @return [String]
33232
+ #
33233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineageRequest AWS API Documentation
33234
+ #
33235
+ class QueryLineageRequest < Struct.new(
33236
+ :start_arns,
33237
+ :direction,
33238
+ :include_edges,
33239
+ :filters,
33240
+ :max_depth,
33241
+ :max_results,
33242
+ :next_token)
33243
+ SENSITIVE = []
33244
+ include Aws::Structure
33245
+ end
33246
+
33247
+ # @!attribute [rw] vertices
33248
+ # A list of vertices connected to the start entity(ies) in the lineage
33249
+ # graph.
33250
+ # @return [Array<Types::Vertex>]
33251
+ #
33252
+ # @!attribute [rw] edges
33253
+ # A list of edges that connect vertices in the response.
33254
+ # @return [Array<Types::Edge>]
33255
+ #
33256
+ # @!attribute [rw] next_token
33257
+ # Limits the number of vertices in the response. Use the `NextToken`
33258
+ # in a response to to retrieve the next page of results.
33259
+ # @return [String]
33260
+ #
33261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineageResponse AWS API Documentation
33262
+ #
33263
+ class QueryLineageResponse < Struct.new(
33264
+ :vertices,
33265
+ :edges,
33266
+ :next_token)
33267
+ SENSITIVE = []
33268
+ include Aws::Structure
33269
+ end
33270
+
30817
33271
  # A collection of settings that apply to an `RSessionGateway` app.
30818
33272
  #
30819
33273
  # @api private
@@ -30937,6 +33391,171 @@ module Aws::SageMaker
30937
33391
  include Aws::Structure
30938
33392
  end
30939
33393
 
33394
+ # The input configuration of the recommendation job.
33395
+ #
33396
+ # @note When making an API call, you may pass RecommendationJobInputConfig
33397
+ # data as a hash:
33398
+ #
33399
+ # {
33400
+ # model_package_version_arn: "ModelPackageArn", # required
33401
+ # job_duration_in_seconds: 1,
33402
+ # traffic_pattern: {
33403
+ # traffic_type: "PHASES", # accepts PHASES
33404
+ # phases: [
33405
+ # {
33406
+ # initial_number_of_users: 1,
33407
+ # spawn_rate: 1,
33408
+ # duration_in_seconds: 1,
33409
+ # },
33410
+ # ],
33411
+ # },
33412
+ # resource_limit: {
33413
+ # max_number_of_tests: 1,
33414
+ # max_parallel_of_tests: 1,
33415
+ # },
33416
+ # endpoint_configurations: [
33417
+ # {
33418
+ # 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
33419
+ # inference_specification_name: "InferenceSpecificationName",
33420
+ # environment_parameter_ranges: {
33421
+ # categorical_parameter_ranges: [
33422
+ # {
33423
+ # name: "String64", # required
33424
+ # value: ["String128"], # required
33425
+ # },
33426
+ # ],
33427
+ # },
33428
+ # },
33429
+ # ],
33430
+ # }
33431
+ #
33432
+ # @!attribute [rw] model_package_version_arn
33433
+ # The Amazon Resource Name (ARN) of a versioned model package.
33434
+ # @return [String]
33435
+ #
33436
+ # @!attribute [rw] job_duration_in_seconds
33437
+ # Specifies the maximum duration of the job, in seconds.&gt;
33438
+ # @return [Integer]
33439
+ #
33440
+ # @!attribute [rw] traffic_pattern
33441
+ # Specifies the traffic pattern of the job.
33442
+ # @return [Types::TrafficPattern]
33443
+ #
33444
+ # @!attribute [rw] resource_limit
33445
+ # Defines the resource limit of the job.
33446
+ # @return [Types::RecommendationJobResourceLimit]
33447
+ #
33448
+ # @!attribute [rw] endpoint_configurations
33449
+ # Specifies the endpoint configuration to use for a job.
33450
+ # @return [Array<Types::EndpointInputConfiguration>]
33451
+ #
33452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
33453
+ #
33454
+ class RecommendationJobInputConfig < Struct.new(
33455
+ :model_package_version_arn,
33456
+ :job_duration_in_seconds,
33457
+ :traffic_pattern,
33458
+ :resource_limit,
33459
+ :endpoint_configurations)
33460
+ SENSITIVE = []
33461
+ include Aws::Structure
33462
+ end
33463
+
33464
+ # Specifies the maximum number of jobs that can run in parallel and the
33465
+ # maximum number of jobs that can run.
33466
+ #
33467
+ # @note When making an API call, you may pass RecommendationJobResourceLimit
33468
+ # data as a hash:
33469
+ #
33470
+ # {
33471
+ # max_number_of_tests: 1,
33472
+ # max_parallel_of_tests: 1,
33473
+ # }
33474
+ #
33475
+ # @!attribute [rw] max_number_of_tests
33476
+ # Defines the maximum number of load tests.
33477
+ # @return [Integer]
33478
+ #
33479
+ # @!attribute [rw] max_parallel_of_tests
33480
+ # Defines the maximum number of parallel load tests.
33481
+ # @return [Integer]
33482
+ #
33483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobResourceLimit AWS API Documentation
33484
+ #
33485
+ class RecommendationJobResourceLimit < Struct.new(
33486
+ :max_number_of_tests,
33487
+ :max_parallel_of_tests)
33488
+ SENSITIVE = []
33489
+ include Aws::Structure
33490
+ end
33491
+
33492
+ # Specifies conditions for stopping a job. When a job reaches a stopping
33493
+ # condition limit, SageMaker ends the job.
33494
+ #
33495
+ # @note When making an API call, you may pass RecommendationJobStoppingConditions
33496
+ # data as a hash:
33497
+ #
33498
+ # {
33499
+ # max_invocations: 1,
33500
+ # model_latency_thresholds: [
33501
+ # {
33502
+ # percentile: "String64",
33503
+ # value_in_milliseconds: 1,
33504
+ # },
33505
+ # ],
33506
+ # }
33507
+ #
33508
+ # @!attribute [rw] max_invocations
33509
+ # The maximum number of requests per minute expected for the endpoint.
33510
+ # @return [Integer]
33511
+ #
33512
+ # @!attribute [rw] model_latency_thresholds
33513
+ # The interval of time taken by a model to respond as viewed from
33514
+ # SageMaker. The interval includes the local communication time taken
33515
+ # to send the request and to fetch the response from the container of
33516
+ # a model and the time taken to complete the inference in the
33517
+ # container.
33518
+ # @return [Array<Types::ModelLatencyThreshold>]
33519
+ #
33520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobStoppingConditions AWS API Documentation
33521
+ #
33522
+ class RecommendationJobStoppingConditions < Struct.new(
33523
+ :max_invocations,
33524
+ :model_latency_thresholds)
33525
+ SENSITIVE = []
33526
+ include Aws::Structure
33527
+ end
33528
+
33529
+ # The metrics of recommendations.
33530
+ #
33531
+ # @!attribute [rw] cost_per_hour
33532
+ # Defines the cost per hour for the instance.
33533
+ # @return [Float]
33534
+ #
33535
+ # @!attribute [rw] cost_per_inference
33536
+ # Defines the cost per inference for the instance .
33537
+ # @return [Float]
33538
+ #
33539
+ # @!attribute [rw] max_invocations
33540
+ # The expected maximum number of requests per minute for the instance.
33541
+ # @return [Integer]
33542
+ #
33543
+ # @!attribute [rw] model_latency
33544
+ # The expected model latency at maximum invocation per minute for the
33545
+ # instance.
33546
+ # @return [Integer]
33547
+ #
33548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationMetrics AWS API Documentation
33549
+ #
33550
+ class RecommendationMetrics < Struct.new(
33551
+ :cost_per_hour,
33552
+ :cost_per_inference,
33553
+ :max_invocations,
33554
+ :model_latency)
33555
+ SENSITIVE = []
33556
+ include Aws::Structure
33557
+ end
33558
+
30940
33559
  # Configuration for Redshift Dataset Definition input.
30941
33560
  #
30942
33561
  # @note When making an API call, you may pass RedshiftDatasetDefinition
@@ -32766,6 +35385,25 @@ module Aws::SageMaker
32766
35385
  include Aws::Structure
32767
35386
  end
32768
35387
 
35388
+ # @note When making an API call, you may pass StopInferenceRecommendationsJobRequest
35389
+ # data as a hash:
35390
+ #
35391
+ # {
35392
+ # job_name: "RecommendationJobName", # required
35393
+ # }
35394
+ #
35395
+ # @!attribute [rw] job_name
35396
+ # The name of the job you want to stop.
35397
+ # @return [String]
35398
+ #
35399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopInferenceRecommendationsJobRequest AWS API Documentation
35400
+ #
35401
+ class StopInferenceRecommendationsJobRequest < Struct.new(
35402
+ :job_name)
35403
+ SENSITIVE = []
35404
+ include Aws::Structure
35405
+ end
35406
+
32769
35407
  # @note When making an API call, you may pass StopLabelingJobRequest
32770
35408
  # data as a hash:
32771
35409
  #
@@ -33247,27 +35885,87 @@ module Aws::SageMaker
33247
35885
  include Aws::Structure
33248
35886
  end
33249
35887
 
33250
- # Currently, the `TrafficRoutingConfig` API is not supported.
35888
+ # Defines the traffic pattern of the load test.
35889
+ #
35890
+ # @note When making an API call, you may pass TrafficPattern
35891
+ # data as a hash:
35892
+ #
35893
+ # {
35894
+ # traffic_type: "PHASES", # accepts PHASES
35895
+ # phases: [
35896
+ # {
35897
+ # initial_number_of_users: 1,
35898
+ # spawn_rate: 1,
35899
+ # duration_in_seconds: 1,
35900
+ # },
35901
+ # ],
35902
+ # }
35903
+ #
35904
+ # @!attribute [rw] traffic_type
35905
+ # Defines the traffic patterns.
35906
+ # @return [String]
35907
+ #
35908
+ # @!attribute [rw] phases
35909
+ # Defines the phases traffic specification.
35910
+ # @return [Array<Types::Phase>]
35911
+ #
35912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficPattern AWS API Documentation
35913
+ #
35914
+ class TrafficPattern < Struct.new(
35915
+ :traffic_type,
35916
+ :phases)
35917
+ SENSITIVE = []
35918
+ include Aws::Structure
35919
+ end
35920
+
35921
+ # Defines the traffic routing strategy during an endpoint deployment to
35922
+ # shift traffic from the old fleet to the new fleet.
33251
35923
  #
33252
35924
  # @note When making an API call, you may pass TrafficRoutingConfig
33253
35925
  # data as a hash:
33254
35926
  #
33255
35927
  # {
33256
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
35928
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
33257
35929
  # wait_interval_in_seconds: 1, # required
33258
35930
  # canary_size: {
33259
35931
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
33260
35932
  # value: 1, # required
33261
35933
  # },
35934
+ # linear_step_size: {
35935
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
35936
+ # value: 1, # required
35937
+ # },
33262
35938
  # }
33263
35939
  #
33264
35940
  # @!attribute [rw] type
35941
+ # Traffic routing strategy type.
35942
+ #
35943
+ # * `ALL_AT_ONCE`\: Endpoint traffic shifts to the new fleet in a
35944
+ # single step.
35945
+ #
35946
+ # * `CANARY`\: Endpoint traffic shifts to the new fleet in two steps.
35947
+ # The first step is the canary, which is a small portion of the
35948
+ # traffic. The second step is the remainder of the traffic.
35949
+ #
35950
+ # * `LINEAR`\: Endpoint traffic shifts to the new fleet in n steps of
35951
+ # a configurable size.
33265
35952
  # @return [String]
33266
35953
  #
33267
35954
  # @!attribute [rw] wait_interval_in_seconds
35955
+ # The waiting time (in seconds) between incremental steps to turn on
35956
+ # traffic on the new endpoint fleet.
33268
35957
  # @return [Integer]
33269
35958
  #
33270
35959
  # @!attribute [rw] canary_size
35960
+ # Batch size for the first step to turn on traffic on the new endpoint
35961
+ # fleet. `Value` must be less than or equal to 50% of the variant's
35962
+ # total instance count.
35963
+ # @return [Types::CapacitySize]
35964
+ #
35965
+ # @!attribute [rw] linear_step_size
35966
+ # Batch size for each step to turn on traffic on the new endpoint
35967
+ # fleet. `Value` must be 10-50% of the variant's total instance
35968
+ # count.
33271
35969
  # @return [Types::CapacitySize]
33272
35970
  #
33273
35971
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficRoutingConfig AWS API Documentation
@@ -33275,7 +35973,8 @@ module Aws::SageMaker
33275
35973
  class TrafficRoutingConfig < Struct.new(
33276
35974
  :type,
33277
35975
  :wait_interval_in_seconds,
33278
- :canary_size)
35976
+ :canary_size,
35977
+ :linear_step_size)
33279
35978
  SENSITIVE = []
33280
35979
  include Aws::Structure
33281
35980
  end
@@ -34689,7 +37388,7 @@ module Aws::SageMaker
34689
37388
  #
34690
37389
  # @!attribute [rw] last_modified_by
34691
37390
  # Information about the user who created or modified an experiment,
34692
- # trial, trial component, or project.
37391
+ # trial, trial component, lineage group, or project.
34693
37392
  # @return [Types::UserContext]
34694
37393
  #
34695
37394
  # @!attribute [rw] metadata_properties
@@ -34772,7 +37471,7 @@ module Aws::SageMaker
34772
37471
  #
34773
37472
  # @!attribute [rw] last_modified_by
34774
37473
  # Information about the user who created or modified an experiment,
34775
- # trial, trial component, or project.
37474
+ # trial, trial component, lineage group, or project.
34776
37475
  # @return [Types::UserContext]
34777
37476
  #
34778
37477
  # @!attribute [rw] parameters
@@ -34800,6 +37499,10 @@ module Aws::SageMaker
34800
37499
  # Details of the source of the component.
34801
37500
  # @return [Types::TrialComponentSourceDetail]
34802
37501
  #
37502
+ # @!attribute [rw] lineage_group_arn
37503
+ # The Amazon Resource Name (ARN) of the lineage group resource.
37504
+ # @return [String]
37505
+ #
34803
37506
  # @!attribute [rw] tags
34804
37507
  # The list of tags that are associated with the component. You can use
34805
37508
  # Search API to search on the tags.
@@ -34831,6 +37534,7 @@ module Aws::SageMaker
34831
37534
  :metrics,
34832
37535
  :metadata_properties,
34833
37536
  :source_detail,
37537
+ :lineage_group_arn,
34834
37538
  :tags,
34835
37539
  :parents)
34836
37540
  SENSITIVE = []
@@ -34983,7 +37687,7 @@ module Aws::SageMaker
34983
37687
  #
34984
37688
  # @!attribute [rw] created_by
34985
37689
  # Information about the user who created or modified an experiment,
34986
- # trial, trial component, or project.
37690
+ # trial, trial component, lineage group, or project.
34987
37691
  # @return [Types::UserContext]
34988
37692
  #
34989
37693
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrialComponentSimpleSummary AWS API Documentation
@@ -35872,12 +38576,16 @@ module Aws::SageMaker
35872
38576
  # deployment_config: {
35873
38577
  # blue_green_update_policy: { # required
35874
38578
  # traffic_routing_configuration: { # required
35875
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
38579
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
35876
38580
  # wait_interval_in_seconds: 1, # required
35877
38581
  # canary_size: {
35878
38582
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
35879
38583
  # value: 1, # required
35880
38584
  # },
38585
+ # linear_step_size: {
38586
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
38587
+ # value: 1, # required
38588
+ # },
35881
38589
  # },
35882
38590
  # termination_wait_in_seconds: 1,
35883
38591
  # maximum_execution_timeout_in_seconds: 1,
@@ -35890,6 +38598,7 @@ module Aws::SageMaker
35890
38598
  # ],
35891
38599
  # },
35892
38600
  # },
38601
+ # retain_deployment_config: false,
35893
38602
  # }
35894
38603
  #
35895
38604
  # @!attribute [rw] endpoint_name
@@ -35924,9 +38633,15 @@ module Aws::SageMaker
35924
38633
  # @return [Array<Types::VariantProperty>]
35925
38634
  #
35926
38635
  # @!attribute [rw] deployment_config
35927
- # The deployment configuration for the endpoint to be updated.
38636
+ # The deployment configuration for an endpoint, which contains the
38637
+ # desired deployment strategy and rollback configurations.
35928
38638
  # @return [Types::DeploymentConfig]
35929
38639
  #
38640
+ # @!attribute [rw] retain_deployment_config
38641
+ # Specifies whether to reuse the last deployment configuration. The
38642
+ # default value is false (the configuration is not reused).
38643
+ # @return [Boolean]
38644
+ #
35930
38645
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointInput AWS API Documentation
35931
38646
  #
35932
38647
  class UpdateEndpointInput < Struct.new(
@@ -35934,7 +38649,8 @@ module Aws::SageMaker
35934
38649
  :endpoint_config_name,
35935
38650
  :retain_all_variant_properties,
35936
38651
  :exclude_retained_variant_properties,
35937
- :deployment_config)
38652
+ :deployment_config,
38653
+ :retain_deployment_config)
35938
38654
  SENSITIVE = []
35939
38655
  include Aws::Structure
35940
38656
  end
@@ -36108,6 +38824,34 @@ module Aws::SageMaker
36108
38824
  # "CustomerMetadataKey" => "CustomerMetadataValue",
36109
38825
  # },
36110
38826
  # customer_metadata_properties_to_remove: ["CustomerMetadataKey"],
38827
+ # additional_inference_specifications_to_add: [
38828
+ # {
38829
+ # name: "EntityName", # required
38830
+ # description: "EntityDescription",
38831
+ # containers: [ # required
38832
+ # {
38833
+ # container_hostname: "ContainerHostname",
38834
+ # image: "ContainerImage", # required
38835
+ # image_digest: "ImageDigest",
38836
+ # model_data_url: "Url",
38837
+ # product_id: "ProductId",
38838
+ # environment: {
38839
+ # "EnvironmentKey" => "EnvironmentValue",
38840
+ # },
38841
+ # model_input: {
38842
+ # data_input_config: "DataInputConfig", # required
38843
+ # },
38844
+ # framework: "String",
38845
+ # framework_version: "FrameworkVersion",
38846
+ # nearest_model_name: "String",
38847
+ # },
38848
+ # ],
38849
+ # 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
38850
+ # 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
38851
+ # supported_content_types: ["ContentType"],
38852
+ # supported_response_mime_types: ["ResponseMIMEType"],
38853
+ # },
38854
+ # ],
36111
38855
  # }
36112
38856
  #
36113
38857
  # @!attribute [rw] model_package_arn
@@ -36131,6 +38875,15 @@ module Aws::SageMaker
36131
38875
  # to remove.
36132
38876
  # @return [Array<String>]
36133
38877
  #
38878
+ # @!attribute [rw] additional_inference_specifications_to_add
38879
+ # An array of additional Inference Specification objects to be added
38880
+ # to the existing array additional Inference Specification. Total
38881
+ # number of additional Inference Specifications can not exceed 15.
38882
+ # Each additional Inference Specification specifies artifacts based on
38883
+ # this model package that can be used on inference endpoints.
38884
+ # Generally used with SageMaker Neo to store the compiled artifacts.
38885
+ # @return [Array<Types::AdditionalInferenceSpecificationDefinition>]
38886
+ #
36134
38887
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackageInput AWS API Documentation
36135
38888
  #
36136
38889
  class UpdateModelPackageInput < Struct.new(
@@ -36138,7 +38891,8 @@ module Aws::SageMaker
36138
38891
  :model_approval_status,
36139
38892
  :approval_description,
36140
38893
  :customer_metadata_properties,
36141
- :customer_metadata_properties_to_remove)
38894
+ :customer_metadata_properties_to_remove,
38895
+ :additional_inference_specifications_to_add)
36142
38896
  SENSITIVE = []
36143
38897
  include Aws::Structure
36144
38898
  end
@@ -37130,7 +39884,7 @@ module Aws::SageMaker
37130
39884
  end
37131
39885
 
37132
39886
  # Information about the user who created or modified an experiment,
37133
- # trial, trial component, or project.
39887
+ # trial, trial component, lineage group, or project.
37134
39888
  #
37135
39889
  # @!attribute [rw] user_profile_arn
37136
39890
  # The Amazon Resource Name (ARN) of the user's profile.
@@ -37346,6 +40100,31 @@ module Aws::SageMaker
37346
40100
  include Aws::Structure
37347
40101
  end
37348
40102
 
40103
+ # A lineage entity connected to the starting entity(ies).
40104
+ #
40105
+ # @!attribute [rw] arn
40106
+ # The Amazon Resource Name (ARN) of the lineage entity resource.
40107
+ # @return [String]
40108
+ #
40109
+ # @!attribute [rw] type
40110
+ # The type of the lineage entity resource. For example: `DataSet`,
40111
+ # `Model`, `Endpoint`, etc...
40112
+ # @return [String]
40113
+ #
40114
+ # @!attribute [rw] lineage_type
40115
+ # The type of resource of the lineage entity.
40116
+ # @return [String]
40117
+ #
40118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Vertex AWS API Documentation
40119
+ #
40120
+ class Vertex < Struct.new(
40121
+ :arn,
40122
+ :type,
40123
+ :lineage_type)
40124
+ SENSITIVE = []
40125
+ include Aws::Structure
40126
+ end
40127
+
37349
40128
  # Specifies a VPC that your training jobs and hosted models have access
37350
40129
  # to. Control access to and from your training and model containers by
37351
40130
  # configuring the VPC. For more information, see [Protect Endpoints by