Skip to content

Commit

Permalink
feat(client-sagemaker): This release adds support for one-time model …
Browse files Browse the repository at this point in the history
…monitoring schedules that are executed immediately without delay, explicit data analysis windows for model monitoring schedules and exclude features attributes to remove features from model monitor analysis.
  • Loading branch information
awstools committed Sep 19, 2023
1 parent 871a04d commit 2604b84
Show file tree
Hide file tree
Showing 21 changed files with 334 additions and 223 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export interface CreateAutoMLJobCommandOutput extends CreateAutoMLJobResponse, _
* <p>We recommend using the new versions <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html">CreateAutoMLJobV2</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJobV2.html">DescribeAutoMLJobV2</a>, which offer backward compatibility.</p>
* <p>
* <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those of
* its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
* and non-tabular problem types such as image or text classification.</p>
* its previous version <code>CreateAutoMLJob</code>, as well as non-tabular problem types
* such as image or text classification.</p>
* <p>Find guidelines about how to migrate a <code>CreateAutoMLJob</code> to
* <code>CreateAutoMLJobV2</code> in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2">Migrate a CreateAutoMLJob to CreateAutoMLJobV2</a>.</p>
* </note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export interface CreateAutoMLJobV2CommandOutput extends CreateAutoMLJobV2Respons
* and <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJob.html">DescribeAutoMLJob</a> which offer backward compatibility.</p>
* <p>
* <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those of
* its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
* and non-tabular problem types such as image or text classification.</p>
* its previous version <code>CreateAutoMLJob</code>, as well as non-tabular problem types
* such as image or text classification.</p>
* <p>Find guidelines about how to migrate a <code>CreateAutoMLJob</code> to
* <code>CreateAutoMLJobV2</code> in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2">Migrate a CreateAutoMLJob to CreateAutoMLJobV2</a>.</p>
* </note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ export interface CreateDataQualityJobDefinitionCommandOutput
/**
* @public
* <p>Creates a definition for a job that monitors data quality and drift. For information
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model
* Monitor</a>.</p>
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model Monitor</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down Expand Up @@ -87,6 +86,7 @@ export interface CreateDataQualityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -108,6 +108,7 @@ export interface CreateDataQualityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* },
* DataQualityJobOutputConfig: { // MonitoringOutputConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export interface CreateModelBiasJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -96,6 +97,7 @@ export interface CreateModelBiasJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* GroundTruthS3Input: { // MonitoringGroundTruthS3Input
* S3Uri: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export interface CreateModelExplainabilityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -100,6 +101,7 @@ export interface CreateModelExplainabilityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* },
* ModelExplainabilityJobOutputConfig: { // MonitoringOutputConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ export interface CreateModelQualityJobDefinitionCommandOutput
/**
* @public
* <p>Creates a definition for a job that monitors model quality and drift. For information
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model
* Monitor</a>.</p>
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model Monitor</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down Expand Up @@ -85,6 +84,7 @@ export interface CreateModelQualityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -106,6 +106,7 @@ export interface CreateModelQualityJobDefinitionCommandOutput
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* GroundTruthS3Input: { // MonitoringGroundTruthS3Input
* S3Uri: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS

/**
* @public
* <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to
* monitor the data captured for an Amazon SageMaker Endpoint.</p>
* <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data
* captured for an Amazon SageMaker Endpoint.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand All @@ -49,6 +49,8 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS
* MonitoringScheduleConfig: { // MonitoringScheduleConfig
* ScheduleConfig: { // ScheduleConfig
* ScheduleExpression: "STRING_VALUE", // required
* DataAnalysisStartTime: "STRING_VALUE",
* DataAnalysisEndTime: "STRING_VALUE",
* },
* MonitoringJobDefinition: { // MonitoringJobDefinition
* BaselineConfig: { // MonitoringBaselineConfig
Expand All @@ -73,6 +75,7 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -94,6 +97,7 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* },
* ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface DescribeDataQualityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -113,6 +114,7 @@ export interface DescribeDataQualityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // },
* // DataQualityJobOutputConfig: { // MonitoringOutputConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export interface DescribeModelBiasJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -103,6 +104,7 @@ export interface DescribeModelBiasJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // GroundTruthS3Input: { // MonitoringGroundTruthS3Input
* // S3Uri: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export interface DescribeModelExplainabilityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -107,6 +108,7 @@ export interface DescribeModelExplainabilityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // },
* // ModelExplainabilityJobOutputConfig: { // MonitoringOutputConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export interface DescribeModelQualityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -114,6 +115,7 @@ export interface DescribeModelQualityJobDefinitionCommandOutput
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // GroundTruthS3Input: { // MonitoringGroundTruthS3Input
* // S3Uri: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export interface DescribeMonitoringScheduleCommandOutput extends DescribeMonitor
* // MonitoringScheduleConfig: { // MonitoringScheduleConfig
* // ScheduleConfig: { // ScheduleConfig
* // ScheduleExpression: "STRING_VALUE", // required
* // DataAnalysisStartTime: "STRING_VALUE",
* // DataAnalysisEndTime: "STRING_VALUE",
* // },
* // MonitoringJobDefinition: { // MonitoringJobDefinition
* // BaselineConfig: { // MonitoringBaselineConfig
Expand All @@ -83,6 +85,7 @@ export interface DescribeMonitoringScheduleCommandOutput extends DescribeMonitor
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -104,6 +107,7 @@ export interface DescribeMonitoringScheduleCommandOutput extends DescribeMonitor
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // },
* // ],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-sagemaker/src/commands/SearchCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,8 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // MonitoringScheduleConfig: { // MonitoringScheduleConfig
* // ScheduleConfig: { // ScheduleConfig
* // ScheduleExpression: "STRING_VALUE", // required
* // DataAnalysisStartTime: "STRING_VALUE",
* // DataAnalysisEndTime: "STRING_VALUE",
* // },
* // MonitoringJobDefinition: { // MonitoringJobDefinition
* // BaselineConfig: { // MonitoringBaselineConfig
Expand All @@ -932,6 +934,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: { // BatchTransformInput
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -953,6 +956,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // },
* // ],
Expand Down Expand Up @@ -1845,6 +1849,8 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // MonitoringScheduleConfig: {
* // ScheduleConfig: {
* // ScheduleExpression: "STRING_VALUE", // required
* // DataAnalysisStartTime: "STRING_VALUE",
* // DataAnalysisEndTime: "STRING_VALUE",
* // },
* // MonitoringJobDefinition: {
* // BaselineConfig: {
Expand All @@ -1869,6 +1875,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // BatchTransformInput: {
* // DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -1890,6 +1897,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // ProbabilityThresholdAttribute: Number("double"),
* // StartTimeOffset: "STRING_VALUE",
* // EndTimeOffset: "STRING_VALUE",
* // ExcludeFeaturesAttribute: "STRING_VALUE",
* // },
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export interface UpdateMonitoringScheduleCommandOutput extends UpdateMonitoringS
* MonitoringScheduleConfig: { // MonitoringScheduleConfig
* ScheduleConfig: { // ScheduleConfig
* ScheduleExpression: "STRING_VALUE", // required
* DataAnalysisStartTime: "STRING_VALUE",
* DataAnalysisEndTime: "STRING_VALUE",
* },
* MonitoringJobDefinition: { // MonitoringJobDefinition
* BaselineConfig: { // MonitoringBaselineConfig
Expand All @@ -72,6 +74,7 @@ export interface UpdateMonitoringScheduleCommandOutput extends UpdateMonitoringS
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* BatchTransformInput: { // BatchTransformInput
* DataCapturedDestinationS3Uri: "STRING_VALUE", // required
Expand All @@ -93,6 +96,7 @@ export interface UpdateMonitoringScheduleCommandOutput extends UpdateMonitoringS
* ProbabilityThresholdAttribute: Number("double"),
* StartTimeOffset: "STRING_VALUE",
* EndTimeOffset: "STRING_VALUE",
* ExcludeFeaturesAttribute: "STRING_VALUE",
* },
* },
* ],
Expand Down
Loading

0 comments on commit 2604b84

Please sign in to comment.