getGlossary method
Gets a business glossary in Amazon DataZone.
Prerequisites:
- The specified glossary ID must exist and be associated with the given domain.
-
The caller must have the
datazone:GetGlossarypermission on the domain.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter domainIdentifier :
The ID of the Amazon DataZone domain in which this business glossary
exists.
Parameter identifier :
The ID of the business glossary.
Implementation
Future<GetGlossaryOutput> getGlossary({
required String domainIdentifier,
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/domains/${Uri.encodeComponent(domainIdentifier)}/glossaries/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetGlossaryOutput.fromJson(response);
}