removeListenerCertificates method
Future<void>
removeListenerCertificates({
- required List<
Certificate> certificates, - required String listenerArn,
Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.
May throw ListenerNotFoundException. May throw OperationNotPermittedException.
Parameter certificates
:
The certificate to remove. You can specify one certificate per call. Set
CertificateArn
to the certificate ARN but do not set
IsDefault
.
Parameter listenerArn
:
The Amazon Resource Name (ARN) of the listener.
Implementation
Future<void> removeListenerCertificates({
required List<Certificate> certificates,
required String listenerArn,
}) async {
ArgumentError.checkNotNull(certificates, 'certificates');
ArgumentError.checkNotNull(listenerArn, 'listenerArn');
final $request = <String, dynamic>{};
$request['Certificates'] = certificates;
$request['ListenerArn'] = listenerArn;
await _protocol.send(
$request,
action: 'RemoveListenerCertificates',
version: '2015-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['RemoveListenerCertificatesInput'],
shapes: shapes,
resultWrapper: 'RemoveListenerCertificatesResult',
);
}