deleteSnapshotCopyGrant method

Future<void> deleteSnapshotCopyGrant({
  1. required String snapshotCopyGrantName,
})

Deletes the specified snapshot copy grant.

May throw InvalidSnapshotCopyGrantStateFault. May throw SnapshotCopyGrantNotFoundFault.

Parameter snapshotCopyGrantName : The name of the snapshot copy grant to delete.

Implementation

Future<void> deleteSnapshotCopyGrant({
  required String snapshotCopyGrantName,
}) async {
  final $request = <String, String>{
    'SnapshotCopyGrantName': snapshotCopyGrantName,
  };
  await _protocol.send(
    $request,
    action: 'DeleteSnapshotCopyGrant',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}