getTrustStoreCertificate method

Future<GetTrustStoreCertificateResponse> getTrustStoreCertificate({
  1. required String thumbprint,
  2. required String trustStoreArn,
})

Gets the trust store certificate.

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

Parameter thumbprint : The thumbprint of the trust store certificate.

Parameter trustStoreArn : The ARN of the trust store certificate.

Implementation

Future<GetTrustStoreCertificateResponse> getTrustStoreCertificate({
  required String thumbprint,
  required String trustStoreArn,
}) async {
  final $query = <String, List<String>>{
    'thumbprint': [thumbprint],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/trustStores/${trustStoreArn.split('/').map(Uri.encodeComponent).join('/')}/certificate',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetTrustStoreCertificateResponse.fromJson(response);
}