describeBackupPolicy method
Returns the backup policy for the specified EFS file system.
May throw BadRequest.
May throw FileSystemNotFound.
May throw InternalServerError.
May throw PolicyNotFound.
May throw ValidationException.
Parameter fileSystemId :
Specifies which EFS file system for which to retrieve the
BackupPolicy.
Implementation
Future<BackupPolicyDescription> describeBackupPolicy({
required String fileSystemId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2015-02-01/file-systems/${Uri.encodeComponent(fileSystemId)}/backup-policy',
exceptionFnMap: _exceptionFns,
);
return BackupPolicyDescription.fromJson(response);
}