getTrustStore method

Future<GetTrustStoreResponse> getTrustStore({
  1. required String trustStoreArn,
})

Gets the trust store.

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

Parameter trustStoreArn : The ARN of the trust store.

Implementation

Future<GetTrustStoreResponse> getTrustStore({
  required String trustStoreArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/trustStores/${trustStoreArn.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetTrustStoreResponse.fromJson(response);
}