aws-sdk-sagemaker 1.144.0 → 1.145.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2726,6 +2726,55 @@ module Aws::SageMaker
2726
2726
  include Aws::Structure
2727
2727
  end
2728
2728
 
2729
+ # Configuration to control how SageMaker captures inference data for
2730
+ # batch transform jobs.
2731
+ #
2732
+ # @note When making an API call, you may pass BatchDataCaptureConfig
2733
+ # data as a hash:
2734
+ #
2735
+ # {
2736
+ # destination_s3_uri: "S3Uri", # required
2737
+ # kms_key_id: "KmsKeyId",
2738
+ # generate_inference_id: false,
2739
+ # }
2740
+ #
2741
+ # @!attribute [rw] destination_s3_uri
2742
+ # The Amazon S3 location being used to capture the data.
2743
+ # @return [String]
2744
+ #
2745
+ # @!attribute [rw] kms_key_id
2746
+ # The Amazon Resource Name (ARN) of a Amazon Web Services Key
2747
+ # Management Service key that SageMaker uses to encrypt data on the
2748
+ # storage volume attached to the ML compute instance that hosts the
2749
+ # batch transform job.
2750
+ #
2751
+ # The KmsKeyId can be any of the following formats:
2752
+ #
2753
+ # * Key ID: `1234abcd-12ab-34cd-56ef-1234567890ab`
2754
+ #
2755
+ # * Key ARN:
2756
+ # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`
2757
+ #
2758
+ # * Alias name: `alias/ExampleAlias`
2759
+ #
2760
+ # * Alias name ARN:
2761
+ # `arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias`
2762
+ # @return [String]
2763
+ #
2764
+ # @!attribute [rw] generate_inference_id
2765
+ # Flag that indicates whether to append inference id to the output.
2766
+ # @return [Boolean]
2767
+ #
2768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchDataCaptureConfig AWS API Documentation
2769
+ #
2770
+ class BatchDataCaptureConfig < Struct.new(
2771
+ :destination_s3_uri,
2772
+ :kms_key_id,
2773
+ :generate_inference_id)
2774
+ SENSITIVE = []
2775
+ include Aws::Structure
2776
+ end
2777
+
2729
2778
  # The error code and error description associated with the resource.
2730
2779
  #
2731
2780
  # @!attribute [rw] error_code
@@ -2830,6 +2879,116 @@ module Aws::SageMaker
2830
2879
  include Aws::Structure
2831
2880
  end
2832
2881
 
2882
+ # Input object for the batch transform job.
2883
+ #
2884
+ # @note When making an API call, you may pass BatchTransformInput
2885
+ # data as a hash:
2886
+ #
2887
+ # {
2888
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
2889
+ # dataset_format: { # required
2890
+ # csv: {
2891
+ # header: false,
2892
+ # },
2893
+ # json: {
2894
+ # line: false,
2895
+ # },
2896
+ # parquet: {
2897
+ # },
2898
+ # },
2899
+ # local_path: "ProcessingLocalPath", # required
2900
+ # s3_input_mode: "Pipe", # accepts Pipe, File
2901
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
2902
+ # features_attribute: "String",
2903
+ # inference_attribute: "String",
2904
+ # probability_attribute: "String",
2905
+ # probability_threshold_attribute: 1.0,
2906
+ # start_time_offset: "MonitoringTimeOffsetString",
2907
+ # end_time_offset: "MonitoringTimeOffsetString",
2908
+ # }
2909
+ #
2910
+ # @!attribute [rw] data_captured_destination_s3_uri
2911
+ # The Amazon S3 location being used to capture the data.
2912
+ # @return [String]
2913
+ #
2914
+ # @!attribute [rw] dataset_format
2915
+ # The dataset format for your batch transform job.
2916
+ # @return [Types::MonitoringDatasetFormat]
2917
+ #
2918
+ # @!attribute [rw] local_path
2919
+ # Path to the filesystem where the batch transform data is available
2920
+ # to the container.
2921
+ # @return [String]
2922
+ #
2923
+ # @!attribute [rw] s3_input_mode
2924
+ # Whether the `Pipe` or `File` is used as the input mode for
2925
+ # transferring data for the monitoring job. `Pipe` mode is recommended
2926
+ # for large datasets. `File` mode is useful for small files that fit
2927
+ # in memory. Defaults to `File`.
2928
+ # @return [String]
2929
+ #
2930
+ # @!attribute [rw] s3_data_distribution_type
2931
+ # Whether input data distributed in Amazon S3 is fully replicated or
2932
+ # sharded by an S3 key. Defaults to `FullyReplicated`
2933
+ # @return [String]
2934
+ #
2935
+ # @!attribute [rw] features_attribute
2936
+ # The attributes of the input data that are the input features.
2937
+ # @return [String]
2938
+ #
2939
+ # @!attribute [rw] inference_attribute
2940
+ # The attribute of the input data that represents the ground truth
2941
+ # label.
2942
+ # @return [String]
2943
+ #
2944
+ # @!attribute [rw] probability_attribute
2945
+ # In a classification problem, the attribute that represents the class
2946
+ # probability.
2947
+ # @return [String]
2948
+ #
2949
+ # @!attribute [rw] probability_threshold_attribute
2950
+ # The threshold for the class probability to be evaluated as a
2951
+ # positive result.
2952
+ # @return [Float]
2953
+ #
2954
+ # @!attribute [rw] start_time_offset
2955
+ # If specified, monitoring jobs substract this time from the start
2956
+ # time. For information about using offsets for scheduling monitoring
2957
+ # jobs, see [Schedule Model Quality Monitoring Jobs][1].
2958
+ #
2959
+ #
2960
+ #
2961
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html
2962
+ # @return [String]
2963
+ #
2964
+ # @!attribute [rw] end_time_offset
2965
+ # If specified, monitoring jobs substract this time from the end time.
2966
+ # For information about using offsets for scheduling monitoring jobs,
2967
+ # see [Schedule Model Quality Monitoring Jobs][1].
2968
+ #
2969
+ #
2970
+ #
2971
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html
2972
+ # @return [String]
2973
+ #
2974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchTransformInput AWS API Documentation
2975
+ #
2976
+ class BatchTransformInput < Struct.new(
2977
+ :data_captured_destination_s3_uri,
2978
+ :dataset_format,
2979
+ :local_path,
2980
+ :s3_input_mode,
2981
+ :s3_data_distribution_type,
2982
+ :features_attribute,
2983
+ :inference_attribute,
2984
+ :probability_attribute,
2985
+ :probability_threshold_attribute,
2986
+ :start_time_offset,
2987
+ :end_time_offset)
2988
+ SENSITIVE = []
2989
+ include Aws::Structure
2990
+ end
2991
+
2833
2992
  # Contains bias metrics for a model.
2834
2993
  #
2835
2994
  # @note When making an API call, you may pass Bias
@@ -5502,7 +5661,7 @@ module Aws::SageMaker
5502
5661
  # },
5503
5662
  # },
5504
5663
  # data_quality_job_input: { # required
5505
- # endpoint_input: { # required
5664
+ # endpoint_input: {
5506
5665
  # endpoint_name: "EndpointName", # required
5507
5666
  # local_path: "ProcessingLocalPath", # required
5508
5667
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -5514,6 +5673,28 @@ module Aws::SageMaker
5514
5673
  # start_time_offset: "MonitoringTimeOffsetString",
5515
5674
  # end_time_offset: "MonitoringTimeOffsetString",
5516
5675
  # },
5676
+ # batch_transform_input: {
5677
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
5678
+ # dataset_format: { # required
5679
+ # csv: {
5680
+ # header: false,
5681
+ # },
5682
+ # json: {
5683
+ # line: false,
5684
+ # },
5685
+ # parquet: {
5686
+ # },
5687
+ # },
5688
+ # local_path: "ProcessingLocalPath", # required
5689
+ # s3_input_mode: "Pipe", # accepts Pipe, File
5690
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
5691
+ # features_attribute: "String",
5692
+ # inference_attribute: "String",
5693
+ # probability_attribute: "String",
5694
+ # probability_threshold_attribute: 1.0,
5695
+ # start_time_offset: "MonitoringTimeOffsetString",
5696
+ # end_time_offset: "MonitoringTimeOffsetString",
5697
+ # },
5517
5698
  # },
5518
5699
  # data_quality_job_output_config: { # required
5519
5700
  # monitoring_outputs: [ # required
@@ -7778,7 +7959,7 @@ module Aws::SageMaker
7778
7959
  # },
7779
7960
  # },
7780
7961
  # model_bias_job_input: { # required
7781
- # endpoint_input: { # required
7962
+ # endpoint_input: {
7782
7963
  # endpoint_name: "EndpointName", # required
7783
7964
  # local_path: "ProcessingLocalPath", # required
7784
7965
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -7790,6 +7971,28 @@ module Aws::SageMaker
7790
7971
  # start_time_offset: "MonitoringTimeOffsetString",
7791
7972
  # end_time_offset: "MonitoringTimeOffsetString",
7792
7973
  # },
7974
+ # batch_transform_input: {
7975
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
7976
+ # dataset_format: { # required
7977
+ # csv: {
7978
+ # header: false,
7979
+ # },
7980
+ # json: {
7981
+ # line: false,
7982
+ # },
7983
+ # parquet: {
7984
+ # },
7985
+ # },
7986
+ # local_path: "ProcessingLocalPath", # required
7987
+ # s3_input_mode: "Pipe", # accepts Pipe, File
7988
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
7989
+ # features_attribute: "String",
7990
+ # inference_attribute: "String",
7991
+ # probability_attribute: "String",
7992
+ # probability_threshold_attribute: 1.0,
7993
+ # start_time_offset: "MonitoringTimeOffsetString",
7994
+ # end_time_offset: "MonitoringTimeOffsetString",
7995
+ # },
7793
7996
  # ground_truth_s3_input: { # required
7794
7997
  # s3_uri: "MonitoringS3Uri",
7795
7998
  # },
@@ -7932,7 +8135,7 @@ module Aws::SageMaker
7932
8135
  # },
7933
8136
  # },
7934
8137
  # model_explainability_job_input: { # required
7935
- # endpoint_input: { # required
8138
+ # endpoint_input: {
7936
8139
  # endpoint_name: "EndpointName", # required
7937
8140
  # local_path: "ProcessingLocalPath", # required
7938
8141
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -7944,6 +8147,28 @@ module Aws::SageMaker
7944
8147
  # start_time_offset: "MonitoringTimeOffsetString",
7945
8148
  # end_time_offset: "MonitoringTimeOffsetString",
7946
8149
  # },
8150
+ # batch_transform_input: {
8151
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
8152
+ # dataset_format: { # required
8153
+ # csv: {
8154
+ # header: false,
8155
+ # },
8156
+ # json: {
8157
+ # line: false,
8158
+ # },
8159
+ # parquet: {
8160
+ # },
8161
+ # },
8162
+ # local_path: "ProcessingLocalPath", # required
8163
+ # s3_input_mode: "Pipe", # accepts Pipe, File
8164
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
8165
+ # features_attribute: "String",
8166
+ # inference_attribute: "String",
8167
+ # probability_attribute: "String",
8168
+ # probability_threshold_attribute: 1.0,
8169
+ # start_time_offset: "MonitoringTimeOffsetString",
8170
+ # end_time_offset: "MonitoringTimeOffsetString",
8171
+ # },
7947
8172
  # },
7948
8173
  # model_explainability_job_output_config: { # required
7949
8174
  # monitoring_outputs: [ # required
@@ -8703,7 +8928,7 @@ module Aws::SageMaker
8703
8928
  # },
8704
8929
  # },
8705
8930
  # model_quality_job_input: { # required
8706
- # endpoint_input: { # required
8931
+ # endpoint_input: {
8707
8932
  # endpoint_name: "EndpointName", # required
8708
8933
  # local_path: "ProcessingLocalPath", # required
8709
8934
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -8715,6 +8940,28 @@ module Aws::SageMaker
8715
8940
  # start_time_offset: "MonitoringTimeOffsetString",
8716
8941
  # end_time_offset: "MonitoringTimeOffsetString",
8717
8942
  # },
8943
+ # batch_transform_input: {
8944
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
8945
+ # dataset_format: { # required
8946
+ # csv: {
8947
+ # header: false,
8948
+ # },
8949
+ # json: {
8950
+ # line: false,
8951
+ # },
8952
+ # parquet: {
8953
+ # },
8954
+ # },
8955
+ # local_path: "ProcessingLocalPath", # required
8956
+ # s3_input_mode: "Pipe", # accepts Pipe, File
8957
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
8958
+ # features_attribute: "String",
8959
+ # inference_attribute: "String",
8960
+ # probability_attribute: "String",
8961
+ # probability_threshold_attribute: 1.0,
8962
+ # start_time_offset: "MonitoringTimeOffsetString",
8963
+ # end_time_offset: "MonitoringTimeOffsetString",
8964
+ # },
8718
8965
  # ground_truth_s3_input: { # required
8719
8966
  # s3_uri: "MonitoringS3Uri",
8720
8967
  # },
@@ -8858,7 +9105,7 @@ module Aws::SageMaker
8858
9105
  # },
8859
9106
  # monitoring_inputs: [ # required
8860
9107
  # {
8861
- # endpoint_input: { # required
9108
+ # endpoint_input: {
8862
9109
  # endpoint_name: "EndpointName", # required
8863
9110
  # local_path: "ProcessingLocalPath", # required
8864
9111
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -8870,6 +9117,28 @@ module Aws::SageMaker
8870
9117
  # start_time_offset: "MonitoringTimeOffsetString",
8871
9118
  # end_time_offset: "MonitoringTimeOffsetString",
8872
9119
  # },
9120
+ # batch_transform_input: {
9121
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
9122
+ # dataset_format: { # required
9123
+ # csv: {
9124
+ # header: false,
9125
+ # },
9126
+ # json: {
9127
+ # line: false,
9128
+ # },
9129
+ # parquet: {
9130
+ # },
9131
+ # },
9132
+ # local_path: "ProcessingLocalPath", # required
9133
+ # s3_input_mode: "Pipe", # accepts Pipe, File
9134
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
9135
+ # features_attribute: "String",
9136
+ # inference_attribute: "String",
9137
+ # probability_attribute: "String",
9138
+ # probability_threshold_attribute: 1.0,
9139
+ # start_time_offset: "MonitoringTimeOffsetString",
9140
+ # end_time_offset: "MonitoringTimeOffsetString",
9141
+ # },
8873
9142
  # },
8874
9143
  # ],
8875
9144
  # monitoring_output_config: { # required
@@ -10219,6 +10488,11 @@ module Aws::SageMaker
10219
10488
  # assemble_with: "None", # accepts None, Line
10220
10489
  # kms_key_id: "KmsKeyId",
10221
10490
  # },
10491
+ # data_capture_config: {
10492
+ # destination_s3_uri: "S3Uri", # required
10493
+ # kms_key_id: "KmsKeyId",
10494
+ # generate_inference_id: false,
10495
+ # },
10222
10496
  # transform_resources: { # required
10223
10497
  # instance_type: "ml.m4.xlarge", # required, 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
10224
10498
  # instance_count: 1, # required
@@ -10326,6 +10600,10 @@ module Aws::SageMaker
10326
10600
  # Describes the results of the transform job.
10327
10601
  # @return [Types::TransformOutput]
10328
10602
  #
10603
+ # @!attribute [rw] data_capture_config
10604
+ # Configuration to control how SageMaker captures inference data.
10605
+ # @return [Types::BatchDataCaptureConfig]
10606
+ #
10329
10607
  # @!attribute [rw] transform_resources
10330
10608
  # Describes the resources, including ML instance types and ML instance
10331
10609
  # count, to use for the transform job.
@@ -10379,6 +10657,7 @@ module Aws::SageMaker
10379
10657
  :environment,
10380
10658
  :transform_input,
10381
10659
  :transform_output,
10660
+ :data_capture_config,
10382
10661
  :transform_resources,
10383
10662
  :data_processing,
10384
10663
  :tags,
@@ -11339,7 +11618,7 @@ module Aws::SageMaker
11339
11618
  # data as a hash:
11340
11619
  #
11341
11620
  # {
11342
- # endpoint_input: { # required
11621
+ # endpoint_input: {
11343
11622
  # endpoint_name: "EndpointName", # required
11344
11623
  # local_path: "ProcessingLocalPath", # required
11345
11624
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -11351,16 +11630,43 @@ module Aws::SageMaker
11351
11630
  # start_time_offset: "MonitoringTimeOffsetString",
11352
11631
  # end_time_offset: "MonitoringTimeOffsetString",
11353
11632
  # },
11633
+ # batch_transform_input: {
11634
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
11635
+ # dataset_format: { # required
11636
+ # csv: {
11637
+ # header: false,
11638
+ # },
11639
+ # json: {
11640
+ # line: false,
11641
+ # },
11642
+ # parquet: {
11643
+ # },
11644
+ # },
11645
+ # local_path: "ProcessingLocalPath", # required
11646
+ # s3_input_mode: "Pipe", # accepts Pipe, File
11647
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
11648
+ # features_attribute: "String",
11649
+ # inference_attribute: "String",
11650
+ # probability_attribute: "String",
11651
+ # probability_threshold_attribute: 1.0,
11652
+ # start_time_offset: "MonitoringTimeOffsetString",
11653
+ # end_time_offset: "MonitoringTimeOffsetString",
11654
+ # },
11354
11655
  # }
11355
11656
  #
11356
11657
  # @!attribute [rw] endpoint_input
11357
11658
  # Input object for the endpoint
11358
11659
  # @return [Types::EndpointInput]
11359
11660
  #
11661
+ # @!attribute [rw] batch_transform_input
11662
+ # Input object for the batch transform job.
11663
+ # @return [Types::BatchTransformInput]
11664
+ #
11360
11665
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DataQualityJobInput AWS API Documentation
11361
11666
  #
11362
11667
  class DataQualityJobInput < Struct.new(
11363
- :endpoint_input)
11668
+ :endpoint_input,
11669
+ :batch_transform_input)
11364
11670
  SENSITIVE = []
11365
11671
  include Aws::Structure
11366
11672
  end
@@ -17424,6 +17730,10 @@ module Aws::SageMaker
17424
17730
  # save the results from the transform job.
17425
17731
  # @return [Types::TransformOutput]
17426
17732
  #
17733
+ # @!attribute [rw] data_capture_config
17734
+ # Configuration to control how SageMaker captures inference data.
17735
+ # @return [Types::BatchDataCaptureConfig]
17736
+ #
17427
17737
  # @!attribute [rw] transform_resources
17428
17738
  # Describes the resources, including ML instance types and ML instance
17429
17739
  # count, to use for the transform job.
@@ -17495,6 +17805,7 @@ module Aws::SageMaker
17495
17805
  :environment,
17496
17806
  :transform_input,
17497
17807
  :transform_output,
17808
+ :data_capture_config,
17498
17809
  :transform_resources,
17499
17810
  :creation_time,
17500
17811
  :transform_start_time,
@@ -30005,7 +30316,7 @@ module Aws::SageMaker
30005
30316
  # data as a hash:
30006
30317
  #
30007
30318
  # {
30008
- # endpoint_input: { # required
30319
+ # endpoint_input: {
30009
30320
  # endpoint_name: "EndpointName", # required
30010
30321
  # local_path: "ProcessingLocalPath", # required
30011
30322
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -30017,6 +30328,28 @@ module Aws::SageMaker
30017
30328
  # start_time_offset: "MonitoringTimeOffsetString",
30018
30329
  # end_time_offset: "MonitoringTimeOffsetString",
30019
30330
  # },
30331
+ # batch_transform_input: {
30332
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
30333
+ # dataset_format: { # required
30334
+ # csv: {
30335
+ # header: false,
30336
+ # },
30337
+ # json: {
30338
+ # line: false,
30339
+ # },
30340
+ # parquet: {
30341
+ # },
30342
+ # },
30343
+ # local_path: "ProcessingLocalPath", # required
30344
+ # s3_input_mode: "Pipe", # accepts Pipe, File
30345
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
30346
+ # features_attribute: "String",
30347
+ # inference_attribute: "String",
30348
+ # probability_attribute: "String",
30349
+ # probability_threshold_attribute: 1.0,
30350
+ # start_time_offset: "MonitoringTimeOffsetString",
30351
+ # end_time_offset: "MonitoringTimeOffsetString",
30352
+ # },
30020
30353
  # ground_truth_s3_input: { # required
30021
30354
  # s3_uri: "MonitoringS3Uri",
30022
30355
  # },
@@ -30026,6 +30359,10 @@ module Aws::SageMaker
30026
30359
  # Input object for the endpoint
30027
30360
  # @return [Types::EndpointInput]
30028
30361
  #
30362
+ # @!attribute [rw] batch_transform_input
30363
+ # Input object for the batch transform job.
30364
+ # @return [Types::BatchTransformInput]
30365
+ #
30029
30366
  # @!attribute [rw] ground_truth_s3_input
30030
30367
  # Location of ground truth labels to use in model bias job.
30031
30368
  # @return [Types::MonitoringGroundTruthS3Input]
@@ -30034,6 +30371,7 @@ module Aws::SageMaker
30034
30371
  #
30035
30372
  class ModelBiasJobInput < Struct.new(
30036
30373
  :endpoint_input,
30374
+ :batch_transform_input,
30037
30375
  :ground_truth_s3_input)
30038
30376
  SENSITIVE = []
30039
30377
  include Aws::Structure
@@ -30278,7 +30616,7 @@ module Aws::SageMaker
30278
30616
  # data as a hash:
30279
30617
  #
30280
30618
  # {
30281
- # endpoint_input: { # required
30619
+ # endpoint_input: {
30282
30620
  # endpoint_name: "EndpointName", # required
30283
30621
  # local_path: "ProcessingLocalPath", # required
30284
30622
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -30290,16 +30628,43 @@ module Aws::SageMaker
30290
30628
  # start_time_offset: "MonitoringTimeOffsetString",
30291
30629
  # end_time_offset: "MonitoringTimeOffsetString",
30292
30630
  # },
30631
+ # batch_transform_input: {
30632
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
30633
+ # dataset_format: { # required
30634
+ # csv: {
30635
+ # header: false,
30636
+ # },
30637
+ # json: {
30638
+ # line: false,
30639
+ # },
30640
+ # parquet: {
30641
+ # },
30642
+ # },
30643
+ # local_path: "ProcessingLocalPath", # required
30644
+ # s3_input_mode: "Pipe", # accepts Pipe, File
30645
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
30646
+ # features_attribute: "String",
30647
+ # inference_attribute: "String",
30648
+ # probability_attribute: "String",
30649
+ # probability_threshold_attribute: 1.0,
30650
+ # start_time_offset: "MonitoringTimeOffsetString",
30651
+ # end_time_offset: "MonitoringTimeOffsetString",
30652
+ # },
30293
30653
  # }
30294
30654
  #
30295
30655
  # @!attribute [rw] endpoint_input
30296
30656
  # Input object for the endpoint
30297
30657
  # @return [Types::EndpointInput]
30298
30658
  #
30659
+ # @!attribute [rw] batch_transform_input
30660
+ # Input object for the batch transform job.
30661
+ # @return [Types::BatchTransformInput]
30662
+ #
30299
30663
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelExplainabilityJobInput AWS API Documentation
30300
30664
  #
30301
30665
  class ModelExplainabilityJobInput < Struct.new(
30302
- :endpoint_input)
30666
+ :endpoint_input,
30667
+ :batch_transform_input)
30303
30668
  SENSITIVE = []
30304
30669
  include Aws::Structure
30305
30670
  end
@@ -31283,7 +31648,7 @@ module Aws::SageMaker
31283
31648
  # data as a hash:
31284
31649
  #
31285
31650
  # {
31286
- # endpoint_input: { # required
31651
+ # endpoint_input: {
31287
31652
  # endpoint_name: "EndpointName", # required
31288
31653
  # local_path: "ProcessingLocalPath", # required
31289
31654
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -31295,6 +31660,28 @@ module Aws::SageMaker
31295
31660
  # start_time_offset: "MonitoringTimeOffsetString",
31296
31661
  # end_time_offset: "MonitoringTimeOffsetString",
31297
31662
  # },
31663
+ # batch_transform_input: {
31664
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
31665
+ # dataset_format: { # required
31666
+ # csv: {
31667
+ # header: false,
31668
+ # },
31669
+ # json: {
31670
+ # line: false,
31671
+ # },
31672
+ # parquet: {
31673
+ # },
31674
+ # },
31675
+ # local_path: "ProcessingLocalPath", # required
31676
+ # s3_input_mode: "Pipe", # accepts Pipe, File
31677
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
31678
+ # features_attribute: "String",
31679
+ # inference_attribute: "String",
31680
+ # probability_attribute: "String",
31681
+ # probability_threshold_attribute: 1.0,
31682
+ # start_time_offset: "MonitoringTimeOffsetString",
31683
+ # end_time_offset: "MonitoringTimeOffsetString",
31684
+ # },
31298
31685
  # ground_truth_s3_input: { # required
31299
31686
  # s3_uri: "MonitoringS3Uri",
31300
31687
  # },
@@ -31304,6 +31691,10 @@ module Aws::SageMaker
31304
31691
  # Input object for the endpoint
31305
31692
  # @return [Types::EndpointInput]
31306
31693
  #
31694
+ # @!attribute [rw] batch_transform_input
31695
+ # Input object for the batch transform job.
31696
+ # @return [Types::BatchTransformInput]
31697
+ #
31307
31698
  # @!attribute [rw] ground_truth_s3_input
31308
31699
  # The ground truth label provided for the model.
31309
31700
  # @return [Types::MonitoringGroundTruthS3Input]
@@ -31312,6 +31703,7 @@ module Aws::SageMaker
31312
31703
  #
31313
31704
  class ModelQualityJobInput < Struct.new(
31314
31705
  :endpoint_input,
31706
+ :batch_transform_input,
31315
31707
  :ground_truth_s3_input)
31316
31708
  SENSITIVE = []
31317
31709
  include Aws::Structure
@@ -31515,6 +31907,65 @@ module Aws::SageMaker
31515
31907
  include Aws::Structure
31516
31908
  end
31517
31909
 
31910
+ # Represents the CSV dataset format used when running a monitoring job.
31911
+ #
31912
+ # @note When making an API call, you may pass MonitoringCsvDatasetFormat
31913
+ # data as a hash:
31914
+ #
31915
+ # {
31916
+ # header: false,
31917
+ # }
31918
+ #
31919
+ # @!attribute [rw] header
31920
+ # Indicates if the CSV data has a header.
31921
+ # @return [Boolean]
31922
+ #
31923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MonitoringCsvDatasetFormat AWS API Documentation
31924
+ #
31925
+ class MonitoringCsvDatasetFormat < Struct.new(
31926
+ :header)
31927
+ SENSITIVE = []
31928
+ include Aws::Structure
31929
+ end
31930
+
31931
+ # Represents the dataset format used when running a monitoring job.
31932
+ #
31933
+ # @note When making an API call, you may pass MonitoringDatasetFormat
31934
+ # data as a hash:
31935
+ #
31936
+ # {
31937
+ # csv: {
31938
+ # header: false,
31939
+ # },
31940
+ # json: {
31941
+ # line: false,
31942
+ # },
31943
+ # parquet: {
31944
+ # },
31945
+ # }
31946
+ #
31947
+ # @!attribute [rw] csv
31948
+ # The CSV dataset used in the monitoring job.
31949
+ # @return [Types::MonitoringCsvDatasetFormat]
31950
+ #
31951
+ # @!attribute [rw] json
31952
+ # The JSON dataset used in the monitoring job
31953
+ # @return [Types::MonitoringJsonDatasetFormat]
31954
+ #
31955
+ # @!attribute [rw] parquet
31956
+ # The Parquet dataset used in the monitoring job
31957
+ # @return [Types::MonitoringParquetDatasetFormat]
31958
+ #
31959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MonitoringDatasetFormat AWS API Documentation
31960
+ #
31961
+ class MonitoringDatasetFormat < Struct.new(
31962
+ :csv,
31963
+ :json,
31964
+ :parquet)
31965
+ SENSITIVE = []
31966
+ include Aws::Structure
31967
+ end
31968
+
31518
31969
  # Summary of information about the last monitoring job to run.
31519
31970
  #
31520
31971
  # @!attribute [rw] monitoring_schedule_name
@@ -31602,7 +32053,7 @@ module Aws::SageMaker
31602
32053
  # data as a hash:
31603
32054
  #
31604
32055
  # {
31605
- # endpoint_input: { # required
32056
+ # endpoint_input: {
31606
32057
  # endpoint_name: "EndpointName", # required
31607
32058
  # local_path: "ProcessingLocalPath", # required
31608
32059
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -31614,16 +32065,43 @@ module Aws::SageMaker
31614
32065
  # start_time_offset: "MonitoringTimeOffsetString",
31615
32066
  # end_time_offset: "MonitoringTimeOffsetString",
31616
32067
  # },
32068
+ # batch_transform_input: {
32069
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
32070
+ # dataset_format: { # required
32071
+ # csv: {
32072
+ # header: false,
32073
+ # },
32074
+ # json: {
32075
+ # line: false,
32076
+ # },
32077
+ # parquet: {
32078
+ # },
32079
+ # },
32080
+ # local_path: "ProcessingLocalPath", # required
32081
+ # s3_input_mode: "Pipe", # accepts Pipe, File
32082
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
32083
+ # features_attribute: "String",
32084
+ # inference_attribute: "String",
32085
+ # probability_attribute: "String",
32086
+ # probability_threshold_attribute: 1.0,
32087
+ # start_time_offset: "MonitoringTimeOffsetString",
32088
+ # end_time_offset: "MonitoringTimeOffsetString",
32089
+ # },
31617
32090
  # }
31618
32091
  #
31619
32092
  # @!attribute [rw] endpoint_input
31620
32093
  # The endpoint for a monitoring job.
31621
32094
  # @return [Types::EndpointInput]
31622
32095
  #
32096
+ # @!attribute [rw] batch_transform_input
32097
+ # Input object for the batch transform job.
32098
+ # @return [Types::BatchTransformInput]
32099
+ #
31623
32100
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MonitoringInput AWS API Documentation
31624
32101
  #
31625
32102
  class MonitoringInput < Struct.new(
31626
- :endpoint_input)
32103
+ :endpoint_input,
32104
+ :batch_transform_input)
31627
32105
  SENSITIVE = []
31628
32106
  include Aws::Structure
31629
32107
  end
@@ -31645,7 +32123,7 @@ module Aws::SageMaker
31645
32123
  # },
31646
32124
  # monitoring_inputs: [ # required
31647
32125
  # {
31648
- # endpoint_input: { # required
32126
+ # endpoint_input: {
31649
32127
  # endpoint_name: "EndpointName", # required
31650
32128
  # local_path: "ProcessingLocalPath", # required
31651
32129
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -31657,6 +32135,28 @@ module Aws::SageMaker
31657
32135
  # start_time_offset: "MonitoringTimeOffsetString",
31658
32136
  # end_time_offset: "MonitoringTimeOffsetString",
31659
32137
  # },
32138
+ # batch_transform_input: {
32139
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
32140
+ # dataset_format: { # required
32141
+ # csv: {
32142
+ # header: false,
32143
+ # },
32144
+ # json: {
32145
+ # line: false,
32146
+ # },
32147
+ # parquet: {
32148
+ # },
32149
+ # },
32150
+ # local_path: "ProcessingLocalPath", # required
32151
+ # s3_input_mode: "Pipe", # accepts Pipe, File
32152
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
32153
+ # features_attribute: "String",
32154
+ # inference_attribute: "String",
32155
+ # probability_attribute: "String",
32156
+ # probability_threshold_attribute: 1.0,
32157
+ # start_time_offset: "MonitoringTimeOffsetString",
32158
+ # end_time_offset: "MonitoringTimeOffsetString",
32159
+ # },
31660
32160
  # },
31661
32161
  # ],
31662
32162
  # monitoring_output_config: { # required
@@ -31792,6 +32292,27 @@ module Aws::SageMaker
31792
32292
  include Aws::Structure
31793
32293
  end
31794
32294
 
32295
+ # Represents the JSON dataset format used when running a monitoring job.
32296
+ #
32297
+ # @note When making an API call, you may pass MonitoringJsonDatasetFormat
32298
+ # data as a hash:
32299
+ #
32300
+ # {
32301
+ # line: false,
32302
+ # }
32303
+ #
32304
+ # @!attribute [rw] line
32305
+ # Indicates if the file should be read as a json object per line.
32306
+ # @return [Boolean]
32307
+ #
32308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MonitoringJsonDatasetFormat AWS API Documentation
32309
+ #
32310
+ class MonitoringJsonDatasetFormat < Struct.new(
32311
+ :line)
32312
+ SENSITIVE = []
32313
+ include Aws::Structure
32314
+ end
32315
+
31795
32316
  # The networking configuration for the monitoring job.
31796
32317
  #
31797
32318
  # @note When making an API call, you may pass MonitoringNetworkConfig
@@ -31905,6 +32426,15 @@ module Aws::SageMaker
31905
32426
  include Aws::Structure
31906
32427
  end
31907
32428
 
32429
+ # Represents the Parquet dataset format used when running a monitoring
32430
+ # job.
32431
+ #
32432
+ # @api private
32433
+ #
32434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MonitoringParquetDatasetFormat AWS API Documentation
32435
+ #
32436
+ class MonitoringParquetDatasetFormat < Aws::EmptyStructure; end
32437
+
31908
32438
  # Identifies the resources to deploy for a monitoring job.
31909
32439
  #
31910
32440
  # @note When making an API call, you may pass MonitoringResources
@@ -32075,7 +32605,7 @@ module Aws::SageMaker
32075
32605
  # },
32076
32606
  # monitoring_inputs: [ # required
32077
32607
  # {
32078
- # endpoint_input: { # required
32608
+ # endpoint_input: {
32079
32609
  # endpoint_name: "EndpointName", # required
32080
32610
  # local_path: "ProcessingLocalPath", # required
32081
32611
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -32087,6 +32617,28 @@ module Aws::SageMaker
32087
32617
  # start_time_offset: "MonitoringTimeOffsetString",
32088
32618
  # end_time_offset: "MonitoringTimeOffsetString",
32089
32619
  # },
32620
+ # batch_transform_input: {
32621
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
32622
+ # dataset_format: { # required
32623
+ # csv: {
32624
+ # header: false,
32625
+ # },
32626
+ # json: {
32627
+ # line: false,
32628
+ # },
32629
+ # parquet: {
32630
+ # },
32631
+ # },
32632
+ # local_path: "ProcessingLocalPath", # required
32633
+ # s3_input_mode: "Pipe", # accepts Pipe, File
32634
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
32635
+ # features_attribute: "String",
32636
+ # inference_attribute: "String",
32637
+ # probability_attribute: "String",
32638
+ # probability_threshold_attribute: 1.0,
32639
+ # start_time_offset: "MonitoringTimeOffsetString",
32640
+ # end_time_offset: "MonitoringTimeOffsetString",
32641
+ # },
32090
32642
  # },
32091
32643
  # ],
32092
32644
  # monitoring_output_config: { # required
@@ -42291,7 +42843,7 @@ module Aws::SageMaker
42291
42843
  # },
42292
42844
  # monitoring_inputs: [ # required
42293
42845
  # {
42294
- # endpoint_input: { # required
42846
+ # endpoint_input: {
42295
42847
  # endpoint_name: "EndpointName", # required
42296
42848
  # local_path: "ProcessingLocalPath", # required
42297
42849
  # s3_input_mode: "Pipe", # accepts Pipe, File
@@ -42303,6 +42855,28 @@ module Aws::SageMaker
42303
42855
  # start_time_offset: "MonitoringTimeOffsetString",
42304
42856
  # end_time_offset: "MonitoringTimeOffsetString",
42305
42857
  # },
42858
+ # batch_transform_input: {
42859
+ # data_captured_destination_s3_uri: "DestinationS3Uri", # required
42860
+ # dataset_format: { # required
42861
+ # csv: {
42862
+ # header: false,
42863
+ # },
42864
+ # json: {
42865
+ # line: false,
42866
+ # },
42867
+ # parquet: {
42868
+ # },
42869
+ # },
42870
+ # local_path: "ProcessingLocalPath", # required
42871
+ # s3_input_mode: "Pipe", # accepts Pipe, File
42872
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
42873
+ # features_attribute: "String",
42874
+ # inference_attribute: "String",
42875
+ # probability_attribute: "String",
42876
+ # probability_threshold_attribute: 1.0,
42877
+ # start_time_offset: "MonitoringTimeOffsetString",
42878
+ # end_time_offset: "MonitoringTimeOffsetString",
42879
+ # },
42306
42880
  # },
42307
42881
  # ],
42308
42882
  # monitoring_output_config: { # required