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
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 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 | |