stopBackupJob method
Attempts to cancel a job to create a one-time backup of a resource.
May throw MissingParameterValueException. May throw ResourceNotFoundException. May throw InvalidParameterValueException. May throw InvalidRequestException. May throw ServiceUnavailableException.
Parameter backupJobId
:
Uniquely identifies a request to AWS Backup to back up a resource.
Implementation
Future<void> stopBackupJob({
required String backupJobId,
}) async {
ArgumentError.checkNotNull(backupJobId, 'backupJobId');
await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/backup-jobs/${Uri.encodeComponent(backupJobId)}',
exceptionFnMap: _exceptionFns,
);
}