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
19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 | |