Connect / Client / update_contact_flow_module_content

update_contact_flow_module_content#

Connect.Client.update_contact_flow_module_content(**kwargs)#

Updates specified flow module for the specified Amazon Connect instance.

Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. Once a contact flow is published, $SAVED needs to be supplied to view saved content that has not been published.

See also: AWS API Documentation

Request Syntax

response = client.update_contact_flow_module_content(
    InstanceId='string',
    ContactFlowModuleId='string',
    Content='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • ContactFlowModuleId (string) –

    [REQUIRED]

    The identifier of the flow module.

  • Content (string) –

    [REQUIRED]

    The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidContactFlowModuleException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException