start_batch_job
¶
start_batch_job(
application_id: Identifier,
batch_job_identifier: BatchJobIdentifier,
*,
config_overrides: Optional[m2ClientConfig] = 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/m2.py
2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 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 | |