deleteGlobalCluster method
Deletes a global database cluster. The primary and secondary clusters must already be detached or destroyed first.
May throw GlobalClusterNotFoundFault. May throw InvalidGlobalClusterStateFault.
Parameter globalClusterIdentifier :
The cluster identifier of the global database cluster being deleted.
Implementation
Future<DeleteGlobalClusterResult> deleteGlobalCluster({
  required String globalClusterIdentifier,
}) async {
  ArgumentError.checkNotNull(
      globalClusterIdentifier, 'globalClusterIdentifier');
  final $request = <String, dynamic>{};
  $request['GlobalClusterIdentifier'] = globalClusterIdentifier;
  final $result = await _protocol.send(
    $request,
    action: 'DeleteGlobalCluster',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteGlobalClusterMessage'],
    shapes: shapes,
    resultWrapper: 'DeleteGlobalClusterResult',
  );
  return DeleteGlobalClusterResult.fromXml($result);
}