start_batch_job
async
¶
start_batch_job(
application_id: Identifier,
batch_job_identifier: BatchJobIdentifier,
*,
config_overrides: Optional[Asyncm2ClientConfig] = None,
job_params: Optional[BatchJobParametersMap] = None,
auth_secrets_manager_arn: Optional[AuthSecretsManagerArn] = None,
) -> StartBatchJobResponse
Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.
Parameters:
-
application_id(Identifier) –The unique identifier of the application associated with this batch job.
-
batch_job_identifier(BatchJobIdentifier) –The unique identifier of the batch job.
-
job_params(Optional[BatchJobParametersMap], default:None) –The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.
-
auth_secrets_manager_arn(Optional[AuthSecretsManagerArn], default:None) –The Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization for Start Batch Job execution operation.
Raises:
-
AccessDeniedException–The account or role doesn't have the right permissions to make the request.
-
ConflictException–The parameters provided in the request conflict with existing resources.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The number of requests made exceeds the limit.
-
ValidationException–One or more parameters provided in the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_m2/_services/async_m2.py
2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 | |