ListMonitoringExecutions
Returns list of all monitoring job executions.
Request Syntax
{
"EndpointName": "string",
"MaxResults": number,
"MonitoringJobDefinitionName": "string",
"MonitoringScheduleName": "string",
"MonitoringTypeEquals": "string",
"NextToken": "string",
"SortBy": "string",
"SortOrder": "string",
"StatusEquals": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- EndpointName
-
Name of a specific endpoint to fetch jobs for.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 63.
Pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}Required: No
- MaxResults
-
The maximum number of jobs to return in the response. The default value is 10.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- MonitoringJobDefinitionName
-
Gets a list of the monitoring job runs of the specified monitoring job definitions.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}Required: No
- MonitoringScheduleName
-
Name of a specific schedule to fetch jobs for.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}Required: No
- MonitoringTypeEquals
-
A filter that returns only the monitoring job runs of the specified monitoring type.
Type: String
Valid Values:
DataQuality | ModelQuality | ModelBias | ModelExplainabilityRequired: No
- NextToken
-
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 8192.
Pattern:
.*Required: No
- SortBy
-
Whether to sort the results by the
Status,CreationTime, orScheduledTimefield. The default isCreationTime.Type: String
Valid Values:
CreationTime | ScheduledTime | StatusRequired: No
- SortOrder
-
Whether to sort the results in
AscendingorDescendingorder. The default isDescending.Type: String
Valid Values:
Ascending | DescendingRequired: No
- StatusEquals
-
A filter that retrieves only jobs with a specific status.
Type: String
Valid Values:
Pending | Completed | CompletedWithViolations | InProgress | Failed | Stopping | StoppedRequired: No
Response Syntax
{
"MonitoringExecutionSummaries": [
{
"EndpointName": "string",
"FailureReason": "string",
"MonitoringExecutionStatus": "string",
"MonitoringJobDefinitionName": "string",
"MonitoringScheduleName": "string",
"MonitoringType": "string",
"ProcessingJobArn": "string"
}
],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- MonitoringExecutionSummaries
-
A JSON array in which each element is a summary for a monitoring execution.
Type: Array of MonitoringExecutionSummary objects
- NextToken
-
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 8192.
Pattern:
.*
Errors
For information about the errors that are common to all actions, see Common Error Types.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: