update_flow
async
¶
update_flow(
aws_account_id: AccountId,
flow_id: FlowId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
name: Optional[TitleInput] = None,
description: Optional[FlowDescriptionInput] = None,
flow_definition: Optional[SensitiveDocument] = None,
client_token: Optional[UpdateFlowRequestClientTokenString] = None,
) -> UpdateFlowResponse
Updates an existing flow. Supply only the fields you want to change. Updates both DRAFT and PUBLISHED versions. When FlowDefinition is provided, all existing steps are replaced with the new definition.
Parameters:
-
aws_account_id(AccountId) –The ID of the Amazon Web Services account that contains the flow that you are updating.
-
flow_id(FlowId) –The unique identifier of the flow to update.
-
name(Optional[TitleInput], default:None) –Updated display name for the flow. Omit to preserve the existing name.
-
description(Optional[FlowDescriptionInput], default:None) –Updated description for the flow. Omit to preserve the existing description.
-
flow_definition(Optional[SensitiveDocument], default:None) –The definition of the flow, specifying the steps and configurations. This is the flow definition in Quick Flow's internal format. The format is subject to change. When provided, all existing steps are replaced. Omit to preserve the existing definition.
Always derive or depend on the flow definition from the
DescribeFlowoperation to ensure you are working with the latest format. -
client_token(Optional[UpdateFlowRequestClientTokenString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 | |