list_job_runs
¶
list_job_runs(
virtual_cluster_id: ResourceIdString,
*,
config_overrides: Optional[EMRcontainersClientConfig] = None,
created_before: Optional[Date] = None,
created_after: Optional[Date] = None,
name: Optional[ResourceNameString] = None,
states: Optional[JobRunStates] = None,
max_results: Optional[JavaInteger] = None,
next_token: Optional[NextToken] = None,
) -> ListJobRunsResponse
Lists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
Parameters:
-
virtual_cluster_id(ResourceIdString) –The ID of the virtual cluster for which to list the job run.
-
created_before(Optional[Date], default:None) –The date and time before which the job runs were submitted.
-
created_after(Optional[Date], default:None) –The date and time after which the job runs were submitted.
-
name(Optional[ResourceNameString], default:None) –The name of the job run.
-
states(Optional[JobRunStates], default:None) –The states of the job run.
-
max_results(Optional[JavaInteger], default:None) –The maximum number of job runs that can be listed.
-
next_token(Optional[NextToken], default:None) –The token for the next set of job runs to return.
Raises:
-
InternalServerException–This is an internal server exception.
-
ValidationException–There are invalid parameters in the client request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr_containers/_services/em_rcontainers.py
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 | |