revokeAcmeExternalAccountBinding method
Revokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter acmeExternalAccountBindingArn :
The Amazon Resource Name (ARN) of the ACME external account binding to
revoke.
Implementation
Future<void> revokeAcmeExternalAccountBinding({
required String acmeExternalAccountBindingArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CertificateManager.RevokeAcmeExternalAccountBinding'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AcmeExternalAccountBindingArn': acmeExternalAccountBindingArn,
},
endpoint: _resolveEndpoint(
serviceType: 'ACM-ACME',
),
);
}