deleteChannelFlow method

Future<void> deleteChannelFlow({
  1. required String channelFlowArn,
})

Deletes a channel flow, an irreversible process. This is a developer API.

May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw ServiceFailureException. May throw ServiceUnavailableException. May throw ThrottledClientException. May throw UnauthorizedClientException.

Parameter channelFlowArn : The ARN of the channel flow.

Implementation

Future<void> deleteChannelFlow({
  required String channelFlowArn,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/channel-flows/${Uri.encodeComponent(channelFlowArn)}',
    exceptionFnMap: _exceptionFns,
  );
}