getDictionary method
Retrieves information about the specified dictionary.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw TooManyRequestException.
May throw ValidationException.
Parameter id :
The ID of the dictionary to retrieve.
Implementation
Future<GetDictionaryResponse> getDictionary({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/dictionary/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetDictionaryResponse.fromJson(response);
}