Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringExecutionSummaryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnMonitoringSchedule::MonitoringExecutionSummaryProperty
- Defined in:
- sagemaker/cfn_monitoring_schedule.rb
Overview
Summary of information about the last monitoring job to run.
Instance Attribute Summary collapse
-
#creation_time ⇒ String
readonly
The time at which the monitoring job was created.
-
#endpoint_name ⇒ String?
readonly
The name of the endpoint used to run the monitoring job.
-
#failure_reason ⇒ String?
readonly
Contains the reason a monitoring job failed, if it failed.
-
#last_modified_time ⇒ String
readonly
A timestamp that indicates the last time the monitoring job was modified.
-
#monitoring_execution_status ⇒ String
readonly
The status of the monitoring job.
-
#monitoring_schedule_name ⇒ String
readonly
The name of the monitoring schedule.
-
#processing_job_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the monitoring job.
-
#scheduled_time ⇒ String
readonly
The time the monitoring job was scheduled.
Class Method Summary collapse
Instance Method Summary collapse
-
#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
constructor
A new instance of MonitoringExecutionSummaryProperty.
- #to_jsii ⇒ Object
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.
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_time ⇒ String (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_name ⇒ String? (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_reason ⇒ String? (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_time ⇒ String (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_status ⇒ String (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_name ⇒ String (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_arn ⇒ String? (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_time ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |