SageMaker / Client / get_model_monitor_execution
get_model_monitor_execution¶
- SageMaker.Client.get_model_monitor_execution(**kwargs)¶
Returns information about one execution of a model monitor configuration. You identify the execution by the name or Amazon Resource Name (ARN) of the configuration and the time that the execution was scheduled to run.
Note
This operation is in public preview release for Amazon SageMaker AI and is subject to change. This feature is not recommended for production environments.
See also: AWS API Documentation
Request Syntax
response = client.get_model_monitor_execution( ModelMonitorConfigNameOrArn='string', ScheduledAt=datetime(2015, 1, 1) )
- Parameters:
ModelMonitorConfigNameOrArn (string) –
[REQUIRED]
The name or Amazon Resource Name (ARN) of the model monitor configuration. Specify one of the following:
The name of the model monitor configuration.
The Amazon Resource Name (ARN) of the model monitor configuration.
ScheduledAt (datetime) –
[REQUIRED]
The date and time that the execution was scheduled to run.
- Return type:
dict
- Returns:
Response Syntax
{ 'ModelMonitorConfigArn': 'string', 'ModelMonitorConfigName': 'string', 'ConfigVersion': 123, 'ScheduledAt': datetime(2015, 1, 1), 'StartedAt': datetime(2015, 1, 1), 'EndedAt': datetime(2015, 1, 1), 'Status': 'Pending'|'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped', 'FailureReason': 'string', 'ReasonCode': 'NoTraffic'|'MostlyUnparsable'|'SpansMissingTraceId'|'NoUsableSpans'|'TracesIncomplete'|'SamplingExcludedAll'|'AllUnevaluable'|'TraceFormatNotSupported', 'TracesRead': 123, 'TracesSampled': 123, 'ScorerCount': 123, 'ScorerInvocationsRun': 123, 'ScorerInvocationsSucceeded': 123, 'ScorerInvocationsFailed': 123, 'PerScorer': [ { 'EvaluatorArn': 'string', 'ScorerInvocationsRun': 123, 'ScorerInvocationsSucceeded': 123, 'ScorerInvocationsFailed': 123, 'FailureKind': 'string' }, ], 'EvalCriteriaVersion': 'string' }
Response Structure
(dict) –
ModelMonitorConfigArn (string) –
The Amazon Resource Name (ARN) of the model monitor configuration.
ModelMonitorConfigName (string) –
The name of the model monitor configuration.
ConfigVersion (integer) –
The version of the model monitor configuration that the execution used.
ScheduledAt (datetime) –
The date and time that the execution was scheduled to run.
StartedAt (datetime) –
The date and time that the execution started.
EndedAt (datetime) –
The date and time that the execution ended.
Status (string) –
The status of the execution.
FailureReason (string) –
The reason that the execution failed, if it failed.
ReasonCode (string) –
The reason that the execution produced no scored result. This field is absent when the execution produced a scored result.
TracesRead (integer) –
The number of traces that the execution read.
TracesSampled (integer) –
The number of traces that the execution sampled.
ScorerCount (integer) –
The number of scorers that the execution used.
ScorerInvocationsRun (integer) –
The number of scorer invocations that ran.
ScorerInvocationsSucceeded (integer) –
The number of scorer invocations that succeeded.
ScorerInvocationsFailed (integer) –
The number of scorer invocations that failed.
PerScorer (list) –
The invocation counts for each scorer in the execution.
(dict) –
The invocation counts for one scorer in an execution.
EvaluatorArn (string) –
The Amazon Resource Name (ARN) of the evaluator.
ScorerInvocationsRun (integer) –
The number of scorer invocations that ran.
ScorerInvocationsSucceeded (integer) –
The number of scorer invocations that succeeded.
ScorerInvocationsFailed (integer) –
The number of scorer invocations that failed.
FailureKind (string) –
The kind of failure, if the scorer’s invocations failed.
EvalCriteriaVersion (string) –
The version of the Eval Criteria that the execution used.
Exceptions