getGlossary method
Retrieves a business glossary in Glue Data Catalog by its identifier.
May throw AccessDeniedException.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw ThrottlingException.
Parameter identifier :
The unique identifier of the glossary to retrieve.
Implementation
Future<GetGlossaryResponse> getGlossary({
required String identifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.GetGlossary'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Identifier': identifier,
},
);
return GetGlossaryResponse.fromJson(jsonResponse.body);
}