list_job_templates
async
¶
list_job_templates(
*,
config_overrides: Optional[AsyncEMRcontainersClientConfig] = None,
created_after: Optional[Date] = None,
created_before: Optional[Date] = None,
max_results: Optional[JavaInteger] = None,
next_token: Optional[NextToken] = None,
) -> ListJobTemplatesResponse
Lists job templates based on a set of parameters. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
Parameters:
-
created_after(Optional[Date], default:None) –The date and time after which the job templates were created.
-
created_before(Optional[Date], default:None) –The date and time before which the job templates were created.
-
max_results(Optional[JavaInteger], default:None) –The maximum number of job templates that can be listed.
-
next_token(Optional[NextToken], default:None) –The token for the next set of job templates 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/async_em_rcontainers.py
1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 | |