deleteCertificateProvider method

Future<void> deleteCertificateProvider({
  1. required String certificateProviderName,
})

Deletes a certificate provider.

Requires permission to access the DeleteCertificateProvider action.

If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr will resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).

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

Parameter certificateProviderName : The name of the certificate provider.

Implementation

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