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
21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 | |