Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringExecutionSummaryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_monitoring_schedule.rb

Overview

Summary of information about the last monitoring job to run.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(creation_time:, last_modified_time:, monitoring_execution_status:, monitoring_schedule_name:, scheduled_time:, endpoint_name: nil, failure_reason: nil, processing_job_arn: nil) ⇒ MonitoringExecutionSummaryProperty

Returns a new instance of MonitoringExecutionSummaryProperty.

Parameters:

  • creation_time (String)

    The time at which the monitoring job was created.

  • last_modified_time (String)

    A timestamp that indicates the last time the monitoring job was modified.

  • monitoring_execution_status (String)

    The status of the monitoring job.

  • monitoring_schedule_name (String)

    The name of the monitoring schedule.

  • scheduled_time (String)

    The time the monitoring job was scheduled.

  • endpoint_name (String, nil) (defaults to: nil)

    The name of the endpoint used to run the monitoring job.

  • failure_reason (String, nil) (defaults to: nil)

    Contains the reason a monitoring job failed, if it failed.

  • processing_job_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the monitoring job.



1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1123

def initialize(creation_time:, last_modified_time:, monitoring_execution_status:, monitoring_schedule_name:, scheduled_time:, endpoint_name: nil, failure_reason: nil, processing_job_arn: nil)
  @creation_time = creation_time
  Jsii::Type.check_type(@creation_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "creationTime")
  @last_modified_time = last_modified_time
  Jsii::Type.check_type(@last_modified_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lastModifiedTime")
  @monitoring_execution_status = monitoring_execution_status
  Jsii::Type.check_type(@monitoring_execution_status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "monitoringExecutionStatus")
  @monitoring_schedule_name = monitoring_schedule_name
  Jsii::Type.check_type(@monitoring_schedule_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "monitoringScheduleName")
  @scheduled_time = scheduled_time
  Jsii::Type.check_type(@scheduled_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scheduledTime")
  @endpoint_name = endpoint_name
  Jsii::Type.check_type(@endpoint_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointName") unless @endpoint_name.nil?
  @failure_reason = failure_reason
  Jsii::Type.check_type(@failure_reason, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "failureReason") unless @failure_reason.nil?
  @processing_job_arn = processing_job_arn
  Jsii::Type.check_type(@processing_job_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "processingJobArn") unless @processing_job_arn.nil?
end

Instance Attribute Details

#creation_timeString (readonly)

The time at which the monitoring job was created.



1146
1147
1148
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1146

def creation_time
  @creation_time
end

#endpoint_nameString? (readonly)

The name of the endpoint used to run the monitoring job.



1171
1172
1173
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1171

def endpoint_name
  @endpoint_name
end

#failure_reasonString? (readonly)

Contains the reason a monitoring job failed, if it failed.



1176
1177
1178
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1176

def failure_reason
  @failure_reason
end

#last_modified_timeString (readonly)

A timestamp that indicates the last time the monitoring job was modified.



1151
1152
1153
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1151

def last_modified_time
  @last_modified_time
end

#monitoring_execution_statusString (readonly)

The status of the monitoring job.



1156
1157
1158
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1156

def monitoring_execution_status
  @monitoring_execution_status
end

#monitoring_schedule_nameString (readonly)

The name of the monitoring schedule.



1161
1162
1163
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1161

def monitoring_schedule_name
  @monitoring_schedule_name
end

#processing_job_arnString? (readonly)

The Amazon Resource Name (ARN) of the monitoring job.



1181
1182
1183
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1181

def processing_job_arn
  @processing_job_arn
end

#scheduled_timeString (readonly)

The time the monitoring job was scheduled.



1166
1167
1168
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1166

def scheduled_time
  @scheduled_time
end

Class Method Details

.jsii_propertiesObject



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1183

def self.jsii_properties
  {
    :creation_time => "creationTime",
    :last_modified_time => "lastModifiedTime",
    :monitoring_execution_status => "monitoringExecutionStatus",
    :monitoring_schedule_name => "monitoringScheduleName",
    :scheduled_time => "scheduledTime",
    :endpoint_name => "endpointName",
    :failure_reason => "failureReason",
    :processing_job_arn => "processingJobArn",
  }
end

Instance Method Details

#to_jsiiObject



1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1196

def to_jsii
  result = {}
  result.merge!({
    "creationTime" => @creation_time,
    "lastModifiedTime" => @last_modified_time,
    "monitoringExecutionStatus" => @monitoring_execution_status,
    "monitoringScheduleName" => @monitoring_schedule_name,
    "scheduledTime" => @scheduled_time,
    "endpointName" => @endpoint_name,
    "failureReason" => @failure_reason,
    "processingJobArn" => @processing_job_arn,
  })
  result.compact
end