2020 JobRun ,
2121 ListJobDefinitionsResponse ,
2222 ListJobRunsResponse ,
23+ StartJobDefinitionResponse ,
2324 UpdateJobDefinitionRequestCronScheduleConfig ,
2425 CreateJobDefinitionRequest ,
2526 UpdateJobDefinitionRequest ,
3334 unmarshal_JobRun ,
3435 unmarshal_ListJobDefinitionsResponse ,
3536 unmarshal_ListJobRunsResponse ,
37+ unmarshal_StartJobDefinitionResponse ,
3638)
3739
3840
@@ -332,7 +334,7 @@ async def start_job_definition(
332334 command : Optional [str ] = None ,
333335 environment_variables : Optional [Dict [str , str ]] = None ,
334336 replicas : Optional [int ] = None ,
335- ) -> JobRun :
337+ ) -> StartJobDefinitionResponse :
336338 """
337339 Run an existing job definition by its unique identifier. This will create a new job run.
338340 :param region: Region to target. If none is passed will use default region from the config.
@@ -344,7 +346,7 @@ async def start_job_definition(
344346 :param replicas: Number of jobs to run.
345347
346348 One-of ('_replicas'): at most one of 'replicas' could be set.
347- :return: :class:`JobRun <JobRun >`
349+ :return: :class:`StartJobDefinitionResponse <StartJobDefinitionResponse >`
348350
349351 Usage:
350352 ::
@@ -375,7 +377,7 @@ async def start_job_definition(
375377 )
376378
377379 self ._throw_on_error (res )
378- return unmarshal_JobRun (res .json ())
380+ return unmarshal_StartJobDefinitionResponse (res .json ())
379381
380382 async def get_job_run (
381383 self ,
0 commit comments