| DataCaptureConfig | R Documentation | 
Configuration object passed in when deploying models to Amazon SageMaker Endpoints. This object specifies configuration related to endpoint data capture for use with Amazon SageMaker Model Monitoring.
enable_captureWhether data capture should be enabled or not.
sampling_percentageThe percentage of data to sample.
destination_s3_uriDefaults to "s3://<default-session-bucket>/model-monitor/data-capture"
kms_key_idThe kms key to use when writing to S3.
capture_optionsDenotes which data to capture between request and response.
csv_content_typesDefault=["text/csv"].
json_content_typesDefault=["application/json"].
sagemaker_sessionA SageMaker Session object
API_MAPPINGConvert to API values or pass value directly through if unable to convert
new()Initialize a DataCaptureConfig object for capturing data from Amazon SageMaker Endpoints.
DataCaptureConfig$new( enable_capture = TRUE, sampling_percentage = 20L, destination_s3_uri = NULL, kms_key_id = NULL, capture_options = NULL, csv_content_types = NULL, json_content_types = NULL, sagemaker_session = NULL )
enable_capture(bool): Required. Whether data capture should be enabled or not.
sampling_percentage(int): Optional. Default=20. The percentage of data to sample. Must be between 0 and 100.
destination_s3_uri(str): Optional. Defaults to "s3://<default-session-bucket>/ model-monitor/data-capture".
kms_key_id(str): Optional. Default=None. The kms key to use when writing to S3.
capture_options([str]): Optional. Must be a list containing any combination of the following values: "REQUEST", "RESPONSE". Default=["REQUEST", "RESPONSE"]. Denotes which data to capture between request and response.
csv_content_types([str]): Optional. Default=["text/csv"].
json_content_types([str]): Optional. Default=["application/json"].
sagemaker_session(sagemaker.session.Session): A SageMaker Session object, used for SageMaker interactions (default: None). If not specified, one is created using the default AWS configuration chain.
to_request_list()Generates a request named list using the parameters provided to the class.
DataCaptureConfig$to_request_list()
format()format class
DataCaptureConfig$format()
clone()The objects of this class are cloneable with this method.
DataCaptureConfig$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.