deleteGlossary method

Future<void> deleteGlossary({
  1. required String identifier,
})

Deletes a business glossary from Glue Data Catalog. A glossary cannot be deleted if it still contains glossary terms.

May throw AccessDeniedException. May throw ConcurrentModificationException. May throw ConflictException. May throw InternalServiceException. May throw InvalidInputException. May throw ThrottlingException.

Parameter identifier : The unique identifier of the glossary to delete.

Implementation

Future<void> deleteGlossary({
  required String identifier,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.DeleteGlossary'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'Identifier': identifier,
    },
  );
}