describeCertificate method

Future<DescribeCertificateResponse> describeCertificate({
  1. required String certificateId,
})

Gets information about the specified certificate.

Requires permission to access the DescribeCertificate action.

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. (The last part of the certificate ARN contains the certificate ID.)

Implementation

Future<DescribeCertificateResponse> describeCertificate({
  required String certificateId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/certificates/${Uri.encodeComponent(certificateId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeCertificateResponse.fromJson(response);
}