deleteDBShardGroup method
Deletes an Aurora Limitless Database DB shard group.
May throw DBShardGroupNotFoundFault.
May throw InvalidDBClusterStateFault.
May throw InvalidDBShardGroupStateFault.
Parameter dBShardGroupIdentifier :
The name of the DB shard group to delete.
Implementation
Future<DBShardGroup> deleteDBShardGroup({
required String dBShardGroupIdentifier,
}) async {
final $request = <String, String>{
'DBShardGroupIdentifier': dBShardGroupIdentifier,
};
final $result = await _protocol.send(
$request,
action: 'DeleteDBShardGroup',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'DeleteDBShardGroupResult',
);
return DBShardGroup.fromXml($result);
}