getTokenVault method

Future<GetTokenVaultResponse> getTokenVault({
  1. String? tokenVaultId,
})

Retrieves information about a token vault.

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

Parameter tokenVaultId : The unique identifier of the token vault to retrieve.

Implementation

Future<GetTokenVaultResponse> getTokenVault({
  String? tokenVaultId,
}) async {
  final $payload = <String, dynamic>{
    if (tokenVaultId != null) 'tokenVaultId': tokenVaultId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/identities/get-token-vault',
    exceptionFnMap: _exceptionFns,
  );
  return GetTokenVaultResponse.fromJson(response);
}