deleteDBSubnetGroup method

Future<void> deleteDBSubnetGroup({
  1. required String dBSubnetGroupName,
})

Deletes a DB subnet group.

May throw DBSubnetGroupNotFoundFault. May throw InvalidDBSubnetGroupStateFault. May throw InvalidDBSubnetStateFault.

Parameter dBSubnetGroupName : The name of the database subnet group to delete. Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Implementation

Future<void> deleteDBSubnetGroup({
  required String dBSubnetGroupName,
}) async {
  final $request = <String, String>{
    'DBSubnetGroupName': dBSubnetGroupName,
  };
  await _protocol.send(
    $request,
    action: 'DeleteDBSubnetGroup',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}