deleteListener method
Deletes the specified listener.
Alternatively, your listener is deleted when you delete the load balancer to which it is attached.
May throw ListenerNotFoundException.
Parameter listenerArn
:
The Amazon Resource Name (ARN) of the listener.
Implementation
Future<void> deleteListener({
required String listenerArn,
}) async {
ArgumentError.checkNotNull(listenerArn, 'listenerArn');
final $request = <String, dynamic>{};
$request['ListenerArn'] = listenerArn;
await _protocol.send(
$request,
action: 'DeleteListener',
version: '2015-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteListenerInput'],
shapes: shapes,
resultWrapper: 'DeleteListenerResult',
);
}