Skip to content

Commit 4d3844b

Browse files
authored
doc: fix typo in create_monitoring_schedule method (#2176)
1 parent 2a0cf1b commit 4d3844b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sagemaker/model_monitor/model_monitoring.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def create_monitoring_schedule(
238238
schedule.
239239
statistics (sagemaker.model_monitor.Statistic or str): If provided alongside
240240
constraints, these will be used for monitoring the endpoint. This can be a
241-
sagemaker.model_monitor.Constraints object or an S3 uri pointing to a constraints
241+
sagemaker.model_monitor.Statistic object or an S3 uri pointing to a statistic
242242
JSON file.
243243
constraints (sagemaker.model_monitor.Constraints or str): If provided alongside
244244
statistics, these will be used for monitoring the endpoint. This can be a
@@ -352,7 +352,7 @@ def update_monitoring_schedule(
352352
schedule.
353353
statistics (sagemaker.model_monitor.Statistic or str): If provided alongside
354354
constraints, these will be used for monitoring the endpoint. This can be a
355-
sagemaker.model_monitor.Constraints object or an S3 uri pointing to a constraints
355+
sagemaker.model_monitor.Statistics object or an S3 uri pointing to a statistics
356356
JSON file.
357357
constraints (sagemaker.model_monitor.Constraints or str): If provided alongside
358358
statistics, these will be used for monitoring the endpoint. This can be a
@@ -1552,7 +1552,7 @@ def create_monitoring_schedule(
15521552
JSON file.
15531553
statistics (sagemaker.model_monitor.Statistic or str): If provided alongside
15541554
constraints, these will be used for monitoring the endpoint. This can be a
1555-
sagemaker.model_monitor.Constraints object or an s3_uri pointing to a constraints
1555+
sagemaker.model_monitor.Statistics object or an s3_uri pointing to a statistics
15561556
JSON file.
15571557
monitor_schedule_name (str): Schedule name. If not specified, the processor generates
15581558
a default job name, based on the image name and current timestamp.
@@ -1657,7 +1657,7 @@ def update_monitoring_schedule(
16571657
statistics json files.
16581658
statistics (sagemaker.model_monitor.Statistic or str): If provided alongside
16591659
constraints, these will be used for monitoring the endpoint. This can be a
1660-
sagemaker.model_monitor.Constraints object or an S3 uri pointing to a constraints
1660+
sagemaker.model_monitor.Statistics object or an S3 uri pointing to a statistics
16611661
JSON file.
16621662
constraints (sagemaker.model_monitor.Constraints or str): If provided alongside
16631663
statistics, these will be used for monitoring the endpoint. This can be a
@@ -1843,7 +1843,7 @@ def _update_data_quality_monitoring_schedule(
18431843
to a constraints JSON file.
18441844
statistics (sagemaker.model_monitor.Statistic or str): If provided alongside
18451845
constraints, these will be used for monitoring the endpoint. This can be a
1846-
sagemaker.model_monitor.Constraints object or an S3 uri pointing to a constraints
1846+
sagemaker.model_monitor.Statistics object or an S3 uri pointing to a statistics
18471847
JSON file.
18481848
schedule_cron_expression (str): The cron expression that dictates the frequency that
18491849
this job run. See sagemaker.model_monitor.CronExpressionGenerator for valid

0 commit comments

Comments
 (0)