deleteContactFlowModule method

Future<void> deleteContactFlowModule({
  1. required String contactFlowModuleId,
  2. required String instanceId,
})

Deletes the specified flow module.

May throw AccessDeniedException. May throw InternalServiceException. May throw InvalidParameterException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter contactFlowModuleId : The identifier of the flow module.

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

Implementation

Future<void> deleteContactFlowModule({
  required String contactFlowModuleId,
  required String instanceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/contact-flow-modules/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(contactFlowModuleId)}',
    exceptionFnMap: _exceptionFns,
  );
}