deleteAcmeExternalAccountBinding method

Future<void> deleteAcmeExternalAccountBinding({
  1. required String acmeExternalAccountBindingArn,
})

Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter acmeExternalAccountBindingArn : The Amazon Resource Name (ARN) of the ACME external account binding to delete.

Implementation

Future<void> deleteAcmeExternalAccountBinding({
  required String acmeExternalAccountBindingArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'CertificateManager.DeleteAcmeExternalAccountBinding'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'AcmeExternalAccountBindingArn': acmeExternalAccountBindingArn,
    },
    endpoint: _resolveEndpoint(
      serviceType: 'ACM-ACME',
    ),
  );
}