deleteCacheSubnetGroup method

Future<void> deleteCacheSubnetGroup({
  1. required String cacheSubnetGroupName,
})

Deletes a cache subnet group.

May throw CacheSubnetGroupInUse. May throw CacheSubnetGroupNotFoundFault.

Parameter cacheSubnetGroupName : The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Implementation

Future<void> deleteCacheSubnetGroup({
  required String cacheSubnetGroupName,
}) async {
  final $request = <String, String>{
    'CacheSubnetGroupName': cacheSubnetGroupName,
  };
  await _protocol.send(
    $request,
    action: 'DeleteCacheSubnetGroup',
    version: '2015-02-02',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}