batchDeleteClusterSnapshots method

Future<BatchDeleteClusterSnapshotsResult> batchDeleteClusterSnapshots(
  1. {required List<DeleteClusterSnapshotMessage> identifiers}
)

Deletes a set of cluster snapshots.

May throw BatchDeleteRequestSizeExceededFault.

Parameter identifiers : A list of identifiers for the snapshots that you want to delete.

Implementation

Future<BatchDeleteClusterSnapshotsResult> batchDeleteClusterSnapshots({
  required List<DeleteClusterSnapshotMessage> identifiers,
}) async {
  ArgumentError.checkNotNull(identifiers, 'identifiers');
  final $request = <String, dynamic>{};
  $request['Identifiers'] = identifiers;
  final $result = await _protocol.send(
    $request,
    action: 'BatchDeleteClusterSnapshots',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['BatchDeleteClusterSnapshotsRequest'],
    shapes: shapes,
    resultWrapper: 'BatchDeleteClusterSnapshotsResult',
  );
  return BatchDeleteClusterSnapshotsResult.fromXml($result);
}