describeBackupJob method
Returns backup job details for the specified BackupJobId
.
May throw ResourceNotFoundException. May throw InvalidParameterValueException. May throw MissingParameterValueException. May throw ServiceUnavailableException. May throw DependencyFailureException.
Parameter backupJobId
:
Uniquely identifies a request to AWS Backup to back up a resource.
Implementation
Future<DescribeBackupJobOutput> describeBackupJob({
required String backupJobId,
}) async {
ArgumentError.checkNotNull(backupJobId, 'backupJobId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/backup-jobs/${Uri.encodeComponent(backupJobId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeBackupJobOutput.fromJson(response);
}