update_flow
¶
update_flow(
aws_account_id: AccountId,
flow_id: FlowId,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 | |