update_contact_flow_module_content
async
¶
update_contact_flow_module_content(
instance_id: InstanceId,
contact_flow_module_id: ContactFlowModuleId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
content: Optional[ContactFlowModuleContent] = None,
settings: Optional[FlowModuleSettings] = None,
) -> UpdateContactFlowModuleContentResponse
Updates specified flow module for the specified Connect Customer instance.
Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
contact_flow_module_id(ContactFlowModuleId) –The identifier of the flow module.
-
content(Optional[ContactFlowModuleContent], default:None) –The JSON string that represents the content of the flow. For an example, see Example flow in Connect Customer Flow language.
-
settings(Optional[FlowModuleSettings], default:None) –Serialized JSON string of the flow module Settings schema.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidContactFlowModuleException–The problems with the module. Please fix before trying again.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
26293 26294 26295 26296 26297 26298 26299 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 26351 26352 26353 26354 26355 26356 26357 | |