update_map_run
async
¶
update_map_run(
map_run_arn: LongArn,
*,
config_overrides: Optional[AsyncSFNClientConfig] = None,
max_concurrency: Optional[MaxConcurrency] = None,
tolerated_failure_percentage: Optional[ToleratedFailurePercentage] = None,
tolerated_failure_count: Optional[ToleratedFailureCount] = None,
) -> UpdateMapRunOutput
Updates an in-progress Map Run's configuration to include changes to the settings that control maximum concurrency and Map Run failure.
Parameters:
-
map_run_arn(LongArn) –The Amazon Resource Name (ARN) of a Map Run.
-
max_concurrency(Optional[MaxConcurrency], default:None) –The maximum number of child workflow executions that can be specified to run in parallel for the Map Run at the same time.
-
tolerated_failure_percentage(Optional[ToleratedFailurePercentage], default:None) –The maximum percentage of failed items before the Map Run fails.
-
tolerated_failure_count(Optional[ToleratedFailureCount], default:None) –The maximum number of failed items before the Map Run fails.
Raises:
-
InvalidArn–The provided Amazon Resource Name (ARN) is not valid.
-
ResourceNotFound–Could not find the referenced resource.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sfn/_services/async_sfn.py
2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 | |