deleteDBSnapshot method

Future<DeleteDBSnapshotResult> deleteDBSnapshot({
  1. required String dBSnapshotIdentifier,
})

Implementation

Future<DeleteDBSnapshotResult> deleteDBSnapshot({
  required String dBSnapshotIdentifier,
}) async {
  ArgumentError.checkNotNull(dBSnapshotIdentifier, 'dBSnapshotIdentifier');
  final $request = <String, dynamic>{};
  $request['DBSnapshotIdentifier'] = dBSnapshotIdentifier;
  final $result = await _protocol.send(
    $request,
    action: 'DeleteDBSnapshot',
    version: '2013-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteDBSnapshotMessage'],
    shapes: shapes,
    resultWrapper: 'DeleteDBSnapshotResult',
  );
  return DeleteDBSnapshotResult.fromXml($result);
}