deleteCACertificate method

Future<void> deleteCACertificate({
  1. required String certificateId,
})

Deletes a registered CA certificate.

Requires permission to access the DeleteCACertificate action.

May throw CertificateStateException. May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw UnauthorizedException.

Parameter certificateId : The ID of the certificate to delete. (The last part of the certificate ARN contains the certificate ID.)

Implementation

Future<void> deleteCACertificate({
  required String certificateId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/cacertificate/${Uri.encodeComponent(certificateId)}',
    exceptionFnMap: _exceptionFns,
  );
}