describeCACertificate method

Future<DescribeCACertificateResponse> describeCACertificate({
  1. required String certificateId,
})

Describes a registered CA certificate.

Requires permission to access the DescribeCACertificate action.

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

Parameter certificateId : The CA certificate identifier.

Implementation

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